Function at 0x411e10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5789
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x513624]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
lea eax, [edi + 0x200c4]
mov dword [ebp - 4], 2
xorps xmm0, xmm0
movlpd qword [ebp - 0x58], xmm0
push eax
mov dword [ebp - 0x58], eax
call fcn.00435033
add esp, 4
test eax, eax
je 0x411e73
push eax
call fcn.0043543c
add esp, 4
mov byte [ebp - 0x54], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 3
jne 0x411f38
push 0
push 0
push edi
push 0x418390
push 0
push 0
call fcn.004afe3d
add esp, 0x18
mov dword [edi + 0x200c0], eax
test eax, eax
jne 0x411f38
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.0040b810
mov ecx, edi
call fcn.00484aa0
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x4c]
movq qword [ebp - 0x4c], xmm0
call fcn.00414bb0
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 9
call fcn.00432560
push esi
lea ecx, [ebp - 0x4c]
call fcn.00431da0
lea ecx, [ebp - 0x38]
call fcn.004155a0
lea ecx, [ebp - 0x4c]
call fcn.00415c60
mov byte [ebp - 4], 6
lea eax, [edi + 0x200c4]
jmp 0x412183
push 0x14
call fcn.00463d48
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x411f99
sub esp, 0x18
xorps xmm0, xmm0
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov ecx, esp
lea eax, [ebp + 0x60]
mov dword [ebp - 0x50], esp
push eax
call fcn.0040d960
push dword [ebp + 0x5c]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 8
push dword [ebp + 0x58]
push dword [ebp + 0x54]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040d960
push dword [ebp - 0x3c]
mov ecx, edi
mov byte [ebp - 4], 7
call fcn.00412b50
mov dword [ebp - 0x3c], eax
jmp 0x411fa0
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.00463d48
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x411fd0
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.00414bb0
jmp 0x411fd2
xor eax, eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
movlpd qword [ebp - 0x48], xmm0
call fcn.00431da0
cmp dword [edi + 4], 0
je 0x41207c
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x38], 0xa
call fcn.00432560
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x41203b
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x41203e
mov edi, dword [ebp - 0x48]
lea ecx, [ebp - 0x38]
mov byte [esi + 4], 1
call fcn.004155a0
mov byte [ebp - 4], 0xd
test edi, edi
je 0x412073
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x412073
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x41206b
mov eax, dword [ecx]
push edi
jmp 0x412071
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0xe
jmp 0x412180
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x98], 0x410900
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xf
test ecx, ecx
je 0x4120c3
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], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x11
push eax
call fcn.00413cc0
mov ecx, dword [ebp - 0x64]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x412105
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], 0x12
push eax
lea ecx, [edi + 0x20098]
call fcn.00432060
lea eax, [ebp - 0x48]
mov dword [esi], 0
cmp esi, eax
je 0x412134
mov eax, dword [ebp - 0x48]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x44]
mov byte [esi + 4], al
jmp 0x412137
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x412153
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], 0x14
test edi, edi
je 0x41217c
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x41217c
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x412174
mov eax, dword [ecx]
push edi
jmp 0x41217a
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x58]
push eax
call fcn.00435058
add esp, 4
test eax, eax
je 0x412199
push eax
call fcn.0043543c
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x4121b8
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.00405400
lea ecx, [ebp + 0x60]
call fcn.00405400
mov eax, esi
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.00464020
mov esp, ebp
pop ebp
ret 0x70