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

Disassembly:
push eax
xor eax, 0x7787
pop eax
push ebx
push edx
add esp, 4
sub ebx, 0x127f8
pop ebx
push ecx
push ebx
add esp, 4
and ecx, 0xc431
or ecx, 0xe433
and ecx, 0x7ab4
or ecx, 0x48b5
pop ecx
lea eax, [ebp - 0x1738]
mov dword [ebp - 0xcdc], eax
mov ecx, dword [ebp - 0x51c]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcd8], edx
xor eax, eax
mov word [ebp - 0x224], ax
xor ecx, ecx
mov word [ebp - 0x40], cx
push esi
push ecx
add esp, 4
xor esi, 0x7c
sub esi, 0x15700
add esi, 0xb047
pop esi
push edx
or edx, 0xb07f
sub edx, 0xf3f2
xor edx, 0xf425
or edx, 0x1789
pop edx
mov edx, dword [ebp - 0xcd8]
mov ax, word [edx]
mov word [ebp - 0x1046], ax
mov ecx, dword [ebp - 0xcd8]
add ecx, 2
mov dword [ebp - 0xcd8], ecx
mov dx, word [ebp - 0x1046]
mov word [ebp - 0x224], dx
mov eax, dword [ebp - 0xcdc]
mov cx, word [eax]
mov ecx, dword [eax]
mov word [ebp - 0x1048], cx
mov edx, dword [ebp - 0xcdc]
add edx, 2
mov dword [ebp - 0xcdc], edx
mov ax, word [ebp - 0x1048]
mov word [ebp - 0x40], ax
mov dword [ebp - 0x40], eax
push eax
push ebx
add esp, 4
or eax, 0xb3dd
xor eax, 0x17ac4
or eax, 0x14959
pop eax
push edi
and edi, 0x1636f
add dword [eax], eax
jmp 0x407638
xor edi, 0x6ae
and edi, 0x131f8
pop edi
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407662
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x4076bc
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x40758a
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
mov bh, 0x4d
sar byte [ebx], 0xc1
je 0x40758a
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x4076a6
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x4076b0
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x407705
push edx
push edi
add esp, 4
and edx, 0x15a96
and edx, 0xa398
pop edx
push ecx
add ecx, 0x8de8
jmp 0x4076e5
call 0x4076f3
add byte [esi + 0x42], cl
inc esp
dec ebx
dec eax
cmp byte [edx], bh
cmp al, 0x83
les eax, [ecx + ebx*2]
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x40776d
push ebx
push edi
add esp, 4
add ebx, 0x315a
add ebx, 0x16ba1
add ebx, 0xe6c5
pop ebx
push eax
or eax, 0xda61
pop eax
push edx
push ebx
add esp, 4
xor edx, 0xe23b
add edx, 0xebb8
pop edx
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
mov dword [ebp - 0x51c], ecx
mov edx, dword [ebp - 0x51c]
cmp edx, dword [ebp - 0xce0]
je 0x407763
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x40752e
mov dword [ebp - 0x2fc], 0
push ecx
push esi
add esp, 4
and ecx, 0xa8d4
pop ecx
push edx
xor edx, 0x92f6
pop edx
push edx
push ecx
add esp, 4
sub edx, 0x164c9
add edx, 0x8058
xor edx, 0x16435
add edx, 0x3c94
pop edx
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push edx
xor edx, 0x8be3
or edx, 0x6de0
or edx, 0xf18a
xor edx, 0x14205
pop edx
push eax
push edi
add esp, 4
xor eax, 0x975a
and eax, 0x143ed
sub eax, 0x7980
pop eax
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407810
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407b01
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x407838
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x407b01
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x168c]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1690], edx
cmp dword [ebp - 0x1690], 0
jne 0x40786a
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x407b01
mov ecx, dword [ebp - 0x338]