Function at 0x4465d0
Capabilities:
Check if file exists
Read .ini file
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481a31
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x4a5018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, 0x80004005
mov dword [ebp - 0x2a8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2bc], 0
mov esi, dword [0x4aaa7c]
mov dword [ebp - 0x2c0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2b4], 0
test esi, esi
je 0x446661
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2a0]
mov eax, dword [ecx]
push edx
call dword [eax + 0x50]
push 0
lea ecx, [ebp - 0x2b4]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edx, dword [ebp - 0x2a0]
or ebx, 0xffffffff
mov dword [ebp - 0x2a4], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4466cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4466f9
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4466f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4466f9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [ebp - 0x2a4], 0
jne 0x446fcb
mov esi, dword [ebp - 0x2a8]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446711
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x4946d4
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x446748
mov edi, 0x80004005
jmp 0x446fbf
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004573c0
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x298]
add esp, 0xc
push dword [ebp - 0x29c]
push esi
push eax
call edi
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446780
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push 0x492e10
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44673e
push 0x208
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.004573c0
add esp, 0xc
lea eax, [ebp - 0x298]
push dword [ebp - 0x2b8]
push esi
push eax
call edi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x446feb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2a4], eax
push str.Laun
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], 1
call fcn.004067d0
test al, al
jne 0x446822
push 4
push str.Laun
lea ecx, [ebp - 0x2a4]
call fcn.004069d0
mov dword [ebp - 4], 3
mov esi, dword [ebp - 0x2a4]
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov dword [ebp - 0x2b8], eax
test ecx, ecx
je 0x44684a
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x446860
call fcn.00402880
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x446ff5
mov eax, dword [ecx]
call dword [eax + 0xc]
push 4
push 0x497d40
push dword [esi - 0xc]
add eax, 0x10
mov dword [ebp - 0x2bc], 1
mov edx, esi
mov dword [ebp - 0x2a0], eax
lea ecx, [ebp - 0x2a0]
call fcn.0040ebb0
lea ecx, [ebp - 0x298]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4468a0
mov esi, dword [ebp - 0x2a0]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push esi
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
mov byte [ebp - 4], 2
sbb edi, edi
add esi, 0xfffffff0
and edi, 0x80004005
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4468f6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
mov edx, dword [ebp - 0x2b8]
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446917
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
js 0x446fbf
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.004573c0
push 0
call fcn.0046237f
push edx
push eax
lea eax, [ebp - 0x90]
push 0x4948c4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x20
mov dword [ebp - 0x2a8], 0
lea eax, [ebp - 0x2a8]
push eax
call fcn.004477c0
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x2a8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [eax - 0xc], 0
je 0x446bbb
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0
call fcn.00419f20
mov byte [ebp - 4], 5
push dword [ebp - 0x2a4]
call esi
test eax, eax
je 0x446aeb
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x2bc], eax
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x446fff
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x29c], eax
push str.InsTM
lea ecx, [ebp - 0x29c]
mov byte [ebp - 4], 6
call fcn.004067d0
test al, al
jne 0x4469ff
push 5
push str.InsTM
lea ecx, [ebp - 0x29c]
call fcn.004069d0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2a4]
lea ecx, [ecx - 0x10]
call fcn.00406910
lea edi, [eax + 0x10]
mov dword [ebp - 0x2bc], edi
push edi
call esi
test eax, eax
je 0x446aaf
mov esi, dword [0x4aaa7c]
test esi, esi
je 0x446a39
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x2b8]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
push edi
push 0
push dword [ebp - 0x29c]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x2b8]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446a8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x446aaf
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x446aaf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x446aaf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 8
lea edx, [edi - 0x10]
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446aca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446aeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x2a8]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446af6
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x2b4]
call edi
push dword [ebp - 0x2a8]
call fcn.0045f41d
cdq
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x2a0], 0
call fcn.00422190
mov eax, dword [ebp - 0x2a0]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446b60
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.InstallDate
push dword [ebp - 0x2b4]
call edi
mov edx, dword [ebp - 0x2a0]
neg eax
sbb edi, edi
add edx, 0xfffffff0
and edi, 0x80004005
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446bac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x2a4]
jmp 0x446c6a
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446bc4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x90]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x2b4]
call edi
lea eax, [ebp - 0x90]
push eax
call fcn.0045f41d
cdq
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], eax
lea eax, [ebp - 0x2a0]
push eax
mov dword [ebp - 0x2ac], edx
mov dword [ebp - 0x2a0], 0
call fcn.00422190
mov eax, dword [ebp - 0x2a0]
mov edx, eax
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x446c35
sub edx, esi
sar edx, 1
lea ecx, [edx + edx]
push ecx
push eax
push 1
push 0
push str.InstallDate
push dword [ebp - 0x2b4]
call edi
mov edx, dword [ebp - 0x2a0]
neg eax
sbb edi, edi
and edi, 0x80004005
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446c81
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x29c]
mov dword [ebp - 0x29c], 0
call fcn.00419f20
push dword [ebp - 0x29c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446cd0
mov byte [ebp - 4], 4
mov eax, ebx
mov edx, dword [ebp - 0x29c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446da3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x446da3
mov esi, dword [0x4aaa7c]
test esi, esi
je 0x446ce4
lock inc dword [esi + 4]
mov esi, dword [0x4aaa7c]
mov ecx, dword [0x4aaa78]
mov dword [ebp - 0x2d0], ecx
mov dword [ebp - 0x2cc], esi
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x2bc]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10c]
push dword [ebp - 0x29c]
push 1
push str.ActFlag
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, dword [ebp - 0x2bc]
mov dword [ebp - 0x2b8], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446d41
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x446d64
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x446d64
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x446d64
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
xor eax, eax
cmp dword [ebp - 0x2b8], eax
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x29c]
setne al
mov dword [ebp - 0x2b8], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x446d96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2b8], 0
je 0x446f17
mov esi, dword [ebp - 0x2c0]
test esi, esi
je 0x446e62
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446db6
sub ecx, edx
sar ecx, 1
je 0x446e62
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446dd0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.ActDate
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
push ecx
sbb edi, edi
mov esi, esp
and edi, 0x80004005
mov dword [ebp - 0x2b8], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447009
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push dword [ebp - 0x2c0]
mov ecx, esi
mov byte [ebp - 4], 0xd
call fcn.004067d0
test al, al
jne 0x446f0e
mov ecx, dword [ebp - 0x2c0]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446e47
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 0x2c0]
jmp 0x446f07
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446e70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x90]
push eax
push 1
push 0
push str.ActDate
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
push ecx
sbb edi, edi
mov esi, esp
and edi, 0x80004005
mov dword [ebp - 0x2b8], esi
call fcn.00402880
mov ecx, eax
test ecx, ecx
je 0x447009
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.004067d0
test al, al
jne 0x446f0e
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446ef0
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004069d0
mov byte [ebp - 4], 4
call fcn.00447bb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2a8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x446f39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
js 0x446fbf
mov esi, dword [ebp - 0x2c4]
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446f50
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x497d70
push dword [ebp - 0x2b4]
call ebx
test eax, eax
jne 0x44673e
mov esi, dword [ebp - 0x2c8]
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x446f90
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x4949e4
push dword [ebp - 0x2b4]
call ebx
neg eax
sbb edi, edi
and edi, 0x80004005
push dword [ebp - 0x2b4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00454d47
mov esp, ebp
pop ebp
ret 0x18
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
push 0x80004005
call fcn.00402980
int3