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

Disassembly:
mov eax, dword [edx + 0xc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xcd0], ecx
push edi
push esi
add esp, 4
or edi, 0x15c92
pop edi
push ecx
sub ecx, 0x16499
add ecx, 0x13e0b
sub ecx, 0x114d8
pop ecx
push esi
push edi
add esp, 4
or esi, 0xeba6
add esi, 0x1858b
pop esi
cmp dword [ebp - 0xcd0], 0
jne 0x4071f6
mov dword [ebp - 0x774], 0
jmp 0x407441
mov edx, dword [ebp - 0xcd0]
mov dword [ebp - 0x518], edx
push esi
push edi
add esp, 4
call 0x407217
add byte [edx], dh
dec edi
cmp dh, byte [0x42434747]
xor edi, dword [edi]
add esp, 4
and esi, 0x1797b
add esi, 0xeb8d
jmp 0x40722b
pop esi
push ebx
or ebx, 0x720
pop ebx
lea eax, [ebp - 0x1790]
mov dword [ebp - 0xccc], eax
mov ecx, dword [ebp - 0x518]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0xcc8], edx
xor eax, eax
mov word [ebp - 0x220], ax
xor ecx, ecx
mov word [ebp - 0x3c], cx
push edx
push esi
add esp, 4
xor edx, 0xbf39
xor edx, 0x11c0e
and edx, 0xe559
pop edx
push ebx
xor ebx, 0xb144
pop ebx
push edi
push ecx
add esp, 4
add edi, 0x6f0
sub edi, 0xaa26
pop edi
mov edx, dword [ebp - 0xcc8]
mov ax, word [edx]
mov word [ebp - 0x1042], ax
mov ecx, dword [ebp - 0xcc8]
add ecx, 2
mov dword [ebp - 0xcc8], ecx
mov dx, word [ebp - 0x1042]
mov word [ebp - 0x220], dx
mov eax, dword [ebp - 0xccc]
mov cx, word [eax]
mov word [ebp - 0x1044], cx
mov edx, dword [ebp - 0xccc]
add edx, 2
mov dword [ebp - 0xccc], edx
mov ax, word [ebp - 0x1044]
mov word [ebp - 0x3c], ax
push ecx
and ecx, 0x6277
pop ecx
push edx
xor edx, 0xf734
pop edx
push edi
xor edi, 0x175ab
xor edi, 0xfcdb
jmp 0x40730a
or edi, 0x13755
pop edi
push ecx
add ecx, 0x140e5
pop ecx
movzx ecx, word [ebp - 0x3c]
test ecx, ecx
jne 0x407336
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x1668], edx
jmp 0x407390
movzx ecx, word [ebp - 0x220]
movzx edx, word [ebp - 0x3c]
cmp ecx, edx
je 0x40725e
movzx eax, word [ebp - 0x220]
xor eax, 0x20
movzx ecx, word [ebp - 0x3c]
cmp eax, ecx
je 0x40725e
movzx edx, word [ebp - 0x220]
movzx eax, word [ebp - 0x3c]
cmp edx, eax
jge 0x40737a
mov dword [ebp - 0x1624], 0xffffffff
jmp 0x407384
mov dword [ebp - 0x1624], 1
mov ecx, dword [ebp - 0x1624]
mov dword [ebp - 0x1668], ecx
cmp dword [ebp - 0x1668], 0
jne 0x4073d9
push esi
add esi, 0xf440
add esi, 0x107bd
pop esi
push eax
jmp 0x4073b0
xor eax, 0xabc
pop eax
push edi
and edi, 0x115a8
pop edi
push ecx
push eax
add esp, 4
jmp 0x4073ca
pop ecx
mov edx, dword [ebp - 0x518]
mov dword [ebp - 0x774], edx
jmp 0x407441
push ecx
xor ecx, 0x9ee6
call 0x4073f0
add byte [edx], bh
inc esp
inc edx
cmp dh, byte [ebx]
inc ebp
aaa
inc edi
cmp eax, 0x4c48345
jmp 0x4073fc
pop ecx
push ecx
add ecx, 0x153ee
and ecx, 0x2891
pop ecx
mov eax, dword [ebp - 0x518]
mov ecx, dword [eax]
mov dword [ebp - 0x518], ecx
mov edx, dword [ebp - 0x518]
cmp edx, dword [ebp - 0xcd0]
je 0x407437
mov eax, dword [ebp - 0x518]
cmp dword [eax + 0x30], 0
jne 0x407202
mov dword [ebp - 0x774], 0
push ebx
push ebx
add esp, 4
jmp 0x40744e
or ebx, 0xb963
and ebx, 0x80d0
call 0x407468
add byte [eax + 0x4c], cl
inc esp
dec ebx
xor esi, dword [edx]
cmp bh, byte [ebx + eax*4]
les eax, [ebx + ebx*2]
push ebx
jmp 0x407472
pop ebx
cmp dword [ebp - 0x774], 0
jne 0x4074bd
push edi
push esi
add esp, 4
jmp 0x407487
pop edi
push ecx
sub ecx, 0x8b8d
pop ecx
push edi
push edx
add esp, 4
call 0x4074a2
add byte [edx], bh
xor al, 0x50
push eax
cmp esi, dword [esi]
dec edi
add esp, 4
pop edi
push esi
and esi, 0x6bd1
pop esi
mov dword [ebp - 0xab4], 0
jmp 0x407fe5
push esi
push edi
add esp, 4
add esi, 0xb5ac
xor esi, 0x17478
sub esi, 0x14b54
pop esi
push ecx
push eax
add esp, 4
jmp 0x4074e0
pop ecx
push eax
and eax, 0x131ec
or eax, 0x8b1
pop eax
mov ecx, dword [ebp - 0x774]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x784], 0
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x166c], eax
cmp dword [ebp - 0x166c], 0
jne 0x40752e
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x40781f
mov edx, dword [ebp - 0x166c]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x1670], eax
jne 0x407556
mov ecx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], ecx
jmp 0x40781f
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x1670]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x1678], edx
cmp dword [ebp - 0x1678], 0
jne 0x407588
mov eax, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], eax
jmp 0x40781f
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [ebp - 0x1678]
mov dword [ebp - 0x778], ecx
jne 0x4075ad
mov edx, dword [ebp - 0x784]
mov dword [ebp - 0x3f8], edx
jmp 0x40781f
mov eax, dword [ebp - 0x778]
mov ecx, dword [ebp - 0x3a4]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x19a4], ecx
mov edx, dword [ebp - 0x778]
mov eax, dword [ebp - 0x3a4]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x19a8], eax
mov ecx, dword [ebp - 0x778]
invalid
xchg ebp, eax
pop esp