Function at 0x409b10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x592f74
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x600d40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [edi], 0x5c9cf0
xor esi, esi
mov eax, 0x5c9d00
mov ebx, 0xa
mov dword [edi + 4], eax
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0xc], esi
mov dword [edi + 8], esi
mov dword [edi + 0x18], esi
mov dword [edi + 0x1c], ebx
mov dword [ebp - 4], esi
mov dword [edi + 0x20], eax
mov dword [edi + 0x2c], esi
mov dword [edi + 0x30], esi
mov dword [edi + 0x28], esi
mov dword [edi + 0x24], esi
mov dword [edi + 0x34], esi
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], eax
mov dword [edi + 0x48], esi
mov dword [edi + 0x4c], esi
mov dword [edi + 0x44], esi
mov dword [edi + 0x40], esi
mov dword [edi + 0x50], esi
mov dword [edi + 0x54], ebx
mov dword [edi + 0x58], eax
mov dword [edi + 0x64], esi
mov dword [edi + 0x68], esi
mov dword [edi + 0x60], esi
mov dword [edi + 0x5c], esi
mov dword [edi + 0x6c], esi
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], eax
mov dword [edi + 0x80], esi
mov dword [edi + 0x84], esi
mov dword [edi + 0x7c], esi
mov dword [edi + 0x78], esi
mov dword [edi + 0x88], esi
mov dword [edi + 0x8c], ebx
mov dword [edi + 0x90], eax
mov dword [edi + 0x9c], esi
mov dword [edi + 0xa0], esi
mov dword [edi + 0x98], esi
mov dword [edi + 0x94], esi
mov dword [edi + 0xa4], esi
mov dword [edi + 0xa8], ebx
mov dword [edi + 0xac], eax
mov dword [edi + 0xb8], esi
mov dword [edi + 0xbc], esi
mov dword [edi + 0xb4], esi
mov dword [edi + 0xb0], esi
mov dword [edi + 0xc0], esi
mov dword [edi + 0xc4], ebx
mov dword [edi + 0xc8], eax
mov dword [edi + 0xd4], esi
mov dword [edi + 0xd8], esi
mov dword [edi + 0xd0], esi
mov dword [edi + 0xcc], esi
mov dword [edi + 0xdc], esi
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xe4], eax
mov dword [edi + 0xf0], esi
mov dword [edi + 0xf4], esi
mov dword [edi + 0xec], esi
mov dword [edi + 0xe8], esi
mov dword [edi + 0xf8], esi
mov dword [edi + 0xfc], ebx
mov byte [ebp - 4], 8
call fcn.00462e44
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409c8b
push 0x80004005
call fcn.004098c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x100], eax
mov byte [ebp - 4], 9
call fcn.00462e44
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409cbb
push 0x80004005
call fcn.004098c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x104], eax
mov dword [edi + 0x110], 0x5c9d10
mov dword [edi + 0x11c], esi
mov dword [edi + 0x120], esi
mov dword [edi + 0x118], esi
mov dword [edi + 0x114], esi
mov dword [edi + 0x124], esi
mov dword [edi + 0x128], ebx
mov dword [edi + 0x12c], 0x5c9d20
mov dword [edi + 0x138], esi
mov dword [edi + 0x13c], esi
mov dword [edi + 0x134], esi
mov dword [edi + 0x130], esi
mov dword [edi + 0x140], esi
mov dword [edi + 0x144], ebx
mov dword [edi + 0x148], 0x5c9d00
mov dword [edi + 0x154], esi
mov dword [edi + 0x158], esi
mov dword [edi + 0x150], esi
mov dword [edi + 0x14c], esi
mov dword [edi + 0x15c], esi
mov dword [edi + 0x160], ebx
mov dword [edi + 0x164], 0x5c9d30
mov dword [edi + 0x170], esi
mov dword [edi + 0x174], esi
mov dword [edi + 0x16c], esi
mov dword [edi + 0x168], esi
mov dword [edi + 0x178], esi
mov dword [edi + 0x17c], ebx
mov dword [edi + 0x180], 0x5c9d40
mov dword [edi + 0x18c], esi
mov dword [edi + 0x190], esi
mov dword [edi + 0x188], esi
mov dword [edi + 0x184], esi
mov dword [edi + 0x194], esi
mov dword [edi + 0x198], ebx
mov dword [edi + 0x19c], 0x5c9d50
mov dword [edi + 0x1a8], esi
mov dword [edi + 0x1ac], esi
mov dword [edi + 0x1a4], esi
mov dword [edi + 0x1a0], esi
mov dword [edi + 0x1b0], esi
mov dword [edi + 0x1b4], ebx
mov dword [edi + 0x1b8], 0x5c9d60
mov dword [edi + 0x1c4], esi
mov dword [edi + 0x1c8], esi
mov dword [edi + 0x1c0], esi
mov dword [edi + 0x1bc], esi
mov dword [edi + 0x1cc], esi
mov dword [edi + 0x1d0], ebx
mov byte [ebp - 4], 0x11
call fcn.00462e44
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409e2d
push 0x80004005
call fcn.004098c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x1d4], eax
mov byte [ebp - 4], 0x12
call fcn.00462e44
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x409e5d
push 0x80004005
call fcn.004098c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x1d8], eax
push 5
push 0x5c9528
lea ecx, [edi + 0x100]
mov byte [ebp - 4], 0x13
call fcn.00409910
push 5
push 0x5c9528
lea ecx, [edi + 0x104]
call fcn.00409910
lea esi, [ebp - 0x14]
call fcn.0041cd70
push 0x5c9534
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 0x14
call fcn.00409110
add esp, 0xc
push eax
lea ecx, [edi + 0x1d4]
mov byte [ebp - 4], 0x15
call fcn.00408e00
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409ee8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4