Function at 0x403100
Capabilities:
Enumerate files on windows
Get common file path
Set registry value

Disassembly:
mov eax, 0x1894
call fcn.00403e10
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x3a0]
push 0x100
rep stosd dword es:[edi], eax
lea eax, [esp + 0x3a4]
mov dword [esp + 0x1c], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x4a0]
lea edx, [esp + 0x4a0]
rep stosd dword es:[edi], eax
movsx ecx, byte [esp + 0x3a0]
push ecx
push str._c:Documents_and_Settings
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x4a0]
mov ecx, esi
push eax
call fcn.00403000
test eax, eax
je 0x40346b
lea ecx, [esp + 0x60]
lea edx, [esp + 0x4a0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x1c], eax
jne 0x4031a4
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1894
ret
mov al, byte [esp + 0x3a0]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
mov byte [esp + 0xf], al
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x8a0]
push ebp
mov esi, 4
rep stosd dword es:[edi], eax
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x64]
test cl, 0xb7
je 0x40339c
mov ebp, 0x40726c
lea edi, [esp + 0x90]
mov dl, byte [edi]
mov al, dl
cmp dl, byte [ebp]
jne 0x40320d
test al, al
je 0x403209
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ebp + 1]
jne 0x40320d
add edi, 2
add ebp, 2
test al, al
jne 0x4031e8
xor eax, eax
jmp 0x403212
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40339c
mov ebp, 0x407268
lea edi, [esp + 0x90]
mov dl, byte [edi]
mov al, dl
cmp dl, byte [ebp]
jne 0x40324b
test al, al
je 0x403247
mov dl, byte [edi + 1]
mov al, dl
cmp dl, byte [ebp + 1]
jne 0x40324b
add edi, 2
add ebp, 2
test al, al
jne 0x403226
xor eax, eax
jmp 0x403250
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40339c
test cl, 0x10
je 0x40339c
movsx ebp, byte [esp + 0x13]
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x6a4]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x90]
lea ecx, [esp + 0x6a4]
push eax
push ebp
push str._c:Documents_and_Settings_s
push ecx
call ebx
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x1b4]
lea edx, [esp + 0xa0]
rep stosd dword es:[edi], eax
push edx
push ebp
lea eax, [esp + 0x1bc]
push str._c:Documents_and_Settings_sLocal_Settings
push eax
call ebx
add esp, 0x20
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.004030e0
test eax, eax
je 0x40339c
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x1a4]
lea edx, [esp + 0x90]
rep stosd dword es:[edi], eax
push edx
push ebp
lea eax, [esp + 0x1ac]
push str._c:Documents_and_Settings_sLocal_SettingsTemp
push eax
call ebx
lea edi, [esp + 0x1b4]
or ecx, 0xffffffff
xor eax, eax
add esi, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + esi + 0x8b4]
mov edi, ecx
lea ecx, [esp + 0x1b4]
mov dword [esp + esi + 0x8b0], edi
push ecx
push 0x4072cc
push edx
call ebx
add esi, edi
mov ecx, 0x80
xor eax, eax
lea edi, [esp + 0x1c0]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xac]
lea ecx, [esp + 0x1c0]
push eax
push ebp
push str._c:Documents_and_Settings_sLocal_SettingsTemporary_Internet_Files
push ecx
call ebx
lea edi, [esp + 0x1d0]
or ecx, 0xffffffff
xor eax, eax
add esi, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 0x1d0]
mov edi, ecx
push edx
mov dword [esp + esi + 0x8d0], edi
lea eax, [esp + esi + 0x8d4]
push 0x4072cc
push eax
call ebx
mov eax, dword [esp + 0x50]
add esp, 0x38
add esi, edi
add eax, 2
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x64]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4031cf
mov eax, dword [esp + 0x18]
mov ecx, 0xf
mov dword [esp + 0x8a4], eax
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
stosb byte es:[edi], al
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
push str.SOFTWAREFinalDataOptions
push 0x80000002
call edi
test eax, eax
pop ebp
je 0x40343f
lea edx, [esp + 0x10]
push edx
push str.SOFTWAREFinalDataOptions
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push str.SOFTWAREFinalDataOptions
push 0x80000002
call edi
test eax, eax
je 0x40343f
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x1894
ret
lea edx, [esp + 0x20]
push str.DDExceptionPaths
push edx
call ebx
mov edx, dword [esp + 0x18]
add esp, 8
lea eax, [esp + 0x8a0]
lea ecx, [esp + 0x20]
push esi
push eax
push 3
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x1894
ret