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

Disassembly:
mov ecx, dword [0x663127c4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x6600bcc8
sub esp, 0x5c
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
cmp eax, ecx
je 0x6600b887
xor edx, edx
jmp 0x6600b8ae
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.65f03260
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, eax
mov eax, dword [esp + 0x74]
test dl, dl
jne 0x6600b8ba
mov edx, dword [esp + 0x78]
test edx, edx
jne 0x6600b8d1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.6600a1c0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x6600b968
mov ecx, dword [esp + 0x78]
test ecx, ecx
jl 0x6600b907
cmp ecx, eax
jg 0x6600b907
mov eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
sub ecx, edx
imul ecx, eax
mov ebp, dword [esp + 0x64]
add ecx, ebp
mov dword [esp + 4], ecx
call fcn.66009f00
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x60]
xor esi, esi
xor edi, edi
jmp 0x6600b9e1
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebp
add ecx, ebp
mov dword [esp], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.65f65200
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
lea esi, [eax + 1]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x6c]
lea edi, [ecx + eax]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x60]
mov eax, ecx
mov ecx, dword [esp + 0x64]
cmp esi, ebx
jge 0x6600bbc0
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], edi
test eax, eax
jne 0x6600ba43
test esi, esi
jle 0x6600ba8f
cmp ecx, edi
jb 0x6600bcc0
sub ecx, edi
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.65f6cef0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
jmp 0x6600ba8f
cmp ecx, edi
jb 0x6600bcb9
sub ecx, edi
mov esi, ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.6600bf30
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
lea edi, [eax + ecx]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x30]
cmp ecx, edi
jb 0x6600bcb0
mov edx, dword [esp + 0x20]
cmp edx, edi
ja 0x6600bca7
mov dword [esp + 0x24], edi
sub edi, edx
mov dword [esp + 0x2c], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edx, edi
mov dword [esp + 0x38], edx
lea ebx, [esp + 0x4c]
mov dword [esp], ebx
call fcn.66009de0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x60]
add ebp, esi
mov edi, dword [esp + 0x50]
cmp eax, ebx
jae 0x6600bb27
mov dword [esp + 0x44], ebp
mov dword [esp + 0x38], ecx
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x660f0fe0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], edi
add ecx, edi
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.65f65200
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
nop
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.66009de0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
lea ebx, [edx + ecx]
mov ebp, dword [esp + 0x50]
cmp eax, ebx
jae 0x6600b97f
mov dword [esp + 0x38], ecx
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x660f0fe0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
jmp 0x6600b97f
cmp ecx, edi
jb 0x6600bca0
sub ecx, edi
mov dword [esp + 0x28], ecx
neg ecx
sar ecx, 0x1f
and edi, ecx
mov dword [esp + 0x3c], edi
lea ecx, [esp + 0x4c]
mov dword [esp], ecx
call fcn.66009de0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
lea ebx, [ecx + edx]
mov ebp, dword [esp + 0x3c]
mov esi, dword [esp + 0x60]
add ebp, esi
mov esi, dword [esp + 0x50]
cmp eax, ebx
jae 0x6600bc44
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ebp
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea eax, [0x660f0fe0]
mov dword [esp + 0x10], eax
call fcn.65f4bf40
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x48], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.65f65200
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x50], ecx
mov edx, ecx
neg ecx
nop
cmp eax, ecx
ja 0x6600bc92
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
add esp, 0x5c
ret
test edx, edx
je 0x6600bc9b
call fcn.65f5d5f0
call fcn.65f5d630
mov eax, edi
call fcn.65f64a10
mov eax, edx
mov ecx, edi
call fcn.65f64a10
mov edx, ecx
mov ecx, edi
call fcn.65f649d0
mov eax, edi
call fcn.65f64a10
mov eax, edi
call fcn.65f64a10
nop
call fcn.65f63530
jmp fcn.6600b860