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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x9c]
mov edx, ecx
mov bl, dl
mov edx, 0x6abd4df0
mov dword [esp + 0x44], ecx
mov cl, bl
shl edx, cl
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x402bdcc
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov byte [esp + 0x9b], 0xe8
mov dword [esp + 0x94], 0x745a385f
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x2300b485
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], esi
call fcn.00402000
mov ecx, 0x6acba8e7
mov esi, dword [esp + 0x40]
mov bl, byte [esi]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x44]
shr edx, cl
mov dword [esp + 0x9c], edx
cmp bl, 0
mov dword [esp + 0x34], eax
jg 0x4028e0
jmp 0x40277c
mov eax, esp
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
call fcn.00403200
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x3c]
or eax, 0x7486cd19
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
jmp 0x40277c
mov ecx, 0x65e4fe4c
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x44]
shl edx, cl
mov esi, dword [esp + 0x34]
add esi, eax
mov eax, dword [esp + 0x80]
mov edi, dword [esp + 0x34]
add edi, dword [esi + eax*4]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x74], edi
mov eax, dword [esp + 0x74]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [esp + 0x44]
mov cl, al
mov eax, dword [esp + 0x44]
shr eax, cl
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
add edx, 0x510c3943
mov esi, dword [esp + 0x38]
adc esi, 0
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], edx
mov dword [esp + 0x9c], 0x734e1a4
mov eax, dword [eax + 0x78]
mov edx, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov edx, dword [esp + 0x3c]
or edx, 0xab1de7e
mov esi, dword [esp + 0x34]
mov eax, dword [esi + eax + 0x20]
mov edi, dword [esp + 0x38]
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], edx
add esi, eax
mov dword [esp + 0x8c], esi
mov eax, dword [esp + 0x5c]
add eax, 0x18
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov dword [esp + 0x9c], 0x46f99889
mov dword [esp + 0x74], 0
cmp eax, 0
je 0x402770
jmp 0x402acd
mov eax, dword [esp + 0x68]
movzx eax, word [eax]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x3c]
add ecx, ecx
mov edx, dword [esp + 0x38]
adc edx, edx
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa4]
add esi, 0x51051949
adc edi, 0
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x6c], ecx
sub esi, ebx
setb cl
sub edi, eax
setb ch
mov dword [esp + 0x2c], edi
mov byte [esp + 0x2b], ch
mov dword [esp + 0x24], esi
mov byte [esp + 0x23], cl
je 0x4028c3
mov al, byte [esp + 0x2b]
mov byte [esp + 0x23], al
mov al, byte [esp + 0x23]
test al, al
jne 0x402931
jmp 0x402742
test byte [esp + 0x93], 1
jne 0x402845
jmp 0x402931
mov eax, dword [esp + 0x3c]
and eax, 0x5ae399eb
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
xor edi, edi
mov ebx, 0x59626678
sub ebx, ecx
sbb edi, edx
xor edi, esi
xor ebx, eax
or ebx, edi
mov dword [esp + 0x1c], ebx
je 0x402845
jmp 0x402714
mov eax, dword [esp + 0x3c]
mov cl, al
mov byte [esp + 0x1b], cl
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
shld eax, edx, cl
mov cl, byte [esp + 0x1b]
shl edx, cl
xor esi, esi
mov cl, byte [esp + 0x1b]
test cl, 0x20
cmovne eax, edx
cmovne edx, esi
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edx
mov eax, dword [esp + 0x88]
mov eax, dword [eax]
mov edx, dword [esp + 0x94]
add edx, 0x8ba5c7a2
add edx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
add esi, 2
mov dword [esp + 0x78], edx
mov dword [esp + 0x84], esi
mov dword [esp + 0x74], 0
cmp edx, eax
jb 0x402a99
jmp 0x402770
mov eax, dword [esp + 0x60]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x44]
and ecx, 0x3549a3ab
mov edx, dword [esp + 0x64]
movzx eax, byte [edx + eax]
mov edx, eax
mov bl, dl
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x9c], 0x75bb2b7f
mov edx, dword [esp + 0x40]
movzx ecx, byte [edx + ecx]
mov edx, ecx
mov bh, dl
mov dl, byte [esp + 0x9b]
mov dh, 0xe8
sub dh, dl
mov byte [esp + 0x7f], bh
mov esi, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, esi
mov dl, al
mov eax, 0x78c66c94
mov dword [esp + 0x10], ecx
mov cl, dl
shr eax, cl
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub edi, ecx
mov dword [esp + 0x9c], eax
sete byte [esp + 0x93]
mov eax, dword [esp + 0x3c]
not eax
mov ecx, dword [esp + 0x38]
not ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], eax
cmp bl, dh
mov dword [esp + 0xc], edi
je 0x4028d0
mov eax, 0x745a387f
mov cl, byte [esp + 0x7f]
mov edx, dword [esp + 0x48]
add edx, 1
sub eax, dword [esp + 0x94]
cmp edx, eax
setb ch
mov bl, byte [esp + 0x93]
mov bh, byte [esp + 0x9b]
xor bh, 0xe8
cmp cl, bh
setne cl
and bl, cl
and bl, ch
mov dword [esp + 0x60], edx
test bl, 1
jne 0x4029aa
jmp 0x4028d0
mov eax, dword [esp + 0x84]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x8c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], 0
jmp 0x4029aa
mov eax, dword [esp + 0x94]
mov ecx, 0x745a385f
sub ecx, eax
mov eax, dword [esp + 0x3c]
mov dl, al
mov dword [esp + 8], ecx
mov cl, dl
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x3c]
shld eax, esi, cl
mov cl, dl
shl esi, cl
xor edi, edi
test dl, 0x20
cmovne eax, esi
cmovne esi, edi
mov edi, dword [esp + 0x5c]
mov edi, dword [edi + 0x24]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], esi
mov eax, dword [esp + 0x44]
add eax, 0x4b8f647f
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x34]
add eax, edi
mov esi, dword [esp + 8]
mov dword [esp + 0x78], esi
mov dword [esp + 0x84], eax
jmp 0x402a99