Function at 0x431aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4441cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x450040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp + 8]
mov eax, esi
mov edx, dword [ecx]
sub eax, edx
sar eax, 3
mov dword [ebp + 8], eax
mov eax, dword [ecx + 4]
sub eax, edx
sar eax, 3
cmp eax, 0x1fffffff
je 0x431d12
mov ecx, dword [ecx + 8]
lea edi, [eax + 1]
sub ecx, edx
mov dword [ebp - 0x20], edi
sar ecx, 3
mov eax, 0x1fffffff
mov edx, ecx
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x431d0d
lea eax, [edx + ecx]
mov ebx, edi
cmp eax, edi
cmovae ebx, eax
cmp ebx, 0x1fffffff
ja 0x431d0d
lea ecx, [ebx*8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x24], ecx
cmp ecx, 0x1000
jb 0x431b63
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x431d0d
push eax
call fcn.00440649
add esp, 4
test eax, eax
je 0x431cf9
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x431b79
test ecx, ecx
je 0x431b74
push ecx
call fcn.00440649
add esp, 4
mov edi, eax
jmp 0x431b76
xor edi, edi
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 8]
push 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
lea ebx, [edi + eax*8]
lea eax, [ebx + 8]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x28], eax
call fcn.00440649
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ebp + 0xc], eax
mov ecx, dword [ecx]
mov dword [eax], ecx
add ebx, 4
mov byte [ebp - 4], 1
push ebx
push 0
push eax
push 0x43d630
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x431cff
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
mov dword [ebp + 0xc], eax
cmp esi, eax
jne 0x431c15
mov esi, edi
cmp edx, eax
je 0x431c81
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, dword [ebp + 0xc]
jne 0x431bf0
jmp 0x431c81
mov ebx, edi
cmp edx, esi
je 0x431c45
nop dword [eax + eax]
mov eax, dword [edx]
lea ebx, [ebx + 8]
mov ecx, dword [edx + 4]
mov dword [edx], 0
mov dword [edx + 4], 0
add edx, 8
mov dword [ebx - 8], eax
mov dword [ebx - 4], ecx
cmp edx, esi
jne 0x431c20
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 4]
mov dword [ebp + 0xc], eax
cmp esi, eax
je 0x431c81
lea edx, [ecx + 8]
sub edx, esi
nop word [eax + eax]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [edx + esi], eax
mov dword [edx + esi + 4], ecx
add esi, 8
cmp esi, dword [ebp + 0xc]
jne 0x431c60
mov edx, dword [ebx]
test edx, edx
je 0x431cc9
mov ecx, dword [ebx + 4]
mov eax, edx
cmp eax, ecx
je 0x431c9d
cmp dword [eax + 4], 0
jne 0x431cf3
add eax, 8
cmp eax, ecx
jne 0x431c90
mov ecx, dword [ebx + 8]
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x431cbf
mov esi, dword [edx - 4]
add ecx, 0x23
sub edx, esi
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x431cf9
mov edx, esi
push ecx
push edx
call fcn.00440679
add esp, 8
mov eax, dword [ebp - 0x20]
mov dword [ebx], edi
lea ecx, [edi + eax*8]
mov eax, dword [ebp + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x24]
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 [ebx], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
call fcn.00402000
call fcn.0040d1d0
push ecx
mov ecx, dword [ebp - 0x28]
mov edx, ecx
call fcn.0042e1e0
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0042b480
push 0
push 0
call sub.VCRUNTIME140.dll__CxxThrowException
int3