Function at 0x46afc0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x46afc9
xchg dword [ebp - 4], ecx
push ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404824
mov eax, dword [ebp - 8]
call fcn.00404824
mov eax, dword [ebp + 8]
call fcn.00404824
xor eax, eax
push ebp
push 0x46b2e0
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
push 0
call sub.ole32.dll_CoInitialize
xor eax, eax
push ebp
push 0x46b27c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [0x4747ec]
call fcn.00419164
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, 0x46b2f4
call fcn.004060dc
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov ecx, 0x46b304
call fcn.004060dc
mov eax, dword [ebp - 4]
call fcn.00404834
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x50]
mov dl, 1
mov eax, dword [0x41ad30]
call fcn.0041ae88
mov dword [ebp - 0x2c], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x2c]
call fcn.0041af68
xor eax, eax
push ebp
push 0x46b262
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x46b31c
mov eax, dword [ebp - 0x2c]
call fcn.0041b01c
test al, al
je 0x46b24c
cmp dword [ebp - 4], 0
je 0x46b0c2
cmp dword [ebp - 8], 0
je 0x46b0b5
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 8]
call fcn.00404460
jmp 0x46b0cf
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.00409810
jmp 0x46b0cf
lea eax, [ebp - 0x24]
mov edx, 0x46b368
call fcn.00404460
mov eax, dword [ebp - 0x24]
call fcn.00404834
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x30]
mov edx, 0x46b37c
mov eax, dword [ebp - 0x24]
call fcn.004095f0
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
call fcn.00404460
xor eax, eax
mov al, byte [ebp - 9]
cmp eax, 4
ja case.default.0x46b10a
jmp dword [eax*4 + 0x46b111]
lea ecx, [ebp - 0x20]
mov edx, 0x46b38c
mov eax, dword [ebp - 0x2c]
call fcn.0041b218
jmp case.default.0x46b10a
lea ecx, [ebp - 0x20]
mov edx, 0x46b39c
mov eax, dword [ebp - 0x2c]
call fcn.0041b218
jmp case.default.0x46b10a
lea ecx, [ebp - 0x20]
mov edx, 0x46b3b0
mov eax, dword [ebp - 0x2c]
call fcn.0041b218
jmp case.default.0x46b10a
lea ecx, [ebp - 0x20]
mov edx, 0x46b3c4
mov eax, dword [ebp - 0x2c]
call fcn.0041b218
jmp case.default.0x46b10a
lea ecx, [ebp - 0x34]
mov edx, 0x46b3d4
mov eax, dword [ebp - 0x2c]
call fcn.0041b218
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x20]
mov ecx, 0x46b3e4
call fcn.004046bc
cmp dword [ebp - 0x20], 0
je 0x46b248
cmp dword [ebp + 8], 0
je 0x46b1f7
push dword [ebp - 0x20]
push 0x46b418
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404730
push dword [ebp - 0x1c]
push 0x46b418
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00404730
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x28]
call fcn.00404b50
mov eax, dword [ebp - 0x1c]
call fcn.00409a5c
test al, al
jne 0x46b21a
mov byte [ebp - 0xa], 0
call fcn.00403db4
call fcn.00403db4
jmp 0x46b283
push dword [ebp - 0x20]
push 0x46b418
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404730
mov edx, dword [ebp - 0x3c]
lea eax, [ebp - 0x28]
call fcn.00404b50
push 0xffffffffffffffff
mov eax, dword [ebp - 0x28]
call fcn.00404b60
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
test eax, eax
je 0x46b242
mov byte [ebp - 0xa], 0
call fcn.00403db4
call fcn.00403db4
jmp 0x46b283
mov byte [ebp - 0xa], 1
jmp 0x46b24c
mov byte [ebp - 0xa], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b269
mov eax, dword [ebp - 0x2c]
call fcn.00403578
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b2e7
lea eax, [ebp - 0x3c]
mov edx, 4
call fcn.004043ec
lea eax, [ebp - 0x28]
call fcn.00404a20
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004043ec
lea eax, [ebp - 0x18]
call fcn.004060a8
lea eax, [ebp - 0x14]
call fcn.004060a8
lea eax, [ebp - 0x10]
call fcn.004060a8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004043ec
lea eax, [ebp + 8]
call fcn.004043c8
ret