Function at 0x410a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf629
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 esi, dword [ebp + 8]
mov dword [ebp - 0x40], esi
lea eax, [edi + 0x200c4]
mov dword [ebp - 4], 2
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 0x410a93
push eax
call fcn.0042f6e9
add esp, 4
mov byte [ebp - 0x50], 1
cmp dword [edi + 0x200c0], 0
mov byte [ebp - 4], 3
jne 0x410ac0
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 - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x410b21
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 - 0x44], esp
push eax
call fcn.0040c650
push dword [ebp + 0x5c]
lea eax, [ebp + 0x3c]
mov byte [ebp - 4], 5
push dword [ebp + 0x58]
push dword [ebp + 0x54]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0040c650
push dword [ebp - 0x40]
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00411770
mov dword [ebp - 0x40], eax
jmp 0x410b28
mov dword [ebp - 0x40], 0
push 0xc
mov byte [ebp - 4], 3
call fcn.0045e178
add esp, 4
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 6
test eax, eax
je 0x410b58
xorps xmm0, xmm0
mov ecx, eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
call fcn.004137c0
jmp 0x410b5a
xor eax, eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x44], eax
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
movlpd qword [ebp - 0x4c], xmm0
call fcn.0042c1e0
cmp dword [edi + 4], 0
je 0x410ce3
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x38], 0xa
call fcn.0042c9a0
lea eax, [ebp - 0x4c]
mov dword [esi], 0
cmp esi, eax
je 0x410bc3
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x48]
mov byte [esi + 4], al
jmp 0x410bc6
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x20]
mov byte [esi + 4], 1
mov byte [ebp - 4], 7
cmp edx, 0x10
jb 0x410c02
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410bf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e38
push edx
push ecx
call fcn.0045e1a8
add esp, 8
mov byte [ebp - 4], 0xa
test edi, edi
je 0x410c2b
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x410c2b
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x410c23
mov eax, dword [ecx]
push edi
jmp 0x410c29
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x54]
mov byte [ebp - 4], 0xb
call fcn.0042f305
add esp, 4
test eax, eax
je 0x410c47
push eax
call fcn.0042f6e9
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x410c66
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 0x410c9a
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410c90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e3d
push edx
push ecx
call fcn.0045e1a8
add esp, 8
mov edx, dword [ebp + 0x74]
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
cmp edx, 0x10
jb 0x410e19
mov ecx, dword [ebp + 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410e42
jmp 0x410e0f
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x94], 0x40f5a0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 0xc
test ecx, ecx
je 0x410d2a
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], 0xe
push eax
call fcn.004128d0
mov ecx, dword [ebp - 0x60]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x410d6c
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], 0xf
push eax
lea ecx, [edi + 0x20098]
call fcn.0042c4a0
lea eax, [ebp - 0x4c]
mov dword [esi], 0
cmp esi, eax
je 0x410d9b
mov eax, dword [ebp - 0x4c]
xor edi, edi
mov dword [esi], eax
mov al, byte [ebp - 0x48]
mov byte [esi + 4], al
jmp 0x410d9e
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x14]
mov byte [esi + 4], 1
test ecx, ecx
je 0x410dba
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], 0x11
test edi, edi
je 0x410de3
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x410de3
mov ecx, dword [edi + 0xa4]
test ecx, ecx
je 0x410ddb
mov eax, dword [ecx]
push edi
jmp 0x410de1
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push dword [ebp - 0x54]
mov byte [ebp - 4], 0x12
call fcn.0042f305
add esp, 4
test eax, eax
je 0x410dff
push eax
call fcn.0042f6e9
add esp, 4
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x410c66
jmp 0x410c4e
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 0x70
call fcn.0049f39a
call fcn.0049f39a
call fcn.0049f39a
int3