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

Disassembly:
push edx
push esi
add esp, 4
and edx, 0x10ebc
pop edx
push eax
add eax, 0x140e3
pop eax
push edx
push eax
add esp, 4
sub edx, 0xb491
xor edx, 0x118ed
and edx, 0xc381
xor edx, 0xbd93
pop edx
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 edx
push edx
add esp, 4
or edx, 0xdd6a
add edx, 0xae11
jmp 0x407198
pop edx
push edx
call 0x4071a6
add byte [ebx + 0x4a], cl
cmp byte [ecx + 0x38], al
inc esi
add esp, 4
xor edx, 0x13f10
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 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
push eax
push edi
add esp, 4
and eax, 0x17087
sub eax, 0x17ca7
or eax, 0x54e5
pop eax
push ecx
push ebx
add esp, 4
jmp 0x40722c
add ecx, 0x835e
xor ecx, 0x16ffd
pop ecx
movzx ecx, word [ebp - 0x40]
test ecx, ecx
jne 0x407256
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
sub edx, eax
mov dword [ebp - 0x1684], edx
jmp 0x4072b0
movzx ecx, word [ebp - 0x224]
movzx edx, word [ebp - 0x40]
cmp ecx, edx
je 0x40717e
movzx eax, word [ebp - 0x224]
xor eax, 0x20
movzx ecx, word [ebp - 0x40]
cmp eax, ecx
je 0x40717e
movzx edx, word [ebp - 0x224]
movzx eax, word [ebp - 0x40]
cmp edx, eax
jge 0x40729a
mov dword [ebp - 0x1680], 0xffffffff
jmp 0x4072a4
mov dword [ebp - 0x1680], 1
mov ecx, dword [ebp - 0x1680]
mov dword [ebp - 0x1684], ecx
cmp dword [ebp - 0x1684], 0
jne 0x4072f9
push ecx
push esi
add esp, 4
and ecx, 0x4512
and ecx, 0xdd17
add ecx, 0x6168
pop ecx
push esi
add esi, 0x6c31
sub esi, 0x5ece
or esi, 0x554c
sub esi, 0xca22
pop esi
mov edx, dword [ebp - 0x51c]
mov dword [ebp - 0x2fc], edx
jmp 0x407361
invalid
push edi
or edi, 0xb24c
add edi, 0x376
pop edi
push ecx
push esi
add esp, 4
and ecx, 0x45cb
call 0x407321
add byte [esp + ecx*2 + 0x50], cl
dec ebx
inc ebp
aaa
dec eax
inc eax
dec eax
add esp, 4
xor ecx, 0x166e5
pop ecx
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 0x407357
mov eax, dword [ebp - 0x51c]
cmp dword [eax + 0x30], 0
jne 0x407122
mov dword [ebp - 0x2fc], 0
push eax
xor eax, 0x12fd8
call 0x407376
add byte [edx + 0x46], al
dec esi
inc ecx
dec esi
dec esi
xor al, 0x3b
add esp, 4
call 0x407389
add byte [ebp + 0x33], cl
xor eax, 0x3e4a3e3c
aaa
dec ebx
add esp, 4
sub eax, 0x30a1
pop eax
mov ecx, dword [ebp - 0x2fc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x338], edx
push esi
push ebx
add esp, 4
sub esi, 0x7a43
or esi, 0x39e3
sub esi, 0x15aa5
sub esi, 0x9d9a
pop esi
push edx
sub edx, 0x14cb3
add edx, 0x1dfa
xor edx, 0xb8fe
pop edx
mov dword [ebp - 0x794], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0x1688], eax
cmp dword [ebp - 0x1688], 0
jne 0x407404
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x4076f5
mov edx, dword [ebp - 0x1688]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x168c], eax
jne 0x40742c
mov ecx, dword [ebp - 0x794]
mov dword [ebp - 0x520], ecx
jmp 0x4076f5
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 0x40745e
mov eax, dword [ebp - 0x794]
mov dword [ebp - 0x520], eax
jmp 0x4076f5
mov ecx, dword [ebp - 0x338]
add ecx, dword [ebp - 0x1690]
mov dword [ebp - 0x788], ecx
jne 0x407483
mov edx, dword [ebp - 0x794]
mov dword [ebp - 0x520], edx
jmp 0x4076f5
mov eax, dword [ebp - 0x788]
mov ecx, dword [ebp - 0x338]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1a14], ecx
mov edx, dword [ebp - 0x788]
mov eax, dword [ebp - 0x338]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1a18], eax
mov ecx, dword [ebp - 0x788]
invalid
xchg ebp, eax
invalid
cld