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.00405350
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], 0x97b7d4fb
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0x3067fd12
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404f49
jmp 0x404dc1
mov eax, dword [ebp - 0x50]
sub eax, 0x2def5412
mov dword [ebp - 0x58], eax
jg 0x404f30
jmp 0x404dd7
mov eax, dword [ebp - 0x50]
sub eax, 0x1acef881
mov dword [ebp - 0x5c], eax
jg 0x404f17
jmp 0x404ded
mov eax, dword [ebp - 0x50]
sub eax, 0xf7c426ba
mov dword [ebp - 0x60], eax
jg 0x404efe
jmp 0x404e03
mov eax, dword [ebp - 0x50]
sub eax, 0xebdc26c9
mov dword [ebp - 0x64], eax
jg 0x404ee5
jmp 0x404e19
mov eax, dword [ebp - 0x50]
sub eax, 0xd6f407dd
mov dword [ebp - 0x68], eax
jg 0x404ecc
jmp 0x404e2f
mov eax, dword [ebp - 0x50]
sub eax, 0xd5d1b4af
mov dword [ebp - 0x6c], eax
jg 0x404eb3
jmp 0x404e45
mov eax, dword [ebp - 0x50]
sub eax, 0xd3243d9b
mov dword [ebp - 0x70], eax
jg 0x404e9d
jmp 0x404e5b
mov eax, dword [ebp - 0x50]
sub eax, 0x976de5ac
mov dword [ebp - 0x74], eax
je 0x404fef
jmp 0x404e71
mov eax, dword [ebp - 0x50]
sub eax, 0x97b7d4fb
mov dword [ebp - 0x78], eax
je 0x404f67
jmp 0x404e87
mov eax, dword [ebp - 0x50]
sub eax, 0xb80502f4
mov dword [ebp - 0x7c], eax
je 0x404fbb
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xd3243d9c
mov dword [ebp - 0x80], eax
je 0x40504c
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xd5d1b4b0
mov dword [ebp - 0x84], eax
je 0x40507a
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xd6f407de
mov dword [ebp - 0x88], eax
je 0x40506e
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xebdc26ca
mov dword [ebp - 0x8c], eax
je 0x404fdc
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0xf7c426bb
mov dword [ebp - 0x90], eax
je 0x40500a
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x1acef882
mov dword [ebp - 0x94], eax
je 0x404f82
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x2def5413
mov dword [ebp - 0x98], eax
je 0x405098
jmp 0x404f62
mov eax, dword [ebp - 0x50]
sub eax, 0x3067fd13
mov dword [ebp - 0x9c], eax
je 0x4050ab
jmp 0x404f62
jmp 0x4050b9
mov eax, 0xebdc26ca
mov ecx, 0x1acef882
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050b9
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], 0xb80502f4
jmp 0x4050b9
mov eax, dword [ebp - 0x48]
sub eax, 0x28164982
add eax, 1
add eax, 0x28164982
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x97b7d4fb
jmp 0x4050b9
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x976de5ac
jmp 0x4050b9
mov eax, 0x2def5413
mov ecx, 0xf7c426bb
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x4050b9
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.004078b0
mov ecx, 0xd3243d9c
mov edx, 0xd6f407de
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x4050b9
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], 0x3067fd13
jmp 0x4050b9
mov dword [ebp - 0x4c], 0xd5d1b4b0
jmp 0x4050b9
mov eax, 0
mov ecx, dword [ebp - 0x48]
sub eax, 1
sub ecx, eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], 0x976de5ac
jmp 0x4050b9
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0x3067fd13
jmp 0x4050b9
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404da5