Function at 0x401910
Capabilities:
Create directory
Create process on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x868
mov eax, dword [0x41605c]
xor eax, esp
mov dword [esp + 0x864], eax
push esi
push edi
lea eax, [esp + 0x48]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x401b84
push 0x413cdc
mov edx, 0x104
lea edi, [esp + 0x4c]
call fcn.00403cb0
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
push 0
mov ecx, edi
push ecx
call esi
test eax, eax
jne 0x40199e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401b84
mov edx, edi
push edx
call fcn.00402230
add esp, 4
test eax, eax
je 0x401b84
push 0
mov eax, edi
push eax
call esi
test eax, eax
je 0x401b84
lea eax, [esp + 0x250]
mov esi, ebx
mov ecx, eax
mov edx, 0x104
sub esi, ecx
movzx ecx, word [esi + eax]
test cx, cx
je 0x4019c6
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x4019b0
jmp 0x4019ca
test edx, edx
jne 0x4019cd
sub eax, 2
lea edx, [esp + 0x250]
push edx
mov word [eax], 0
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push str..zip
mov edx, 0x104
lea edi, [esp + 0x254]
call fcn.00403cb0
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
add esp, 4
mov eax, edi
push eax
push ebx
call esi
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.004014e0
add esp, 4
test eax, eax
jne 0x401a41
lea edx, [esp + 0x48]
push edx
call fcn.00402230
add esp, 4
push ebx
mov eax, edi
push eax
call esi
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.00403dac
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [esp + 0x254]
push ecx
call esi
lea edx, [esp + 0x660]
push edx
lea eax, [esp + 0x4c]
push eax
push str.Setup.exe
call fcn.00402440
add esp, 0xc
test eax, eax
jne 0x401a74
lea ecx, [esp + 0x48]
push ecx
jmp 0x401b7c
cmp byte [0x41851e], 0
je 0x401ab9
mov eax, 0x418310
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401a85
sub eax, edx
sar eax, 1
cmp eax, 1
jbe 0x401ab9
push 0x418310
push 0x413d24
mov eax, 0x104
lea edi, [esp + 0x460]
call fcn.00403d00
add esp, 8
jmp 0x401ad2
push str._NOWELCOME
mov eax, 0x104
lea edi, [esp + 0x45c]
call fcn.00403d00
add esp, 4
push 0x3c
lea edx, [esp + 0x10]
push 0
push edx
call fcn.00406900
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x660]
lea ecx, [esp + 0x458]
push edx
mov dword [esp + 0x10], 0x3c
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x1c], str.open
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
jne 0x401b77
mov eax, dword [esp + 0x44]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x44]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x48]
push ecx
call fcn.00402230
add esp, 4
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x864]
xor ecx, esp
call fcn.00403dac
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x48]
push edx
call fcn.00402230
add esp, 4
mov ecx, dword [esp + 0x86c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00403dac
mov esp, ebp
pop ebp
ret