Function at 0x46a2c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ae968
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d7334]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4dc148]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dc148
call edx
lea esi, [eax + 0x10]
mov eax, dword [0x4dc148]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dc148
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 0x46a36c
cmp dword [eax + 0xc], edx
lea ecx, [eax + 0xc]
jge 0x46a344
cmp dword [esi - 8], edx
jge 0x46a33c
push 0x80070057
call fcn.0040804a
mov dword [esi - 0xc], edx
mov word [esi], dx
jmp 0x46a36c
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a35a
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 0x46a3c6
cmp dword [eax + 0xc], edx
lea ecx, [eax + 0xc]
jge 0x46a39e
cmp dword [ebx - 8], edx
jge 0x46a396
push 0x80070057
call fcn.0040804a
mov dword [ebx - 0xc], edx
mov word [ebx], dx
jmp 0x46a3c6
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a3b4
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 ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x3c], edx
call fcn.0045430d
test eax, eax
je 0x46a44b
lea eax, [esp + 0x14]
call fcn.0045451f
test eax, eax
je 0x46a44b
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46a411
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 0x46a431
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.0046a580
test eax, eax
je 0x46a4c5
lea esi, [esp + 0x14]
call fcn.00454473
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 0x46a48e
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 0x46a4ae
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 0x46a4ed
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 0x46a50d
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