Function at 0x100e6950
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101acfed
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10242040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov edx, dword [eax]
sub ecx, edx
sar ecx, 3
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
sub ecx, edx
sar ecx, 3
cmp ecx, 0x1fffffff
je 0x100e6bd5
lea edi, [ecx + 1]
mov ecx, dword [eax + 8]
sub ecx, edx
mov dword [ebp - 0x28], edi
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x100e69da
mov eax, 0xfffffff8
mov dword [ebp - 0x14], 0x1fffffff
mov ecx, eax
mov dword [ebp - 0x20], eax
call fcn.10018bc0
mov edi, eax
jmp 0x100e6a25
lea eax, [edx + ecx]
mov ebx, edi
cmp eax, edi
cmovae ebx, eax
cmp ebx, 0x1fffffff
ja 0x100e6bda
lea eax, [ebx*8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], eax
cmp eax, 0x1000
jb 0x100e6a0f
mov ecx, eax
call fcn.10018bc0
mov edi, eax
jmp 0x100e6a25
test eax, eax
je 0x100e6a20
push eax
call fcn.1014b7d3
add esp, 4
mov edi, eax
jmp 0x100e6a22
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x1c]
push 8
mov dword [ebp + 8], edi
mov dword [ebp - 4], 0
lea eax, [edi + eax*8]
lea ebx, [eax + 8]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], ebx
call fcn.1014b7d3
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp + 0xc], eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov byte [ebp - 4], 1
push eax
push 0
push dword [ebp - 0x24]
push 0x100e71e0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x100e6ba4
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp esi, ecx
jne 0x100e6ac6
mov ebx, ecx
mov esi, edi
cmp edx, ebx
je 0x100e6b23
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, ebx
jne 0x100e6aa2
jmp 0x100e6b23
cmp edx, esi
je 0x100e6af5
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 0x100e6ad0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 4]
cmp esi, edx
je 0x100e6b20
sub ebx, esi
nop
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [ebx + esi], eax
mov dword [ebx + esi + 4], ecx
add esi, 8
cmp esi, edx
jne 0x100e6b00
mov edi, dword [ebp + 8]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebx]
test edx, edx
je 0x100e6b6e
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
je 0x100e6b42
cmp dword [eax + 4], 0
jne 0x100e6b98
add eax, 8
cmp eax, ecx
jne 0x100e6b35
mov ecx, dword [ebx + 8]
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x100e6b64
mov esi, dword [edx - 4]
add ecx, 0x23
sub edx, esi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x100e6b9e
mov edx, esi
push ecx
push edx
call fcn.1014bb22
add esp, 8
mov eax, dword [ebp - 0x28]
mov dword [ebx], edi
lea ecx, [edi + eax*8]
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x20]
add ecx, edi
mov dword [ebx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 6
mov dword [ecx + 4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
mov ecx, dword [ebp - 0x2c]
mov edx, ecx
call fcn.1004d7e0
add esp, 4
push dword [ebp - 0x14]
push dword [ebp + 8]
call fcn.1004d5b0
push 0
push 0
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.100189c0
call fcn.100152d0
int3