Function at 0x42d840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494018
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x38]
xor esi, esi
mov eax, ebp
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], esi
call fcn.0042fbc0
test eax, eax
jbe 0x42da16
mov dword [esp + 0x14], esi
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x42d8dd
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x42d8e2
call fcn.0045f752
mov esi, dword [ebp + 4]
add esi, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov ecx, dword [esi]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42d93f
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42d932
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42d932
call fcn.00401ec0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42d925
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x38]
jmp 0x42d93f
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00401f30
mov ecx, dword [esi + 8]
mov edi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42d996
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42d989
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42d989
call fcn.00401ec0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42d97c
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x38]
jmp 0x42d996
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x24]
call fcn.00401f30
mov esi, dword [esi + 0xc]
mov edi, dword [esp + 0x24]
lea eax, [esi - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42d9e9
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42d9dc
mov ecx, dword [eax]
cmp ecx, dword [edi]
jne 0x42d9dc
call fcn.00401ec0
mov esi, eax
or edx, 0xffffffff
lock xadd dword [ebx], edx
dec edx
test edx, edx
jg 0x42d9d3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
add esi, 0x10
mov dword [esp + 0x24], esi
jmp 0x42d9e9
mov ebx, dword [esi - 0xc]
push esi
lea eax, [esp + 0x28]
call fcn.00401f30
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x1c]
push eax
call fcn.0042fc60
mov esi, dword [esp + 0x18]
add dword [esp + 0x14], 0x10
add esi, 1
mov eax, ebp
mov dword [esp + 0x18], esi
call fcn.0042fbc0
cmp esi, eax
jb 0x42d8ca
mov dword [esp + 0x30], 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 0x42da3e
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 0x42da5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8