Function at 0x4aff30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513ce6
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push esi
push edi
mov eax, dword [0x54f040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0x14]
jne 0x4aff75
mov byte [ebp + 0xf], 1
jmp 0x4b0693
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push 0
push dword [ebp + 0x20]
push dword [ebp + 8]
push eax
call fcn.00495690
mov eax, dword [ebp - 0x38]
test eax, eax
jne 0x4aff98
mov byte [ebp + 0xf], al
jmp 0x4b066a
xor edi, edi
xor esi, esi
mov dword [ebp + 0x20], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov byte [ebp - 4], 3
cmp dword [ebp + 0x1c], esi
jne 0x4b0026
add eax, 0x340
lea ecx, [ebp - 0x30]
push eax
call fcn.0040a280
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
mov dword [ebp + 0x1c], eax
cmp eax, ecx
je 0x4b0009
nop
add eax, 0x10
cmp esi, dword [ebp - 0x3c]
je 0x4affe4
mov eax, dword [eax]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x40], esi
jmp 0x4afff1
push eax
push esi
lea ecx, [ebp - 0x44]
call fcn.00403f00
mov esi, dword [ebp - 0x40]
lea ecx, [ebp + 0x1c]
call fcn.00401c60
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x30]
cmp eax, ecx
jne 0x4affd0
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x20], eax
push dword [ecx + 4]
lea eax, [ebp - 0x30]
push eax
mov ecx, eax
call fcn.00406cf0
push 0x1c
push dword [ebp - 0x30]
call fcn.00443e34
add esp, 8
jmp 0x4b003a
lea eax, [ebp + 0x1c]
push eax
push 0
lea ecx, [ebp - 0x44]
call fcn.00403f00
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0x20], eax
xor eax, eax
mov dword [ebp - 0x74], 0x707
mov dword [ebp - 0x70], 0x1f000c
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x24]
xor edi, edi
mov dword [ebp - 0x64], eax
xor esi, esi
xor eax, eax
mov dword [ebp + 0x24], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 6
xor edx, edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], edx
test eax, eax
je 0x4b058f
xor eax, eax
nop dword [eax]
lea eax, [ecx + eax*4]
cmp esi, dword [ebp - 0x18]
je 0x4b00a4
mov eax, dword [eax]
mov dword [esi], eax
add esi, 4
mov dword [ebp - 0x4c], esi
jmp 0x4b00c0
push eax
push esi
lea ecx, [ebp - 0x50]
call fcn.00403f00
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x50]
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x24], ecx
mov edi, dword [ebp + 0x14]
inc edx
mov ecx, edi
mov dword [ebp - 0x10], edx
sub ecx, dword [ebp + 0x10]
mov eax, 0xcccccccd
sar ecx, 2
mul ecx
mov dword [ebp - 0x20], esi
shr edx, 5
cmp dword [ebp - 0x10], edx
jbe 0x4b0461
push 0x5c
call fcn.00443e65
mov edx, eax
add esp, 4
mov dword [ebp + 0x1c], edx
lea edi, [edx + 8]
mov dword [edi], 0
xor eax, eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov dword [edx + 0x24], 0
mov dword [edx + 0x28], 0
mov dword [edx + 0x40], eax
mov dword [edx + 0x44], eax
lea eax, [ebp - 0x50]
mov dword [edx + 0x38], 0x707
mov dword [edx + 0x3c], 0x1f000c
cmp edi, eax
je 0x4b0286
mov eax, dword [edi + 8]
mov edx, dword [ebp + 0x24]
sub esi, edx
mov ecx, dword [edi]
mov dword [ebp - 0x10], eax
sub dword [ebp - 0x10], ecx
sar dword [ebp - 0x10], 2
sar esi, 2
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x10]
jbe 0x4b0227
cmp esi, 0x3fffffff
ja 0x4b0718
sub eax, ecx
sar eax, 2
mov edx, eax
mov dword [ebp - 0x28], eax
shr edx, 1
mov eax, 0x3fffffff
sub eax, edx
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x28]
cmp edx, eax
jbe 0x4b01a2
mov esi, 0x3fffffff
jmp 0x4b01b1
mov eax, dword [ebp - 0x2c]
add eax, edx
cmp eax, esi
cmovb eax, esi
mov dword [ebp - 0x2c], eax
mov esi, eax
test ecx, ecx
je 0x4b01ff
mov eax, dword [ebp - 0x10]
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4b01e1
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4b071d
mov ecx, dword [ebp - 0x2c]
push edx
push ecx
call fcn.00443e34
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push esi
mov ecx, edi
call fcn.00403cc0
mov esi, dword [edi]
mov ecx, dword [ebp + 0x24]
mov edi, dword [ebp - 0x1c]
lea eax, [ecx + edi*4]
sub eax, ecx
push eax
push ecx
push esi
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
lea eax, [esi + edi*4]
mov dword [edx + 0xc], eax
jmp 0x4b0283
mov eax, dword [edi + 4]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x2c], eax
cmp esi, eax
jbe 0x4b026a
lea eax, [edx + eax*4]
sub eax, edx
push eax
push edx
push ecx
call fcn.00445c10
mov edx, dword [ebp - 0x2c]
sub esi, edx
mov ecx, dword [ebp + 0x24]
mov edi, dword [edi + 4]
shl esi, 2
push esi
lea eax, [ecx + edx*4]
push eax
push edi
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
lea eax, [edi + esi]
add esp, 0x18
mov dword [edx + 0xc], eax
jmp 0x4b0286
mov edi, dword [ebp - 0x1c]
lea esi, [ecx + esi*4]
lea eax, [edx + edi*4]
sub eax, edx
push eax
push edx
push ecx
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0xc], esi
add esp, 0xc
lea eax, [ebp - 0x44]
lea edi, [edx + 0x14]
cmp edi, eax
je 0x4b03c9
mov edx, dword [edi + 8]
mov eax, edx
mov esi, dword [ebp - 0x40]
sub esi, dword [ebp + 0x20]
mov ecx, dword [edi]
sub eax, ecx
sar esi, 2
sar eax, 2
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x28], eax
cmp esi, eax
jbe 0x4b0367
cmp esi, 0x3fffffff
ja 0x4b0718
sub edx, ecx
sar edx, 2
mov eax, edx
shr eax, 1
mov dword [ebp - 0x1c], eax
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x1c]
cmp edx, eax
jbe 0x4b02e2
mov esi, 0x3fffffff
jmp 0x4b02f1
mov eax, dword [ebp - 0x1c]
add eax, edx
cmp eax, esi
cmovb eax, esi
mov dword [ebp - 0x2c], eax
mov esi, eax
test ecx, ecx
je 0x4b033f
mov eax, dword [ebp - 0x28]
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x4b0321
mov eax, dword [ecx - 4]
add edx, 0x23
sub ecx, eax
mov dword [ebp - 0x2c], eax
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x4b071d
mov ecx, dword [ebp - 0x2c]
push edx
push ecx
call fcn.00443e34
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push esi
mov ecx, edi
call fcn.00403cc0
mov esi, dword [edi]
mov ecx, dword [ebp + 0x20]
mov edi, dword [ebp - 0x10]
lea eax, [ecx + edi*4]
sub eax, ecx
push eax
push ecx
push esi
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
lea eax, [esi + edi*4]
mov dword [edx + 0x18], eax
jmp 0x4b03c6
mov eax, dword [edi + 4]
mov edx, dword [ebp + 0x20]
sub eax, ecx
sar eax, 2
mov dword [ebp - 0x2c], eax
cmp esi, eax
jbe 0x4b03ad
lea eax, [edx + eax*4]
sub eax, edx
push eax
push edx
push ecx
call fcn.00445c10
mov ecx, dword [ebp - 0x2c]
sub esi, ecx
mov edx, dword [ebp + 0x20]
mov edi, dword [edi + 4]
shl esi, 2
push esi
lea eax, [edx + ecx*4]
push eax
push edi
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
lea eax, [edi + esi]
add esp, 0x18
mov dword [edx + 0x18], eax
jmp 0x4b03c9
mov edi, dword [ebp - 0x10]
lea esi, [ecx + esi*4]
lea eax, [edx + edi*4]
sub eax, edx
push eax
push edx
push ecx
call fcn.00445c10
mov edx, dword [ebp + 0x1c]
mov dword [edx + 0x18], esi
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0x20], edi
mov dword [edx], eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4b03e8
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x34]
mov esi, dword [edx + 0x28]
mov eax, dword [ebp - 0x38]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], ecx
test esi, esi
je 0x4b041c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b041c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b0419
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 0x1c]
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [edx + 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [edx + 0x3c], xmm0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [edx + 0x4c], xmm0
mov eax, dword [edi + 0xc]
lock inc dword [eax]
push edx
push 0
push 0x4af830
call fcn.0044d973
mov esi, dword [ebp - 0x20]
add esp, 0xc
cmp dword [ebp + 0x24], esi
mov edi, dword [ebp + 0x14]
cmovne esi, dword [ebp + 0x24]
xor edx, edx
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x10], edx
jmp 0x4b0464
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp + 0x10]
inc eax
sub edi, ecx
mov dword [ebp - 0x24], eax
sar edi, 2
cmp eax, edi
jb 0x4b0090
test edx, edx
jle 0x4b058c
push 0x5c
call fcn.00443e65
mov edi, eax
add esp, 4
mov dword [ebp + 0x1c], edi
lea ecx, [edi + 8]
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], eax
lea eax, [ebp - 0x50]
push eax
mov dword [edi + 0x38], 0x707
mov dword [edi + 0x3c], 0x1f000c
call fcn.004031e0
lea eax, [ebp - 0x44]
push eax
lea ecx, [edi + 0x14]
call fcn.004031e0
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x4b0516
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x34]
mov esi, dword [edi + 0x28]
mov eax, dword [ebp - 0x38]
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], ecx
test esi, esi
je 0x4b0547
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4b0547
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4b0547
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
movups xmm0, xmmword [ebp - 0x80]
mov eax, dword [ebp - 0x14]
movups xmmword [edi + 0x2c], xmm0
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [edi + 0x3c], xmm0
movups xmm0, xmmword [ebp - 0x60]
movups xmmword [edi + 0x4c], xmm0
mov eax, dword [eax + 0xc]
lock inc dword [eax]
push edi
push 0
push 0x4af830
call fcn.0044d973
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov edi, dword [ebp - 0x50]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x24], edi
jmp 0x4b058f
mov edi, dword [ebp + 0x24]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
cmp dword [eax], 0
jle 0x4b05b2
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x14]
push 0
call esi
mov eax, dword [edi + 0xc]
cmp dword [eax], 0
jg 0x4b05a3
mov edi, dword [ebp + 0x24]
movups xmm0, xmmword [ebp + 0x2c]
sub esp, 0x10
mov eax, esp
push ecx
movups xmmword [eax], xmm0
mov eax, dword [ebp + 0x28]
mov esi, esp
add eax, 0xfffffff0
mov dword [ebp + 8], esi
push eax
call fcn.00403870
mov ecx, dword [ebp - 0x14]
add esp, 4
add eax, 0x10
mov dword [esi], eax
push dword [ebp + 0xc]
call fcn.004a8450
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 5
test edi, edi
je 0x4b0625
mov eax, dword [ebp - 0x18]
sub eax, edi
sar eax, 2
lea ecx, [eax*4]
mov eax, edi
cmp ecx, 0x1000
jb 0x4b061b
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b071d
push ecx
push edi
call fcn.00443e34
add esp, 8
mov ecx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x4b0667
mov eax, dword [ebp - 0x3c]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b065d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b071d
push edx
push ecx
call fcn.00443e34
add esp, 8
or edi, 0xffffffff
mov esi, dword [ebp - 0x34]
test esi, esi
je 0x4b0690
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4b0690
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x4b0690
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edx, dword [ebp + 0x10]
mov byte [ebp - 4], 0
test edx, edx
je 0x4b06e3
mov eax, dword [ebp + 0x18]
sub eax, edx
sar eax, 2
lea ecx, [eax*4]
mov eax, edx
cmp ecx, 0x1000
jb 0x4b06c4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b071d
push ecx
push edx
call fcn.00443e34
add esp, 8
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x28]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4b0702
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp + 0xf]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x34
call fcn.00402310
call fcn.0044d695
int3