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

Disassembly:
add byte [ebp - 0x77], dl
in eax, 0x53
push edi
push esi
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x46bf32]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [esp], edx
call fcn.00405340
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x3c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x24]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x20]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x2c]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xd03eef91
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0xc7549ccb
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404df7
jmp 0x404de1
mov eax, dword [ebp - 0x50]
sub eax, 0xc35eeb11
mov dword [ebp - 0x58], eax
je 0x404fa2
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0xd03eef90
mov dword [ebp - 0x5c], eax
jg 0x404e23
jmp 0x404e0d
mov eax, dword [ebp - 0x50]
sub eax, 0xc7549ccc
mov dword [ebp - 0x60], eax
je 0x40508e
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0x209079b6
mov dword [ebp - 0x64], eax
jg 0x404f69
jmp 0x404e39
mov eax, dword [ebp - 0x50]
sub eax, 0x1eb56908
mov dword [ebp - 0x68], eax
jg 0x404f50
jmp 0x404e4f
mov eax, dword [ebp - 0x50]
sub eax, 0xf1900b54
mov dword [ebp - 0x6c], eax
jg 0x404f37
jmp 0x404e65
mov eax, dword [ebp - 0x50]
sub eax, 0xeff14645
mov dword [ebp - 0x70], eax
jg 0x404f1e
jmp 0x404e7b
mov eax, dword [ebp - 0x50]
sub eax, 0xe43a7904
mov dword [ebp - 0x74], eax
jg 0x404f05
jmp 0x404e91
mov eax, dword [ebp - 0x50]
sub eax, 0xd7e9f784
mov dword [ebp - 0x78], eax
jg 0x404eec
jmp 0x404ea7
mov eax, dword [ebp - 0x50]
sub eax, 0xd03eef91
mov dword [ebp - 0x7c], eax
je 0x404f87
jmp 0x404ebd
mov eax, dword [ebp - 0x50]
sub eax, 0xd1577e84
mov dword [ebp - 0x80], eax
je 0x40502a
jmp 0x404ed3
mov eax, dword [ebp - 0x50]
sub eax, 0xd46a09af
mov dword [ebp - 0x84], eax
je 0x404ffc
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0xd7e9f785
mov dword [ebp - 0x88], eax
je 0x4050ce
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0xe43a7905
mov dword [ebp - 0x8c], eax
je 0x40509a
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0xeff14646
mov dword [ebp - 0x90], eax
je 0x404fdb
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0xf1900b55
mov dword [ebp - 0x94], eax
je 0x40500f
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0x1eb56909
mov dword [ebp - 0x98], eax
je 0x40506c
jmp 0x404f82
mov eax, dword [ebp - 0x50]
sub eax, 0x209079b7
mov dword [ebp - 0x9c], eax
je 0x4050bb
jmp 0x404f82
jmp 0x4050dc
mov eax, 0xd46a09af
mov ecx, 0xc35eeb11
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050dc
mov eax, 0xffffffff
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x18]
movsx esi, byte [edx + ecx]
mov edi, esi
xor edi, 0xffffffff
and edi, 0xe3
xor eax, 0xe3
and esi, eax
or edi, esi
mov eax, edi
mov bl, al
mov byte [edx + ecx], bl
mov dword [ebp - 0x4c], 0xeff14646
jmp 0x4050dc
mov eax, dword [ebp - 0x48]
add eax, 0x11137221
add eax, 1
sub eax, 0x11137221
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xd03eef91
jmp 0x4050dc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xf1900b55
jmp 0x4050dc
mov eax, 0x209079b7
mov ecx, 0xd1577e84
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050dc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x30]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004078a0
mov ecx, 0x1eb56909
mov edx, 0xc7549ccc
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x4050dc
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
movzx ecx, word [edx + ecx*2]
mov edx, dword [ebp - 0x34]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x4c], 0xd7e9f785
jmp 0x4050dc
mov dword [ebp - 0x4c], 0xe43a7905
jmp 0x4050dc
mov eax, dword [ebp - 0x48]
sub eax, 0x9e3394c6
add eax, 1
add eax, 0x9e3394c6
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xf1900b55
jmp 0x4050dc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xd7e9f785
jmp 0x4050dc
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404dc5