Function at 0x41c780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6787c7
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x71a06c]
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
call fcn.00417e40
mov ecx, eax
call fcn.004cf0f7
test al, al
jne 0x41c9da
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x41c9da
cmp byte [eax], 0
je 0x41c9da
cmp dword [ecx + 0x70], 0
jne 0x41c815
push 0x5c
call fcn.0042de91
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00402890
mov dword [esi], 0x70362c
lea edx, [esi + 0x58]
xor cl, cl
xchg byte [edx], cl
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
mov dword [eax + 0x70], esi
push 0x20
call fcn.0042de91
mov ecx, eax
xorps xmm0, xmm0
lea edx, [ecx + 4]
mov dword [ebp - 0x40], ecx
add esp, 4
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
mov al, byte [eax]
mov byte [ecx], al
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x68]
add eax, 4
cmp edx, eax
je 0x41c872
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x41c867
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00407210
push 0x4c
call fcn.0042de91
push 0x4c
mov esi, eax
push 0
push esi
call fcn.00507d20
add esp, 0x10
mov ecx, esi
call fcn.00415440
mov esi, dword [ebp - 0x40]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x1c]
mov cl, byte [ecx]
mov byte [eax], cl
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea esi, [ecx + 4]
mov dword [ebp - 0x3c], esi
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 4
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41c8dd
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c8cc
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea esi, [ecx + 0x1c]
mov dword [ebp - 0x3c], esi
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 0x1c
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41c911
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c900
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov edx, dword [edi]
mov ecx, dword [esi + 0x1c]
mov eax, dword [edx + 0x6c]
lea edx, [ecx + 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x68]
mov eax, dword [eax + 0x1c]
add eax, 0x34
cmp edx, eax
je 0x41c940
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c931
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00407210
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + 0x34]
push eax
call fcn.0041c0f0
mov eax, dword [edi]
mov esi, dword [eax + 0x70]
mov al, 1
lea ecx, [esi + 0x58]
xchg byte [ecx], al
cmp dword [esi + 4], 0
jne 0x41c97f
push 0
push 0
push 1
push 0
call dword [0x68248c]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050d534
add esp, 0xc
mov dword [esi + 4], eax
push 0x703618
push 0x703478
push 0
call fcn.00417d70
mov ecx, eax
call fcn.004064d0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x703634
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x14], eax
push eax
push dword [ebp - 0x40]
mov ecx, esi
mov dword [ebp - 4], 1
push 0x65
call fcn.00402a40
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41c9da
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
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.0042d815
mov esp, ebp
pop ebp
ret