Function at 0x445480
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50bec9
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x57a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x58]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], eax
lea eax, [esi + 0x200c4]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
push eax
mov dword [ebp - 0x58], eax
call fcn.0046edae
add esp, 4
test eax, eax
je 0x4454ef
push eax
call fcn.0046f1b7
add esp, 4
mov byte [ebp - 0x54], 1
cmp dword [esi + 0x200c0], 0
mov byte [ebp - 4], 2
jne 0x4455e6
push 0
push 0
push esi
push 0x44b9e0
push 0
push 0
call fcn.004e6851
add esp, 0x18
mov dword [esi + 0x200c0], eax
test eax, eax
jne 0x4455e6
sub esp, 0x18
mov ecx, esp
push 0x11
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
push str.begin_thread_fail
mov byte [ecx], al
call fcn.0043e9a0
mov ecx, esi
call fcn.004bb150
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x50]
movq qword [ebp - 0x50], xmm0
call fcn.00447a80
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x30], 9
call fcn.004626c0
push edi
lea ecx, [ebp - 0x50]
call fcn.00461dc0
lea ecx, [ebp - 0x30]
call fcn.004483e0
lea ecx, [ebp - 0x50]
call fcn.00448840
lea eax, [esi + 0x200c4]
mov byte [ebp - 4], 5
push eax
call fcn.0046edd3
add esp, 4
test eax, eax
je 0x4455c5
push eax
call fcn.0046f1b7
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x44584d
mov esi, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx edx, al
push edx
call dword [esi + 0x10]
jmp 0x445846
push 0x14
call fcn.0049a8d0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x44562e
push dword [ebp - 0x44]
xorps xmm0, xmm0
push dword [ebp - 0x40]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
lea eax, [ebp + 0x3c]
push dword [ebp + 0x54]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00440810
push dword [ebp - 0x3c]
mov ecx, esi
call fcn.00445a40
mov dword [ebp - 0x44], eax
jmp 0x445635
mov dword [ebp - 0x44], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.0049a8d0
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x445665
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00447a80
jmp 0x445667
xor eax, eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
movlpd qword [ebp - 0x4c], xmm0
call fcn.00461dc0
cmp dword [esi + 4], 0
je 0x445711
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0xa
call fcn.004626c0
lea eax, [ebp - 0x4c]
mov dword [edi], 0
cmp edi, eax
je 0x4456d0
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov dword [edi], eax
mov al, byte [ebp - 0x48]
mov byte [edi + 4], al
jmp 0x4456d3
mov esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x30]
mov byte [edi + 4], 1
call fcn.004483e0
mov byte [ebp - 4], 0xb
test esi, esi
je 0x445708
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x445708
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x445700
mov eax, dword [ecx]
push esi
jmp 0x445706
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0xc
jmp 0x445815
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x98], 0x443790
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xd
test ecx, ecx
je 0x445758
mov eax, dword [ecx]
lea edx, [ebp - 0x88]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0xf
push eax
call fcn.00446be0
mov ecx, dword [ebp - 0x64]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x44579a
mov edx, dword [ecx]
lea eax, [ebp - 0x88]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x64], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [esi + 0x20098]
call fcn.00462310
lea eax, [ebp - 0x4c]
mov dword [edi], 0
cmp edi, eax
je 0x4457c9
mov eax, dword [ebp - 0x4c]
xor esi, esi
mov dword [edi], eax
mov al, byte [ebp - 0x48]
mov byte [edi + 4], al
jmp 0x4457cc
mov esi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov byte [edi + 4], 1
test ecx, ecx
je 0x4457e8
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov byte [ebp - 4], 0x12
test esi, esi
je 0x445811
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x445811
mov ecx, dword [esi + 0x94]
test ecx, ecx
je 0x445809
mov eax, dword [ecx]
push esi
jmp 0x44580f
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x58]
push eax
call fcn.0046edd3
add esp, 4
test eax, eax
je 0x44582e
push eax
call fcn.0046f1b7
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x44584d
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
lea ecx, [ebp + 0x3c]
call fcn.004374f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aba8
mov esp, ebp
pop ebp
ret 0x58