Function at 0x454ca0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x545535
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x598c90]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
xor esi, esi
mov dword [esp + 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
call fcn.004d54d0
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x68], esi
mov eax, dword [ebx + 0xc]
cmp eax, esi
jne 0x454db3
mov eax, ebx
call fcn.00436400
cmp eax, esi
je 0x454d72
mov edx, dword [eax]
mov edx, dword [edx + 0x4c]
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
call fcn.004d54d0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
push 1
lea esi, [esp + 0x10]
lea ecx, [esp + 0x18]
call fcn.004cdc70
push eax
lea edx, [esp + 0x3c]
push edx
push ecx
call fcn.00436750
add esp, 4
push eax
call fcn.004369d0
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x30], edx
jmp 0x454dc1
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x18]
lea eax, [esp + 0x38]
call fcn.004cf2e0
mov edx, dword [eax]
mov esi, dword [edi]
mov dword [esp + 0x14], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x20], edx
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x18]
push edx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x14]
push eax
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebx + 0x10]
lea eax, [esp + 0x4c]
call fcn.004cf2e0
mov edx, dword [esi + 4]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x38]
call fcn.004cf2a0
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x18], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x10]
push ebx
mov ecx, edi
call edx
call fcn.004d54d0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18