Function at 0x958780
Capabilities:
Check os version
Persist via run registry key

Disassembly:
sub esp, 0x844
mov eax, dword [0xb196ec]
xor eax, esp
mov dword [esp + 0x840], eax
cmp dword [0xbfc9d0], 0
push ebp
mov ebp, dword [esp + 0x84c]
push esi
push edi
mov esi, ecx
mov edi, edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
jne 0x9587d7
mov dword [0xbfc9d0], 1
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
js 0x9587d7
cmp al, 6
jb 0x9587d7
mov dword [0xbfc9d4], 1
jmp 0x9587e4
cmp dword [0xbfc9d4], 0
je 0x958a62
cmp dword [0xbfc604], 0
jne 0x958a09
cmp dword [esp + 0x85c], 0
jne 0x958a09
cmp dword [0xbd85e4], 0
jne 0x958a09
push 0x103
lea eax, [esp + 0x23d]
push 0
push eax
mov byte [esp + 0x244], 0
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x345]
push 0
push ecx
mov byte [esp + 0x34c], 0
call fcn.00a7ffb0
add esp, 0xc
push 0x103
lea edx, [esp + 0x135]
push 0
mov edi, 0x104
push edx
mov dword [esp + 0x20], edi
mov byte [esp + 0x13c], 0
call fcn.00a7ffb0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0xc
push str.23990098.___
lea eax, [esp + 0x23c]
push eax
call esi
lea eax, [esp + 0x238]
call fcn.0094dd20
push str.AUTOFTP.LOG
lea ecx, [esp + 0x23c]
push ecx
call esi
lea eax, [esp + 0x238]
call fcn.0094dd20
lea ecx, [esp + 0x130]
call fcn.00958630
cmp byte [esp + 0x130], 0
je 0x9588d0
lea ecx, [esp + 0x130]
call fcn.00960910
cmp byte [esp + 0x130], 0
mov dword [0xbfc604], 1
je 0x958a01
lea ecx, [esp + 0x14]
lea edx, [esp + 0x340]
call fcn.00951c00
test eax, eax
je 0x958a01
push 0x3ff
lea edx, [esp + 0x44d]
push 0
push edx
mov byte [esp + 0x454], 0
call fcn.00a7ffb0
add esp, 0xc
push str.Local_AppData
lea eax, [esp + 0x1c]
lea edi, [esp + 0x44c]
mov ecx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
mov edx, 0x80000001
mov dword [esp + 0x1c], 0x400
call fcn.0094c020
cmp byte [esp + 0x448], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
jne 0x9589da
push 0x103
lea eax, [esp + 0x2d]
push 0
push eax
mov byte [esp + 0x34], 0
call fcn.00a7ffb0
add esp, 0xc
push 2
lea ecx, [esp + 0x134]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00a7a620
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x26], 0
call esi
lea ecx, [esp + 0x28]
call fcn.00960910
push str.Users_
lea edx, [esp + 0x2c]
push edx
call edi
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2c]
push ecx
call edi
push str.AppDataLocal
lea edx, [esp + 0x2c]
push edx
call edi
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x44c]
push ecx
call esi
lea ecx, [esp + 0x448]
call fcn.00960910
push str.VirtualStoreWindowsWin.INI
lea edx, [esp + 0x44c]
push edx
call edi
lea eax, [esp + 0x448]
call fcn.0094dd20
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
mov eax, dword [reloc.KERNEL32.dll_GetProfileStringA]
test eax, eax
jne 0x958a32
push 0xaea498
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [reloc.KERNEL32.dll_GetProfileStringA], eax
test eax, eax
je 0x958a58
mov ecx, dword [esp + 0x858]
push ecx
push edi
push esi
push ebx
push ebp
call eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.00a78f21
add esp, 0x844
ret
mov edx, dword [esp + 0x858]
push edx
jmp 0x958a6a
mov eax, dword [esp + 0x858]
push eax
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetProfileStringA]
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00a78f21
add esp, 0x844
ret