Function at 0x41d0e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6783e7
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.00418790
mov ecx, eax
call fcn.004cfb2d
test al, al
jne 0x41d33a
mov ecx, dword [edi]
mov eax, dword [ecx + 0x6c]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x41d33a
cmp byte [eax], 0
je 0x41d33a
cmp dword [ecx + 0x70], 0
jne 0x41d175
push 0x5c
call fcn.0042e7e1
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], 0x7025d0
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.0042e7e1
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 0x41d1d2
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x41d1c7
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, edx
call fcn.00407210
push 0x4c
call fcn.0042e7e1
push 0x4c
mov esi, eax
push 0
push esi
call fcn.00507a20
add esp, 0x10
mov ecx, esi
call fcn.00415660
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 0x41d23d
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d22c
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 0x41d271
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d260
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 0x41d2a0
cmp dword [eax + 0x14], 0x10
mov edx, eax
jb 0x41d291
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.0041ca50
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 0x41d2df
push 0
push 0
push 1
push 0
call dword [0x681488]
push esi
push 0
push 0x402960
mov dword [esi + 8], eax
call fcn.0050d234
add esp, 0xc
mov dword [esi + 4], eax
push 0x7025bc
push 0x70240c
push 0
call fcn.004186c0
mov ecx, eax
call fcn.004064d0
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0x7025d8
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 0x41d33a
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.0042e165
mov esp, ebp
pop ebp
ret