Function at 0x4b9150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x600e30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], 0xa
lea eax, [esp + 0xc]
push eax
push 0x62917c
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x58]
mov byte [esp + 0x50], 1
mov dword [esp + 0x18], ebp
call fcn.004aa810
mov eax, dword [esp + 8]
mov ecx, dword [eax - 0xc]
cmp ecx, ebp
mov bl, 2
mov byte [esp + 0x44], bl
je 0x4b923d
mov edi, edi
mov edx, dword [esp + 0x24]
push edx
push ebp
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
call fcn.00437500
mov ecx, dword [esp + 0x24]
cmp ecx, ebp
je 0x4b91e1
mov dword [ecx + 4], eax
jmp 0x4b91e5
mov dword [esp + 0x28], eax
lea ecx, [esp + 0xc]
push ecx
push 0x62917c
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x58]
mov dword [esp + 0x30], eax
call fcn.004aa810
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x48], 3
call fcn.004189d0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9234
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], ebp
jne 0x4b91c0
add eax, 0xfffffff0
mov byte [esp + 0x44], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b925e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2c], 4
jbe 0x4b92aa
lea ecx, [esp + 0x24]
call fcn.004351f0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b9296
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push esi
mov esi, dword [esp + 0x28]
cmp esi, ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], 0x3e8
mov dword [esp + 0x24], 0xea60
mov dword [esp + 0x28], 0x36ee80
je 0x4b931c
lea ebx, [esp + 0x1c]
lea esp, [esp]
xor eax, eax
cmp esi, ebp
setne al
cmp eax, ebp
je 0x4b9364
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x24], ebp
call fcn.005c6792
add esp, 0xc
cmp edi, dword [esp + 0x18]
jae 0x4b936e
mov edx, dword [ebx]
imul edx, eax
add dword [esp + 0x14], edx
add ebx, 4
cmp esi, ebp
jne 0x4b92e0
lea ecx, [esp + 0x2c]
call fcn.004351f0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b934d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push 0x80004005
call fcn.00401480
lea ecx, [esp + 0x2c]
call fcn.004351f0
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b939f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret