Function at 0x408e30
Capabilities:
Get common file path
Get startup folder
Set registry value

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 0x5f7293
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x12b8
call fcn.00452110
mov eax, dword [0x67c374]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x4e8]
mov dword [ebp - 0x12b4], 0
push 0xa
push str.client.exe
mov ecx, edi
mov dword [ebp - 0x12bc], edi
call fcn.00405df0
lea edx, [esi + 0x4b8]
push 0x664fc4
lea ecx, [ebp - 0x1290]
mov dword [ebp - 0x12c0], edx
call fcn.0040c9b0
add esp, 4
push edi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0040d190
mov dword [ebp - 0x1298], 0
xor ecx, ecx
mov dword [ebp - 0x1294], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x12a8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1298], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x127c]
cmp edx, 8
jb 0x408f4b
mov ecx, dword [ebp - 0x1290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x408f41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095c0
push edx
push ecx
call fcn.004514dd
add esp, 8
xor eax, eax
mov dword [ebp - 0x1280], 0
mov word [ebp - 0x1290], ax
lea eax, [ebp - 0x1278]
push eax
mov dword [ebp - 0x127c], 7
call fcn.00405980
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1264]
mov eax, edx
mov ecx, dword [ebp - 0x1268]
sub eax, ecx
cmp eax, 1
jb 0x408fc1
cmp edx, 8
lea esi, [ebp - 0x1278]
push 2
cmovae esi, dword [ebp - 0x1278]
lea edi, [ecx + 1]
push 0x664fc4
mov dword [ebp - 0x1268], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x408fe2
push 1
push 0x664fc4
mov byte [ebp - 0x12b0], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b0]
push 1
call fcn.0040cdf0
mov edx, dword [ebp - 0x1264]
mov eax, edx
mov ecx, dword [ebp - 0x1268]
sub eax, ecx
cmp eax, 2
jb 0x40902b
cmp edx, 8
lea esi, [ebp - 0x1278]
push 4
cmovae esi, dword [ebp - 0x1278]
lea edi, [ecx + 2]
push 0x66527c
mov dword [ebp - 0x1268], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40904c
push 2
push 0x66527c
mov byte [ebp - 0x12b0], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b0]
push 2
call fcn.0040cdf0
mov edx, dword [ebp - 0x1264]
mov eax, edx
mov ecx, dword [ebp - 0x1268]
sub eax, ecx
cmp eax, 4
jb 0x409095
cmp edx, 8
lea esi, [ebp - 0x1278]
push 8
cmovae esi, dword [ebp - 0x1278]
lea edi, [ecx + 4]
push str..lnk
mov dword [ebp - 0x1268], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4090b6
push 4
push str..lnk
mov byte [ebp - 0x12b0], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b0]
push 4
call fcn.0040cdf0
cmp dword [ebp - 0x1264], 8
lea ecx, [ebp - 0x1278]
lea eax, [ebp - 0x12a8]
cmovae ecx, dword [ebp - 0x1278]
cmp dword [ebp - 0x1294], 8
push ecx
cmovae eax, dword [ebp - 0x12a8]
push ecx
push eax
call fcn.004056c0
mov byte [ebp - 4], 4
xor eax, eax
mov word [ebp - 0x1290], ax
xor edi, edi
lea eax, [ebp - 0x12b0]
mov dword [ebp - 0x1280], edi
push eax
push 0xb
mov esi, 7
mov dword [ebp - 0x12b4], 5
push edi
mov dword [ebp - 0x127c], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x40918f
push 0x410
push eax
lea eax, [ebp - 0x630]
push eax
call fcn.005c8440
add esp, 0xc
lea eax, [ebp - 0x630]
push eax
push dword [ebp - 0x12b0]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push dword [ebp - 0x12b0]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x630]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409161
sub ecx, edx
lea eax, [ebp - 0x630]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1290]
call fcn.00405df0
mov esi, dword [ebp - 0x127c]
mov edi, dword [ebp - 0x1280]
lea ecx, [ebp - 0x1278]
call fcn.00405fa0
movups xmm0, xmmword [ebp - 0x1290]
sub esi, edi
movups xmmword [ebp - 0x1278], xmm0
movq xmm0, qword [ebp - 0x1280]
movq qword [ebp - 0x1268], xmm0
mov byte [ebp - 4], 3
cmp esi, 0xa
jb 0x409201
mov eax, dword [ebp - 0x1280]
lea esi, [ebp - 0x1278]
add edi, 0xa
cmp dword [ebp - 0x1264], 8
push 0x14
cmovae esi, dword [ebp - 0x1278]
push str.Programs_
mov dword [ebp - 0x1268], edi
lea eax, [esi + eax*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x409222
push 0xa
push str.Programs_
mov byte [ebp - 0x12b4], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b4]
push 0xa
call fcn.0040cdf0
mov edx, dword [ebp - 0x1264]
mov eax, edx
mov ecx, dword [ebp - 0x1268]
sub eax, ecx
cmp eax, 2
jb 0x40926b
cmp edx, 8
lea esi, [ebp - 0x1278]
push 4
cmovae esi, dword [ebp - 0x1278]
lea edi, [ecx + 2]
push 0x66527c
mov dword [ebp - 0x1268], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x40928c
push 2
push 0x66527c
mov byte [ebp - 0x12b4], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b4]
push 2
call fcn.0040cdf0
mov edx, dword [ebp - 0x1264]
mov eax, edx
mov ecx, dword [ebp - 0x1268]
sub eax, ecx
cmp eax, 4
jb 0x4092d5
cmp edx, 8
lea esi, [ebp - 0x1278]
push 8
cmovae esi, dword [ebp - 0x1278]
lea edi, [ecx + 4]
push str..lnk
mov dword [ebp - 0x1268], edi
lea eax, [esi + ecx*2]
push eax
call fcn.005c7ec0
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x4092f6
push 4
push str..lnk
mov byte [ebp - 0x12b4], 0
lea ecx, [ebp - 0x1278]
push dword [ebp - 0x12b4]
push 4
call fcn.0040cdf0
cmp dword [ebp - 0x1264], 8
lea ecx, [ebp - 0x1278]
lea eax, [ebp - 0x12a8]
cmovae ecx, dword [ebp - 0x1278]
cmp dword [ebp - 0x1294], 8
push ecx
cmovae eax, dword [ebp - 0x12a8]
push ecx
push eax
call fcn.004056c0
mov ecx, dword [ebp - 0x12bc]
cmp dword [ecx + 0x14], 8
jb 0x409334
mov ecx, dword [ecx]
mov esi, dword [ebp - 0x12c0]
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x409344
mov eax, dword [esi]
push ecx
push eax
lea eax, [ebp - 0xa40]
push 0x664fe8
push eax
call fcn.0040dd20
add esp, 0x10
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x409364
mov eax, dword [esi]
push eax
lea eax, [ebp - 0xe50]
push 0x6652b4
push eax
call fcn.0040dd20
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x409381
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x1260]
push str._sUninstall.exe
push eax
call fcn.0040dd20
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x208
push 0
push eax
call fcn.005c8440
add esp, 0xc
lea eax, [ebp - 0x220]
push str.Zeus
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_s
push eax
call fcn.0040dd20
add esp, 0xc
lea eax, [ebp - 0x12c4]
push eax
lea eax, [ebp - 0x12b8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp - 0x220]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4094fc
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0xa40]
push eax
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xa40]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x12b8]
call edi
test eax, eax
jne 0x4094fc
push 0x66527c
call esi
lea eax, [eax*2 + 2]
push eax
push 0x66527c
push 1
push 0
push str.DisplayName
push dword [ebp - 0x12b8]
call edi
test eax, eax
jne 0x4094fc
lea eax, [ebp - 0xe50]
push eax
call esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0xe50]
push eax
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x12b8]
call edi
test eax, eax
jne 0x4094fc
push 0x665284
call esi
lea eax, [eax*2 + 2]
push eax
push 0x665284
push 1
push 0
push str.Publisher
push dword [ebp - 0x12b8]
call edi
test eax, eax
jne 0x4094fc
lea eax, [ebp - 0x1260]
push eax
call esi
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x1260]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x12b8]
call edi
test eax, eax
jne 0x4094fc
push dword [ebp - 0x12b8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 0x12a9], 1
jmp 0x409503
mov byte [ebp - 0x12a9], 0
mov edx, dword [ebp - 0x1264]
cmp edx, 8
jb 0x409543
mov ecx, dword [ebp - 0x1278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095c5
push edx
push ecx
call fcn.004514dd
add esp, 8
mov edx, dword [ebp - 0x1294]
xor eax, eax
mov dword [ebp - 0x1268], 0
mov dword [ebp - 0x1264], 7
mov word [ebp - 0x1278], ax
cmp edx, 8
jb 0x40959c
mov ecx, dword [ebp - 0x12a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409592
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4095ca
push edx
push ecx
call fcn.004514dd
add esp, 8
mov al, byte [ebp - 0x12a9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004514cc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.005cbcb9
call fcn.005cbcb9
call fcn.005cbcb9
int3