Function at 0x410450
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450be9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x473018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov esi, dword [ebx + 8]
mov dword [ebp - 0x4c], 0
cmp byte [esi + 0x70], 0
je 0x4106b5
lea eax, [ebp - 0x78]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x78]
lea eax, [esi + 0x40]
push eax
call fcn.00403fa0
mov dword [ebp - 4], 2
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
mov eax, esi
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
jb 0x4104d5
mov eax, dword [esi]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
push ecx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.00404580
mov edi, 2
mov dword [ebp - 0x4c], 2
mov dword [ebp - 0x4c], edi
and edi, 0xfffffffd
mov dword [ebp - 0x4c], edi
mov dword [ebp - 4], 3
or edi, 1
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 2
and edi, 0xfffffffe
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.0040c5a0
mov byte [ebp - 0x45], al
test al, al
jne 0x41057a
mov byte [ebp - 4], 6
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x44]
call fcn.00403fa0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
or edi, 4
lea ecx, [ebp - 0x44]
push eax
mov dword [ebp - 0x4c], edi
call fcn.0040b680
lea ecx, [ebp - 0x44]
call fcn.0040c5a0
and edi, 0xfffffffb
mov byte [ebp - 0x45], al
mov dword [ebp - 0x4c], edi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.004040c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004040c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
call fcn.004040c0
mov ecx, dword [ebx + 4]
cmp byte [ebp - 0x45], 0
je 0x4106d5
lea eax, [ebp - 0x45]
mov byte [ebp - 0x45], 0
push eax
movzx eax, byte [esi + 0x34]
push eax
call fcn.00411c70
mov ecx, dword [ebx + 4]
test eax, eax
js 0x4106e5
cmp byte [ebp - 0x45], 0
je 0x4106b5
cmp byte [esi + 0x3c], 0
mov edx, dword [ebp - 0x50]
mov edx, dword [edx + 0xec]
mov dword [ebp - 0x54], edx
je 0x41061b
cmp dword [esi + 0x54], 8
lea eax, [esi + 0x40]
jb 0x4105e6
mov eax, dword [eax]
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
jb 0x4105f1
mov ecx, dword [ecx]
push edx
push dword [esi + 0x30]
push dword [esi + 0x38]
push eax
push ecx
push 0
call fcn.0040f540
add esp, 0x18
cmp byte [esi + 0x3d], 0
je 0x4106b5
test eax, eax
js 0x4106f1
jmp 0x4106b5
cmp dword [esi + 0x54], 8
lea edi, [esi + 0x40]
jb 0x410626
mov edi, dword [edi]
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
mov dword [ebp - 0x50], eax
jb 0x410637
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xb
push 0x1c
call fcn.0043350f
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [eax], ecx
mov ecx, dword [esi + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x38]
mov esi, dword [ebp - 0x4c]
mov dword [eax + 8], ecx
or esi, 8
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push eax
push 0x41bcf0
push 0
push 0
mov dword [eax + 0xc], edi
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], fcn.0040f540
mov dword [ebp - 0x4c], esi
call fcn.0043cdda
add esp, 0x18
mov dword [ebp - 0x60], eax
test eax, eax
je 0x410705
and esi, 0xfffffff7
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], 0
jne 0x410700
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432e76
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
push 0x80070002
push ecx
mov edx, 0xc2
call fcn.0040f3e0
push eax
push ecx
mov edx, 0xc5
call fcn.0040f3e0
push eax
push ecx
mov ecx, dword [ebx + 4]
mov edx, 0xd2
call fcn.0040f3e0
call fcn.0043ceb6
push 6
mov dword [ebp - 0x5c], 0
call fcn.00431ac5
int3