Function at 0x54d0f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d63a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x28]
call fcn.00548cc4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
add ecx, 0xc
call fcn.0054e7b4
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0x6b0704
mov edx, dword [ebp - 0x28]
mov dword [edx + 0xc], 0x6b06e8
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x20]
mov dword [ecx + 0x20], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp - 0x28]
mov ax, word [ebp + 0x28]
mov word [edx + 0x28], ax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x34]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x3c]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x30]
push eax
mov ecx, dword [ebp + 0x2c]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0x34
call fcn.0054cd24
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x28]
add ecx, 0x48
call fcn.0054e354
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x4c], 0x80004004
fld qword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
lea ecx, [ebp - 0x1c]
call fcn.0054e684
lea ecx, [ebp - 0x1c]
call fcn.0054e6b4
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], edx
lea edx, [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x28]
call fcn.0054e764
push eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x14]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x14]
mov ecx, dword [ecx]
push eax
call dword [ecx]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x54d210
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x20]
mov dword [edx], eax
jmp 0x54d29c
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp - 0x28]
add eax, 0x48
push eax
call fcn.0054a7f4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x54d247
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x20]
mov dword [ecx], edx
jmp 0x54d29c
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
call dword [ecx + 8]
movsx eax, word [ebp + 0x28]
cmp eax, 4
jne 0x54d27c
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x40], 1
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x44], 0xfffffffd
mov eax, dword [ebp - 0x28]
add eax, 0x44
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
call dword [edx + 8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jge 0x54d29c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x38