Function at 0x404e60
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.00405510
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], 0xc0b65af8
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0xb31cbbbc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404f67
jmp 0x404f51
mov eax, dword [ebp - 0x50]
sub eax, 0x821a19c2
mov dword [ebp - 0x58], eax
je 0x405181
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x6ecac9d9
mov dword [ebp - 0x5c], eax
jg 0x4050d9
jmp 0x404f7d
mov eax, dword [ebp - 0x50]
sub eax, 0xc0b65af7
mov dword [ebp - 0x60], eax
jg 0x404fa9
jmp 0x404f93
mov eax, dword [ebp - 0x50]
sub eax, 0xb31cbbbd
mov dword [ebp - 0x64], eax
je 0x405194
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0xc981f3a7
mov dword [ebp - 0x68], eax
jg 0x404fd5
jmp 0x404fbf
mov eax, dword [ebp - 0x50]
sub eax, 0xc0b65af8
mov dword [ebp - 0x6c], eax
je 0x4050f7
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0xf8ae9f0b
mov dword [ebp - 0x70], eax
jg 0x405001
jmp 0x404feb
mov eax, dword [ebp - 0x50]
sub eax, 0xc981f3a8
mov dword [ebp - 0x74], eax
je 0x405112
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x4a81661c
mov dword [ebp - 0x78], eax
jg 0x4050c0
jmp 0x405017
mov eax, dword [ebp - 0x50]
sub eax, 0x42e3512d
mov dword [ebp - 0x7c], eax
jg 0x4050a7
jmp 0x40502d
mov eax, dword [ebp - 0x50]
sub eax, 0x41dbc196
mov dword [ebp - 0x80], eax
jg 0x40508e
jmp 0x405043
mov eax, dword [ebp - 0x50]
sub eax, 0xf8ae9f0c
mov dword [ebp - 0x84], eax
je 0x405246
jmp 0x40505c
mov eax, dword [ebp - 0x50]
sub eax, 0xf966fa20
mov dword [ebp - 0x88], eax
je 0x405160
jmp 0x405075
mov eax, dword [ebp - 0x50]
sub eax, 0x28b08237
mov dword [ebp - 0x8c], eax
je 0x405259
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x41dbc197
mov dword [ebp - 0x90], eax
je 0x4051f1
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x42e3512e
mov dword [ebp - 0x94], eax
je 0x4051af
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x4a81661d
mov dword [ebp - 0x98], eax
je 0x40521f
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x6ecac9da
mov dword [ebp - 0x9c], eax
je 0x405213
jmp 0x4050f2
jmp 0x405267
mov eax, 0x821a19c2
mov ecx, 0xc981f3a8
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x405267
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, 0x8de93c65
mov ebx, eax
xor ebx, 0x8de93c65
and esi, ebx
xor eax, 0xe3
and eax, 0x8de93c65
and ebx, 0xe3
or edi, esi
or eax, ebx
xor edi, eax
mov eax, edi
mov byte [edx + ecx], al
mov dword [ebp - 0x4c], 0xf966fa20
jmp 0x405267
mov eax, dword [ebp - 0x48]
add eax, 0xc72ae906
add eax, 1
sub eax, 0xc72ae906
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xc0b65af8
jmp 0x405267
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xb31cbbbd
jmp 0x405267
mov eax, 0xf8ae9f0c
mov ecx, 0x42e3512e
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x405267
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.00407aa0
mov ecx, 0x41dbc197
mov edx, 0x6ecac9da
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x405267
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], 0x28b08237
jmp 0x405267
mov dword [ebp - 0x4c], 0x4a81661d
jmp 0x405267
mov eax, 0
mov ecx, dword [ebp - 0x48]
mov edx, eax
sub edx, ecx
mov ecx, eax
sub ecx, 1
add edx, ecx
sub eax, edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xb31cbbbd
jmp 0x405267
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0x28b08237
jmp 0x405267
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404f35