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

Disassembly:
push 0xffffffffffffffff
push 0x574939
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov bp, word [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x59fa64]
mov ecx, dword [0x59fa68]
mov edx, dword [0x5e736c]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, 0x5e736c
mov dword [esp + 0x18], esi
call eax
add eax, 0x10
mov dword [esi], eax
cmp bp, bx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], 1
jne 0x4acca9
cmp ax, bx
je 0x4ace4a
test al, 2
je 0x4acd1f
push ebx
push 0x11
lea ecx, [esp + 0x18]
push ecx
call fcn.004ace70
mov dword [esp + 0x30], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00410240
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4accf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4acd00
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.00410240
mov eax, dword [esp + 0x3c]
test al, 1
je 0x4acd8f
push ebx
push 0x10
lea edx, [esp + 0x18]
push edx
call fcn.004ace70
mov dword [esp + 0x30], 2
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00410240
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4acd69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4acd70
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.00410240
mov eax, dword [esp + 0x3c]
test al, 4
je 0x4acdff
push ebx
push 0x12
lea edx, [esp + 0x18]
push edx
call fcn.004ace70
mov dword [esp + 0x30], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00410240
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4acdd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x1c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4acde0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.00410240
mov eax, dword [esp + 0x3c]
and eax, 8
push eax
movzx edx, bp
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004ace70
mov dword [esp + 0x30], 4
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00410240
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ace4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00569ed6
add esp, 0x28
ret 8