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

Disassembly:
push ebx
add esp, 4
jmp 0x406495
jmp 0x40649e
sub esi, 0x17b73
pop esi
push ebx
or ebx, 0x11340
or ebx, 0x22d8
pop ebx
push edx
add edx, 0x4d69
pop edx
mov eax, dword [ebp - 0x31c]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x324], ecx
push edi
sub edi, 0x11ae6
and edi, 0xe540
pop edi
push ebx
push ecx
add esp, 4
call 0x4064ea
add byte [edx], dh
xor al, 0x3a
inc esi
dec eax
push eax
cmp byte [ebx + 0x525b04c4], al
push edi
add esp, 4
jmp 0x4064fb
pop edx
mov dword [ebp - 0x770], 0
mov edx, dword [ebp - 0x324]
mov dword [ebp - 0x1608], edx
cmp dword [ebp - 0x1608], 0
jne 0x40652c
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40681d
mov ecx, dword [ebp - 0x1608]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x160c], edx
jne 0x406554
mov eax, dword [ebp - 0x770]
mov dword [ebp - 0x510], eax
jmp 0x40681d
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp - 0x160c]
mov ecx, dword [eax + edx + 0x78]
mov dword [ebp - 0x1610], ecx
cmp dword [ebp - 0x1610], 0
jne 0x406586
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
jmp 0x40681d
mov eax, dword [ebp - 0x324]
add eax, dword [ebp - 0x1610]
mov dword [ebp - 0x764], eax
jne 0x4065ab
mov ecx, dword [ebp - 0x770]
mov dword [ebp - 0x510], ecx
jmp 0x40681d
mov edx, dword [ebp - 0x764]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + 0x20]
mov dword [ebp - 0x1984], eax
mov ecx, dword [ebp - 0x764]
mov edx, dword [ebp - 0x324]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x1988], edx
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1d10], ecx
mov dword [ebp - 0x768], 0
jmp 0x406605
mov eax, dword [ebp - 0x764]
mov ecx, dword [ebp - 0x768]
cmp ecx, dword [eax + 0x18]
jae 0x406811
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1984]
mov ecx, dword [ebp - 0x324]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x76c], ecx
mov edx, dword [ebp - 0x768]
mov eax, dword [ebp - 0x1988]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x1d10]
mov eax, dword [ebp - 0x324]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x198c], eax
mov dword [ebp - 0x19c], 0
jmp 0x406675
mov ecx, dword [ebp - 0x19c]
add ecx, 1
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x76c]
add edx, dword [ebp - 0x19c]
movsx eax, byte [edx]
test eax, eax
je 0x406727
mov ecx, dword [ebp - 0x19c]
movsx edx, byte [ebp + ecx - 0x878]
test edx, edx
je 0x406727
push edi
push esi
add esp, 4
add edi, 0x127fc
add edi, 0x2787
pop edi
push ebx
add ebx, 0x10f82
call 0x4066ca
add byte [esi + 0x35], cl
xor al, 0x3e
dec ecx
xor al, byte [esi + eax*2 + 0x4c]
add esp, 4
sub ebx, 0xbf12
pop ebx
mov eax, dword [ebp - 0x76c]
add eax, dword [ebp - 0x19c]
movsx ecx, byte [eax]
mov edx, dword [ebp - 0x19c]
movsx eax, byte [ebp + edx - 0x878]
cmp ecx, eax
je 0x406719
mov ecx, dword [ebp - 0x76c]
add ecx, dword [ebp - 0x19c]
movsx edx, byte [ecx]
xor edx, 0x20
mov eax, dword [ebp - 0x19c]
movsx ecx, byte [ebp + eax - 0x878]
cmp edx, ecx
jne 0x406720
jmp 0x406666
jmp 0x406727
push esi
xor esi, 0x141e4
sub esi, 0x5757
pop esi
push edx
add edx, 0x63a9
jmp 0x406741
call 0x40674f
add byte [edx + ecx*2], bh
cmp edi, dword [ebx]
dec esp
aas
push eax
xor eax, 0x8104c483
loop 0x4067a4
add al, 1
add byte [edx - 0x75], bl
xchg ebp, eax
xchg esp, eax
clc
invalid
add byte [ecx + 0xc55de0], al
add byte [ecx + 0xb743f0], al
add byte [ecx + 0x410ec8], al
add byte [eax - 0x75], bl
test dword [eax + edi*8 - 0x7afc0001], edx
invalid
mov edx, dword [ebp - 0x770]
mov dword [ebp - 0x510], edx
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x79c], eax
push esi
push ecx
add esp, 4
xor esi, 0x7e21
pop esi
push edx
push esi
add esp, 4
add edx, 0xc3be
or edx, 0x158d4
pop edx
push eax
or eax, 0xc397
pop eax
push edi
push esi
add esp, 4
sub edi, 0x11f4b
pop edi
mov ecx, dword [ebp - 0x3e8]
add ecx, 0xe
mov dword [ebp - 0x19dc], ecx
push edx
sub edx, 0x11a41
or edx, 0x16a7b
xor edx, 0x4f69
sub edx, 0x6f75
pop edx
push ebx
push edx
add esp, 4
or ebx, 0x14fc2
xor ebx, 0x5f91
or ebx, 0x1760c
pop ebx
cmp dword [ebp - 0x3e8], 0
je 0x4068ae
cmp dword [ebp - 0xab8], 0
jne 0x4068f4
push eax
push edi
add esp, 4
jmp 0x4068ba
xor eax, 0x7c56
call 0x4068ce
add byte [edx], dh
dec edi
inc esp
cmp byte [eax + 0x4f], al
inc ecx
add esp, 4
pop eax
push esi
and esi, 0x176ea
jmp 0x4068df
pop esi
mov edx, dword [ebp - 0x79c]
mov dword [ebp - 0x1990], edx
push 0
call dword [ebp - 0x1990]
mov dword [ebp - 0x20a8], 0xa
push ebx
xor ebx, 0x175f9
call 0x406915
add byte [edx], bh
inc eax
inc esi
dec ebx
dec edi
inc ebp
xor ecx, dword [ebp + 0x45]
add esp, 4
xor ebx, 0x164
add byte [ebx + 0x56], bl
sub esi, 0x2a22
pop esi
push ebx
jmp 0x40692f
pop ebx
mov eax, dword [ebp - 0x3e8]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x3ae], cl
mov edx, dword [ebp - 0xab8]
sub edx, dword [ebp - 0x3e8]
mov dword [ebp - 0x1694], edx
mov dword [ebp - 0xce8], 0
push eax
push ebx
add esp, 4
call 0x40696e
add byte [ecx + 0x4d], al