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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x647fb1
sub esp, 0x50
movzx ebx, byte [esp + 0x6c]
mov ebp, ebx
and ebx, 7
cmp bl, 7
jne 0x647acc
xor eax, eax
jmp 0x647ace
mov eax, ebx
add ebp, 0xffffff80
xchg ebp, eax
shr al, 3
xchg ebp, eax
xchg ebp, eax
cmp al, 1
xchg ebp, eax
ja 0x647b05
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x647af4
mov ecx, 1
xor edx, edx
xor ebp, ebp
lea esi, [0x733520]
jmp 0x647b63
mov ecx, 2
xor edx, edx
xor ebp, ebp
lea esi, [0x733524]
jmp 0x647b63
xchg ebp, eax
cmp al, 2
xchg ebp, eax
jne 0x647b24
mov ecx, 3
mov edx, 9
lea ebp, [0x6ef8a5]
lea esi, [0x733528]
jmp 0x647b63
xchg ebp, eax
cmp al, 3
xchg ebp, eax
jne 0x647b3c
mov ecx, 4
xor edx, edx
xor ebp, ebp
lea esi, [0x733530]
jmp 0x647b63
xchg ebp, eax
cmp al, 4
xchg ebp, eax
jne 0x647b5b
mov ecx, 3
mov edx, 0xb
lea ebp, [0x6f0811]
lea esi, [0x73352c]
jmp 0x647b63
xor ecx, ecx
xor edx, edx
xor ebp, ebp
xor esi, esi
mov byte [esp + 0x21], bl
mov byte [esp + 0x27], al
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x647d76
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x28], ecx
cmp bl, 7
jne 0x647c6e
mov eax, dword [esp + 0x68]
cmp eax, 1
jb 0x647fa4
lea eax, [0x696560]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov edx, dword [esp + 0x4c]
mov dword [edx], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x647bde
mov dword [edx + 4], eax
jmp 0x647be6
lea edi, [edx + 4]
call fcn.00465d80
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409830
mov eax, dword [esp + 8]
lea ecx, [0x69bcc0]
mov edx, dword [esp + 0x4c]
mov dword [edx + 8], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x647c1a
mov dword [edx + 0xc], eax
jmp 0x647c22
lea edi, [edx + 0xc]
call fcn.00465d80
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], 1
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
lea esi, [0x700ee8]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], 2
mov edx, eax
call ecx
jmp 0x647d64
mov ebx, dword [esp + 0x68]
cmp ebx, 1
jb 0x647f98
lea eax, [0x696920]
mov dword [esp], eax
call fcn.0040be50
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
lea ecx, [0x69be80]
mov dword [eax], ecx
movzx ecx, byte [esp + 0x27]
movzx edx, cl
lea ebx, [0x934160]
lea edx, [ebx + edx*8]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call fcn.00409720
mov eax, dword [esp + 4]
lea ecx, [0x69b600]
mov edx, dword [esp + 0x48]
mov dword [edx + 8], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x647cd9
mov dword [edx + 0xc], eax
jmp 0x647ce1
lea edi, [edx + 0xc]
call fcn.00465d80
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
call fcn.00409830
mov eax, dword [esp + 8]
lea ecx, [0x69bcc0]
mov edx, dword [esp + 0x48]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x1eaa9f0]
test ecx, ecx
jne 0x647d15
mov dword [edx + 0x14], eax
jmp 0x647d1d
lea edi, [edx + 0x14]
call fcn.00465d80
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov dword [esp + 4], 1
mov ebp, dword [esp + 0x68]
mov dword [esp + 8], ebp
lea esi, [0x6ff087]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x27
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 3
mov edx, eax
call ecx
movzx eax, byte [esp + 0x27]
movzx ebx, byte [esp + 0x21]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x64]
cmp ebp, 1
jb 0x647f8c
mov eax, dword [esp + 0x68]
lea ecx, [eax - 1]
mov dword [esp + 0x38], ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 1
mov edi, dword [esp + 0x60]
add ecx, edi
mov dword [esp + 0x44], ecx
mov edi, dword [esi]
mov dword [esp], ecx
dec ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov edx, esi
call edi
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0xc]
movzx ebx, byte [esp + 0xd]
movzx ebp, byte [esp + 0xe]
movzx esi, byte [esp + 0xf]
movzx edi, byte [esp + 0x10]
test eax, eax
je 0x647f3e
xchg edi, eax
mov byte [esp + 0x26], al
xchg edi, eax
mov edx, edi
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x647e7e
xchg esi, eax
mov byte [esp + 0x25], al
xchg esi, eax
mov esi, dword [esp + 0x38]
cmp eax, esi
ja 0x647f83
mov dword [esp + 0x2c], eax
mov byte [esp + 0x24], bl
xchg ebp, eax
mov byte [esp + 0x23], al
xchg ebp, eax
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x44]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov dword [esp + 0xc], edi
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], bl
xchg ebp, eax
mov byte [esp + 0x12], al
xchg ebp, eax
movzx esi, byte [esp + 0x25]
xchg esi, eax
mov byte [esp + 0x13], al
xchg esi, eax
movzx edi, byte [esp + 0x26]
xchg edi, eax
mov byte [esp + 0x14], al
xchg edi, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00647fc0
mov eax, dword [esp + 0x2c]
movzx ecx, byte [esp + 0x22]
movzx edx, byte [esp + 0x26]
movzx ebx, byte [esp + 0x24]
movzx ebp, byte [esp + 0x23]
movzx esi, byte [esp + 0x25]
mov edi, dword [esp + 0x34]
cmp eax, edi
ja 0x647f7c
mov edi, dword [esp + 0x68]
sub edi, eax
dec edi
mov dword [esp + 0x38], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, eax
mov edx, dword [esp + 0x64]
sub edx, eax
mov eax, dword [esp + 0x44]
add eax, edi
mov edi, dword [esp + 0x54]
test edi, edi
je 0x647f07
mov dword [esp + 0x44], eax
mov dword [esp + 0x34], edx
movzx eax, byte [esp + 0x21]
cmp al, 7
sete al
mov edx, dword [edi + 0x60]
mov edi, dword [esp + 0x58]
mov dword [esp], edi
movzx edi, byte [esp + 0x27]
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
mov byte [esp + 5], al
mov byte [esp + 6], cl
mov byte [esp + 7], bl
xchg ebp, eax
mov byte [esp + 8], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 9], al
xchg esi, eax
movzx eax, byte [esp + 0x26]
mov byte [esp + 0xa], al
call edx
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x34]
lea ecx, [0x733544]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [edx - 1]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x50
ret
mov eax, dword [0x1e849e0]
mov ecx, dword [0x1e849e4]
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
add esp, 0x50
ret
mov ecx, edi
call fcn.00465e60
mov ecx, eax
mov edx, esi
call fcn.00465e40
mov eax, 1
xor ecx, ecx
call fcn.00465e60
mov ecx, 1
xor edx, edx
call fcn.00465e40
mov ecx, 1
xor edx, edx
call fcn.00465e40
nop
call fcn.004649b0
jmp fcn.00647aa0