Function at 0x41c010
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x677a97
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x71906c]
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.004176d0
mov ecx, eax
call fcn.004ce936
test al, al
jne 0x41c269
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x41c269
cmp byte [eax], 0
je 0x41c269
cmp dword [ecx + 0x70], 0
jne 0x41c0a5
push 0x5c
call fcn.0042d6e1
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], 0x702578
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.0042d6e1
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 + 0x50]
mov al, byte [eax]
mov byte [ecx], al
mov eax, dword [edi]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0x50]
add eax, 4
cmp edx, eax
je 0x41c102
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x41c0f7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00406e90
push 0x4c
call fcn.0042d6e1
push 0x4c
mov esi, eax
push 0
push esi
call fcn.00507100
add esp, 0x10
mov ecx, esi
call fcn.00414e90
mov esi, dword [ebp - 0x40]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x6c]
mov ecx, dword [ecx + 0x50]
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 + 0x50]
mov eax, dword [eax + 0x1c]
add eax, 4
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41c16d
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c15c
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00406e90
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 + 0x50]
mov eax, dword [eax + 0x1c]
add eax, 0x1c
cmp esi, eax
mov esi, dword [ebp - 0x40]
je 0x41c1a1
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c190
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00406e90
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 + 0x50]
mov eax, dword [eax + 0x1c]
add eax, 0x34
cmp edx, eax
je 0x41c1d0
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41c1c1
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, dword [ebp - 0x3c]
push edx
call fcn.00406e90
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + 0x34]
push eax
call fcn.0041b980
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 0x41c20f
push 0
push 0
push 1
push 0
call dword [0x68148c]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050c914
add esp, 0xc
mov dword [esi + 4], eax
push 0x702564
push 0x702384
push ecx
call fcn.00417600
mov ecx, eax
call fcn.004062a0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x702580
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 0x41c269
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.0042d065
mov esp, ebp
pop ebp
ret