Function at 0x4053b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x416024]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor edi, edi
push esi
lea esi, [edi + 4]
lea eax, [edi + 3]
movd xmm3, esi
lea ecx, [edi + 2]
movd xmm0, eax
lea edx, [edi + 1]
movd xmm1, ecx
movd xmm2, edx
punpckldq xmm2, xmm0
punpckldq xmm1, xmm3
punpckldq xmm2, xmm1
movups xmmword [ebp + edi*4 - 0x58], xmm2
mov edi, esi
cmp edi, 8
jl 0x4053c4
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x58]
push ebx
nop dword [eax]
nop word [eax + eax]
mov dword [ebp - 0x24], 0
nop word [eax + eax]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], ecx
nop word [eax + eax]
mov dword [ebp - 0x18], 0
xor ebx, ebx
nop dword [eax]
xor esi, esi
xor edi, edi
nop dword [eax]
nop dword [eax + eax]
push str.array_
push 0x416868
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push dword [ebp - 0x28]
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push dword [ebp - 0x24]
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push dword [ebp - 0x1c]
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push dword [ebp - 0x18]
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push ebx
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411450
push esi
call fcn.004021e0
push eax
call fcn.004010d0
add esp, 8
mov ecx, eax
push 0x411448
push edi
call fcn.004021e0
push eax
call fcn.004010d0
mov ecx, dword [ebp - 0x20]
add esp, 8
push dword [ecx]
mov ecx, eax
call fcn.004021e0
mov dword [ebp - 0x2c], eax
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov ecx, dword [ecx + eax + 0x30]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x34], ecx
mov edx, dword [ecx]
call dword [edx + 4]
lea eax, [ebp - 0x38]
push eax
call fcn.00401700
add esp, 4
mov ecx, dword [eax]
push 0xa
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov ecx, dword [ebp - 0x34]
mov byte [ebp - 0x30], al
test ecx, ecx
je 0x405559
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x405559
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
call fcn.00405110
mov ecx, dword [ebp - 0x2c]
call fcn.004046c0
inc edi
cmp edi, 2
jl 0x405450
inc esi
cmp esi, 2
jl 0x405442
inc ebx
cmp ebx, 2
jl 0x405440
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 2
jl 0x405437
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc eax
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
cmp eax, 2
jl 0x405430
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp eax, 2
jl 0x405420
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, 2
jl 0x405410
pop ebx
push 4
call fcn.00407d08
mov esi, eax
add esp, 4
test esi, esi
je 0x4055ec
mov dword [esi], vtable.Derived1.0
jmp 0x4055ee
xor esi, esi
push 4
call fcn.00407d08
mov edi, eax
add esp, 4
test edi, edi
je 0x405606
mov dword [edi], vtable.Derived2.0
jmp 0x405608
xor edi, edi
push 4
call fcn.00407d08
add esp, 4
test eax, eax
je 0x40561a
mov dword [eax], esi
jmp 0x40561c
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push 0
push eax
push 0x4015a0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40570d
push 4
call fcn.00407d08
add esp, 4
test eax, eax
je 0x405651
mov dword [eax], edi
jmp 0x405653
xor eax, eax
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push 0x4015a0
push 0
push 0
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x405735
cmp dword [ebp - 0x10], 0
je 0x40572e
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x10]
cmp ecx, eax
je 0x405727
push 0
push ecx
push dword [ebp - 0x14]
call fcn.004059fb
add esp, 0xc
test eax, eax
jne 0x405720
xorps xmm0, xmm0
movlpd qword [ebp - 0x14], xmm0
cmp dword [ebp - 8], eax
je 0x40572e
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x405727
push 0
push ecx
push dword [ebp - 0xc]
call fcn.004059fb
add esp, 0xc
test eax, eax
jne 0x405720
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
test esi, esi
je 0x4056e1
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
test edi, edi
je 0x4056ee
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
cmp dword [ebp - 8], 0
pop edi
jne 0x40571b
cmp dword [ebp - 0x10], 0
jne 0x40571b
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00407d4b
mov esp, ebp
pop ebp
ret 0x10
push 6
mov dword [ebp - 0x10], 0
call fcn.00405cc4
call sub.msvcrt.dll_void___cdecl_terminate_void_
push 2
call fcn.00405cc4
push 5
call fcn.00405cc4
push 1
call fcn.00405cc4
push 6
mov dword [ebp - 8], 0
call fcn.00405cc4
int3