Function at 0x77fe60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x94
mov esi, dword [esp + 0xac]
cmp esi, 0xa
setb al
cmp edx, 6
setb ah
or ah, al
mov eax, 0xffffffec
jne 0x7805d5
mov ebx, dword [esp + 0xa8]
movzx edi, word [ebx]
movzx eax, word [ebx + 2]
movzx ebp, word [ebx + 4]
mov dword [esp], eax
add eax, edi
add eax, ebp
add eax, 6
sub esi, eax
jb 0x7805d0
mov dword [esp + 0x18], ebp
mov dword [esp + 4], esi
mov dword [esp + 0x20], ebx
lea ebx, [ecx + edx]
lea eax, [edx + 3]
shr eax, 2
mov dword [esp + 0xc], ecx
lea ebp, [ecx + eax]
lea esi, [eax + ebp]
mov dword [esp + 0x1c], eax
lea ecx, [esi + eax]
cmp ecx, ebx
ja 0x7805d0
mov eax, 0xffffffb8
test edi, edi
je 0x7805d5
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], ecx
mov esi, dword [esp + 0xa8]
lea ecx, [esi + 6]
lea ebp, [esi + edi + 6]
mov esi, dword [esp + 0xb0]
movzx esi, word [esi + 2]
mov dword [esp + 8], esi
cmp di, 4
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], ecx
jb 0x77ff4e
movzx edi, byte [ebp - 1]
test edi, edi
je 0x780090
mov ebx, ebp
lea esi, [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [esp + 0x2c], ecx
bsr ecx, edi
not ecx
add ecx, 9
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0xc]
jmp 0x77ffb3
movzx esi, byte [ecx]
cmp edi, 2
je 0x77ff71
cmp edi, 3
mov ebp, dword [esp + 0xc]
jne 0x77ff85
mov ecx, dword [esp + 0xa8]
movzx ebx, byte [ecx + 8]
shl ebx, 0x10
or esi, ebx
jmp 0x77ff7c
mov ecx, dword [esp + 0xa8]
mov ebp, dword [esp + 0xc]
movzx ebx, byte [ecx + 7]
shl ebx, 8
add esi, ebx
mov ebx, dword [esp + 0x68]
movzx ebx, byte [ebx - 1]
test ebx, ebx
je 0x7805d0
mov dword [esp + 0x2c], esi
bsr ecx, ebx
xor ecx, 0x1f
shl edi, 3
sub ecx, edi
add ecx, 9
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov edi, dword [esp]
test edi, edi
je 0x7805d5
lea ecx, [ebx + edi]
cmp di, 4
mov dword [esp + 0x3c], ecx
jb 0x77fff3
movzx edi, byte [ecx - 1]
test edi, edi
je 0x780090
lea ebx, [ecx - 4]
mov dword [esp + 0x38], ebx
mov ecx, dword [ecx - 4]
mov dword [esp + 0x14], ecx
bsr ecx, edi
not ecx
add ecx, 9
mov dword [esp + 0x34], ecx
jmp 0x780050
movzx edi, byte [ebx]
mov dword [esp + 0x14], edi
mov edi, dword [esp]
cmp edi, 2
je 0x780016
cmp edi, 3
jne 0x78002b
movzx edi, byte [ebx + 2]
shl edi, 0x10
mov ebp, dword [esp + 0x14]
or ebp, edi
jmp 0x78001a
mov ebp, dword [esp + 0x14]
movzx edi, byte [ebx + 1]
shl edi, 8
add ebp, edi
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0xc]
movzx edi, byte [ecx - 1]
test edi, edi
je 0x7805d0
bsr ecx, edi
xor ecx, 0x1f
mov edi, dword [esp]
shl edi, 3
sub ecx, edi
add ecx, 9
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x7805d5
mov ecx, dword [esp + 0x3c]
lea eax, [ecx + ebx]
cmp bx, 4
jb 0x78009a
movzx ebx, byte [eax - 1]
test ebx, ebx
je 0x780090
mov edi, ebp
mov ebp, edx
lea ecx, [eax - 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax - 4]
mov dword [esp + 0x24], ecx
bsr ecx, ebx
not ecx
add ecx, 9
mov dword [esp], ecx
jmp 0x7800f4
mov eax, 0xffffffff
jmp 0x7805d5
movzx edi, byte [ecx]
mov dword [esp + 0x24], edi
cmp ebx, 2
je 0x7800ba
cmp ebx, 3
jne 0x7800cb
movzx edi, byte [ecx + 2]
shl edi, 0x10
mov ebx, dword [esp + 0x24]
or ebx, edi
jmp 0x7800be
mov ebx, dword [esp + 0x24]
movzx edi, byte [ecx + 1]
shl edi, 8
add ebx, edi
mov dword [esp + 0x24], ebx
movzx ebx, byte [eax - 1]
test ebx, ebx
je 0x7805d0
mov edi, ebp
mov ebp, edx
bsr edx, ebx
xor edx, 0x1f
mov ebx, dword [esp + 0x18]
shl ebx, 3
sub edx, ebx
add edx, 9
mov dword [esp], edx
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x44]
mov edx, eax
push dword [esp + 4]
call fcn.00781040
add esp, 4
cmp eax, 0xffffff88
mov ecx, edi
mov edi, dword [esp + 0xb0]
ja 0x7805d5
mov ebx, esi
lea edx, [ecx + ebp]
add edx, 0xfffffffd
add dword [esp + 0x20], 0xa
mov eax, dword [esp + 0x68]
add eax, 4
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x58]
sub eax, esi
cmp eax, 4
setae al
mov dword [esp + 0x8c], edx
cmp esi, edx
setb dl
and dl, al
mov eax, dword [esp + 0x3c]
add eax, 4
mov dword [esp + 0x7c], eax
cmp dl, 1
mov dword [esp + 0x80], ebp
jne 0x78043f
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 8]
neg eax
and eax, 0x1f
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + eax*2]
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
mov ecx, eax
shl esi, cl
mov ebx, dword [esp + 0x70]
mov ecx, ebx
shr esi, cl
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x14]
shl ebp, cl
mov ecx, ebx
shr ebp, cl
mov ecx, dword [esp]
mov edi, dword [esp + 0x24]
shl edi, cl
mov ecx, ebx
shr edi, cl
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 4]
shl edx, cl
mov ecx, ebx
shr edx, cl
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xb0]
movzx ecx, byte [ebx + esi*2 + 4]
add ecx, eax
mov dword [esp + 0x10], ecx
movzx eax, byte [ebx + esi*2 + 5]
mov edx, dword [esp + 0xc]
mov byte [edx], al
movzx ebx, byte [ebx + ebp*2 + 4]
add ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
shl edx, cl
mov eax, dword [esp + 0x70]
mov ecx, eax
shr edx, cl
mov dword [esp + 0x84], edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], ebx
mov ecx, ebx
shl esi, cl
mov ecx, eax
shr esi, cl
mov edx, dword [esp + 0xb0]
movzx ecx, byte [edx + ebp*2 + 5]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0xc]
mov byte [ebx + ebp], cl
movzx eax, byte [edx + edi*2 + 4]
add eax, dword [esp]
movzx ecx, byte [edx + edi*2 + 5]
mov byte [ebx + ebp*2], cl
mov ebp, dword [esp + 0x74]
movzx ecx, byte [edx + ebp*2 + 4]
add ecx, dword [esp + 4]
mov dword [esp + 4], ecx
mov edi, dword [esp + 0x24]
mov dword [esp], eax
mov ecx, eax
shl edi, cl
mov eax, dword [esp + 0x70]
mov ecx, eax
shr edi, cl
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 4]
shl edx, cl
mov ecx, eax
shr edx, cl
mov eax, dword [esp + 0xb0]
movzx ecx, byte [eax + ebp*2 + 5]
mov ebp, dword [esp + 0x28]
mov byte [ebx + ebp], cl
mov ecx, dword [esp + 0x84]
movzx ebp, byte [eax + ecx*2 + 4]
add ebp, dword [esp + 0x10]
movzx ecx, byte [eax + ecx*2 + 5]
mov byte [ebx + 1], cl
movzx ecx, byte [eax + esi*2 + 5]
movzx esi, byte [eax + esi*2 + 4]
mov dword [esp + 0x84], esi
mov esi, dword [esp + 0x1c]
mov byte [ebx + esi + 1], cl
movzx ecx, byte [eax + edi*2 + 5]
movzx edi, byte [eax + edi*2 + 4]
mov byte [ebx + esi*2 + 1], cl
movzx ecx, byte [eax + edx*2 + 4]
add ecx, dword [esp + 4]
movzx eax, byte [eax + edx*2 + 5]
mov dword [esp + 4], ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x28]
mov byte [ebx + ecx + 1], al
mov eax, 3
mov ecx, dword [esp + 0x18]
mov ebx, ecx
cmp ecx, dword [esp + 0x20]
jb 0x78040a
mov ecx, ebp
shr ecx, 3
mov edx, ebx
sub edx, ecx
and ebp, 7
mov dword [esp + 0x10], ebp
mov ebx, edx
mov ecx, dword [edx]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x74], 0
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
add ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x38]
cmp esi, dword [esp + 0x78]
mov edx, dword [esp]
jb 0x78041b
mov eax, ecx
shr eax, 3
sub esi, eax
and ecx, 7
mov dword [esp + 0x34], ecx
mov eax, dword [esi]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x38], esi
add edx, edi
mov edi, edx
mov edx, 3
cmp ebp, dword [esp + 0x7c]
mov ecx, dword [esp + 0x88]
jb 0x780424
mov esi, edi
shr esi, 3
sub ebp, esi
and edi, 7
mov dword [esp], edi
mov esi, dword [ebp]
mov dword [esp + 0x24], esi
xor esi, esi
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x30], ebp
jb 0x7803dd
mov edi, dword [esp + 4]
mov edx, edi
shr edx, 3
sub ecx, edx
and edi, 7
mov dword [esp + 4], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x88], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], ecx
xor edx, edx
mov ecx, dword [esp + 0xc]
mov edi, dword [esp + 0x28]
add edi, ecx
add edi, 2
cmp edi, dword [esp + 0x8c]
mov edi, ecx
jae 0x780455
or eax, dword [esp + 0x74]
or eax, esi
or eax, edx
lea ecx, [edi + 2]
test eax, eax
je 0x7801a7
jmp 0x780455
mov dword [esp + 0x10], ebp
mov dword [esp + 0x74], 3
jmp 0x78033d
mov dword [esp + 0x34], ecx
jmp 0x780373
mov dword [esp], edi
mov esi, 3
cmp ecx, dword [esp + 0x90]
mov dword [esp + 0x30], ebp
jae 0x7803b4
jmp 0x7803dd
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
jmp 0x78048a
add edi, 2
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x1c]
lea eax, [edi + ecx]
mov dword [esp + 4], eax
lea eax, [edi + ecx*2]
mov dword [esp + 0x1c], eax
add dword [esp + 0x28], edi
mov ecx, edi
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x5c]
cmp ecx, edx
ja 0x7805d0
cmp dword [esp + 4], eax
ja 0x7805d0
mov eax, 0xffffffec
mov edx, dword [esp + 0x1c]
cmp edx, dword [esp + 0x58]
ja 0x7805d5
mov ebp, dword [esp + 0x5c]
mov eax, ebp
sub eax, ecx
cmp eax, 4
jl 0x7805e0
cmp dword [esp + 0x10], 0x20
mov eax, dword [esp + 8]
ja 0x7805b6
lea edx, [ebp - 3]
mov dword [esp + 0x70], edx
mov edx, eax
neg edx
and edx, 0x1f
mov dword [esp + 0x6c], edx
cmp ebx, dword [esp + 0x20]
jae 0x780528
mov ebp, ebx
mov edi, dword [esp + 0x64]
sub ebp, edi
je 0x78064b
mov edx, dword [esp + 0x10]
shr edx, 3
mov esi, ebx
sub esi, edx
xor eax, eax
cmp esi, edi
setb al
mov dword [esp + 0xc], eax
cmovb edx, ebp
lea esi, [edx*8]
mov eax, dword [esp + 0x10]
sub eax, esi
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0x5c]
jmp 0x78053c
mov eax, dword [esp + 0x10]
mov edx, eax
shr edx, 3
and eax, 7
mov dword [esp + 0xc], 0
sub ebx, edx
mov dword [esp + 0x18], ebx
mov esi, dword [ebx]
cmp ecx, dword [esp + 0x70]
jae 0x78065c
cmp dword [esp + 0xc], 0
mov ebx, eax
jne 0x780664
mov eax, esi
mov dword [esp + 0xc], ecx
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x6c]
mov ebp, ecx
shr eax, cl
movzx edx, byte [edi + eax*2 + 4]
add edx, ebx
mov dword [esp + 0x2c], esi
mov ecx, edx
shl esi, cl
mov ecx, ebp
shr esi, cl
mov ecx, dword [esp + 0xc]
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x18]
movzx eax, byte [edi + eax*2 + 5]
mov byte [ecx], al
movzx eax, byte [edi + esi*2 + 5]
movzx esi, byte [edi + esi*2 + 4]
add esi, edx
mov byte [ecx + 1], al
add ecx, 2
mov dword [esp + 0x10], esi
cmp esi, 0x20
mov eax, dword [esp + 8]
jbe 0x7804e1
neg eax
and eax, 0x1f
mov dword [esp + 8], eax
mov dword [esp + 0x18], 0xaa0220
mov ebx, dword [esp + 0x10]
jmp 0x780746
mov eax, 0xffffffec
add esp, 0x94
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp + 0x10], 0x20
mov esi, dword [esp + 0x2c]
ja 0x780de7
cmp ebx, dword [esp + 0x20]
jae 0x780629
mov edx, ebx
mov eax, dword [esp + 0x64]
sub edx, eax
je 0x78067b
mov edi, dword [esp + 0x10]
mov eax, edi
shr eax, 3
mov esi, ebx
sub esi, eax
cmp esi, dword [esp + 0x64]
cmovb eax, edx
lea edx, [eax*8]
sub edi, edx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0xb0]
jmp 0x780639
mov edx, dword [esp + 0x10]
mov eax, edx
shr eax, 3
and edx, 7
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
sub ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [ebx]
mov ebx, dword [esp + 0x10]
jmp 0x780668
mov edi, dword [esp + 0xb0]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
jmp 0x78067f
mov edx, dword [esp + 8]
mov ebx, eax
jmp 0x780668
mov edx, dword [esp + 8]
neg edx
and edx, 0x1f
cmp ebx, 0x20
mov dword [esp + 8], edx
jbe 0x780694
jmp 0x780725
mov eax, dword [esp + 8]
neg eax
and eax, 0x1f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x18], eax
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x18], eax
jae 0x7806dd
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x64]
sub esi, edi
je 0x78073b
mov eax, ebx
shr eax, 3
mov ebp, dword [esp + 0x18]
sub ebp, eax
xor edx, edx
cmp ebp, edi
mov ebp, dword [esp + 0x5c]
cmovb eax, esi
setb dl
lea esi, [eax*8]
sub ebx, esi
mov edi, dword [esp + 0xb0]
jmp 0x7806e7
mov eax, ebx
shr eax, 3
and ebx, 7
xor edx, edx
mov esi, dword [esp + 0x18]
sub esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esi]
cmp ecx, ebp
jae 0x780733
test edx, edx
jne 0x780733
mov edx, esi
mov eax, ecx
mov ecx, ebx
shl edx, cl
mov ecx, dword [esp + 8]
shr edx, cl
mov ecx, eax
movzx eax, byte [edi + edx*2 + 5]
movzx edx, byte [edi + edx*2 + 4]
add edx, ebx
mov ebx, edx
mov byte [ecx], al
inc ecx
cmp edx, 0x20
jbe 0x780694
mov dword [esp + 0x2c], esi
mov dword [esp + 0x18], 0xaa0220
jmp 0x780746
cmp ecx, ebp
mov edx, ebx
jb 0x780750
jmp 0x78077b
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0xb0]
mov edx, ebx
cmp ecx, ebp
mov esi, dword [esp + 0x2c]
jae 0x78077b
mov ebp, dword [esp + 8]
mov eax, edx
mov ebx, esi
mov edx, ecx
mov ecx, eax
shl esi, cl
mov ecx, ebp
shr esi, cl
mov ecx, edx
movzx edx, byte [edi + esi*2 + 4]
add edx, eax
movzx eax, byte [edi + esi*2 + 5]
mov esi, ebx
mov byte [ecx], al
inc ecx
cmp ecx, dword [esp + 0x5c]
jb 0x780754
mov dword [esp + 0x2c], edx
mov esi, dword [esp + 0x40]
mov eax, esi
mov ebp, dword [esp + 4]
sub eax, ebp
cmp eax, 4
jl 0x780878
mov ecx, dword [esp + 0x34]
cmp ecx, 0x20
ja 0x780986
lea eax, [esi - 3]
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x38]
cmp ebp, dword [esp + 0x78]
jae 0x7807e6
mov esi, ebp
mov edx, dword [esp + 0x68]
sub esi, edx
je 0x780b55
mov eax, ecx
shr eax, 3
mov edi, ebp
sub edi, eax
mov ebx, ecx
xor ecx, ecx
cmp edi, edx
setb cl
cmovb eax, esi
lea esi, [eax*8]
sub ebx, esi
mov edx, ebx
mov esi, dword [esp + 0x40]
jmp 0x7807f2
mov eax, ecx
shr eax, 3
and ecx, 7
mov edx, ecx
xor ecx, ecx
sub ebp, eax
mov dword [esp + 0x38], ebp
mov edi, dword [ebp]
mov ebp, dword [esp + 4]
cmp ebp, dword [esp + 0xc]
jae 0x7808c0
test ecx, ecx
jne 0x7808c0
mov esi, edi
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 8]
shr esi, cl
mov ebx, dword [esp + 0xb0]
movzx eax, byte [ebx + esi*2 + 4]
add eax, edx
mov ecx, edi
mov edi, ebp
mov dword [esp + 0x14], ecx
mov ebp, ecx
mov ecx, eax
shl ebp, cl
mov ecx, dword [esp + 8]
shr ebp, cl
movzx ecx, byte [ebx + esi*2 + 5]
mov esi, dword [esp + 0x40]
mov byte [edi], cl
movzx ecx, byte [ebx + ebp*2 + 5]
movzx edx, byte [ebx + ebp*2 + 4]
add edx, eax
mov byte [edi + 1], cl
mov ecx, edx
add edi, 2
mov dword [esp + 4], edi
cmp edx, 0x20
jbe 0x7807a8
mov dword [esp + 0x20], 0xaa0220
jmp 0x7809a4
mov ecx, dword [esp + 0x34]
cmp ecx, 0x20
mov edi, dword [esp + 0x14]
ja 0x78086b
mov ebp, dword [esp + 0x38]
cmp ebp, dword [esp + 0x78]
jae 0x7808c4
mov ecx, ebp
mov esi, dword [esp + 0x68]
sub ecx, esi
je 0x780dd2
mov ebx, dword [esp + 0x34]
mov eax, ebx
shr eax, 3
mov edx, ebp
sub edx, eax
cmp edx, esi
cmovb eax, ecx
lea ecx, [eax*8]
sub ebx, ecx
mov ecx, ebx
mov esi, dword [esp + 0x40]
jmp 0x7808cc
mov ecx, edx
jmp 0x7808d9
mov eax, ecx
shr eax, 3
and ecx, 7
sub ebp, eax
mov dword [esp + 0x38], ebp
mov edi, dword [ebp]
mov ebp, dword [esp + 4]
cmp ecx, 0x20
ja 0x780982
mov ebx, dword [esp + 0x38]
cmp ebx, dword [esp + 0x78]
jae 0x78092c
mov dword [esp + 0x14], edi
mov dword [esp + 4], ebp
mov edx, ebx
mov ebp, dword [esp + 0x68]
sub edx, ebp
je 0x7809a0
mov eax, ecx
shr eax, 3
mov edi, ebx
sub edi, eax
mov esi, ebx
mov ebx, ecx
xor ecx, ecx
cmp edi, ebp
mov edi, dword [esp + 0x40]
cmovb eax, edx
setb cl
lea edx, [eax*8]
sub ebx, edx
mov ebp, dword [esp + 4]
jmp 0x78093e
mov eax, ecx
shr eax, 3
and ecx, 7
mov edx, ecx
xor ecx, ecx
mov edi, esi
mov esi, ebx
mov ebx, edx
sub esi, eax
mov dword [esp + 0x20], esi
mov eax, dword [esi]
cmp ebp, edi
mov esi, edi
jae 0x78099a
test ecx, ecx
jne 0x78099a
mov edi, eax
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 8]
shr eax, cl
mov edx, dword [esp + 0xb0]
movzx ecx, byte [edx + eax*2 + 5]
movzx eax, byte [edx + eax*2 + 4]
add eax, ebx
mov byte [ebp], cl
mov ecx, eax
inc ebp
cmp eax, 0x20
mov ebx, dword [esp + 0x20]
jbe 0x7808e6
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], 0xaa0220
mov ebx, ecx
cmp ebp, esi
mov eax, dword [esp + 0x14]
jb 0x7809b2
jmp 0x7809e2
cmp ebp, esi
jb 0x7809b2
jmp 0x7809e2
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 4]
mov ebx, ecx
cmp ebp, esi
mov eax, dword [esp + 0x14]
jae 0x7809e2
mov dword [esp + 0x14], eax
mov edi, ebp
mov ebp, dword [esp + 0xb0]
mov eax, ebx
mov edx, dword [esp + 0x14]
mov ecx, eax
shl edx, cl
mov ecx, dword [esp + 8]
shr edx, cl
movzx ebx, byte [ebp + edx*2 + 4]
add ebx, eax
movzx eax, byte [ebp + edx*2 + 5]
mov byte [edi], al
inc edi
cmp edi, esi
jb 0x7809bf
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
cmp eax, 4
jl 0x780adf
mov dword [esp + 0xc], 0xaa0220
mov ecx, dword [esp]
cmp ecx, 0x20
mov ebp, dword [esp + 0x3c]
ja 0x780acf
mov eax, dword [esp + 0x58]
add eax, 0xfffffffd
mov dword [esp + 4], eax
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], ebx
jae 0x780a56
mov ebx, edi
sub ebx, ebp
je 0x780b6a
mov eax, ecx
shr eax, 3
mov esi, edi
sub esi, eax
xor edx, edx
cmp esi, ebp
setb dl
cmovb eax, ebx
lea esi, [eax*8]
sub ecx, esi
mov ebx, dword [esp + 0x1c]
jmp 0x780a60
mov eax, ecx
shr eax, 3
and ecx, 7
xor edx, edx
sub edi, eax
mov esi, dword [edi]
cmp ebx, dword [esp + 4]
mov dword [esp + 0x30], edi
jae 0x780b24
test edx, edx
jne 0x780b24
mov ebx, esi
shl ebx, cl
mov edi, ecx
mov edx, dword [esp + 8]
mov ecx, edx
shr ebx, cl
mov ebp, dword [esp + 0xb0]
movzx eax, byte [ebp + ebx*2 + 4]
add eax, edi
mov dword [esp + 0x24], esi
mov ecx, eax
shl esi, cl
mov ecx, edx
shr esi, cl
movzx ecx, byte [ebp + ebx*2 + 5]
mov ebx, dword [esp + 0x1c]
mov byte [ebx], cl
movzx edx, byte [ebp + esi*2 + 5]
movzx ecx, byte [ebp + esi*2 + 4]
add ecx, eax
mov byte [ebx + 1], dl
add ebx, 2
cmp ecx, 0x20
mov ebp, dword [esp + 0x3c]
jbe 0x780a1c
mov dword [esp], ecx
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0xb0]
jmp 0x780c29
cmp dword [esp], 0x20
mov ebp, dword [esp + 0x3c]
ja 0x780df0
mov edi, dword [esp + 0x30]
cmp edi, dword [esp + 0x7c]
jae 0x780b2d
mov ecx, edi
sub ecx, ebp
je 0x780b6d
mov ebx, edi
mov edi, dword [esp]
mov eax, edi
shr eax, 3
mov edx, ebx
sub edx, eax
cmp edx, ebp
cmovb eax, ecx
lea ecx, [eax*8]
sub edi, ecx
mov dword [esp], edi
mov edi, ebx
mov ebx, dword [esp + 0x1c]
jmp 0x780b3b
mov dword [esp], ecx
mov ebp, dword [esp + 0x3c]
jmp 0x780b43
mov ecx, dword [esp]
mov eax, ecx
shr eax, 3
and ecx, 7
mov dword [esp], ecx
sub edi, eax
mov dword [esp + 0x30], edi
mov esi, dword [edi]
cmp dword [esp], 0x20
mov edi, dword [esp + 0xb0]
jbe 0x780b80
jmp 0x780c1b
mov dword [esp + 0x38], edx
mov esi, dword [esp + 0x40]
mov ebp, dword [esp + 4]
mov edi, dword [esp + 0x14]
jmp 0x7808e2
mov dword [esp], ecx
mov dword [esp + 0x30], ebp
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0xb0]
mov ecx, dword [esp + 0x30]
cmp ecx, dword [esp + 0x7c]
jae 0x780bca
mov edx, ecx
sub edx, ebp
je 0x780c25
mov edi, dword [esp]
mov eax, edi
shr eax, 3
mov esi, ecx
sub esi, eax
mov dword [esp + 0x1c], ebx
mov ebx, ebp
mov ebp, ecx
xor ecx, ecx
cmp esi, ebx
mov ebx, dword [esp + 0x1c]
cmovb eax, edx
setb cl
lea edx, [eax*8]
sub edi, edx
mov edx, edi
mov edi, dword [esp + 0xb0]
jmp 0x780bd9
mov edx, dword [esp]
mov eax, edx
shr eax, 3
and edx, 7
mov ebp, ecx
xor ecx, ecx
sub ebp, eax
mov dword [esp + 0xc], ebp
mov esi, dword [ebp]
cmp ebx, dword [esp + 0x58]
jae 0x780c2c
test ecx, ecx
jne 0x780c2c
mov eax, esi
mov ecx, edx
shl eax, cl
mov ecx, dword [esp + 8]
shr eax, cl
movzx ecx, byte [edi + eax*2 + 5]
movzx eax, byte [edi + eax*2 + 4]
add eax, edx
mov byte [ebx], cl
inc ebx
mov dword [esp], eax
cmp eax, 0x20
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
jbe 0x780b84
mov dword [esp + 0xc], 0xaa0220
jmp 0x780c29
mov dword [esp + 0xc], ebp
mov edx, dword [esp]
cmp ebx, dword [esp + 0x58]
jae 0x780c5d
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 8]
mov eax, edx
mov edx, esi
mov ecx, eax
shl edx, cl
mov ecx, ebx
shr edx, cl
movzx ecx, byte [ebp + edx*2 + 4]
add ecx, eax
movzx eax, byte [ebp + edx*2 + 5]
mov edx, ecx
mov byte [edi], al
inc edi
cmp edi, dword [esp + 0x58]
jb 0x780c3a
mov ebp, dword [esp + 0x60]
mov ecx, ebp
mov ebx, dword [esp + 0x28]
sub ecx, ebx
mov eax, dword [esp + 0x48]
cmp ecx, 4
mov dword [esp], edx
jl 0x780d6b
cmp eax, 0x20
ja 0x780d52
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x54]
jae 0x780cca
mov edx, ebp
mov esi, dword [esp + 0x50]
mov ebp, ecx
sub ebp, esi
je 0x780dce
mov edi, eax
shr edi, 3
mov dword [esp + 0x28], ebx
mov ebx, ecx
sub ebx, edi
xor edx, edx
cmp ebx, esi
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
setb dl
cmovb edi, ebp
mov ebp, esi
sub ecx, edi
mov dword [esp + 0x4c], ecx
shl edi, 3
sub eax, edi
jmp 0x780cda
mov edx, eax
shr edx, 3
sub ecx, edx
mov dword [esp + 0x4c], ecx
and eax, 7
xor edx, edx
mov dword [esp + 0x48], eax
mov edi, dword [ecx]
mov dword [esp + 0x44], edi
cmp ebx, dword [esp + 0x8c]
jae 0x780e8f
test edx, edx
jne 0x780e8f
mov ecx, eax
shl edi, cl
mov ebp, ebx
mov ebx, dword [esp + 8]
mov ecx, ebx
shr edi, cl
mov esi, dword [esp + 0xb0]
movzx ecx, byte [esi + edi*2 + 5]
movzx edx, byte [esi + edi*2 + 4]
add edx, eax
mov byte [ebp], cl
mov eax, dword [esp + 0x44]
mov ecx, edx
shl eax, cl
mov ecx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x60]
shr eax, cl
movzx ecx, byte [esi + eax*2 + 5]
movzx eax, byte [esi + eax*2 + 4]
add eax, edx
mov dword [esp + 0x48], eax
mov byte [ebx + 1], cl
add ebx, 2
mov eax, dword [esp + 0x48]
cmp eax, 0x20
jbe 0x780c82
mov dword [esp + 0x28], ebx
mov dword [esp + 0x4c], 0xaa0220
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x28]
jmp 0x780e98
cmp eax, 0x20
ja 0x780d56
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x54]
jae 0x780db4
mov esi, dword [esp + 0x50]
mov edx, ecx
sub edx, esi
je 0x780dfd
mov edi, eax
shr edi, 3
mov ebx, ecx
sub ebx, edi
cmp ebx, esi
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x60]
cmovb edi, edx
sub ecx, edi
mov dword [esp + 0x4c], ecx
shl edi, 3
sub eax, edi
mov dword [esp + 0x48], eax
mov ecx, dword [ecx]
mov dword [esp + 0x44], ecx
jmp 0x780e8f
mov edx, eax
shr edx, 3
sub ecx, edx
mov dword [esp + 0x4c], ecx
and eax, 7
mov dword [esp + 0x48], eax
mov ecx, dword [ecx]
mov dword [esp + 0x44], ecx
jmp 0x780dfd
mov ebp, edx
jmp 0x780dfd
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 4]
jmp 0x7808e2
mov eax, dword [esp + 8]
jmp 0x7805b6
mov dword [esp + 0xc], 0xaa0220
jmp 0x780acf
mov ecx, dword [esp + 0x4c]
cmp ecx, dword [esp + 0x54]
jae 0x780e45
mov edx, ebp
mov esi, dword [esp + 0x50]
mov ebp, ecx
sub ebp, esi
je 0x780ea7
mov edi, eax
shr edi, 3
mov dword [esp + 0x28], ebx
mov ebx, ecx
sub ebx, edi
xor edx, edx
cmp ebx, esi
mov ebx, dword [esp + 0x28]
mov esi, dword [esp + 0x60]
setb dl
cmovb edi, ebp
mov ebp, esi
sub ecx, edi
mov dword [esp + 0x4c], ecx
shl edi, 3
sub eax, edi
jmp 0x780e55
mov edx, eax
shr edx, 3
sub ecx, edx
mov dword [esp + 0x4c], ecx
and eax, 7
xor edx, edx
mov dword [esp + 0x48], eax
mov edi, dword [ecx]
mov dword [esp + 0x44], edi
cmp ebx, ebp
jae 0x780ea9
test edx, edx
jne 0x780ea9
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 8]
shr edi, cl
mov edx, dword [esp + 0xb0]
movzx ecx, byte [edx + edi*2 + 5]
movzx edx, byte [edx + edi*2 + 4]
add edx, eax
mov dword [esp + 0x48], edx
mov byte [ebx], cl
inc ebx
mov eax, dword [esp + 0x48]
cmp eax, 0x20
jbe 0x780dfd
mov dword [esp + 0x4c], 0xaa0220
mov ecx, 0xaa0220
jmp 0x780ea9
mov ebp, edx
cmp ebx, ebp
mov edi, dword [esp + 0x80]
jae 0x780ef5
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov ecx, eax
shl edx, cl
mov ecx, edi
shr edx, cl
movzx ecx, byte [esi + edx*2 + 5]
movzx edx, byte [esi + edx*2 + 4]
add edx, eax
mov dword [esp + 0x48], edx
mov byte [ebx], cl
inc ebx
cmp ebx, ebp
jb 0x780ebf
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
xor edx, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
xor esi, 0x20
or esi, edx
mov edx, dword [esp + 0x20]
xor edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x14]
xor ebx, 0x20
or ebx, edx
mov edx, dword [esp + 0xc]
xor edx, dword [esp + 0x3c]
mov ebp, dword [esp]
xor ebp, 0x20
or ebp, edx
xor ecx, dword [esp + 0x50]
xor eax, 0x20
or eax, ecx
or eax, ebp
or eax, ebx
or eax, esi
mov eax, 0xffffffec
cmovne edi, eax
mov eax, edi
jmp 0x7805d5