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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8257
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
add ecx, 8
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00541110
mov edx, dword [ebp - 0x10]
add edx, 0x28
mov dword [ebp - 0x18], edx
push 0
mov ecx, dword [ebp - 0x18]
call fcn.00414110
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x34], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0x10]
movss xmm0, dword [0x5b5ee8]
movss dword [ecx + 0x3c], xmm0
mov edx, dword [ebp - 0x10]
movss xmm0, dword [0x5bd398]
movss dword [edx + 0x40], xmm0
mov eax, dword [ebp - 0x10]
movss xmm0, dword [0x5bd394]
movss dword [eax + 0x44], xmm0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x3c]
mov dword [ecx + 0x48], eax
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x4c], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00416260
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x78], 0
mov eax, dword [ebp - 0x10]
movsd xmm0, qword [0x5b1ff0]
movsd qword [eax + 0x80], xmm0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x88], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x8c], 0x1f4
mov ecx, dword [ebp - 0x10]
add ecx, 0x90
call fcn.00416840
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x98], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x9c], 1
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xa0], 2
mov eax, dword [ebp - 0x10]
add eax, 0xa4
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 0x1c]
call fcn.00414110
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
mov dword [ebp - 0x20], ecx
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00414110
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov dword [edx + 0xac], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x10]
mov dword [ecx + 0xb0], edx
mov eax, dword [ebp - 0x10]
mov dword [0x5fc8a4], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00414820
push eax
push 0x5bf56c
push 1
push 0
push 0x5bf57c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x54135c
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0041aa30
movzx ecx, al
test ecx, ecx
je 0x54136c
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0041a1b0
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0041afa0
test eax, eax
je 0x5413dc
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0xac], 4
jne 0x541393
mov dword [ebp - 0x14], 0x542e80
jmp 0x54139a
mov dword [ebp - 0x14], 0x542b40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.0041afa0
push eax
lea edx, [ebp - 0x34]
push edx
call dword [ebp - 0x2c]
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xa8
call fcn.00541590
lea ecx, [ebp - 0x34]
call fcn.004184f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc