Function at 0x100055f0
Capabilities:
Access peb ldr_data
Create thread
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1001a218
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x100210c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
lea edi, [esi + 0x20]
mov dword [esi + 0x1c], ebp
mov dword [edi], 0xffffffff
mov dword [esi + 0x30], 0x1000
mov dword [esi + 0x34], ebp
mov dword [esi + 0x38], ebp
mov eax, dword [0x10022104]
mov edx, dword [eax + 0xc]
mov ecx, 0x10022104
call edx
add eax, 0x10
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x40]
push eax
mov byte [esp + 0x20], 1
call fcn.10006130
mov byte [esp + 0x1c], 2
mov eax, dword [esp + 0x28]
mov ecx, dword [eax - 0xc]
mov dword [esi + 0x18], ecx
cmp dword [eax - 4], 1
jle 0x10005680
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x2c]
call fcn.10004200
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x18]
add ecx, ecx
push ecx
push eax
push esi
call fcn.10012e60
mov edx, dword [esi + 0x18]
xor eax, eax
mov word [esi + edx*2], ax
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.1000c841
add esp, 0x14
cmp eax, ebp
jl 0x100057d7
mov ecx, dword [esp + 0x28]
cmp eax, dword [ecx - 8]
jg 0x100057d7
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov word [edx + eax*2], cx
push str.5B8F95B9_7492_443d_B10B_24DAE51CE746
lea ecx, [esp + 0x14]
call fcn.10003890
push 5
push str.EVENT
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], 3
call fcn.100040b0
mov eax, dword [esp + 0x10]
push eax
push ebp
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x78], eax
call fcn.10005930
push edi
push ebp
push esi
push 0x10005a10
push ebp
push ebp
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x2c]
inc dword [eax]
mov eax, dword [esi + 0x2c]
add dword [eax + 4], 0x20
mov eax, dword [esi + 0x2c]
inc dword [eax + 8]
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x2c]
lea edx, [ecx + ecx + 1]
mov ecx, dword [eax + 4]
add ecx, dword [esi + 0x24]
push edx
push esi
push ecx
call fcn.10012e60
mov eax, dword [esi + 0x2c]
mov edx, dword [eax]
imul edx, dword [esi + 0x30]
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x24]
mov dword [eax + ecx + 0x18], edx
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x24]
mov edx, dword [edi]
mov dword [eax + ecx + 0x1c], edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
imul ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x24]
mov byte [esp + 0x28], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esi + 0x28], ecx
add esp, 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10005798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100057c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
push 0x80070057
call fcn.100010f0
int3