Function at 0x405d0a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop edx
push esi
add esi, 0xc39
pop esi
mov eax, dword [ebp - 0x744]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x754], 0
mov edx, dword [ebp - 0x31c]
mov dword [ebp - 0x1600], edx
cmp dword [ebp - 0x1600], 0
jne 0x405a94
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x3f4], eax
jmp 0x405d85
mov ecx, dword [ebp - 0x1600]
mov edx, dword [ebp - 0x31c]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x1604], edx
jne 0x405abc
mov eax, dword [ebp - 0x754]
mov dword [ebp - 0x3f4], eax
jmp 0x405d85
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x1604]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1608], ecx
cmp dword [ebp - 0x1608], 0
jne 0x405aee
mov edx, dword [ebp - 0x754]
mov dword [ebp - 0x3f4], edx
jmp 0x405d85
mov eax, dword [ebp - 0x31c]
add eax, dword [ebp - 0x1608]
mov dword [ebp - 0x748], eax
jne 0x405b13
mov ecx, dword [ebp - 0x754]
mov dword [ebp - 0x3f4], ecx
jmp 0x405d85
mov edx, dword [ebp - 0x748]
mov eax, dword [ebp - 0x31c]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x19a8], eax
mov ecx, dword [ebp - 0x748]
mov edx, dword [ebp - 0x31c]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x19ac], edx
mov eax, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x31c]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x19b0], ecx
mov dword [ebp - 0x74c], 0
jmp 0x405b6d
mov edx, dword [ebp - 0x74c]
add edx, 1
mov dword [ebp - 0x74c], edx
mov eax, dword [ebp - 0x748]
mov ecx, dword [ebp - 0x74c]
cmp ecx, dword [eax + 0x18]
jae 0x405d79
mov edx, dword [ebp - 0x74c]
mov eax, dword [ebp - 0x19a8]
mov ecx, dword [ebp - 0x31c]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x750], ecx
mov edx, dword [ebp - 0x74c]
mov eax, dword [ebp - 0x19ac]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x19b0]
mov eax, dword [ebp - 0x31c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x19b4], eax
mov dword [ebp - 0x198], 0
jmp 0x405bdd
mov ecx, dword [ebp - 0x198]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x750]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
test eax, eax
je 0x405c8f
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x888]
test edx, edx
je 0x405c8f
push ebx
and ebx, 0xae7a
and ebx, 0x3c5c
pop ebx
push edi
push eax
add esp, 4
sub edi, 0x13e6b
or edi, 0x18656
pop edi
push ecx
push eax
add esp, 4
or ecx, 0xa0fe
or ecx, 0x8eb5
pop ecx
mov eax, dword [ebp - 0x750]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x888]
cmp ecx, eax
je 0x405c81
mov ecx, dword [ebp - 0x750]
add ecx, dword [ebp - 0x198]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x198]
movsx ecx, byte [ebp + eax - 0x888]
cmp edx, ecx
jne 0x405c88
jmp 0x405bce
jmp 0x405c8f
push ecx
push edi
add esp, 4
or ecx, 0xea88
add ecx, 0x14d6a
add ecx, 0x566d
pop ecx
push ecx
jmp 0x405cae
or ecx, 0x6de
add ecx, 0x16729
or ecx, 0x7e3f
pop ecx
mov edx, dword [ebp - 0x750]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x888]
cmp eax, edx
jne 0x405cee
mov dword [ebp - 0xcb8], 0
jmp 0x405d5d
push eax
sub eax, 0x2f3c
or eax, 0x1e52
pop eax
push esi
call 0x405d0a
add byte [esi], bh
inc edx
aas
inc edi
dec edi
aaa
cmp al, 0x83
les eax, [ecx + eax*4]
invalid
cmp dword [ebp - 0xcb8], 0
jne 0x405d74
mov ecx, dword [ebp - 0x19b4]
mov dword [ebp - 0x3f4], ecx
jmp 0x405d85
jmp 0x405b5e
mov edx, dword [ebp - 0x754]
mov dword [ebp - 0x3f4], edx
cmp dword [ebp - 0x3f4], 0
je 0x405e60
push edx
and edx, 0x1387c
sub edx, 0x13a26
call 0x405dad
add byte [esi + edi], bh
xor al, 0x4d
dec edx
aas
dec edx
xor al, byte [ebx + 0xbe804c4]
add byte [eax], al
add byte [eax], al
inc ebx
inc edi
inc ebp
inc esi
push eax
aaa
inc ecx
xor eax, 0xc483404d
add al, 0x5a
mov eax, dword [ebp - 0x3f4]
mov dword [ebp - 0x19b8], eax
push esi
push edx
add esp, 4
sub esi, 0x11c05
and esi, 0x19ad
pop esi
push ecx
push ecx
add esp, 4
jmp 0x405def
call 0x405dfe
add byte [ebx + esi + 0x4d], cl
xor cl, byte [edi + 0x41]
inc ebx
dec edi
xor eax, dword [ebx - 0x74a6fb3c]
lea ecx, [eax - 0x1a]
invalid