Function at 0x4fead0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60bf9f
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x7f206c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x38], ebx
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov dword [ebx], 0x7a135c
mov dword [ebx + 4], esi
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x24], 0x7a135c
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov dword [ebx + 0x30], esi
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov eax, dword [ebp + 8]
cmp eax, 0x7a135c
je 0x4fee8c
push 0x7a135c
push eax
call fcn.0041c700
add esp, 8
test eax, eax
je 0x4fee89
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0x7a1024
call fcn.0040fc40
push 0x7a1024
push dword [ebp + 8]
mov ecx, eax
call fcn.0041f6b0
add esp, 8
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x4febb9
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 8]
call fcn.00523ef0
or esi, 1
mov dword [ebp - 0x14], esi
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
cmp eax, ecx
je 0x4febb3
push ecx
push eax
call fcn.0041c700
add esp, 8
test eax, eax
jne 0x4febb9
mov byte [ebp - 0xd], 1
jmp 0x4febbd
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0x14]
test al, 1
je 0x4febeb
mov ecx, dword [ebp - 0x24]
and eax, 0xfffffffe
add ecx, 0xfffffff8
mov dword [ebp - 0x14], eax
cmp ecx, 0x7a1354
je 0x4febeb
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4febeb
push ecx
call fcn.004a8172
add esp, 4
push 0x5c
lea ecx, [ebp + 8]
call fcn.00518740
inc eax
lea ecx, [ebp + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00526f80
cmp byte [ebp - 0xd], 0
jne 0x4fed84
mov eax, dword [ebp - 0x14]
or eax, 2
mov dword [ebp - 0x14], eax
push ecx
push 0
lea edx, [ebp - 0x20]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call fcn.004fcae0
mov esi, eax
push 0x7a1028
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0041d340
add esp, 0xc
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call fcn.00529ba0
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4fec64
mov eax, 1
lock xadd dword [ecx], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fec85
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fec85
push ecx
call fcn.004a8172
add esp, 4
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00529ba0
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4fecab
mov eax, 1
lock xadd dword [ecx], eax
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
or esi, 0xc
add ecx, 0xfffffff8
mov dword [ebp - 0x14], esi
cmp ecx, 0x7a1354
je 0x4fecd5
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fecd5
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x28]
mov dword [ebx], ecx
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4fecfa
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fecfa
push ecx
call fcn.004a8172
add esp, 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fed1b
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fed1b
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fed40
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fed40
push ecx
call fcn.004a8172
add esp, 4
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp + 8]
call fcn.00523ef0
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp + 8], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4feb82
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4feb82
push ecx
call fcn.004a8172
add esp, 4
jmp 0x4feb82
push ecx
mov ecx, esp
mov byte [ebp - 4], 0xb
push ecx
push 0
lea edx, [ebp - 0x20]
call fcn.004fcae0
add esp, 8
lea ecx, [ebp - 0x30]
mov edx, ebx
call fcn.00526850
mov edx, dword [ebx]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov dword [eax], edx
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fedcc
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fedcc
push ecx
call fcn.004a8172
add esp, 4
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fedf1
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fedf1
push ecx
call fcn.004a8172
add esp, 4
cmp dword [ebp - 0x34], 0
mov ecx, ebx
jne 0x4fee11
push 0
sub esp, 8
mov eax, esp
mov dword [eax], 0x7a1038
lea eax, [ebp - 0x34]
push eax
call fcn.005174a0
jmp 0x4fee29
call fcn.0040faa0
cmp eax, 0x2f
je 0x4fee52
push ebx
mov edx, 0x7a103c
lea ecx, [ebp - 0x34]
call fcn.005189d0
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fee52
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fee52
push ecx
call fcn.004a8172
add esp, 4
push ebx
mov edx, str.file:__
lea ecx, [ebp - 0x34]
call fcn.005189d0
mov ecx, dword [ebx]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff8
cmp ecx, 0x7a1354
je 0x4fee89
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4fee89
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x4feea7
lock xadd dword [eax], edi
test edi, edi
jne 0x4feea7
push eax
call fcn.004a8172
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4