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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, str.kernel32.dll
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.00405240
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], 0x84707a06
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0x9766a3ea
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404ce7
jmp 0x404cd1
mov eax, dword [ebp - 0x50]
sub eax, 0x84707a06
mov dword [ebp - 0x58], eax
je 0x404e77
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0xc0906ee6
mov dword [ebp - 0x5c], eax
jg 0x404d13
jmp 0x404cfd
mov eax, dword [ebp - 0x50]
sub eax, 0x9766a3eb
mov dword [ebp - 0x60], eax
je 0x404fc0
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0xd3c976fb
mov dword [ebp - 0x64], eax
jg 0x404d3f
jmp 0x404d29
mov eax, dword [ebp - 0x50]
sub eax, 0xc0906ee7
mov dword [ebp - 0x68], eax
je 0x404f14
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0x59bb35c6
mov dword [ebp - 0x6c], eax
jg 0x404e59
jmp 0x404d55
mov eax, dword [ebp - 0x50]
sub eax, 0x56dcf80c
mov dword [ebp - 0x70], eax
jg 0x404e40
jmp 0x404d6b
mov eax, dword [ebp - 0x50]
sub eax, 0x34c10676
mov dword [ebp - 0x74], eax
jg 0x404e27
jmp 0x404d81
mov eax, dword [ebp - 0x50]
sub eax, 0x24b6551d
mov dword [ebp - 0x78], eax
jg 0x404e0e
jmp 0x404d97
mov eax, dword [ebp - 0x50]
sub eax, 0xd5de0e8e
mov dword [ebp - 0x7c], eax
jg 0x404dc3
jmp 0x404dad
mov eax, dword [ebp - 0x50]
sub eax, 0xd3c976fc
mov dword [ebp - 0x80], eax
je 0x404f93
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0xd5de0e8f
mov dword [ebp - 0x84], eax
je 0x404f2f
jmp 0x404ddc
mov eax, dword [ebp - 0x50]
sub eax, 0xd60453c6
mov dword [ebp - 0x88], eax
je 0x404f9f
jmp 0x404df5
mov eax, dword [ebp - 0x50]
sub eax, 0xd781b8f0
mov dword [ebp - 0x8c], eax
je 0x404f01
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0x24b6551e
mov dword [ebp - 0x90], eax
je 0x404e92
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0x34c10677
mov dword [ebp - 0x94], eax
je 0x404f71
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0x56dcf80d
mov dword [ebp - 0x98], eax
je 0x404fd3
jmp 0x404e72
mov eax, dword [ebp - 0x50]
sub eax, 0x59bb35c7
mov dword [ebp - 0x9c], eax
je 0x404ee0
jmp 0x404e72
jmp 0x404fe1
mov eax, 0xd781b8f0
mov ecx, 0x24b6551e
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x404fe1
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, 0x17a5c556
mov ebx, eax
xor ebx, 0x17a5c556
and esi, ebx
xor eax, 0xe3
and eax, 0x17a5c556
and ebx, 0xe3
or edi, esi
or eax, ebx
xor edi, eax
mov eax, edi
mov byte [edx + ecx], al
mov dword [ebp - 0x4c], 0x59bb35c7
jmp 0x404fe1
mov eax, dword [ebp - 0x48]
sub eax, 0xfb23104e
add eax, 1
add eax, 0xfb23104e
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x84707a06
jmp 0x404fe1
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xc0906ee7
jmp 0x404fe1
mov eax, 0x9766a3eb
mov ecx, 0xd5de0e8f
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x404fe1
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.00407660
mov ecx, 0x34c10677
mov edx, 0xd3c976fc
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x404fe1
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], 0x56dcf80d
jmp 0x404fe1
mov dword [ebp - 0x4c], 0xd60453c6
jmp 0x404fe1
mov eax, dword [ebp - 0x48]
add eax, 0xdc915bdb
add eax, 1
sub eax, 0xdc915bdb
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xc0906ee7
jmp 0x404fe1
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0x56dcf80d
jmp 0x404fe1
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404cb5