Function at 0x4c7830
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c961
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x559540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov byte [edi + 0x18], al
mov dword [edi + 0x30], 0xf
mov dword [edi + 0x2c], eax
mov dword [ebp - 4], eax
mov byte [edi + 0x1c], al
mov dword [edi + 0x48], 7
mov dword [edi + 0x44], eax
mov word [edi + 0x34], ax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push eax
push eax
push 1
push eax
mov dword [edi + 0x4c], 0xffffffff
call esi
mov dword [edi + 0x4c], eax
mov dword [edi + 0x50], 0xffffffff
push 0
push 0
push 0
push 0
mov dword [edi + 0x54], 0xffffffff
call esi
mov dword [edi + 0x54], eax
push 0
push 0
push 1
push 0
mov dword [edi + 0x58], 0xffffffff
call esi
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 0xffffffff
lea esi, [edi + 0x60]
mov byte [ebp - 4], 7
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.004edd71
add esp, 4
test eax, eax
jne 0x4c7917
call fcn.00506567
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea ecx, [edi + 0x74]
xorps xmm0, xmm0
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
lea ecx, [edi + 0x8c]
mov byte [ebp - 4], 9
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
call fcn.004c8540
mov dword [edi + 0x8c], eax
lea ecx, [edi + 0x94]
mov byte [ebp - 4], 0xa
mov dword [edi + 0x94], 0
mov dword [edi + 0x98], 0
call fcn.004c8540
mov dword [edi + 0x94], eax
lea esi, [edi + 0xa0]
mov dword [edi + 0x9c], 3
mov ecx, esi
mov byte [ebp - 4], 0xb
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c8570
lea ecx, [esi + 0x14]
mov dword [esi], eax
xorps xmm0, xmm0
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
mov dword [esi + 0x10], 0
lea esi, [edi + 0xd0]
mov byte [ebp - 4], 0xc
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c85a0
mov dword [esi], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], 7
xor eax, eax
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
mov word [esi + 8], ax
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
lea esi, [edi + 0x108]
mov byte [ebp - 4], 0xd
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c85a0
mov dword [esi], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], 7
xor eax, eax
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
mov word [esi + 8], ax
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
lea esi, [edi + 0x140]
mov byte [ebp - 4], 0xe
mov ecx, esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004c85a0
mov dword [esi], eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], 7
xor eax, eax
mov dword [esi + 0x18], 0
xorps xmm0, xmm0
mov word [esi + 8], ax
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
lea ecx, [edi + 0x180]
xorps xmm0, xmm0
movdqu xmmword [ecx], xmm0
movq qword [ecx + 0x10], xmm0
call fcn.004c83f0
mov dword [edi + 0x178], 0
mov eax, edi
mov dword [edi + 0x17c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret