Function at 0x401590
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x417f40
push 0x403ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x419004]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x49c], esi
xorps xmm0, xmm0
movups xmmword [ebp - 0x4ac], xmm0
mov dword [ebp - 0x4f0], 0x44
push 0x40
push 0
lea eax, [ebp - 0x4ec]
push eax
call fcn.00404180
mov dword [ebp - 0x494], 0
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x34], 0x73006d
mov dword [ebp - 0x30], 0x650069
mov dword [ebp - 0x2c], 0x650078
mov dword [ebp - 0x28], 0x2e0063
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
mov dword [ebp - 0x80], 0x2f0020
mov dword [ebp - 0x7c], 0x6e0071
mov dword [ebp - 0x78], 0x2f0020
mov dword [ebp - 0x74], 0x6f006e
mov dword [ebp - 0x70], 0x650072
mov dword [ebp - 0x6c], 0x740073
mov dword [ebp - 0x68], 0x720061
mov dword [ebp - 0x64], 0x200074
mov dword [ebp - 0x60], 0x450052
mov dword [ebp - 0x5c], 0x4f0042
mov dword [ebp - 0x58], 0x54004f
mov dword [ebp - 0x54], 0x52003d
mov ecx, 0x65
mov dword [ebp - 0x50], 0x610065
mov dword [ebp - 0x4c], 0x6c006c
mov dword [ebp - 0x48], 0x530079
mov dword [ebp - 0x44], 0x700075
mov dword [ebp - 0x40], 0x720070
mov dword [ebp - 0x3c], 0x730065
mov dword [ebp - 0x38], 0x73
push 0x208
push 0
lea eax, [ebp - 0x288]
push eax
call fcn.00404180
push 0x208
push 0
lea eax, [ebp - 0x490]
push eax
call fcn.00404180
add esp, 0x24
mov dword [ebp - 4], 0
test edi, edi
je 0x401951
cmp word [edi], 0
je 0x401951
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x401951
push ecx
push 0xc
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x288]
call fcn.004013a0
add esp, 0xc
test eax, eax
je 0x401965
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x288]
test al, 1
je 0x401742
push str.__i
jmp 0x401747
push str.__fvam
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
push 0x41795c
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
push edi
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
push 0x41795c
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
test esi, esi
je 0x401850
cmp word [esi], 0
je 0x401965
push 0x104
lea eax, [ebp - 0x490]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x4017e2
push ecx
push 0x104
push esi
lea ecx, [ebp - 0x490]
call fcn.004013a0
add esp, 0xc
push 0x417960
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
push 0x41795c
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
push 0x41795c
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x288]
call fcn.00401440
add esp, 4
test eax, eax
je 0x401965
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4f0]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x288]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x401965
mov eax, dword [ebp + 0x10]
mov esi, eax
and esi, 3
cmp esi, 3
je 0x4018b5
and eax, 4
mov dword [ebp + 0x10], eax
je 0x4018d7
jmp 0x4018b8
and eax, 4
mov dword [ebp + 0x10], eax
push 0x493e0
push dword [ebp - 0x4ac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x401965
cmp esi, 3
jne 0x40193c
lea eax, [ebp - 0x494]
push eax
push dword [ebp - 0x4ac]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x401965
mov eax, dword [ebp - 0x494]
cmp eax, 0x666
jne 0x401938
push 0x493e0
push 1
mov eax, dword [ebp + 0x10]
or eax, 2
push eax
push 0x104
push dword [ebp - 0x49c]
mov edx, 0x104
mov ecx, edi
call fcn.00401590
add esp, 0x14
test eax, eax
je 0x401965
mov dword [ebp - 0x498], 1
jmp 0x401965
test eax, eax
jmp 0x401943
cmp dword [ebp - 0x494], 0
jne 0x401965
mov dword [ebp - 0x498], 1
jmp 0x401965
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x401988
mov dword [ebp - 4], 0xfffffffe
push dword [ebp - 0x4ac]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x4a8]
call esi
mov eax, dword [ebp - 0x498]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040331c
mov esp, ebp
pop ebp
ret