Function at 0x47bea0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4e3928
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x518334]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x51e6c8]
mov edx, dword [eax + 0xc]
mov ecx, 0x51e6c8
call edx
lea esi, [eax + 0x10]
mov eax, dword [0x51e6c8]
mov edx, dword [eax + 0xc]
mov ecx, 0x51e6c8
mov dword [esp + 0x20], esi
call edx
mov edi, dword [esi - 0x10]
lea ebx, [eax + 0x10]
lea eax, [esi - 0x10]
xor edx, edx
cmp dword [eax + 4], edx
mov dword [esp + 0x24], ebx
je 0x47bf4c
cmp dword [eax + 0xc], edx
lea ecx, [eax + 0xc]
jge 0x47bf24
cmp dword [esi - 8], edx
jge 0x47bf1c
push 0x80070057
call fcn.00407a47
mov dword [esi - 0xc], edx
mov word [esi], dx
jmp 0x47bf4c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bf3a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
xor edx, edx
cmp dword [ebx - 0xc], edx
mov esi, dword [ebx - 0x10]
lea eax, [ebx - 0x10]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
je 0x47bfa6
cmp dword [eax + 0xc], edx
lea ecx, [eax + 0xc]
jge 0x47bf7e
cmp dword [ebx - 8], edx
jge 0x47bf76
push 0x80070057
call fcn.00407a47
mov dword [ebx - 0xc], edx
mov word [ebx], dx
jmp 0x47bfa6
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bf94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x1c], edx
lea ebx, [esp + 0x14]
mov dword [esp + 0x38], edx
call fcn.00458f4d
test eax, eax
je 0x47c028
mov eax, ebx
call fcn.00459155
test eax, eax
je 0x47c028
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47bfee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c00e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.0047c160
test eax, eax
je 0x47c0a2
lea esi, [esp + 0x14]
call fcn.004590aa
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c06b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c08b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c0ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47c0ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4