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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x426ad0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
push 0x427e80
xor ebx, ebx
push 0xff
mov dword [ebp - 0x40], eax
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], ebx
mov byte [ebp - 0x1c], bl
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x41f48c
push 0x427e80
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x401aa0
sub ecx, esi
push ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.00401740
mov eax, dword [ebp - 0x1c]
mov esi, 0x10
cmp dword [ebp - 8], esi
jae 0x401ac3
lea eax, [ebp - 0x1c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x41f478
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401aea
mov eax, dword [eax + 4]
jmp 0x401aed
add eax, 4
push eax
push 0x69
call fcn.00401040
add esp, 8
cmp dword [ebp - 0x24], esi
jb 0x401b09
mov eax, dword [ebp - 0x38]
push eax
call fcn.00401cee
add esp, 4
push 0x41f46c
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401b28
mov eax, dword [eax + 4]
jmp 0x401b2b
add eax, 4
push eax
push 0x66
call fcn.00401040
add esp, 8
cmp dword [ebp - 0x24], esi
jb 0x401b47
mov eax, dword [ebp - 0x38]
push eax
call fcn.00401cee
add esp, 4
push 0x41f464
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401b66
mov eax, dword [eax + 4]
jmp 0x401b69
add eax, 4
push eax
push 0x68
call fcn.00401040
add esp, 8
cmp dword [ebp - 0x24], esi
jb 0x401b85
mov eax, dword [ebp - 0x38]
push eax
call fcn.00401cee
add esp, 4
push 0x41f458
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401ba4
mov edi, dword [eax + 4]
jmp 0x401ba7
lea edi, [eax + 4]
push 0x41f464
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401bc6
mov eax, dword [eax + 4]
jmp 0x401bc9
add eax, 4
push 0x41f448
push edi
push eax
call fcn.00401110
add esp, 0xc
cmp dword [ebp - 0x24], esi
jb 0x401be9
mov edx, dword [ebp - 0x38]
push edx
call fcn.00401cee
add esp, 4
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
cmp dword [ebp - 0x48], esi
jb 0x401c07
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00401cee
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0x41f43c
lea edx, [ebp - 0x20]
push edx
push ecx
call fcn.004019a0
add esp, 0xc
call fcn.004015d0
mov edi, dword [ebp - 0x1c]
add esp, 0x1c
cmp dword [ebp - 8], esi
jae 0x401c34
lea edi, [ebp - 0x1c]
push 0x41f458
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004019a0
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x401c53
mov eax, dword [eax + 4]
jmp 0x401c56
add eax, 4
mov edx, dword [ebp - 0x40]
push 1
push edi
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 0x48], esi
jb 0x401c7d
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00401cee
add esp, 4
cmp dword [ebp - 8], esi
jb 0x401c8e
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00401cee
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0040cf11
mov esp, ebp
pop ebp
ret 0x10