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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x638bd0
sub esp, 0x68
lea eax, [0x6aaa00]
mov dword [esp], eax
call fcn.0040d2a0
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
call edx
lea edi, [esp + 0x2c]
lea esi, [esp + 4]
call fcn.0046d022
lea edi, [esp]
lea esi, [esp + 0x2c]
call fcn.0046d022
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
call fcn.006338d0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x638b24
mov edx, dword [eax + 8]
cmp edx, 0x466bf8cc
ja 0x638910
cmp edx, 0x3650992c
jne 0x63870d
lea edx, [0x749d40]
cmp eax, edx
jne 0x638b1e
lea edi, [esp + 0x38]
xor eax, eax
call fcn.0046cb2a
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0xc]
mov dword [esp], edx
call fcn.0040aa30
mov ecx, dword [esp + 4]
lea edx, [0x692b40]
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
call fcn.0040aa30
mov ecx, dword [esp + 4]
lea edx, [0x69f400]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0040abb0
mov ecx, dword [esp + 0xc]
lea edx, [0x68a540]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
lea ecx, [0x7491fc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
lea edx, [0x6de129]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0x24
lea edx, [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 3
mov dword [esp + 0x18], 3
call fcn.004c7960
mov ebx, dword [esp + 0x64]
jmp 0x638b28
cmp edx, 0x45ac880a
jne 0x6387ca
lea edx, [0x749d88]
cmp eax, edx
jne 0x638b1e
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x638754
mov eax, dword [esp + 0x64]
mov dword [esp], eax
lea ecx, [0x6d09d5]
mov dword [esp + 4], ecx
mov dword [esp + 8], 7
call fcn.004d4120
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x692b40]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7491fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea ecx, [0x6d0d4a]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c7960
mov ebx, dword [esp + 0x64]
jmp 0x638b28
cmp edx, 0x466bf8cc
jne 0x638b1e
lea edx, [0x749d28]
cmp eax, edx
jne 0x638b1e
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax]
nop
test cl, cl
je 0x638bb7
mov ecx, dword [eax + 0x10]
cmp ecx, 0x100
jle 0x638804
mov ecx, 0x100
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0040abb0
mov eax, dword [esp + 0xc]
lea ecx, [0x68a540]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7491fc]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
lea edx, [0x6d0d42]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 8
lea edx, [esp + 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c7960
mov eax, dword [esp + 0x70]
movzx ecx, byte [eax]
nop
test cl, cl
je 0x638b9f
mov edx, dword [eax + 0x10]
cmp edx, 0x100
jle 0x638907
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
lea eax, [edx - 0x100]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x692c00]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7491fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea ecx, [0x6d5023]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0x13
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c7960
mov ebx, dword [esp + 0x64]
jmp 0x638b28
cmp edx, 0x4a58efad
jne 0x6389e7
lea edx, [0x749cf8]
cmp eax, edx
jne 0x638b1e
mov dword [esp + 0x28], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x638be0]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 4], ecx
call fcn.00635550
mov eax, dword [esp + 0x28]
test eax, eax
jle 0x6389de
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 4]
sub ebp, dword [ebx + 0xc]
cmp ebp, 1
jne 0x6389a7
nop
mov dword [ebx + 4], 0
mov dword [ebx + 0xc], 0
mov byte [ebx + 0x10], 0
jmp 0x638b28
mov byte [ebx + 0x10], 0
lea esi, [ebp - 1]
test esi, esi
jl 0x638b87
mov edi, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
sub edi, eax
nop
cmp edi, esi
jl 0x638b87
lea ecx, [ebp + eax - 1]
mov edx, dword [ebx + 8]
cmp edx, ecx
jb 0x638b82
mov dword [ebx + 4], ecx
jmp 0x638b28
mov ebx, dword [esp + 0x64]
jmp 0x638b28
cmp edx, 0x68a59939
jne 0x638a7b
lea edx, [0x749d58]
cmp eax, edx
jne 0x638b1e
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [esp + 0x70]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
lea ecx, [0x69f400]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7491fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea ecx, [0x6d1a3b]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xb
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c7960
mov ebx, dword [esp + 0x64]
jmp 0x638b28
cmp edx, 0x935d4761
jne 0x638b1e
lea edx, [0x749da0]
cmp eax, edx
jne 0x638b1e
mov eax, dword [esp + 0x70]
test byte [eax], al
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
add eax, 0xc
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.0040abb0
mov eax, dword [esp + 0xc]
lea ecx, [0x68a540]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], eax
lea eax, [0x7491fc]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
lea ecx, [0x6d0d52]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 1
call fcn.004c7960
mov ebx, dword [esp + 0x64]
jmp 0x638b28
mov ebx, dword [esp + 0x64]
jmp 0x638b28
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x638b66
mov ecx, dword [ebx + 4]
mov eax, dword [ebx + 0xc]
cmp eax, ecx
ja 0x638b7d
mov edx, dword [ebx]
mov ebx, dword [ebx + 8]
mov dword [esp], 0
sub ecx, eax
sub ebx, eax
neg ebx
sar ebx, 0x1f
and eax, ebx
add eax, edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00454610
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x638b71
mov ecx, 5
lea eax, [0x6d0200]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x68
ret
call fcn.0046c970
call fcn.0046c950
lea eax, [0x6929c0]
mov dword [esp], eax
lea eax, [0x7486d0]
mov dword [esp + 4], eax
call fcn.00439660
lea eax, [0x6929c0]
mov dword [esp], eax
lea eax, [0x7486c8]
mov dword [esp + 4], eax
call fcn.00439660
lea eax, [0x6929c0]
mov dword [esp], eax
lea eax, [0x7486c8]
mov dword [esp + 4], eax
call fcn.00439660
nop
call fcn.0046b490
jmp fcn.006385b0