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

Disassembly:
push edi
xor edi, 0x14ce3
pop edi
push esi
push edx
add esp, 4
xor esi, 0x922a
pop esi
push eax
push edi
add esp, 4
xor eax, 0xb07c
or eax, 0x858e
add eax, 0x868e
sub eax, 0x101a
pop eax
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x250], ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x24c], eax
push ecx
xor ecx, 0x1423
and ecx, 0x93a5
call fcn.0040790a
add byte [ebx], dh
cmp bh, byte [edx]
cmp eax, 0x48393933
xor eax, dword [ebx + 0xae804c4]
add esp, 4
call 0x40791c
add byte [esi + 0x41], al
add esp, 4
call 0x40791c
add byte [esi + 0x41], al
dec esi
inc ebx
xor al, 0x50
xor ecx, dword [edx - 0x7d]
les eax, [ecx + ebx*2]
xor ecx, ecx
mov word [ebp - 0x68], cx
xor edx, edx
mov word [ebp - 0x1c], dx
push eax
call 0x40793d
add byte [esi + 0x48], al
dec edx
cmp dword ds:[0x42505046], edi
add esp, 4
pop eax
push edi
push esi
add esp, 4
and edi, 0x16ea5
jmp 0x407951
sub edi, 0x12da3
add edi, 0x6c58
pop edi
mov eax, dword [ebp - 0x24c]
mov cx, word [eax]
mov word [ebp - 0x1d2], cx
mov edx, dword [ebp - 0x24c]
add edx, 2
mov dword [ebp - 0x24c], edx
mov ax, word [ebp - 0x1d2]
mov word [ebp - 0x68], ax
push esi
add esi, 0xb1e2
add esi, 0x1640a
pop esi
push ebx
push edi
add esp, 4
call 0x4079a9
add byte [eax + 0x41], cl
inc esp
dec edi
dec esi
dec esi
inc esp
inc esi
add esp, 4
sub ebx, 0x37d4
jmp 0x4079b9
pop ebx
mov ecx, dword [ebp - 0x250]
mov dx, word [ecx]
mov word [ebp - 0x1d4], dx
mov eax, dword [ebp - 0x250]
add eax, 2
mov dword [ebp - 0x250], eax
mov cx, word [ebp - 0x1d4]
mov word [ebp - 0x1c], cx
push edi
push eax
add esp, 4
add edi, 0xd864
xor edi, 0xeaf4
jmp 0x4079fd
pop edi
push ebx
add ebx, 0x14b48
jmp 0x407a0a
and ebx, 0x5ed3
jmp 0x407a15
pop ebx
movzx edx, word [ebp - 0x1c]
test edx, edx
jne 0x407a33
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x318], eax
jmp 0x407ab6
movzx edx, word [ebp - 0x68]
movzx eax, word [ebp - 0x1c]
cmp edx, eax
je 0x40792c
movzx ecx, word [ebp - 0x68]
xor ecx, 0x20
movzx edx, word [ebp - 0x1c]
cmp ecx, edx
je 0x40792c
push esi
push esi
add esp, 4
or esi, 0x1854b
add esi, 0x1c3b
pop esi
push edx
xor edx, 0x8d3e
pop edx
push ebx
push ecx
add esp, 4
xor ebx, 0xe41c
add ebx, 0x17af6
and ebx, 0x75e1
pop ebx
movzx eax, word [ebp - 0x68]
movzx ecx, word [ebp - 0x1c]
cmp eax, ecx
jge 0x407aa0
mov dword [ebp - 0x314], 0xffffffff
jmp 0x407aaa
mov dword [ebp - 0x314], 1
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x318], edx
cmp dword [ebp - 0x318], 0
jne 0x407aff
push ecx
add ecx, 0x551f
pop ecx
push ebx
and ebx, 0xb24c
and ebx, 0x28d4
pop ebx
push edi
xor edi, 0x9321
pop edi
push edx
push eax
add esp, 4
xor edx, 0x945d
pop edx
push edx
add edx, 0x16999
pop edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
jmp 0x407b96
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ecx]
mov dword [ebp - 0xa8], edx
push edi
push eax
add esp, 4
call 0x407b22
add byte [edi + 0x42], cl
aas
cmp eax, 0x3e33444d
inc ebp
inc esi
add esp, 4
pop edi
push ebx
call 0x407b35
add byte [esp + eax*2], dh
cmp eax, 0x35444349
add esp, 4
add ebx, 0x4f
pop ebx
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x254]
je 0x407b5d
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx + 0x30], 0
jne 0x4078a1
push edi
push edx
add esp, 4
call 0x407b6e
add byte [edx], dh
dec eax
cmp byte [eax], bh
cmp eax, 0x4c48341
call 0x407b7d
add byte [ebp + 0x46], al
xor al, 0x42
dec edx
dec ebx
add esp, 4
pop edi
push edi
xor edi, 0xcc4c
xor edi, 0x130dd
pop edi
mov dword [ebp - 0x70], 0