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

Disassembly:
add esp, 0xffffffe9
test dword [ebp + esi*2 - 0xe], ebx
inc ebx
call fcn.0040485e
cmp eax, dword [ebp + 8]
jne 0x404f54
push edi
call 0x874048b0
mov bl, byte [esi + 0x5b]
mov esp, ebp
pop ebp
xchg edi, eax
add eax, 0x90902500
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
loopne 0x404f3c
clc
add byte [esi], ch
jns 0x404fb3
or al, 0x85
sal byte [ebp - 2], 9
or eax, 0x4102dc
mov dword [ebp + 0xc], ecx
mov eax, ecx
mov ecx, dword [ebp + 0x10]
sal byte [eax - 0x477af58b], 0x74
push es
push ss
push eax
and byte [ecx - 0x74b3efab], cl
pop ebp
adc al, 0x56
push edi
test ebx, ebx
jne 0x404f9c
mov ebx, dword [eax + 0x18]
mov eax, dword [ebx]
mov edi, 0x860001
mov eax, 0x8cbeaac7
inc ebx
or al, 0x85
sal byte [esi + eax + 0x75], 0xe8
adc byte [ebx - 1], 0
mov esi, dword [ebx - 0x67]
mov ecx, dword [ebx]
add byte [ebx + 0xb8b9973], cl
lea ebp, [ebp - 0x7aba74bd]
div byte [ebp + 0xf]
cmp edx, ecx
jae 0x404fd1
mov esi, dword [eax + 4]
add eax, 4
inc edx
test dword [edx + 0x308bf174], ebx
mov esi, dword [eax]
test esi, esi
je 0x40502a
mov edi, dword [esi]
dec dword cs:[ecx - 0x757af0c8]
add byte [ecx], bl
add byte [ebx], bh
clc
jb 0x1740506d
mov eax, dword [edi - 0x72177c04]
dec ecx
test dword [ecx - 0xf], ebp
add al, 0xee
leave
ja 0x404feb
mov dword [edi - 0x15], ecx
outsd dx, dword [esi]
mov eax, dword [ebx + 0x14]
lea esi, [ebx - 0x26]
mov al, 0xc0
je 0x405037
mov esi, dword [eax + 0x4874c097]
push eax
call 0x412cd0
mov eax, esi
mov dl, 0x30
test dword [ebx], esi
je 0x40502a
cmp esp, esp
or byte [ebx + 0x47], dh
mov eax, esi
test al, 0x36
test esi, esi
jne 0x40501d
mov edx, dword [esp + ecx + 0x61]
sal byte [eax + 0x38], 0xe8
or dword [ebp + 0xd], edx
inc edx
push 0x8800
call dword [0xc40c15c]
mov esp, dword [0x85635083]
xor al, cl
test cl, bl
push esp
fiadd dword [eax]
lea edx, [esi + 0x18]
xor eax, dword [esi + 0x2000]
salc
push es
add byte [eax], al
add byte [eax], al
jle 0x405069
mov dword [ebp + 0x1490cc10], edi
jmp 0x40509d
mov ebp, dword [edi]
adc byte [ebx + 0x4612087b], cl
or byte [ebx], al
clc
mov eax, dword [ebx + 4]
or bh, 0x89
jnp 0x405085
cmp ecx, eax
jbe 0x405010
insb byte es:[edi], dx
inc ebx
or byte [ebx - 0x3f7af3bd], cl
je 0x4050eb
inc ebx
or al, 0x85
sal byte [eax - 0x33], 0xe8
int 0xe8
scasd eax, dword es:[edi]
push edx
fld dword [eax]
pop ecx
dec esi
xchg edi, eax
push es
add byte [eax], al
enter 0xffffffffffff89c0, 0x4e
adc byte [ebx + 0x4d07107e], cl
mov edi, dword [esi + 0x10]
pop es
dec ebp
call 0xe9ca15c5
add al, 0x8d
inc edi
inc edx
mov dword [edi + 0x34], eax
mov dword [esi + 0x10], eax
mov bl, byte [edi + 0x18]
pushfd
pop ebp
sbb byte [ecx + 0x77893020], cl
xchg dword [ebx], esi
test byte [ecx - 0x21c4df3a], 0x89
ja 0x4050cb
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
ja 0x4050e1
mov dword [edi + 0x38], esi
mov dword [edi + 0x3c], esi
mov dword [edi - 0x13], esi
xor al, 0x77
xchg edi, eax
mov edi, 0x1f892877
je 0x405154
mov edx, dword [ebx + 0x18]
push edx
call fcn.0040493a
cmp eax, esi
push ebx
sbb byte [edx - 0x18], dl
push ecx
clc
invalid
mov dword [ebp + 0x10], eax
pushfd
push eax
call 0x4125d5
mov eax, dword [0x44b8b10]
add ebx, 4
lea edx, [edi + 8]
cmp ecx, esi
or dh, byte [ebx + eax - 0x77]
push ecx
or al, 0xde
add bh, byte [ebx]
xor al, 0x89
in al, 0xc
je 0x405148
pop ss
call 0x540a3ca
hlt
pop ebp
ret 0xaf10
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
xor eax, eax
pop ebx
adc al, 0xc2
or eax, dword [eax]
nop
nop
nop
nop
xchg edx, eax
nop
nop
xchg dword [eax - 0x1374aa70], edx
xor dword [0x57365320], 0xffffff8b
jge 0x405124
mov dword [ebp - 0x14], edi
cmc
fisttp dword [ebx + 0x7d892c47]
call 0x8a173b06
dec ebp
jle 0x405109
push eax
adc al, 0x4a
cmovne esi, eax
add byte [ecx + 0x5d89e455], cl
cmp al, 0x8b
dec eax
adc byte [ebx - 0x3559ebb0], cl
jne 0x4051bf
ret 0x2655
pop ebx
inc ebp
adc byte [ebx - 0x3eaff3b3], cl
push ebp
loopne 0x40521b
and ch, byte [eax - 0x65]
push ebx
aam 0
call fcn.004070d0
push cs
clc
aad 0x75
sbb dword [edi + eax*2 + 0x14], ecx
cmp eax, dword [edi + 0xc6a0764]
call eax
sbb edx, 0xffffff8e
xchg ecx, eax
pop esi
xor esi, esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
sbb byte [ebx - 0x307af321], cl
je 0x405229
push eax
call fcn.0040a2d0
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [ebp - 4], edx
mov ebx, dword [ecx + 0x6b3a8957]
mov eax, dword [esi]
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [esi + 8]
test ecx, ecx
je 0x405250
cmp eax, edx
hlt
cmp eax, 0x14
jae 0x40526d
mov ecx, dword [edi + eax*4 + 0x4c]
test ecx, ecx
mov dword [esi], ecx
invalid
mov edx, dword [eax + 0xe890fc]
add eax, dword [eax]
add bl, ch
invalid