Function at 0x4a0c60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b53e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6bd6f8]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov esi, ecx
mov edi, dword [esp + 0x2c]
mov eax, dword [0x6d50f8]
mov edx, dword [eax + 0xc]
mov ecx, 0x6d50f8
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x24], 1
lea eax, [edi + 8]
push eax
call fcn.004a08c0
mov byte [esp + 0x24], 2
xor ebx, ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
mov byte [esp + 0x24], 3
mov ecx, dword [ebp]
cmp dword [ecx - 0xc], ebx
jne 0x4a0dab
lea edx, [esp + 0x18]
push edx
call fcn.0046f4e0
mov byte [esp + 0x28], 4
lea ecx, [esp + 0x18]
push 0x68a9a4
push ecx
mov ecx, eax
call fcn.0040fc0a
mov byte [esp + 0x30], 5
lea edx, [esp + 0x3c]
push esi
push edx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x14
mov byte [esp + 0x24], 6
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4a0d5b
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4a0d4f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a0d4f
call fcn.0040b201
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4a0d48
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [edi], ebx
jmp 0x4a0d5b
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov eax, edi
call fcn.0040b13c
mov byte [esp + 0x24], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0d82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0da6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4a0e4a
lea ecx, [esp + 0x18]
push 0x68a9a4
push ecx
mov ecx, ebp
call fcn.0040fc0a
mov byte [esp + 0x2c], 0xa
lea edx, [esp + 0x38]
push esi
push edx
mov ecx, eax
call fcn.0040fc0a
add esp, 0x10
mov byte [esp + 0x24], 0xb
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4a0e23
cmp dword [esi + 0xc], ebx
lea ebp, [esi + 0xc]
jl 0x4a0e17
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4a0e17
call fcn.0040b201
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [ebp], eax
dec eax
test eax, eax
jg 0x4a0e10
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [edi], ebx
jmp 0x4a0e23
mov eax, dword [ecx - 0xc]
push eax
push ecx
mov eax, edi
call fcn.0040b13c
mov byte [esp + 0x24], 0xa
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
or esi, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0e4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov edx, esi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4a0e6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x24], esi
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8