Function at 0x4e4140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x8636d0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], 0xa
mov edi, dword [esp + 0x4c]
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
mov dword [esp + 0x4c], esi
call fcn.00529880
push esi
push 0x20
lea ecx, [esp + 0x2c]
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x58], 1
call fcn.004e0f30
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e41d5
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
mov byte [esp + 0x44], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e41fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004e0260
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x44], 2
mov byte [esp + 0x17], 1
cmp ebp, esi
je 0x4e433f
mov ebx, dword [esp + 0x18]
jmp 0x4e4224
xor esi, esi
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], esp
mov edi, esp
call eax
cmp dword [ebx - 4], esi
lea ecx, [ebx - 4]
jl 0x4e425f
cmp eax, dword [ebx - 0x10]
jne 0x4e425f
lea esi, [ebx - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4e4297
mov ecx, dword [ebx - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4e4385
mov eax, dword [ebx - 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebx - 0xc]
lea ecx, [eax + eax + 2]
push ecx
push ebx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0080217f
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
xor eax, eax
test ebp, ebp
setne al
mov byte [esp + 0x54], 3
test eax, eax
je 0x4e438a
mov esi, dword [ebp + 8]
mov ebp, dword [ebp]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x30], esp
mov dword [esp + 0x30], esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x4e42e5
cmp eax, dword [esi - 0x10]
jne 0x4e42e5
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4e431d
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x4e4385
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.0080217f
add esp, 0x10
mov ecx, dword [esp + 0x30]
add edi, 0x10
mov dword [ecx], edi
mov byte [esp + 0x58], 2
call fcn.004e3840
and byte [esp + 0x2b], al
add esp, 0x14
test ebp, ebp
jne 0x4e4222
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e4364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
call fcn.004afe70
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
call fcn.004a8580
push 0x80004005
call fcn.004a8210
int3