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

Disassembly:
add esp, 4
and esi, 0x8af9
pop esi
mov ecx, dword [ebp - 0x7cc]
mov edx, dword [ecx + 0x18]
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x7dc], 0
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x17a8], eax
cmp dword [ebp - 0x17a8], 0
jne 0x4070a6
mov ecx, dword [ebp - 0x7dc]
mov dword [ebp - 0x428], ecx
jmp 0x407397
mov edx, dword [ebp - 0x17a8]
mov eax, dword [ebp - 0x3cc]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x17ac], eax
jne 0x4070ce
mov ecx, dword [ebp - 0x7dc]
mov dword [ebp - 0x428], ecx
jmp 0x407397
mov edx, 8
imul eax, edx, 0
mov ecx, dword [ebp - 0x17ac]
mov edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0x17b0], edx
cmp dword [ebp - 0x17b0], 0
jne 0x407100
mov eax, dword [ebp - 0x7dc]
mov dword [ebp - 0x428], eax
jmp 0x407397
mov ecx, dword [ebp - 0x3cc]
add ecx, dword [ebp - 0x17b0]
mov dword [ebp - 0x7d0], ecx
jne 0x407125
mov edx, dword [ebp - 0x7dc]
mov dword [ebp - 0x428], edx
jmp 0x407397
mov eax, dword [ebp - 0x7d0]
mov ecx, dword [ebp - 0x3cc]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x1b08], ecx
mov edx, dword [ebp - 0x7d0]
mov eax, dword [ebp - 0x3cc]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1b0c], eax
mov ecx, dword [ebp - 0x7d0]
mov edx, dword [ebp - 0x3cc]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x1b10], edx
mov dword [ebp - 0x7d4], 0
jmp 0x40717f
mov ecx, dword [ebp - 0x7d0]
mov edx, dword [ebp - 0x7d4]
cmp edx, dword [ecx + 0x18]
jae 0x40738b
mov eax, dword [ebp - 0x7d4]
mov ecx, dword [ebp - 0x1b08]
mov edx, dword [ebp - 0x3cc]
add edx, dword [ecx + eax*4]
mov dword [ebp - 0x7d8], edx
mov eax, dword [ebp - 0x7d4]
mov ecx, dword [ebp - 0x1b0c]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x1b10]
mov ecx, dword [ebp - 0x3cc]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0x1b14], ecx
mov dword [ebp - 0x1b4], 0
jmp 0x4071ef
mov edx, dword [ebp - 0x1b4]
add edx, 1
mov dword [ebp - 0x1b4], edx
mov eax, dword [ebp - 0x7d8]
add eax, dword [ebp - 0x1b4]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4072a1
mov edx, dword [ebp - 0x1b4]
movsx eax, byte [ebp + edx - 0x914]
test eax, eax
je 0x4072a1
push ecx
call 0x40722d
add byte [edx + 0x3e], cl
inc esi
cmp bh, byte [eax]
xor cl, byte [edi + eax*2 + 0x45]
add esp, 4
jmp 0x407235
xor ecx, 0xc249
pop ecx
push edi
push edi
add esp, 4
xor edi, 0x5f15
xor edi, 0x15eb1
pop edi
mov ecx, dword [ebp - 0x7d8]
add ecx, dword [ebp - 0x1b4]
movsx edx, byte [ecx]
mov eax, dword [ebp - 0x1b4]
movsx ecx, byte [ebp + eax - 0x914]
cmp edx, ecx
je 0x407293
mov edx, dword [ebp - 0x7d8]
add edx, dword [ebp - 0x1b4]
movsx eax, byte [edx]
xor eax, 0x20
mov ecx, dword [ebp - 0x1b4]
movsx edx, byte [ebp + ecx - 0x914]
cmp eax, edx
jne 0x40729a
jmp 0x4071e0
jmp 0x4072a1
push edx
push ebx
add esp, 4
sub edx, 0x101e1
call 0x4072ba
add byte [esi], dh
dec esp
inc esi
cmp eax, dword ss:[esi + ecx*2 + 0x48]
add esp, 4
call 0x4072c9
add byte [eax + 0x3d], dl
inc esp
cmp eax, 0xc4834742
add al, 0x81
ljmp 0x8b5a
mov eax, dword [ebp - 0x7dc]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x407472
push ecx
call 0x4073b2
add byte [edi + 0x3a], cl
cmp al, 0x48
xor edi, dword [ebx]
cmp eax, 0x8104c483
jmp 0x415231
into
mov word [ebx + 0x80606f7], gs
pop es
pop es
pop es
mov al, ah
stosd dword es:[edi], eax
test dword [esi], 0x157c0706
xchg edx, eax
pushfd
jnp 0x415224
push es
push es
nop
pushfd
xchg dword [edx], eax
push es
push es
sbb al, dh
in al, dx
add al, 6
push es
xchg edx, eax
mov word [edi - 0x6ff9f901], gs
push es
nop
mov word [edi - 0x6df9f9fe], es
xchg esp, eax
xchg dword [edx], eax
push es
push es
nop
xchg esp, eax
xor edi, esp
push es
push es
xchg esp, eax
pushfd
jae 0x41524f
push es
push es
pop ecx
jno 0x415274
jno 0x415275
xchg edx, eax
invalid
push es
pushfd
xor edi, esp
push es
push es
nop
invalid