Function at 0x1007f9a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101bc30d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10248f44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, dword [ecx]
sub eax, edx
sar eax, 3
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [ebp - 0x38], ecx
sar eax, 3
cmp eax, 0x1fffffff
je 0x1007fba9
mov ecx, dword [ecx + 8]
lea ebx, [eax + 1]
sub ecx, edx
mov dword [ebp - 0x30], ebx
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x1007fba4
lea eax, [edx + ecx]
mov edi, ebx
cmp eax, ebx
cmovae edi, eax
mov dword [ebp - 0x20], edi
cmp edi, 0x1fffffff
ja 0x1007fba4
lea eax, [edi*8]
mov dword [ebp - 0x28], edi
cmp eax, 0x1000
jb 0x1007fa68
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1007fba4
push ecx
call fcn.1018a730
add esp, 4
test eax, eax
je 0x1007fbae
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1007fa81
test eax, eax
je 0x1007fa79
push eax
call fcn.1018a730
add esp, 4
mov ebx, eax
jmp 0x1007fa7b
xor ebx, ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], edi
mov eax, dword [ebp - 0x1c]
push 4
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
lea edi, [ebx + eax*8]
lea eax, [edi + 8]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x34], eax
call fcn.1018a730
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx]
mov dword [eax], ecx
add edi, 4
mov byte [ebp - 4], 2
push edi
push 0
push eax
push 0x10080b10
push 0
push 0
call fcn.1019d81f
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x1007fbb3
mov ecx, dword [ebp - 0x24]
mov edi, dword [ecx + 4]
mov edx, dword [ecx]
cmp esi, edi
jne 0x1007fb14
mov esi, ebx
cmp edx, edi
je 0x1007fb74
nop dword [eax]
mov eax, dword [edx]
lea esi, [esi + 8]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [esi - 8], eax
mov dword [esi - 4], ecx
cmp edx, edi
jne 0x1007faf0
jmp 0x1007fb74
cmp edx, esi
je 0x1007fb48
mov edi, ebx
nop word [eax + eax]
mov eax, dword [edx]
lea edi, [edi + 8]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [edi - 8], eax
mov dword [edi - 4], ecx
cmp edx, esi
jne 0x1007fb20
mov edi, dword [ebp - 0x24]
mov edi, dword [edi + 4]
cmp esi, edi
je 0x1007fb74
mov edx, dword [ebp - 0x1c]
add edx, 8
sub edx, esi
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + edx], eax
mov dword [esi + edx + 4], ecx
add esi, 8
cmp esi, edi
jne 0x1007fb54
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x30]
push ebx
call fcn.1007fdc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1018a722
mov esp, ebp
pop ebp
ret 8
call fcn.100474a0
call fcn.10047b40
call fcn.1019291f
push 6
mov dword [edi], 0
call fcn.1018ce60
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
push eax
push eax
call fcn.1007f4b0
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x2c]
call fcn.1007f4e0
push 0
push 0
call fcn.1018f43a
int3