Function at 0x45b994
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x45b99d
xchg dword [ebp - 4], ecx
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ea4
mov eax, dword [ebp - 8]
call fcn.00403ea4
mov eax, dword [ebp + 8]
call fcn.00403ea4
xor eax, eax
push ebp
push 0x45bcb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
push 0
call sub.ole32.dll_CoInitialize
xor eax, eax
push ebp
push 0x45bc4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4637dc]
call fcn.00415de0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x45bcc4
call fcn.00405424
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x45bcd4
call fcn.00405424
mov eax, dword [ebp - 4]
call fcn.00403eb4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x4177b0]
call fcn.004178b0
mov dword [ebp - 0x2c], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x2c]
call fcn.00417950
xor eax, eax
push ebp
push 0x45bc34
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x45bcec
mov eax, dword [ebp - 0x2c]
call fcn.004179b4
test al, al
je 0x45bc1e
cmp dword [ebp - 4], 0
je 0x45ba95
cmp dword [ebp - 8], 0
je 0x45ba88
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00403b08
jmp 0x45baa2
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004087c0
jmp 0x45baa2
lea eax, [ebp - 0x24]
mov edx, 0x45bd38
call fcn.00403b08
mov eax, dword [ebp - 0x24]
call fcn.00403eb4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x30]
mov edx, 0x45bd4c
mov eax, dword [ebp - 0x24]
call fcn.00408608
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00403b08
xor eax, eax
mov al, bl
cmp eax, 4
ja case.default.0x45badc
jmp dword [eax*4 + 0x45bae3]
lea ecx, [ebp - 0x20]
mov edx, 0x45bd5c
mov eax, dword [ebp - 0x2c]
call fcn.00417b7c
jmp case.default.0x45badc
lea ecx, [ebp - 0x20]
mov edx, 0x45bd6c
mov eax, dword [ebp - 0x2c]
call fcn.00417b7c
jmp case.default.0x45badc
lea ecx, [ebp - 0x20]
mov edx, 0x45bd80
mov eax, dword [ebp - 0x2c]
call fcn.00417b7c
jmp case.default.0x45badc
lea ecx, [ebp - 0x20]
mov edx, 0x45bd94
mov eax, dword [ebp - 0x2c]
call fcn.00417b7c
jmp case.default.0x45badc
lea ecx, [ebp - 0x34]
mov edx, 0x45bda4
mov eax, dword [ebp - 0x2c]
call fcn.00417b7c
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov ecx, 0x45bdb4
call fcn.00403d3c
cmp dword [ebp - 0x20], 0
je 0x45bc1a
cmp dword [ebp + 8], 0
je 0x45bbc9
push dword [ebp - 0x20]
push 0x45bde8
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403db0
push dword [ebp - 0x1c]
push 0x45bde8
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00403db0
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
call fcn.004041a8
mov eax, dword [ebp - 0x1c]
call fcn.004089d8
test al, al
jne 0x45bbec
mov byte [ebp - 9], 0
call fcn.0040355c
call fcn.0040355c
jmp 0x45bc55
push dword [ebp - 0x20]
push 0x45bde8
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00403db0
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
call fcn.004041a8
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.004041b8
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x45bc14
mov byte [ebp - 9], 0
call fcn.0040355c
call fcn.0040355c
jmp 0x45bc55
mov byte [ebp - 9], 1
jmp 0x45bc1e
mov byte [ebp - 9], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bc3b
mov eax, dword [ebp - 0x2c]
call fcn.00402d7c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bcb9
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.00403a94
lea eax, [ebp - 0x28]
call fcn.004040a0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00403a94
lea eax, [ebp - 0x18]
call fcn.004053f0
lea eax, [ebp - 0x14]
call fcn.004053f0
lea eax, [ebp - 0x10]
call fcn.004053f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403a94
lea eax, [ebp + 8]
call fcn.00403a70
ret