Function at 0x421180
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a475d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4d1a14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x30]
mov ecx, edx
mov dword [0x4d6f40], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
mov dword [0x4d6f44], eax
mov dword [ebp - 0x28], 0
lea esi, [ecx + 2]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4211e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004105b0
mov ecx, 0x4d1888
call fcn.0040af20
movups xmm0, xmmword [ebp - 0x28]
xor esi, esi
mov dword [ebp - 0x1c], 0
xor edi, edi
lea eax, [ebp + 0x18]
movups xmmword [0x4d1888], xmm0
mov dword [0x4d6f48], eax
movq xmm0, qword [ebp - 0x18]
movq qword [0x4d1898], xmm0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], edi
nop
push 4
call fcn.0047151d
add esp, 4
test eax, eax
je 0x421256
mov dword [eax], 0x420bb0
jmp 0x421258
xor eax, eax
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
push ecx
push 0
push eax
push 0x420950
push 0
push 0
call fcn.00483da8
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x421451
mov byte [ebp - 4], 4
cmp esi, edi
je 0x4212a4
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov dword [esi], ecx
mov dword [esi + 4], eax
add esi, 8
mov dword [ebp - 0x18], esi
jmp 0x4212ba
lea eax, [ebp - 0x38]
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.004089e0
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], edi
cmp dword [ebp - 0x34], 0
mov byte [ebp - 4], 2
jne 0x421464
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x14
jb 0x421240
mov edi, dword [ebp - 0x1c]
mov ecx, esi
xor eax, eax
sub ecx, edi
sar ecx, 3
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
cmp ecx, eax
jbe 0x42147e
cmp dword [edi + 4], 0
je 0x421477
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [edi + 4], eax
je 0x421470
push 0
push dword [edi + 4]
push dword [edi]
call fcn.0045ac6c
add esp, 0xc
test eax, eax
jne 0x421469
mov ecx, dword [ebp - 0x30]
mov dword [edi], eax
mov dword [edi + 4], eax
add edi, 8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 0x14
jb 0x4212f0
mov edx, dword [ebp - 0x1c]
test edx, edx
je 0x421391
mov eax, edx
cmp eax, esi
je 0x421361
nop dword [eax + eax]
cmp dword [eax + 4], 0
jne 0x421464
add eax, 8
cmp eax, esi
jne 0x421350
mov ecx, dword [ebp - 0x3c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffff8
cmp ecx, 0x1000
jb 0x421387
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42145f
push ecx
push edx
call fcn.0047154d
add esp, 8
mov eax, dword [ebp + 8]
test eax, eax
je 0x421400
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push eax
call fcn.00408640
mov ecx, dword [ebp + 0x10]
mov eax, 0x2aaaaaab
mov esi, dword [ebp + 8]
add esp, 0xc
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4213e1
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42145f
push ecx
push esi
call fcn.0047154d
add esp, 8
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x2c]
cmp ecx, 8
jb 0x421436
mov edx, dword [ebp + 0x18]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x42142c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42145f
push ecx
push edx
call fcn.0047154d
add esp, 8
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.004717ba
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x34], 0
call fcn.0045b149
call fcn.0047cc5f
call fcn.00483a5f
push 2
call fcn.0045b149
push 5
call fcn.0045b149
push 1
call fcn.0045b149
call fcn.0040fdb0
int3