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

Disassembly:
push 0xffffffffffffffff
push 0x488f61
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x4a2590
call fcn.00416880
lea ecx, [esp + 0x18]
push ecx
mov esi, 1
mov ecx, 0x4a2570
mov dword [esp + 0x30], esi
call fcn.00416880
mov ebx, 2
mov byte [esp + 0x2c], bl
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [edi], eax
cmp ebp, 0xa
mov dword [esp + 0x1c], esi
jne 0x45fd58
lea ecx, [esp + 0x14]
push ecx
mov eax, ebx
xor ecx, ecx
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 3
call fcn.0040b8a0
jmp 0x45fe5f
cmp ebp, 0x14
jne 0x45fdf2
lea ecx, [esp + 0x18]
push ecx
mov eax, esi
mov ecx, esi
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 4
call fcn.0040b8a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fda1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov eax, esi
mov ecx, esi
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 5
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.004164c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ff26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45ff26
cmp ebp, 0x1e
jne 0x45fe8c
lea ecx, [esp + 0x18]
push ecx
mov eax, esi
mov ecx, ebx
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 6
call fcn.0040b8a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fe3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
mov eax, esi
mov ecx, esi
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 7
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.004164c0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45ff26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x45ff26
mov eax, 0x66666667
imul ebp
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
lea ecx, [esp + 0x14]
push ecx
mov eax, 1
mov ecx, esi
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 8
call fcn.0040b8a0
mov byte [esp + 0x2c], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45fee0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + esi*4]
add ecx, ecx
mov edx, ebp
sub edx, ecx
test edx, edx
jle 0x45ff26
lea eax, [ebp - 1]
cdq
mov ecx, 0xa
idiv ecx
lea eax, [esp + 0x18]
push eax
lea eax, [ecx - 9]
mov ecx, edx
lea edx, [esp + 0x24]
call fcn.004167d0
mov byte [esp + 0x2c], 9
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push edi
call fcn.004164c0
lea ecx, [esp + 0x20]
call fcn.00416ba0
mov byte [esp + 0x2c], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ff4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ff70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret