Function at 0x48b3c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x598aa8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
push 0x5d9638
push 0x5d7f4c
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], 1
call fcn.00406840
lea ecx, [esp + 0x28]
push ecx
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.0042ca60
push eax
mov ecx, 0x5d9638
call fcn.00406a80
mov bl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b490
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
dec eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
call fcn.004098d0
lea edi, [esp + 0x28]
mov byte [esp + 0x1c], 2
call fcn.00406fe0
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b490
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
push 0x2f
push ecx
call fcn.004f7f30
add esp, 8
test eax, eax
jne 0x48b4a8
or eax, 0xffffffff
jmp 0x48b4ae
sub eax, dword [esp + 0x28]
sar eax, 1
inc eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x28]
call fcn.004098d0
lea edi, [esp + 0x28]
mov byte [esp + 0x1c], 3
call fcn.00406fe0
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b4ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x5d9638
push 0x5d7f4c
lea ecx, [esp + 0x34]
push ecx
call fcn.00406840
lea edx, [esp + 0x2c]
push edx
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.0042ca60
push eax
mov ecx, 0x5d9638
call fcn.0047c7f0
mov bl, al
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b546
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b55b
push 1
push 0x5d9638
lea ecx, [esp + 0x34]
push ecx
call fcn.00409a20
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0xc]
add ecx, 0x230
push edx
call fcn.004066b0
mov byte [esp + 0x1c], 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.00406840
mov edi, dword [esp + 0x30]
lea ebx, [esp + 0xc]
call fcn.0042d130
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b5ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1c], 0
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 0x48b5df
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 + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48b607
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret 0x10