Function at 0x549fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5abe32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x18], esi
mov al, byte [ebx + 0xc]
mov dword [ebp - 4], 0
mov byte [esi + 4], al
mov eax, dword [ebx + 0x10]
mov dword [esi], 0x5d31e0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
movsd xmm0, qword [ebx + 0x18]
lea eax, [esi + 0x28]
mov dword [esi + 0x10], 0x20
mov dword [esi + 0x14], 0x20
mov byte [esi + 0x18], 1
movsd qword [esi + 0x20], xmm0
mov dword [eax], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov ecx, dword [ebx + 8]
lea edi, [eax + 0x4c]
xorps xmm0, xmm0
mov word [eax + 0x28], 0
mov dword [eax + 0x2c], 0x3e8
movsd qword [eax + 0x30], xmm0
mov dword [eax + 0x38], 0x3f800000
movups xmm0, xmmword [ecx]
movups xmmword [eax + 0x3c], xmm0
mov byte [edi + 4], 0
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov dword [eax + 0x5c], 0
mov dword [eax + 0x60], 0
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 7
lea ecx, [eax + 0x7c]
mov dword [eax + 0x78], 0
push 0
mov dword [ecx], 1
mov byte [ecx + 4], 0
call fcn.004a8490
lea eax, [esi + 0x28]
mov byte [ebp - 4], 8
cmp dword [eax], 0
jne 0x54a107
cmp byte [edi + 4], 0
je 0x54a0e5
mov eax, dword [edi]
mov dword [edi], 0
test eax, eax
je 0x54a0e1
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [edi + 4], 0
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
sub esp, 8
mov byte [ebp - 4], 9
mov ecx, edi
call fcn.0058d310
mov byte [ebp - 4], 8
lea eax, [esi + 0x28]
mov byte [edi + 4], 1
mov ecx, eax
call fcn.00548fb0
mov dword [esi + 0xb0], 0
lea eax, [esi + 0xe0]
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov dword [esi + 0xc0], 0
mov dword [esi + 0xc4], 0
push eax
mov word [esi + 0xc8], 0x100
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov dword [esi + 0xdc], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0xf8], 0
mov dword [esi + 0xfc], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x104], 0
lea edi, [esi + 0x10c]
mov byte [esi + 0x108], 0
mov byte [edi + 0xc], 0
mov byte [ebp - 4], 0xd
movsd xmm0, qword [esi + 0x20]
mulsd xmm0, qword [0x5d5ef8]
call fcn.0058c240
mov edx, dword [ebx + 8]
mov dword [esi + 0x54], eax
cmp dword [edx], 0
jne 0x54a26e
mov eax, dword [edx + 4]
cmp eax, dword [0x5bbe1c]
jne 0x54a26e
mov eax, dword [edx + 8]
cmp eax, dword [0x5bbe20]
jne 0x54a26e
mov eax, dword [edx + 0xc]
cmp eax, dword [0x5bbe24]
jne 0x54a26e
cmp byte [esi + 0x78], 0
je 0x54a215
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x14], eax
jmp 0x54a21c
mov dword [ebp - 0x14], 0
cmp byte [edi + 0xc], 0
je 0x54a260
mov byte [ebp - 4], 0xe
cmp byte [edi + 8], 0
je 0x54a237
mov ecx, dword [edi]
push dword [edi + 4]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov byte [ebp - 4], 0xf
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x54a248
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0x10
mov ecx, dword [edi]
test ecx, ecx
je 0x54a258
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [ebp - 4], 0xd
mov byte [edi + 0xc], 0
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00546550
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x18