Function at 0x48b150
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 0x48b1d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b220
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 0x48b220
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 0x48b238
or eax, 0xffffffff
jmp 0x48b23e
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 0x48b27f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, 1
lea ecx, [esp + 0x14]
call fcn.0042ca60
push eax
mov ecx, 0x5d7f4c
call fcn.0047c7f0
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 0x48b2c2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x48b2d7
push 1
push 0x5d7f4c
lea ecx, [esp + 0x34]
push ecx
call fcn.00409a20
push 0x5d7f4c
push 0x5d9638
lea edx, [esp + 0x34]
push edx
call fcn.00406840
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0xc]
add ecx, 0x230
push eax
call fcn.004066b0
mov byte [esp + 0x1c], 4
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00406840
push 0x5d7f4c
push 0x5d9638
lea ecx, [esp + 0x14]
push ecx
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 edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48b35e
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 0x48b383
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 0x48b3ab
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