Function at 0x5b6a0c
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0xcc
mov eax, 0x656134
call fcn.0062826d
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
push 0x680483
mov dword [ebp - 0xd4], edi
call fcn.00449380
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.005b938c
push eax
lea eax, [ebp - 0xa0]
push str.Software_
push eax
call fcn.005a0eb7
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x28]
push reloc.WS2_32.dll_accept
push eax
call fcn.005b88b5
add esp, 0x1c
lea ecx, [ebp - 0xa0]
call fcn.00449330
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 4
call fcn.00449330
cmp dword [ebp - 0x18], ebx
je 0x5b6ab2
lea eax, [ebp - 0x28]
push eax
call fcn.005b6d99
pop ecx
test al, al
je 0x5b6ab2
mov dword [edi], ebx
lea eax, [ebp - 0x28]
mov dword [edi + 0x10], ebx
mov ecx, edi
push eax
mov dword [edi + 0x14], ebx
call fcn.00449550
jmp 0x5b6d23
call fcn.005b90f2
push eax
call fcn.005b74c7
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005aa1d6
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5b6ae3
mov ecx, eax
call fcn.00449330
push esi
lea ecx, [ebp - 0x28]
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea eax, [ebp - 0x28]
push eax
call fcn.005b6d99
pop ecx
test al, al
jne 0x5b6a9a
call fcn.005b90f2
push eax
call fcn.005b75f5
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.005aa1d6
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5b6b2a
mov ecx, eax
call fcn.00449330
push esi
lea ecx, [ebp - 0x28]
call fcn.00449550
lea ecx, [ebp - 0x40]
call fcn.00449330
lea eax, [ebp - 0x28]
push eax
call fcn.005b6d99
pop ecx
test al, al
jne 0x5b6a9a
push 0x680483
lea ecx, [ebp - 0x40]
call fcn.00449380
mov byte [ebp - 4], 5
call fcn.005b938c
push eax
lea eax, [ebp - 0x70]
push str.SOFTWARE_
push eax
call fcn.005a0eb7
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x58]
push reloc.WS2_32.dll_bind
push eax
call fcn.005b88b5
mov esi, eax
add esp, 0x1c
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5b6b9c
mov ecx, eax
call fcn.00449330
push esi
lea ecx, [ebp - 0x28]
call fcn.00449550
lea ecx, [ebp - 0x58]
call fcn.00449330
lea ecx, [ebp - 0x70]
call fcn.00449330
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00449330
cmp dword [ebp - 0x18], 0
je 0x5b6bd0
lea eax, [ebp - 0x28]
push eax
call fcn.005b6d99
pop ecx
test al, al
jne 0x5b6a9a
push 0x208
push ebx
mov dword [ebp - 0xd4], 0x104
call fcn.0062ee12
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp - 0xd8], ebx
push 0
push 0x26
push ebx
push 0
mov byte [ebp - 4], 7
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5b6cdd
lea eax, [ebp - 0xd0]
push ebx
push eax
call fcn.005ba3de
push 0x6d70d4
push eax
lea eax, [ebp - 0xb8]
mov byte [ebp - 4], 8
push eax
call fcn.005a0e4e
mov esi, eax
mov byte [ebp - 4], 9
call fcn.005b8fa8
push eax
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.005a0e25
push 0x6d70d4
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 0xa
push eax
call fcn.005a0e4e
mov esi, eax
mov byte [ebp - 4], 0xb
call fcn.005b90f2
push eax
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.005a0e25
mov esi, eax
add esp, 0x38
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x5b6c86
mov ecx, eax
call fcn.00449330
push esi
lea ecx, [ebp - 0x28]
call fcn.00449550
lea ecx, [ebp - 0x70]
call fcn.00449330
lea ecx, [ebp - 0x58]
call fcn.00449330
lea ecx, [ebp - 0x40]
call fcn.00449330
lea ecx, [ebp - 0xb8]
call fcn.00449330
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00449330
lea eax, [ebp - 0x28]
push eax
call fcn.005b6d99
pop ecx
test al, al
je 0x5b6cdd
xor eax, eax
mov ecx, edi
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00449550
jmp 0x5b6d18
call fcn.005b73cc
mov esi, eax
test esi, esi
je 0x5b6d08
push 0x104
push ebx
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push edi
call fcn.005ba3de
pop ecx
pop ecx
jmp 0x5b6d18
xor eax, eax
mov dword [edi + 0x14], 0xf
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov byte [edi], al
test ebx, ebx
je 0x5b6d23
push ebx
call fcn.0062edf7
pop ecx
lea ecx, [ebp - 0x28]
call fcn.00449330
mov eax, edi
call fcn.0062821c
ret