Function at 0x49c820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 4]
mov dword [ebx], 0x7311e8
call fcn.004a3860
xorps xmm0, xmm0
lea ecx, [ebx + 0xfc]
movups xmmword [ebx + 0xd8], xmm0
movq qword [ebx + 0xe8], xmm0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xd0], 0
mov dword [ebx + 0xd4], 0
mov dword [ebx + 0xf4], 0xffffffff
mov dword [ebx + 0xcc], 2
mov dword [ebx + 0xf8], 0
call fcn.0049fc90
lea ecx, [ebx + 0x11c]
call fcn.0049fc90
lea ecx, [ebx + 0x13c]
call fcn.0049fc90
lea edi, [ebx + 0x168]
mov dword [ebx + 0x15c], 0
mov ecx, edi
mov dword [ebx + 0x160], 0
mov dword [ebx + 0x164], 0
call fcn.0049cc50
mov dword [ebx + 0x238], 0
xorps xmm0, xmm0
movups xmmword [ebx + 0x248], xmm0
push pe_nt_image_headers32
movq qword [ebx + 0x258], xmm0
mov dword [ebx + 0x260], 0
mov dword [ebx + 0x240], 0
mov dword [ebx + 0x244], 0
mov dword [ebx + 0x264], 0xffffffff
mov dword [ebx + 0x23c], 2
mov dword [ebx + 0x268], 0
movups xmmword [ebx + 0x278], xmm0
movq qword [ebx + 0x288], xmm0
mov dword [ebx + 0x290], 0
mov dword [ebx + 0x270], 0
mov dword [ebx + 0x274], 0
mov dword [ebx + 0x294], 0xffffffff
mov dword [ebx + 0x26c], 0x102
mov dword [ebx + 0x298], 0
mov dword [ebx + 0x29c], 0
mov dword [ebx + 0x2a0], 0
mov dword [ebx + 0x2a4], 0
mov dword [ebx + 0x2a8], 0
call fcn.005ab82c
push pe_nt_image_headers32
mov esi, eax
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebx + 0x2a4], eax
mov dword [ebx + 0x2ac], 0
mov dword [ebx + 0x2b0], 0
mov dword [ebx + 0x2b4], 0
mov dword [ebx + 0x2b8], 7
mov dword [ebx + 0x2bc], 8
mov dword [ebx + 0x2a0], 0x3f800000
call fcn.005ab82c
mov edx, dword [ebx + 0x2b4]
add esp, 8
mov ecx, dword [ebx + 0x2ac]
sub edx, ecx
sar edx, 2
mov dword [esp + 0x10], eax
test edx, edx
je 0x49ca49
shl edx, 2
cmp edx, 0x1000
jb 0x49ca3b
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [esp + 0x14], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x49cc36
mov ecx, dword [esp + 0x14]
push edx
push ecx
call fcn.005ab85c
mov eax, dword [esp + 0x18]
add esp, 8
lea ecx, [eax + 0x40]
mov dword [ebx + 0x2ac], eax
mov dword [ebx + 0x2b0], ecx
mov dword [ebx + 0x2b4], ecx
cmp eax, ecx
je 0x49ca6b
mov dword [eax], esi
add eax, 4
cmp eax, ecx
jne 0x49ca62
lea ecx, [ebx + 0x2c0]
call fcn.0049ce00
lea ecx, [ebx + 0x3d8]
call fcn.004637a0
mov dword [ebx + 0x578], 0
xorps xmm0, xmm0
mov dword [ebx + 0x57c], 0
mov dword [ebx + 0x580], 0
mov dword [ebx + 0x584], 0
mov dword [ebx + 0x588], 0
mov dword [ebx + 0x58c], 0
mov dword [ebx + 0x590], 0
mov dword [ebx + 0x594], 0
mov dword [ebx + 0x598], 0
mov dword [ebx + 0x59c], 0
mov dword [ebx + 0x5a0], 0
mov dword [ebx + 0x5a4], 0
mov dword [ebx + 0x5a8], 0
mov dword [ebx + 0x5ac], 1
movups xmmword [ebx + 0x5b0], xmm0
mov dword [ebx + 0x5c0], 0
mov dword [ebx + 0x5c4], 0xf
mov byte [ebx + 0x5b0], 0
call fcn.005adf46
lea esi, [eax - 2]
cmp esi, 8
jge 0x49cb4b
mov eax, 2
cmp esi, eax
cmovl esi, eax
jmp 0x49cb50
mov esi, 8
lea eax, [edi + 0x1c]
mov dword [esp + 0x14], esi
push eax
mov dword [esp + 0x20], eax
call fcn.005adc82
add esp, 4
test eax, eax
jne 0x49cc3b
mov eax, dword [edi + 0x48]
lea ecx, [edi + 0x1c]
cmp eax, 0x7fffffff
je 0x49cc42
cmp byte [edi + 0xc8], 0
je 0x49cc0c
mov byte [edi + 0xc8], 0
mov dword [esp + 0x10], 0
test esi, esi
je 0x49cc0c
nop dword [eax]
mov esi, dword [edi + 4]
mov dword [esp + 0x20], 0x4b7a80
mov dword [esp + 0x24], edi
cmp esi, dword [edi + 8]
je 0x49cbec
push 8
call fcn.005ab82c
lea ecx, [esi + 4]
push ecx
push 0
push eax
push 0x4a2650
push 0
mov dword [eax], 0x4b7a80
push 0
mov dword [eax + 4], edi
mov dword [esp + 0x34], ecx
call fcn.005cf765
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x49cc25
add dword [edi + 4], 8
jmp 0x49cbf9
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push esi
call fcn.004a15c0
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x14]
jb 0x49cba0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.005adcb4
add esp, 4
mov eax, ebx
or dword [ebx + 0x2c0], 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x18]
push 6
mov dword [eax], 0
call fcn.005adc4d
call fcn.005c695f
push 5
call fcn.005adc4d
dec eax
push 6
mov dword [ecx + 0x2c], eax
call fcn.005adc4d
int3