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

Disassembly:
add esp, 4
pop eax
mov byte [ebp - 0x830], 0x4c
mov byte [ebp - 0x82f], 0x6f
mov byte [ebp - 0x82e], 0x61
mov byte [ebp - 0x82d], 0x64
mov byte [ebp - 0x82c], 0x4c
mov byte [ebp - 0x82b], 0x69
mov byte [ebp - 0x82a], 0x62
mov byte [ebp - 0x829], 0x72
mov byte [ebp - 0x828], 0x61
mov byte [ebp - 0x827], 0x72
mov byte [ebp - 0x826], 0x79
mov byte [ebp - 0x825], 0x57
mov byte [ebp - 0x824], 0
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x18d8], ecx
mov edx, dword [ebp - 0x18d8]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x18dc], eax
mov ecx, dword [ebp - 0x18dc]
mov dword [ebp - 0x1518], ecx
push eax
push edi
add esp, 4
call 0x4075b1
add byte [eax + edx*2], bh
cmp byte [edi], bh
cmp dword [ebp + 0x32], eax
xor eax, 0x8104c483
loopne 0x40754d
test edi, edx
idiv edi
push dword [edx - 0x3a]
test eax, ebx
idiv edi
jmp dword [ecx - 0x3a]
fild word [eax]
add byte [ecx + 0x170caf0], al
add byte [eax + 0x53], bl
jmp 0x4075ca
jmp 0x4075cf
pop ebx
cmp dword [ebp - 0x1518], 0
jne 0x4075e8
mov dword [ebp - 0x710], 0
jmp 0x40788f
mov edx, dword [ebp - 0x1518]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc58], ecx
push eax
sub eax, 0xb114
or eax, 0xc589
or eax, 0x1634
pop eax
push ecx
push eax
add esp, 4
jmp 0x40761a
pop ecx
push eax
push edi
add esp, 4
add eax, 0xaba1
jmp 0x40762b
pop eax
cmp dword [ebp - 0xc58], 0
jne 0x407644
mov dword [ebp - 0x710], 0
jmp 0x40788f
mov edx, dword [ebp - 0xc58]
mov dword [ebp - 0x4e8], edx
push esi
push ecx
add esp, 4
jmp 0x40765d
xor esi, 0x15851
pop esi
push edx
push esi
add esp, 4
xor edx, 0xc543
sub edx, 0xa84b
and edx, 0x161f0
or edx, 0x13188
pop edx
lea eax, [ebp - 0x16e8]
mov dword [ebp - 0xc54], eax
mov ecx, dword [ebp - 0x4e8]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xc50], edx
xor eax, eax
mov word [ebp - 0x208], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push ebx
push edi
add esp, 4
add ebx, 0x9e53
pop ebx
push ecx
push ebx
add esp, 4
xor ecx, 0xcbe3
xor ecx, 0x31cc
pop ecx
push edi
jmp 0x4076d0
and edi, 0x16bfe
jmp 0x4076dd
pop edi
mov edx, dword [ebp - 0xc50]
mov ax, word [edx]
mov word [ebp - 0xf8e], ax
mov ecx, dword [ebp - 0xc50]
add ecx, 2
mov dword [ebp - 0xc50], ecx
mov dx, word [ebp - 0xf8e]
mov word [ebp - 0x208], dx
mov eax, dword [ebp - 0xc54]
mov cx, word [eax]
mov word [ebp - 0xf90], cx
mov edx, dword [ebp - 0xc54]
add edx, 2
mov dword [ebp - 0xc54], edx
mov ax, word [ebp - 0xf90]
mov word [ebp - 0x3c], ax
push edi
push edx
add esp, 4
or edi, 0xc798
pop edi
push ebx
push ecx
add esp, 4
or ebx, 0x15aab
xor ebx, 0x71dd
and ebx, 0xa29b
or ebx, 0xa6d8
pop ebx
push ebx
or ebx, 0x1548f
pop ebx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x407784
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1560], edx
jmp 0x4077de
movzx ecx, word [ebp - 0x208]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x4076ac
movzx eax, word [ebp - 0x208]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x4076ac
movzx edx, word [ebp - 0x208]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x4077c8
mov dword [ebp - 0x151c], 0xffffffff
jmp 0x4077d2
mov dword [ebp - 0x151c], 1
mov ecx, dword [ebp - 0x151c]
mov dword [ebp - 0x1560], ecx
cmp dword [ebp - 0x1560], 0
jne 0x407827
push ebx
push ebx
add esp, 4
xor ebx, 0x62a6
or ebx, 0x2d15
and ebx, 0xda80
pop ebx
push edi
sub edi, 0x95cf
pop edi
push edi
push esi
add esp, 4
and edi, 0x8de6
xor edi, 0x1ac0
pop edi
mov edx, dword [ebp - 0x4e8]
mov dword [ebp - 0x710], edx
jmp 0x40788f
push edx
sub edx, 0x3971
add edx, 0x125f
sub edx, 0x54fb
pop edx
push ebx
push eax
add esp, 4
jmp 0x407846
pop ebx
push ecx
push ecx
add esp, 4
add ecx, 0x6806
add ecx, 0xd352
pop ecx
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp - 0x4e8]
cmp edx, dword [ebp - 0xc58]
je 0x407885
mov eax, dword [ebp - 0x4e8]
cmp dword [eax + 0x30], 0
jne 0x407650
mov dword [ebp - 0x710], 0
push eax
call 0x40789f
add byte [eax + 0x36], al
inc edi
dec esi
cmp dword [ecx + 0x46], eax
aaa
inc edi
add esp, 4
les eax, [eax + ebx*2]
push edx
push edi
add esp, 4
xor edx, 0x550d
xor edx, 0x1333f
add edx, 0x4015
add edx, 0xecf1
pop edx
cmp dword [ebp - 0x710], 0
jne 0x40790b
push edx
sub edx, 0x1557d
call 0x4078e0
add byte [ecx + eax*2], bh
cmp cl, byte [edx + 0x36]
cmp eax, dword [ebp + 0x47]
add esp, 4
xor edx, 0xdd37
call 0x4078f8
add byte [edi], dh
inc esi
aas
dec esi
cmp eax, 0x424b4547
add esp, 4
pop edx
mov dword [ebp - 0xa58], 0
jmp 0x408433
push ecx
or ecx, 0x12e5f
pop ecx
push ecx
xor ecx, 0x4a69
sub ecx, 0x2268
and ecx, 0x42db
pop ecx
push edi
add edi, 0xd7a6
pop edi
push ebx