Function at 0x4d1ac0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7286e6
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x83e264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [ebp - 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x38], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0xf
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x68], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0xf
mov byte [esi + 0x80], 1
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov byte [esi + 0x98], 0
mov dword [esi + 0x9c], 0
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0xf
mov byte [esi + 0x9c], 0
lea eax, [esi + 0xbc]
mov dword [esi + 0xb4], 0
push 2
push eax
mov dword [esi + 0xb8], 0
call fcn.0051b036
lea eax, [esi + 0xec]
push eax
call fcn.0051ac53
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x10]
mov edx, 0x4d1da0
mov dword [esi + 0x114], 0
call fcn.0049d1e0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
push 0
push dword [ebp - 0x10]
push 0x49d210
push 0
push 0
call fcn.00532bb0
mov ecx, eax
add esp, 0x24
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x4d1d81
mov byte [ebp - 4], 6
cmp dword [esi + 4], 0
jne 0x4d1d8f
push dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
push 0
push 0
push 1
push 0
mov dword [esi], ecx
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b3870
or edi, 0xffffffff
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, dword [esi + 0x88]
mov dword [esi + 0x84], ecx
mov dword [esi + 0x88], edx
test ebx, ebx
je 0x4d1cbe
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4d1cbe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4d1cbe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d1ce4
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4d1ce4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4d1ce4
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
push dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004b3870
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov ebx, dword [esi + 0x90]
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], edx
test ebx, ebx
je 0x4d1d48
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4d1d48
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
mov eax, edi
lock xadd dword [ebx + 8], eax
jne 0x4d1d48
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d1d6d
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x4d1d6d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x4d1d6d
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.0051b121
call fcn.00532a18
int3