Function at 0x404cd0
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.00405320
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], 0x943a71b3
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0x6699ee9f
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404f49
jmp 0x404dc1
mov eax, dword [ebp - 0x50]
sub eax, 0x5516e486
mov dword [ebp - 0x58], eax
jg 0x404f30
jmp 0x404dd7
mov eax, dword [ebp - 0x50]
sub eax, 0x943a71b2
mov dword [ebp - 0x5c], eax
jg 0x404e03
jmp 0x404ded
mov eax, dword [ebp - 0x50]
sub eax, 0x9063b2d1
mov dword [ebp - 0x60], eax
je 0x40509b
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xd7f7a267
mov dword [ebp - 0x64], eax
jg 0x404e2f
jmp 0x404e19
mov eax, dword [ebp - 0x50]
sub eax, 0x943a71b3
mov dword [ebp - 0x68], eax
je 0x404f67
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xe1194cae
mov dword [ebp - 0x6c], eax
jg 0x404e5b
jmp 0x404e45
mov eax, dword [ebp - 0x50]
sub eax, 0xd7f7a268
mov dword [ebp - 0x70], eax
je 0x40504c
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xed581bd0
mov dword [ebp - 0x74], eax
jg 0x404e87
jmp 0x404e71
mov eax, dword [ebp - 0x50]
sub eax, 0xe1194caf
mov dword [ebp - 0x78], eax
je 0x404fef
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x236ff786
mov dword [ebp - 0x7c], eax
jg 0x404eb3
jmp 0x404e9d
mov eax, dword [ebp - 0x50]
sub eax, 0xed581bd1
mov dword [ebp - 0x80], eax
je 0x40506e
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x34c6498b
mov dword [ebp - 0x84], eax
jg 0x404ee5
jmp 0x404ecc
mov eax, dword [ebp - 0x50]
sub eax, 0x236ff787
mov dword [ebp - 0x88], eax
je 0x404f82
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x34c6498c
mov dword [ebp - 0x8c], eax
je 0x40507a
jmp 0x404efe
mov eax, dword [ebp - 0x50]
sub eax, 0x36714f5e
mov dword [ebp - 0x90], eax
je 0x404fbb
jmp 0x404f17
mov eax, dword [ebp - 0x50]
sub eax, 0x369774cb
mov dword [ebp - 0x94], eax
je 0x4050ae
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x5516e487
mov dword [ebp - 0x98], eax
je 0x404fdc
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x6699eea0
mov dword [ebp - 0x9c], eax
je 0x40500a
jmp 0x404f62
jmp 0x4050bc
mov eax, 0x5516e487
mov ecx, 0x236ff787
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050bc
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], 0x36714f5e
jmp 0x4050bc
mov eax, dword [ebp - 0x48]
add eax, 0xedc511bc
add eax, 1
sub eax, 0xedc511bc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x943a71b3
jmp 0x4050bc
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xe1194caf
jmp 0x4050bc
mov eax, 0x9063b2d1
mov ecx, 0x6699eea0
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050bc
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.00407880
mov ecx, 0xd7f7a268
mov edx, 0xed581bd1
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x4050bc
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], 0x369774cb
jmp 0x4050bc
mov dword [ebp - 0x4c], 0x34c6498c
jmp 0x4050bc
mov eax, dword [ebp - 0x48]
add eax, 0x280747af
add eax, 1
sub eax, 0x280747af
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xe1194caf
jmp 0x4050bc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0x369774cb
jmp 0x4050bc
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404da5