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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6605a3
sub esp, 0x6c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov byte [esp + 0xc], 0
call fcn.0065f5b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
test eax, eax
jne 0x660504
test ebp, ebp
jne 0x6603e8
mov dword [esp + 0x48], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], esi
nop
nop
mov eax, edx
and edx, 0x1f
cmp edx, 0x11
jne 0x6601bb
mov dword [esp + 0x44], edx
xor ecx, ecx
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0065f270
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 8
je 0x6601b2
nop
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x17
je 0x65fff0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004781f0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x65ffaa
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00477ad0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x70]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0065f330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x65ff98
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x10], 9
je 0x65ff7f
mov ecx, dword [esp + 0x34]
inc ecx
mov edx, dword [eax + 0x10]
cmp edx, 8
je 0x65fd90
cmp edx, 7
je 0x65fcb4
jmp 0x660582
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.004781f0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x65feb4
nop
nop
mov ecx, dword [esp + 0x44]
cmp ecx, 0x11
jne 0x65ff56
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0047aa80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047b850
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 0x34]
jmp 0x65fe86
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00477ad0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
call fcn.00479a20
mov eax, dword [esp + 0x34]
lea ebx, [eax + 1]
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004781f0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x65fe2b
test eax, eax
jne 0x65fec3
nop
nop
mov eax, dword [esp + 0x44]
cmp eax, 0x17
je 0x65fedd
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.0047aa80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0047b530
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.00479a20
jmp 0x65fec3
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00479f70
mov eax, dword [esp + 0x34]
jmp 0x65feb4
mov dword [esp], eax
mov dword [esp + 4], 9
call fcn.0065f270
mov eax, dword [esp + 0x70]
jmp 0x65fd75
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.0065f330
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x65fd67
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.00477030
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jle 0x66006c
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.004781f0
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xc], eax
jg 0x65fce9
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
lea ebp, [eax + 1]
mov dword [esp + 0xc], ebp
call fcn.00479f70
mov eax, dword [esp + 0x34]
jmp 0x65fce9
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
call fcn.00477030
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.00477030
mov eax, dword [esp + 0xc]
mov ecx, eax
shr eax, 0x1f
add eax, ecx
sar eax, 1
mov ecx, dword [esp + 0x3c]
add eax, ecx
cmp eax, 4
jge 0x6600c9
mov eax, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
call fcn.0047aa80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 8], ebp
call fcn.004781f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
call fcn.0047b530
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x48]
mov dword [esp + 0x14], esi
call fcn.0047b210
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
call fcn.00479a20
jmp 0x660016
mov ecx, dword [esp + 0x34]
jmp 0x65fd90
cmp edx, 0x14
je 0x6602dd
cmp edx, 0x17
je 0x65fcae
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0047aa80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
lea edx, [0x7e7400]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 5
mov eax, dword [0xb91180]
test eax, eax
jne 0x6602cd
lea ecx, [0x814a51]
mov dword [edi], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x6602b4
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x10], ecx
sar ecx, 0x1f
mov dword [edi + 0x14], ecx
nop
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x660272
mov dword [esp], eax
call fcn.0065f150
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp], eax
lea ecx, [0x8b37f0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0065f050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x48], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x6602a8
mov dword [edx + 0x4c], ecx
mov eax, edx
jmp 0x660250
lea edi, [edx + 0x4c]
mov eax, ecx
call fcn.0044f0d0
jmp 0x6602a4
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x50]
call fcn.0044f0d0
mov edi, edx
jmp 0x660238
lea eax, [0x814a51]
call fcn.0044f0d0
jmp 0x66021c
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.00478d90
mov eax, dword [esp + 0xc]
test eax, eax
je 0x660306
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
jmp 0x6601cd
mov eax, dword [esp + 0x70]
mov dword [esp], eax
call fcn.006655e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00407a10
mov eax, dword [esp + 0xc]
nop
nop
movzx ecx, byte [0xb7dd58]
test cl, cl
je 0x6603dd
lea ecx, [0x790800]
mov dword [0xb7dd5c], ecx
mov edx, dword [0xb91180]
test edx, edx
jne 0x6603d0
mov dword [0xb7dd60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
nop
mov ecx, dword [esp + 0x64]
test ecx, ecx
je 0x6603c8
nop
nop
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x660386
or edx, 0x80
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
call fcn.00479a20
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x660386
lea edi, [0xb7dd60]
call fcn.0044f0d0
jmp 0x66035f
lea ecx, [0x790800]
jmp 0x66035f
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
call fcn.0047aa80
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
lea edx, [0x7e7400]
mov dword [esp], edx
call fcn.00409f80
mov edi, dword [esp + 4]
mov dword [edi + 4], 5
mov eax, dword [0xb91180]
test eax, eax
jne 0x6604f4
lea ecx, [0x814a51]
mov dword [edi], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
mov ecx, dword [0xb91180]
test ecx, ecx
jne 0x6604db
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [edi + 0x10], ecx
sar ecx, 0x1f
mov dword [edi + 0x14], ecx
nop
mov ecx, dword [eax + 0x48]
test ecx, ecx
je 0x660499
mov dword [esp], eax
call fcn.0065f150
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x6c
ret
mov dword [esp], eax
lea ecx, [0x8b37f0]
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.0065f050
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x70]
mov dword [edx + 0x48], eax
mov eax, dword [0xb91180]
test eax, eax
jne 0x6604cf
mov dword [edx + 0x4c], ecx
mov eax, edx
jmp 0x660477
lea edi, [edx + 0x4c]
mov eax, ecx
call fcn.0044f0d0
jmp 0x6604cb
lea ecx, [edi + 0xc]
mov eax, edi
mov edi, ecx
mov edx, eax
mov eax, dword [esp + 0x50]
call fcn.0044f0d0
mov edi, edx
jmp 0x66045f
lea eax, [0x814a51]
call fcn.0044f0d0
jmp 0x660443
mov dword [esp + 0x2c], eax
mov dword [esp + 0x4c], ecx
nop
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.0065f150
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [eax + 0xc]
test eax, eax
jl 0x66059c
mov ebx, dword [esp + 0x3c]
dec ebx
cmp ebx, eax
ja 0x66059c
cmp eax, ecx
ja 0x66059c
mov ebp, dword [esp + 0x2c]
mov ebp, dword [ebp + 0x10]
mov esi, dword [esp + 0x4c]
mov dword [esp], esi
sub ecx, ebx
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, edx
mov dword [esp + 4], ecx
sub eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x6c
ret
lea eax, [0x7abe80]
mov dword [esp], eax
lea eax, [0x8acb48]
mov dword [esp + 4], eax
call fcn.00429580
ud2
call fcn.004288c0
ud2
call fcn.0044d880
jmp fcn.0065fc30