Function at 0x411070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf419
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x50b624]
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 eax, dword [ebp + 0x58]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x44], eax
lea eax, [edi + 0x200c4]
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movlpd qword [ebp - 0x54], xmm0
push eax
mov dword [ebp - 0x54], eax
call fcn.0042f2e0
add esp, 4
test eax, eax
je 0x4110df
push eax
call fcn.0042f6e9
add esp, 4
mov byte [ebp - 0x50], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 2
jne 0x41110c
push 0
push 0
push edi
push 0x416e60
push 0
push 0
call fcn.004a9f2d
add esp, 0x18
mov dword [edi + 0x200c0], eax
push 0x14
call fcn.0045e178
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x411154
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.0040c650
push dword [ebp - 0x3c]
mov ecx, edi
call fcn.004115f0
mov dword [ebp - 0x44], eax
jmp 0x41115b
mov dword [ebp - 0x44], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.0045e178
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x41118b
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004138c0
jmp 0x41118d
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.0042c150
cmp dword [edi + 4], 0
je 0x4112d0
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], 6
mov dword [ebp - 0x30], 0xa
call fcn.0042c850
lea eax, [ebp - 0x4c]
mov dword [esi], 0
cmp esi, eax
je 0x4111f6
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x48]
mov byte [esi + 4], al
jmp 0x4111f9
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x18]
mov byte [esi + 4], 1
mov byte [ebp - 4], 5
cmp edx, 0x10
jb 0x411235
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41122b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411425
push edx
push ecx
call fcn.0045e1a8
add esp, 8
mov byte [ebp - 4], 8
test edi, edi
je 0x41125e
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x41125e
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x411256
mov eax, dword [ecx]
push edi
jmp 0x41125c
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x54]
mov byte [ebp - 4], 9
call fcn.0042f305
add esp, 4
test eax, eax
je 0x41127a
push eax
call fcn.0042f6e9
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x411299
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
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x411406
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4113fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41142a
jmp 0x4113fc
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x94], 0x40f470
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xa
test ecx, ecx
je 0x411317
mov eax, dword [ecx]
lea edx, [ebp - 0x84]
push edx
mov eax, dword [eax]
call eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0xc
push eax
call fcn.00412a10
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x411359
mov edx, dword [ecx]
lea eax, [ebp - 0x84]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x60], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xd
push eax
lea ecx, [edi + 0x20098]
call fcn.0042c4a0
lea eax, [ebp - 0x4c]
mov dword [esi], 0
cmp esi, eax
je 0x411388
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x48]
mov byte [esi + 4], al
jmp 0x41138b
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x4113a7
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], 0xf
test edi, edi
je 0x4113d0
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4113d0
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x4113c8
mov eax, dword [ecx]
push edi
jmp 0x4113ce
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x54]
mov byte [ebp - 4], 0x10
call fcn.0042f305
add esp, 4
test eax, eax
je 0x4113ec
push eax
call fcn.0042f6e9
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x411299
jmp 0x411281
push edx
push ecx
call fcn.0045e1a8
add esp, 8
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.0045e450
mov esp, ebp
pop ebp
ret 0x58
call fcn.0049f39a
call fcn.0049f39a
int3