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

Disassembly:
sub esp, 0xac
push ebx
push ebp
mov ebp, ecx
mov dword [esp + 0x18], 0
xor ecx, ecx
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x50], ecx
push esi
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x4c], eax
push edi
test ecx, ecx
je 0x650e31f3
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
test al, al
jne 0x650e31f3
mov esi, dword [ebp + 0x30]
sub esi, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x34]
inc esi
sub ebx, dword [ebp + 0x2c]
inc ebx
mov byte [esp + 0x15], 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
test esi, esi
js 0x650e31a3
test ebx, ebx
jns 0x650e31bd
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x44]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [ebp + 0x20]
lea edx, [esp + 0x44]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea edx, [esp + 0x44]
push edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x50], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x50], eax
jmp 0x650e31f7
mov byte [esp + 0x15], bl
movups xmm0, xmmword [ebp + 0x10]
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
movups xmmword [esp + 0x68], xmm0
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e3227
mov ecx, dword [ebp + 0x50]
add ecx, dword [ebp + 0x108]
mov esi, dword [ebp + 0x10]
sub ecx, dword [ebp + 0x48]
inc esi
add esi, ecx
mov dword [esp + 0x60], esi
jmp 0x650e322f
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], eax
lea ebx, [ebp + 0xa0]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e3261
mov ecx, dword [ebp + 0x108]
sub ecx, dword [ebp + 0xb4]
mov esi, dword [ebp + 0x14]
add ecx, dword [ebp + 0xbc]
inc esi
add esi, ecx
mov dword [esp + 0x54], esi
jmp 0x650e3269
mov eax, dword [esp + 0x68]
mov dword [esp + 0x54], eax
lea ecx, [ebp + 0x6c]
push 0xffffffffffffffff
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e328f
mov ecx, dword [ebp + 0x18]
sub ecx, dword [ebp + 0x84]
mov eax, dword [ebp + 0x7c]
sub ecx, dword [ebp + 0x108]
dec eax
add eax, ecx
jmp 0x650e3293
mov eax, dword [esp + 0x6c]
lea esi, [ebp + 0xd4]
mov dword [esp + 0x44], eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e32c5
mov ecx, dword [ebp + 0xe8]
sub ecx, dword [ebp + 0x108]
mov eax, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0xf0]
dec eax
add eax, ecx
jmp 0x650e32c9
mov eax, dword [esp + 0x70]
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
mov dword [esp + 0x1c], eax
call fcn.650e5e30
cmp eax, 0xffffffff
jne 0x650e32e2
xor ecx, ecx
xor eax, eax
jmp 0x650e32f0
mov ecx, dword [ebp + 0x50]
sub ecx, dword [ebp + 0x48]
mov eax, dword [ebp + 0x54]
inc ecx
sub eax, dword [ebp + 0x4c]
inc eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
test ecx, ecx
jne 0x650e3300
test eax, eax
je 0x650e3309
cmp byte [ebp + 0x10c], 0
je 0x650e3323
lea eax, [esp + 0x74]
push eax
lea ecx, [ebp + 0x38]
call fcn.650e9b70
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x7c]
push eax
lea ecx, [ebp + 0x38]
call fcn.650e5ba0
lea eax, [esp + 0xac]
push eax
lea ecx, [ebp + 0x38]
call fcn.650e55f0
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x2c]
call dword [0x652b2168]
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x68]
push ecx
mov ecx, eax
call dword [0x652b216c]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x28], ecx
lea ecx, [ebp + 0x6c]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
call fcn.650e5e30
cmp eax, 0xffffffff
jne 0x650e338b
xor ecx, ecx
xor eax, eax
jmp 0x650e33a2
mov ecx, dword [ebp + 0x84]
sub ecx, dword [ebp + 0x7c]
mov eax, dword [ebp + 0x88]
inc ecx
sub eax, dword [ebp + 0x80]
inc eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
test ecx, ecx
jne 0x650e33b2
test eax, eax
je 0x650e33bb
cmp byte [ebp + 0x10c], 0
je 0x650e33d5
lea eax, [esp + 0x64]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650e9b70
mov ecx, dword [eax]
mov dword [esp + 0x3c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x94]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650e5ba0
lea eax, [esp + 0xb4]
push eax
lea ecx, [ebp + 0x6c]
call fcn.650e55f0
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x44]
call dword [0x652b2168]
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call dword [0x652b216c]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x44], eax
call fcn.650e5e30
cmp eax, 0xffffffff
jne 0x650e3442
xor ecx, ecx
xor eax, eax
jmp 0x650e3450
mov ecx, dword [ebx + 0x18]
sub ecx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
inc ecx
sub eax, dword [ebx + 0x14]
inc eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x650e3460
test eax, eax
je 0x650e3469
cmp byte [ebp + 0x10c], 0
je 0x650e3482
lea eax, [esp + 0x64]
mov ecx, ebx
push eax
call fcn.650e9b70
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x84]
mov ecx, ebx
push eax
call fcn.650e5ba0
lea eax, [esp + 0x9c]
mov ecx, ebx
push eax
call fcn.650e55f0
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x34]
call dword [0x652b2168]
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call dword [0x652b216c]
push 0xffffffffffffffff
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, esi
mov eax, dword [eax + 4]
mov dword [esp + 0x34], eax
call fcn.650e5e30
cmp eax, 0xffffffff
jne 0x650e34ed
xor ecx, ecx
xor eax, eax
jmp 0x650e34fb
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x1c]
inc ecx
sub eax, dword [esi + 0x14]
inc eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
test ecx, ecx
jne 0x650e350b
test eax, eax
je 0x650e3514
cmp byte [ebp + 0x10c], 0
je 0x650e352d
lea eax, [esp + 0x64]
mov ecx, esi
push eax
call fcn.650e9b70
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x8c]
mov ecx, esi
push eax
call fcn.650e5ba0
lea eax, [esp + 0xa4]
mov ecx, esi
push eax
call fcn.650e55f0
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x3c]
call dword [0x652b2168]
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, eax
call dword [0x652b216c]
mov edi, dword [esp + 0xc0]
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x38], eax
test edi, edi
je 0x650e3a37
push 3
mov ecx, edi
call fcn.65020910
push 0
mov ecx, edi
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax], 0
mov esi, dword [esp + 0x34]
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax + 4], esi
mov esi, dword [esp + 0x8c]
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xa4]
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax + 8], esi
call fcn.6501f010
push 0xffffffffffffffff
mov ecx, ebx
mov byte [eax + 0x14], 0
call fcn.650e5e30
cmp eax, 0xffffffff
mov ecx, edi
push 0
sete bl
call fcn.6501f010
push 0
mov ecx, edi
mov byte [eax + 0x15], bl
mov esi, dword [ebp + 0xb4]
call fcn.6501f010
push 0
mov ecx, edi
mov dword [eax + 0x18], esi
mov esi, dword [ebp + 0xbc]
sub esi, dword [ebp + 0xb4]
inc esi
call fcn.6501f010
push 1
mov ecx, edi
mov dword [eax + 0x1c], esi
call fcn.6501f010
push 1
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
mov ecx, dword [esp + 0x1c]
lea esi, [ebp + 0xa0]
mov dword [eax], ecx
cmp dword [ebp], 4
je 0x650e36c4
push 0xffffffffffffffff
mov ecx, esi
call fcn.650e5e30
mov byte [esp + 0x17], 0
cmp eax, 0xffffffff
jne 0x650e36c9
mov byte [esp + 0x17], 1
cmp dword [ebp + 8], 8
lea ebx, [ebp + 0xd4]
je 0x650e36e8
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650e5e30
mov byte [esp + 0x13], 0
cmp eax, 0xffffffff
jne 0x650e36ed
mov byte [esp + 0x13], 1
cmp dword [ebp + 4], 4
je 0x650e3706
push 0xffffffffffffffff
mov ecx, esi
call fcn.650e5e30
mov byte [esp + 0x14], 0
cmp eax, 0xffffffff
jne 0x650e370b
mov byte [esp + 0x14], 1
cmp dword [ebp + 0xc], 8
je 0x650e3723
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e3723
xor al, al
jmp 0x650e3725
mov al, 1
cmp byte [esp + 0x17], 0
mov byte [esp + 0x16], al
je 0x650e373d
cmp byte [esp + 0x13], 0
je 0x650e373d
mov esi, dword [esp + 0x28]
jmp 0x650e373f
xor esi, esi
cmp byte [esp + 0x14], 0
je 0x650e3750
test al, al
je 0x650e3750
mov ecx, dword [esp + 0x40]
jmp 0x650e3752
xor ecx, ecx
mov eax, dword [esp + 0x1c]
cmp eax, ecx
push 1
cmovl eax, ecx
mov ecx, edi
cmp esi, eax
cmovl esi, eax
call fcn.6501f010
cmp byte [esp + 0x17], 0
mov dword [eax + 4], esi
je 0x650e3783
cmp byte [esp + 0x13], 0
je 0x650e3783
mov esi, dword [esp + 0x80]
jmp 0x650e3785
xor esi, esi
cmp byte [esp + 0x14], 0
je 0x650e379c
cmp byte [esp + 0x16], 0
je 0x650e379c
mov eax, dword [esp + 0x98]
jmp 0x650e379e
xor eax, eax
mov ecx, dword [esp + 0x4c]
cmp ecx, eax
push 1
cmovl ecx, eax
cmp esi, ecx
cmovl esi, ecx
mov ecx, edi
call fcn.6501f010
push 1
mov ecx, edi
mov dword [eax + 0xc], esi
call fcn.6501f010
mov ecx, dword [esp + 0x50]
push 1
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.6501f010
mov cl, byte [esp + 0x15]
push 0xffffffffffffffff
mov byte [eax + 0x14], cl
lea ecx, [ebp + 0x38]
call fcn.650e5e30
cmp eax, 0xffffffff
jne 0x650e3801
cmp byte [esp + 0x15], 0
jne 0x650e3801
push eax
lea ecx, [ebp + 0x6c]
call fcn.650e5e30
mov byte [esp + 0x16], 1
cmp eax, 0xffffffff
je 0x650e3806
mov byte [esp + 0x16], 0
push 1
mov ecx, edi
call fcn.6501f010
mov cl, byte [esp + 0x16]
push 1
mov byte [eax + 0x15], cl
mov ecx, edi
call fcn.6501f010
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x18]
sub esi, ecx
mov dword [eax + 0x18], ecx
inc esi
push 1
mov ecx, edi
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax + 0x1c], esi
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax], 0
mov esi, dword [esp + 0x3c]
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax + 4], esi
mov esi, dword [esp + 0x94]
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0xac]
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax + 8], esi
call fcn.6501f010
push 0xffffffffffffffff
mov ecx, ebx
mov byte [eax + 0x14], 0
call fcn.650e5e30
cmp eax, 0xffffffff
mov ecx, edi
push 2
sete bl
call fcn.6501f010
push 2
mov ecx, edi
mov byte [eax + 0x15], bl
mov esi, dword [ebp + 0xe8]
call fcn.6501f010
push 2
mov ecx, edi
mov dword [eax + 0x18], esi
mov esi, dword [ebp + 0xf0]
sub esi, dword [ebp + 0xe8]
inc esi
call fcn.6501f010
mov dword [eax + 0x1c], esi
xor esi, esi
mov eax, dword [edi]
mov eax, dword [eax]
cmp eax, 1
je 0x650e3945
test eax, eax
je 0x650e3945
mov eax, dword [edi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e3934
mov ebx, dword [0x652b242c]
push 2
push ecx
push 4
push 0x20
call ebx
add esp, 0x10
mov dword [edi], eax
jmp 0x650e394b
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 0
call fcn.6501d8d0
mov ebx, dword [0x652b242c]
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add eax, 0xc
add eax, ecx
add eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [ecx]
cmp eax, 1
je 0x650e3994
test eax, eax
je 0x650e3994
mov eax, dword [edi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e3983
push 2
push ecx
push 4
push 0x20
call ebx
add esp, 0x10
mov dword [edi], eax
jmp 0x650e3994
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 0
call fcn.6501d8d0
mov ecx, dword [edi]
mov eax, dword [ecx + 0xc]
add eax, ecx
mov edx, dword [eax + esi + 4]
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
cmp edx, eax
cmovl edx, eax
mov eax, dword [ecx]
mov dword [esp + 0x18], edx
cmp eax, 1
je 0x650e39eb
test eax, eax
je 0x650e39eb
mov eax, dword [edi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e39d6
push 2
push ecx
push 4
push 0x20
call ebx
add esp, 0x10
mov dword [edi], eax
jmp 0x650e39e7
push ecx
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 0
call fcn.6501d8d0
mov edx, dword [esp + 0x18]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
add ecx, eax
mov dword [ecx + esi + 4], edx
add esi, 0x20
cmp esi, 0x60
jl 0x650e3904
cmp byte [esp + 0x15], 0
je 0x650e3a37
push 0
mov ecx, edi
call fcn.6501f010
cmp byte [eax + 0x15], 0
je 0x650e3a37
push 2
mov ecx, edi
call fcn.6501f010
cmp byte [eax + 0x15], 0
je 0x650e3a37
push 1
mov ecx, edi
call fcn.6501f010
mov dword [eax + 8], 0xffffff
mov esi, dword [esp + 0xc4]
test esi, esi
je 0x650e3e91
push 3
mov ecx, esi
call fcn.65020910
push 0
mov ecx, esi
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax], 0
mov edi, dword [esp + 0x28]
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax + 4], edi
mov edi, dword [esp + 0x80]
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0xb0]
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax + 8], edi
call fcn.6501f010
push 0xffffffffffffffff
lea ecx, [ebp + 0x38]
mov byte [eax + 0x14], 0
call fcn.650e5e30
cmp eax, 0xffffffff
mov ecx, esi
push 0
sete bl
call fcn.6501f010
push 0
mov ecx, esi
mov byte [eax + 0x15], bl
mov edi, dword [ebp + 0x48]
call fcn.6501f010
push 0
mov ecx, esi
mov dword [eax + 0x18], edi
mov edi, dword [ebp + 0x50]
sub edi, dword [ebp + 0x48]
inc edi
call fcn.6501f010
push 1
mov ecx, esi
mov dword [eax + 0x1c], edi
call fcn.6501f010
push 1
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
mov ecx, dword [esp + 0x20]
lea ebx, [ebp + 0x38]
mov dword [eax], ecx
cmp dword [ebp], 1
je 0x650e3b6c
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650e5e30
mov byte [esp + 0x14], 0
cmp eax, 0xffffffff
jne 0x650e3b71
mov byte [esp + 0x14], 1
cmp dword [ebp + 4], 2
lea edi, [ebp + 0x6c]
je 0x650e3b8d
push 0xffffffffffffffff
mov ecx, edi
call fcn.650e5e30
mov byte [esp + 0x13], 0
cmp eax, 0xffffffff
jne 0x650e3b92
mov byte [esp + 0x13], 1
cmp dword [ebp + 8], 1
je 0x650e3baa
push 0xffffffffffffffff
mov ecx, ebx
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e3baa
xor bh, bh
jmp 0x650e3bac
mov bh, 1
cmp dword [ebp + 0xc], 2
je 0x650e3bc4
push 0xffffffffffffffff
mov ecx, edi
call fcn.650e5e30
cmp eax, 0xffffffff
je 0x650e3bc4
xor bl, bl
jmp 0x650e3bc6
mov bl, 1
cmp byte [esp + 0x14], 0
je 0x650e3bda
cmp byte [esp + 0x13], 0
je 0x650e3bda
mov edi, dword [esp + 0x2c]
jmp 0x650e3bdc
xor edi, edi
test bh, bh
je 0x650e3bea
test bl, bl
je 0x650e3bea
mov eax, dword [esp + 0x34]
jmp 0x650e3bec
xor eax, eax
mov ecx, dword [esp + 0x20]
cmp ecx, eax
push 1
cmovl ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov ecx, esi
call fcn.6501f010
cmp byte [esp + 0x14], 0
mov dword [eax + 4], edi
je 0x650e3c1d
cmp byte [esp + 0x13], 0
je 0x650e3c1d
mov edi, dword [esp + 0x84]
jmp 0x650e3c1f
xor edi, edi
test bh, bh
je 0x650e3c30
test bl, bl
je 0x650e3c30
mov eax, dword [esp + 0x8c]
jmp 0x650e3c32
xor eax, eax
mov ecx, dword [esp + 0x58]
cmp ecx, eax
push 1
cmovl ecx, eax
cmp edi, ecx
cmovl edi, ecx
mov ecx, esi
call fcn.6501f010
push 1
mov ecx, esi
mov dword [eax + 0xc], edi
call fcn.6501f010
mov ecx, dword [esp + 0x5c]
push 1
mov dword [eax + 8], ecx
mov ecx, esi
call fcn.6501f010
mov cl, byte [esp + 0x15]
mov bl, cl
push 1
mov byte [eax + 0x14], cl
xor bl, 1
mov ecx, esi
call fcn.6501f010
push 1
mov ecx, esi
mov byte [eax + 0x15], bl
call fcn.6501f010
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x44]
sub ebx, ecx
mov dword [eax + 0x18], ecx
inc ebx
push 1
mov ecx, esi
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax + 0x1c], ebx
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0x7ffff
mov word [eax + 0x14], 0x100
mov dword [eax + 0x10], 0
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax], 0
mov edi, dword [esp + 0x40]
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax + 4], edi
mov edi, dword [esp + 0x98]
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax + 0xc], edi
mov edi, dword [esp + 0xb8]
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax + 8], edi
call fcn.6501f010
push 0xffffffffffffffff
lea ecx, [ebp + 0x6c]
mov byte [eax + 0x14], 0
call fcn.650e5e30
cmp eax, 0xffffffff
mov ecx, esi
push 2
sete bl
call fcn.6501f010
push 2
mov ecx, esi
mov byte [eax + 0x15], bl
mov edi, dword [ebp + 0x7c]
call fcn.6501f010
push 2
mov ecx, esi
mov dword [eax + 0x18], edi
mov edi, dword [ebp + 0x84]
sub edi, dword [ebp + 0x7c]
inc edi
call fcn.6501f010
mov dword [eax + 0x1c], edi
xor edi, edi
mov eax, dword [esi]
mov eax, dword [eax]
cmp eax, 1
je 0x650e3da7
test eax, eax
je 0x650e3da7
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e3d96
mov ebp, dword [0x652b242c]
push 2
push ecx
push 4
push 0x20
call ebp
add esp, 0x10
mov dword [esi], eax
jmp 0x650e3dad
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6501d8d0
mov ebp, dword [0x652b242c]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
add eax, 0xc
add eax, ecx
add eax, edi
mov dword [esp + 0x44], eax
mov eax, dword [ecx]
cmp eax, 1
je 0x650e3df6
test eax, eax
je 0x650e3df6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e3de5
push 2
push ecx
push 4
push 0x20
call ebp
add esp, 0x10
mov dword [esi], eax
jmp 0x650e3df6
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6501d8d0
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
add eax, ecx
mov ebx, dword [eax + edi + 4]
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
cmp ebx, eax
cmovl ebx, eax
mov eax, dword [ecx]
cmp eax, 1
je 0x650e3e45
test eax, eax
je 0x650e3e45
mov eax, dword [esi]
mov ecx, dword [eax + 8]
and ecx, 0x7fffffff
jne 0x650e3e34
push 2
push ecx
push 4
push 0x20
call ebp
add esp, 0x10
mov dword [esi], eax
jmp 0x650e3e45
push ecx
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], 0
call fcn.6501d8d0
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
add eax, edi
add edi, 0x20
mov dword [eax + ecx + 4], ebx
cmp edi, 0x60
jl 0x650e3d66
cmp byte [esp + 0x15], 0
je 0x650e3e91
push 0
mov ecx, esi
call fcn.6501f010
cmp byte [eax + 0x15], 0
je 0x650e3e91
push 2
mov ecx, esi
call fcn.6501f010
cmp byte [eax + 0x15], 0
je 0x650e3e91
push 1
mov ecx, esi
call fcn.6501f010
mov dword [eax + 8], 0xffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xac
ret 8