Function at 0x404c10
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.00405260
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], 0xd6a339e2
mov eax, dword [ebp - 0x4c]
mov ecx, eax
sub ecx, 0xa6183059
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jg 0x404d17
jmp 0x404d01
mov eax, dword [ebp - 0x50]
sub eax, 0x987eedca
mov dword [ebp - 0x58], eax
je 0x404ec2
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0xb71698ed
mov dword [ebp - 0x5c], eax
jg 0x404d43
jmp 0x404d2d
mov eax, dword [ebp - 0x50]
sub eax, 0xa618305a
mov dword [ebp - 0x60], eax
je 0x404ffa
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0x769d6253
mov dword [ebp - 0x64], eax
jg 0x404e89
jmp 0x404d59
mov eax, dword [ebp - 0x50]
sub eax, 0x74d2a8e1
mov dword [ebp - 0x68], eax
jg 0x404e70
jmp 0x404d6f
mov eax, dword [ebp - 0x50]
sub eax, 0xe0466c8
mov dword [ebp - 0x6c], eax
jg 0x404e57
jmp 0x404d85
mov eax, dword [ebp - 0x50]
sub eax, 0xf7e4335d
mov dword [ebp - 0x70], eax
jg 0x404e3e
jmp 0x404d9b
mov eax, dword [ebp - 0x50]
sub eax, 0xec891ae6
mov dword [ebp - 0x74], eax
jg 0x404e25
jmp 0x404db1
mov eax, dword [ebp - 0x50]
sub eax, 0xe1531729
mov dword [ebp - 0x78], eax
jg 0x404e0c
jmp 0x404dc7
mov eax, dword [ebp - 0x50]
sub eax, 0xb71698ee
mov dword [ebp - 0x7c], eax
je 0x404fb4
jmp 0x404ddd
mov eax, dword [ebp - 0x50]
sub eax, 0xb80a8fb3
mov dword [ebp - 0x80], eax
je 0x404f92
jmp 0x404df3
mov eax, dword [ebp - 0x50]
sub eax, 0xd6a339e2
mov dword [ebp - 0x84], eax
je 0x404ea7
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0xe153172a
mov dword [ebp - 0x88], eax
je 0x404f50
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0xec891ae7
mov dword [ebp - 0x8c], eax
je 0x404f35
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0xf7e4335e
mov dword [ebp - 0x90], eax
je 0x404fe7
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0xe0466c9
mov dword [ebp - 0x94], eax
je 0x404f22
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0x74d2a8e2
mov dword [ebp - 0x98], eax
je 0x404fc0
jmp 0x404ea2
mov eax, dword [ebp - 0x50]
sub eax, 0x769d6254
mov dword [ebp - 0x9c], eax
je 0x404efb
jmp 0x404ea2
jmp 0x405008
mov eax, 0xe0466c9
mov ecx, 0x987eedca
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x14]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x405008
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], 0x769d6254
jmp 0x405008
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], 0xd6a339e2
jmp 0x405008
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0xec891ae7
jmp 0x405008
mov eax, 0xf7e4335e
mov ecx, 0xe153172a
mov edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x44]
cmovb eax, ecx
mov dword [ebp - 0x4c], eax
jmp 0x405008
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.00407680
mov ecx, 0xb80a8fb3
mov edx, 0xb71698ee
cmp eax, 0
cmovne ecx, edx
mov dword [ebp - 0x4c], ecx
jmp 0x405008
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], 0xa618305a
jmp 0x405008
mov dword [ebp - 0x4c], 0x74d2a8e2
jmp 0x405008
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], 0xec891ae7
jmp 0x405008
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x4c], 0xa618305a
jmp 0x405008
mov eax, dword [ebp - 0x10]
add esp, 0x9c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x404ce5