Function at 0x477fc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6558e1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x74], 0x84
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
call fcn.0040c050
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x28]
push eax
call fcn.0049a100
add esp, 4
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x47818c
mov ecx, dword [ebp + 0xc]
nop
mov dword [ebp - 0x74], 0xab
test ecx, ecx
jns 0x47804f
mov eax, ecx
jmp 0x4780ac
cmp byte [edi + 0xc], 0
lea eax, [ebp - 0x28]
mov ecx, edi
je 0x4780a3
push eax
push esi
call fcn.0047f290
push 0
push 0
push edi
push 0x4783f0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov edx, dword [edi + 0x28]
lea ecx, [edi + 0x24]
mov dword [ebp - 0x84], eax
cmp dword [ecx + 8], edx
je 0x478091
mov dword [edx], eax
add dword [ecx + 4], 4
mov eax, dword [ebp - 0x74]
jmp 0x4780af
lea eax, [ebp - 0x84]
push eax
push edx
call fcn.00424e30
mov eax, dword [ebp - 0x74]
jmp 0x4780af
push 1
push esi
push eax
call fcn.004310a0
mov dword [ebp - 0x74], eax
cmp byte [edi + 0xc], 0
jne 0x478167
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00486840
add esp, 8
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
push esi
call fcn.00406970
mov byte [ebp - 4], 6
xor ecx, ecx
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [eax], cx
mov byte [ebp - 4], 5
lea eax, [ebp - 0x58]
or dword [ebp - 0x80], 1
lea ecx, [ebp - 0x7c]
push eax
call fcn.00422dd0
push eax
add eax, 0x10
lea ecx, [ebp - 0x7c]
push eax
push 0
lea eax, [ebp - 0x8c]
push eax
call fcn.00425800
and dword [ebp - 0x80], 0xfffffffe
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00407b80
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00407b80
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.00407b80
mov eax, dword [ebp - 0x74]
mov ecx, 0xac
test eax, eax
cmovs ecx, eax
mov eax, dword [ebp + 8]
add esi, 0x138
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, dword [eax + 4]
jne 0x478040
cmp byte [edi + 0xc], 0
jne 0x4781a4
mov eax, dword [edi]
lea ecx, [ebp - 0x7c]
push dword [edi + 8]
push ecx
mov eax, dword [eax + 8]
mov ecx, edi
call eax
jmp 0x4781c5
mov esi, dword [edi + 0x24]
cmp esi, dword [edi + 0x28]
je 0x4781c2
nop dword [eax]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
add esi, 4
cmp esi, dword [edi + 0x28]
jne 0x4781b0
mov eax, dword [ebp - 0x74]
test eax, eax
mov edi, 0x83
cmovs edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00407b80
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
mov esi, dword [ebp - 0x7c]
push dword [esi + 4]
call fcn.00463530
mov eax, dword [ebp - 0x7c]
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x7c]
mov dword [eax], esi
mov ecx, dword [ebp - 0x7c]
mov dword [ecx + 8], esi
mov dword [ebp - 0x78], 0
mov dword [ebp - 4], 0xffffffff
push 0x40
push dword [ebp - 0x7c]
call fcn.005e9c93
add esp, 8
mov eax, edi
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.005e9f40
mov esp, ebp
pop ebp
ret 8