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.004054b0
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], 0x9f6104d1
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0x7978d0d2
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x4050d9
jmp 0x404f51
mov eax, dword [ebp - 0x50]
sub eax, 0x9f6104d0
mov dword [ebp - 0x58], eax
jg 0x404f7d
jmp 0x404f67
mov eax, dword [ebp - 0x50]
sub eax, 0x982fe464
mov dword [ebp - 0x5c], eax
je 0x40514b
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0xd5e109d5
mov dword [ebp - 0x60], eax
jg 0x404fa9
jmp 0x404f93
mov eax, dword [ebp - 0x50]
sub eax, 0x9f6104d1
mov dword [ebp - 0x64], eax
je 0x4050f7
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0xdff7ac40
mov dword [ebp - 0x68], eax
jg 0x404fd5
jmp 0x404fbf
mov eax, dword [ebp - 0x50]
sub eax, 0xd5e109d6
mov dword [ebp - 0x6c], eax
je 0x4051fe
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0xeca12c74
mov dword [ebp - 0x70], eax
jg 0x405001
jmp 0x404feb
mov eax, dword [ebp - 0x50]
sub eax, 0xdff7ac41
mov dword [ebp - 0x74], eax
je 0x40522b
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x70554c7
mov dword [ebp - 0x78], eax
jg 0x40502d
jmp 0x405017
mov eax, dword [ebp - 0x50]
sub eax, 0xeca12c75
mov dword [ebp - 0x7c], eax
je 0x40517f
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x2cb039c4
mov dword [ebp - 0x80], eax
jg 0x40505c
jmp 0x405043
mov eax, dword [ebp - 0x50]
sub eax, 0x70554c8
mov dword [ebp - 0x84], eax
je 0x405112
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x489802f0
mov dword [ebp - 0x88], eax
jg 0x40508e
jmp 0x405075
mov eax, dword [ebp - 0x50]
sub eax, 0x2cb039c5
mov dword [ebp - 0x8c], eax
je 0x4051dc
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x489802f1
mov dword [ebp - 0x90], eax
je 0x40516c
jmp 0x4050a7
mov eax, dword [ebp - 0x50]
sub eax, 0x6584d56d
mov dword [ebp - 0x94], eax
je 0x40520a
jmp 0x4050c0
mov eax, dword [ebp - 0x50]
sub eax, 0x6ca217bf
mov dword [ebp - 0x98], eax
je 0x40519a
jmp 0x4050f2
mov eax, dword [ebp - 0x50]
sub eax, 0x7978d0d3
mov dword [ebp - 0x9c], eax
je 0x40523e
jmp 0x4050f2
jmp 0x40524c
mov eax, 0x489802f1
mov ecx, 0x70554c8
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x40524c
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], 0x982fe464
jmp 0x40524c
mov eax, dword [ebp - 0x48]
sub eax, 0xf1b60b3f
add eax, 1
add eax, 0xf1b60b3f
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x9f6104d1
jmp 0x40524c
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xeca12c75
jmp 0x40524c
mov eax, 0xdff7ac41
mov ecx, 0x6ca217bf
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x40524c
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.00407a20
mov ecx, 0x2cb039c5
mov edx, 0xd5e109d6
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x40524c
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], 0x7978d0d3
jmp 0x40524c
mov dword [ebp - 0x4c], 0x6584d56d
jmp 0x40524c
mov eax, dword [ebp - 0x48]
add eax, 0x44586067
add eax, 1
sub eax, 0x44586067
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0xeca12c75
jmp 0x40524c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0x7978d0d3
jmp 0x40524c
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404f35