Function at 0x405a70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add esp, 4
pop esi
cmp dword [ebp - 0x15e8], 0
jne 0x405710
mov dword [ebp - 0x750], 0
jmp 0x4059cc
mov ecx, dword [ebp - 0x15e8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xca4], eax
push ecx
xor ecx, 0x108c0
call 0x405737
add byte [edx + 0x4a], al
inc esi
dec ecx
inc edi
inc esi
dec eax
cmp eax, 0xeb04c483
pop es
aas
dec ecx
cmp dword [eax + edi + 0x3c], eax
call 0x405750
add byte [edx + 0x43], cl
xor eax, 0x37423b45
add esp, 4
pop ecx
cmp dword [ebp - 0xca4], 0
jne 0x40576c
mov dword [ebp - 0x750], 0
jmp 0x4059cc
mov ecx, dword [ebp - 0xca4]
mov dword [ebp - 0x508], ecx
push ecx
push ebx
add esp, 4
sub ecx, 0x668b
sub ecx, 0x16987
jmp 0x405791
pop ecx
push esi
push esi
add esp, 4
add esi, 0x5665
sub esi, 0xa34d
and esi, 0xc4a6
pop esi
lea edx, [ebp - 0x1758]
mov dword [ebp - 0xca0], edx
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc9c], ecx
xor edx, edx
mov word [ebp - 0x214], dx
xor eax, eax
mov word [ebp - 0x110], ax
push edx
push ecx
add esp, 4
xor edx, 0x33a4
or edx, 0x152f9
sub edx, 0x5128
jmp 0x4057f7
pop edx
push ecx
sub ecx, 0xc9cc
pop ecx
push edx
jmp 0x405808
pop edx
mov ecx, dword [ebp - 0xc9c]
mov dx, word [ecx]
mov word [ebp - 0x1036], dx
mov eax, dword [ebp - 0xc9c]
add eax, 2
mov dword [ebp - 0xc9c], eax
mov cx, word [ebp - 0x1036]
mov word [ebp - 0x214], cx
mov dword [ebp - 0x214], ecx
mov edx, dword [ebp - 0xca0]
mov ax, word [edx]
mov word [ebp - 0x1038], ax
mov ecx, dword [ebp - 0xca0]
add ecx, 2
mov dword [ebp - 0xca0], ecx
mov dx, word [ebp - 0x1038]
mov word [ebp - 0x110], dx
push eax
jmp 0x40586a
or eax, 0x958e
pop eax
push esi
push eax
add esp, 4
or esi, 0x1740d
pop esi
push ecx
push edx
add esp, 4
add ecx, 0xe68b
and ecx, 0x13322
xor ecx, 0x12f8b
pop ecx
movzx eax, word [ebp - 0x110]
test eax, eax
jne 0x4058b8
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
sub ecx, edx
mov dword [ebp - 0x15f0], ecx
jmp 0x40591b
movzx eax, word [ebp - 0x214]
movzx ecx, word [ebp - 0x110]
cmp eax, ecx
je 0x4057d7
movzx edx, word [ebp - 0x214]
xor edx, 0x20
movzx eax, word [ebp - 0x110]
cmp edx, eax
je 0x4057d7
movzx ecx, word [ebp - 0x214]
movzx edx, word [ebp - 0x110]
cmp ecx, edx
jge 0x405905
mov dword [ebp - 0x15ec], 0xffffffff
jmp 0x40590f
mov dword [ebp - 0x15ec], 1
mov eax, dword [ebp - 0x15ec]
mov dword [ebp - 0x15f0], eax
cmp dword [ebp - 0x15f0], 0
jne 0x405964
push edx
push edi
add esp, 4
or edx, 0x14803
and edx, 0x60d6
or edx, 0x197f
pop edx
push ebx
add ebx, 0x4971
sub ebx, 0x53c4
pop ebx
push eax
push edi
add esp, 4
and eax, 0x180e7
pop eax
mov ecx, dword [ebp - 0x508]
mov dword [ebp - 0x750], ecx
jmp 0x4059cc
push eax
push ecx
add esp, 4
or eax, 0x12503
or eax, 0x3818
jmp 0x40597b
and eax, 0x36cf
pop eax
push ecx
jmp 0x405989
or ecx, 0x15442
sub ecx, 0xc2cf
pop ecx
mov edx, dword [ebp - 0x508]
mov eax, dword [edx]
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
cmp ecx, dword [ebp - 0xca4]
je 0x4059c2
mov edx, dword [ebp - 0x508]
cmp dword [edx + 0x30], 0
jne 0x405778
mov dword [ebp - 0x750], 0
push ecx
push ecx
add esp, 4
jmp 0x4059d8
jmp 0x4059dd
jmp 0x4059e2
add ecx, 0x83c8
pop ecx
push ebx
and ebx, 0xe054
jmp 0x4059f7
xor ebx, 0x1119b
pop ebx
cmp dword [ebp - 0x750], 0
jne 0x405a48
push edi
jmp 0x405a0d
or edi, 0x1b75
or edi, 0x264d
call 0x405a25
add byte [edi], bh
cmp eax, 0x3e473b34
add esp, 4
pop edi
push ebx
and ebx, 0x5ded
pop ebx
push ecx
and ecx, 0xfae2
pop ecx
mov dword [ebp - 0x79c], 0
jmp 0x40656f
push ecx
or ecx, 0x141c1
or ecx, 0x5790
pop ecx
push ebx
or ebx, 0x28e1
pop ebx
push ebx
push edx
add esp, 4
call 0x405a70
add byte [esp + eax*2 + 0x4b], al
cmp ecx, dword [edx + 0x3f]
dec ecx
add esp, 4
sub ebx, 0x9d39
pop ebx
mov eax, dword [ebp - 0x750]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x760], 0
mov edx, dword [ebp - 0x320]
mov dword [ebp - 0x15f4], edx
cmp dword [ebp - 0x15f4], 0
jne 0x405ab9
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405daa
mov ecx, dword [ebp - 0x15f4]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x15f8], edx
jne 0x405ae1
mov eax, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], eax
jmp 0x405daa
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x15f8]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x15fc], ecx
cmp dword [ebp - 0x15fc], 0
jne 0x405b13
mov edx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], edx
jmp 0x405daa
mov eax, dword [ebp - 0x320]
add eax, dword [ebp - 0x15fc]
mov dword [ebp - 0x754], eax
jne 0x405b38
mov ecx, dword [ebp - 0x760]
mov dword [ebp - 0x3f4], ecx
jmp 0x405daa
mov edx, dword [ebp - 0x754]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x19c8], eax
mov ecx, dword [ebp - 0x754]
mov edx, dword [ebp - 0x320]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x19cc], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x19d0], ecx
mov dword [ebp - 0x758], 0
jmp 0x405b92
mov edx, dword [ebp - 0x758]
add edx, 1
mov dword [ebp - 0x758], edx
mov eax, dword [ebp - 0x754]
mov ecx, dword [ebp - 0x758]
cmp ecx, dword [eax + 0x18]
jae 0x405d9e
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x19c8]
mov ecx, dword [ebp - 0x320]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x75c], ecx
mov edx, dword [ebp - 0x758]
mov eax, dword [ebp - 0x19cc]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x19d0]
mov eax, dword [ebp - 0x320]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x19d4], eax
mov dword [ebp - 0x198], 0
jmp 0x405c02
mov ecx, dword [ebp - 0x198]
add ecx, 1
mov dword [ebp - 0x198], ecx
mov edx, dword [ebp - 0x75c]
add edx, dword [ebp - 0x198]
movsx eax, byte [edx]
test eax, eax
je 0x405cb4
mov ecx, dword [ebp - 0x198]
movsx edx, byte [ebp + ecx - 0x894]
test edx, edx
je 0x405cb4
push ecx
jmp 0x405c39
call 0x405c48
add byte [0x493e3836], dh
dec ecx
inc ebp
dec ecx
xor eax, dword [ebx + 0x6eb04c4]
push eax
dec eax
dec ebx
xor cl, byte [esp + eax*2 + 0x59]
push esi
jmp 0x405c5a
xor esi, 0x1747
pop esi
mov eax, dword [ebp - 0x75c]
add eax, dword [ebp - 0x198]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x198]
movsx eax, byte [ebp + edx - 0x894]
cmp ecx, eax
je 0x405ca6
mov ecx, dword [ebp - 0x75c]
add ecx, dword [ebp - 0x198]
invalid
invalid