Function at 0x404cb0
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.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], 0x483663fa
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0xa6e4bf33
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404db7
jmp 0x404da1
mov eax, dword [ebp - 0x50]
sub eax, 0x8cca7af1
mov dword [ebp - 0x58], eax
je 0x404fbc
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0xd10123f0
mov dword [ebp - 0x5c], eax
jg 0x404de3
jmp 0x404dcd
mov eax, dword [ebp - 0x50]
sub eax, 0xa6e4bf34
mov dword [ebp - 0x60], eax
je 0x40505a
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0xffc96fba
mov dword [ebp - 0x64], eax
jg 0x404e0f
jmp 0x404df9
mov eax, dword [ebp - 0x50]
sub eax, 0xd10123f1
mov dword [ebp - 0x68], eax
je 0x40508e
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x585a28d6
mov dword [ebp - 0x6c], eax
jg 0x404f29
jmp 0x404e25
mov eax, dword [ebp - 0x50]
sub eax, 0x483663f9
mov dword [ebp - 0x70], eax
jg 0x404f10
jmp 0x404e3b
mov eax, dword [ebp - 0x50]
sub eax, 0x2fdb56df
mov dword [ebp - 0x74], eax
jg 0x404ef7
jmp 0x404e51
mov eax, dword [ebp - 0x50]
sub eax, 0xc9a379e
mov dword [ebp - 0x78], eax
jg 0x404e7d
jmp 0x404e67
mov eax, dword [ebp - 0x50]
sub eax, 0xffc96fbb
mov dword [ebp - 0x7c], eax
je 0x40502c
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x19797983
mov dword [ebp - 0x80], eax
jg 0x404ede
jmp 0x404e93
mov eax, dword [ebp - 0x50]
sub eax, 0xc9a379f
mov dword [ebp - 0x84], eax
je 0x404fea
jmp 0x404eac
mov eax, dword [ebp - 0x50]
sub eax, 0xe1e8745
mov dword [ebp - 0x88], eax
je 0x40504e
jmp 0x404ec5
mov eax, dword [ebp - 0x50]
sub eax, 0x121cfb8e
mov dword [ebp - 0x8c], eax
je 0x404f9b
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x19797984
mov dword [ebp - 0x90], eax
je 0x404fcf
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x2fdb56e0
mov dword [ebp - 0x94], eax
je 0x40507b
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x483663fa
mov dword [ebp - 0x98], eax
je 0x404f47
jmp 0x404f42
mov eax, dword [ebp - 0x50]
sub eax, 0x585a28d7
mov dword [ebp - 0x9c], eax
je 0x404f62
jmp 0x404f42
jmp 0x40509c
mov eax, 0x8cca7af1
mov ecx, 0x585a28d7
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x40509c
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], 0x121cfb8e
jmp 0x40509c
mov eax, dword [ebp - 0x48]
sub eax, 0xfab2b2b9
add eax, 1
add eax, 0xfab2b2b9
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x483663fa
jmp 0x40509c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0x19797984
jmp 0x40509c
mov eax, 0x2fdb56e0
mov ecx, 0xc9a379f
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x40509c
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, 0xffc96fbb
mov edx, 0xe1e8745
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x40509c
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], 0xd10123f1
jmp 0x40509c
mov dword [ebp - 0x4c], 0xa6e4bf34
jmp 0x40509c
mov eax, dword [ebp - 0x48]
sub eax, 0x2723857
add eax, 1
add eax, 0x2723857
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x19797984
jmp 0x40509c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xd10123f1
jmp 0x40509c
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404d85