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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc74
mov eax, dword [0x42104c]
xor eax, esp
mov dword [esp + 0xc70], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [esp + 0x872]
push ecx
mov dword [esp + 0x18], 0
mov word [esp + 0x874], ax
call fcn.0040ae10
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x462]
push eax
mov word [esp + 0x464], dx
call fcn.0040ae10
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa7a]
push edx
mov word [esp + 0xa7c], cx
call fcn.0040ae10
add esp, 0xc
lea eax, [ebx + 0x5ac]
push eax
lea eax, [esp + 0xa74]
push 0x104
push eax
call fcn.0040842b
add esp, 0xc
push 0x41cd44
lea ecx, [esp + 0xa74]
push 0x104
push ecx
call fcn.00407d01
add esp, 0xc
lea edx, [esp + 0xa70]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x200
lea eax, [esp + 0x254]
push 0
push eax
call fcn.0040ae10
add esp, 0xc
push 1
push ebx
mov esi, 0x41cc68
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
je 0x401951
xor eax, eax
mov cl, byte [esp + eax + 0x250]
not cl
mov byte [esp + eax + 0x250], cl
inc eax
cmp eax, 0x200
jb 0x4016a0
cmp dword [esp + 0x250], 0x504d534d
jne 0x401951
lea eax, [ebx + 0x5ac]
push eax
lea edx, [esp + 0x86c]
push 0x104
lea edi, [ebx + 4]
mov ecx, 0x80
lea esi, [esp + 0x258]
push edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], 1
call fcn.0040842b
add esp, 0xc
lea eax, [ebx + 0x18c]
push eax
lea eax, [esp + 0x86c]
push 0x104
push eax
call fcn.00407d01
add esp, 0xc
push 0x41cd5c
lea ecx, [esp + 0x86c]
push 0x104
push ecx
call fcn.00407d01
add esp, 0xc
lea edx, [esp + 0x868]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebx + 0x1ac]
push esi
lea eax, [ebx + 0x58c]
push 0x10
push eax
call fcn.0040842b
add esp, 0xc
push ebx
lea edi, [esp + 0x45c]
call fcn.004013c0
mov ecx, esi
mov edx, ebx
call fcn.00401e50
cmp eax, 1
je 0x401e2a
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x25a]
push edx
mov word [esp + 0x25c], cx
call fcn.0040ae10
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.0040ae10
lea edx, [esp + 0x25c]
add esp, 0xc
mov eax, esi
sub edx, esi
mov edi, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4017c0
lea edx, [esp + 0x18]
mov eax, esi
sub edx, esi
jmp 0x4017e0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4017e0
lea eax, [esp + 0x18]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x4017f6
mov edx, dword [0x41cd68]
mov ecx, dword [0x41cd6c]
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [eax], edx
mov edx, dword [0x41cd70]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x250]
push eax
push 0
push reloc.KERNEL32.dll_WriteConsoleA
call edi
test eax, eax
je 0x401892
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
lea edx, [esp + 0x250]
push edx
xor esi, esi
push esi
push reloc.KERNEL32.dll_WriteConsoleA
call edi
test eax, eax
je 0x401892
cmp esi, 5
jge 0x401892
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
inc esi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x250]
push eax
push 0
push reloc.KERNEL32.dll_WriteConsoleA
call edi
test eax, eax
jne 0x401865
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x458]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebx + 8]
mov edx, ebx
sub edx, eax
add edx, 0x488
jmp 0x4018c0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4018c0
lea eax, [ebx + 0x8a]
mov ecx, ebx
sub ecx, eax
lea edx, [ecx + 0x408]
nop
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4018e0
lea eax, [ebx + 0xaa]
mov edx, ebx
sub edx, eax
add edx, 0x50a
nop
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401900
mov ax, word [ebx + 0x88]
mov cx, word [ebx + 0x12a]
mov edx, dword [ebx + 0x1cc]
mov word [ebx + 0x508], ax
lea eax, [ebx + 0x18c]
push eax
lea eax, [ebx + 0x9bc]
push 0x10
push eax
mov word [ebx + 0x58a], cx
mov dword [ebx + 0x404], edx
call fcn.0040842b
jmp 0x401a06
push 0x236
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.0040ae10
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00402d41
mov dword [esp + 0xc], eax
test eax, eax
je 0x401a09
lea eax, [esp + 0x126]
mov edx, ebx
mov ecx, eax
sub edx, ecx
add edx, 0x408
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401995
mov dx, word [esp + 0x122]
mov ax, word [esp + 0x11c]
mov word [ebx + 0x508], dx
mov edx, dword [esp + 0x11e]
lea esi, [ebx + 0x488]
mov word [ebx + 0x58a], ax
call fcn.00403052
mov edx, dword [esp + 0x118]
lea esi, [ebx + 0x50a]
call fcn.00403052
lea ecx, [esp + 0x146]
push ecx
lea edx, [ebx + 0x58c]
push 0x10
push edx
call fcn.0040842b
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x404], eax
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x66a]
push edx
mov word [esp + 0x66c], cx
call fcn.0040ae10
add esp, 0xc
push 0x200
lea eax, [esp + 0x254]
push 0
push eax
call fcn.0040ae10
add esp, 0xc
push 0
push ebx
mov esi, 0x41cc84
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
jne 0x401a61
mov dword [esp + 0x14], eax
jmp 0x401bb4
xor eax, eax
jmp 0x401a70
mov cl, byte [esp + eax + 0x250]
not cl
mov byte [esp + eax + 0x250], cl
inc eax
cmp eax, 0x200
jb 0x401a70
cmp dword [esp + 0x250], 0x504d534d
je 0x401aa2
mov dword [esp + 0x14], 0
jmp 0x401bb4
mov eax, 0x41cd74
mov edx, ebx
lea edi, [ebx + 0x204]
mov ecx, 0x80
lea esi, [esp + 0x250]
sub edx, eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], 1
add edx, 0x50a
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401ad0
lea eax, [ebx + 0x28a]
mov ecx, ebx
sub ecx, eax
lea edx, [ecx + 0x408]
nop
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401af0
lea eax, [ebx + 0x208]
mov edx, ebx
sub edx, eax
add edx, 0x488
nop
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401b10
cmp dword [ebx], 3
mov ax, word [ebx + 0x288]
mov cx, word [ebx + 0x32a]
mov word [ebx + 0x508], ax
mov word [ebx + 0x58a], cx
mov dword [ebx + 0x404], 5
jne 0x401b79
push 0x104
lea edx, [esp + 0x664]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x41cc9c
lea eax, [esp + 0x664]
push 0x104
push eax
call fcn.00407d01
add esp, 0xc
jmp 0x401b8c
lea ecx, [esp + 0x660]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41cc84
lea edx, [esp + 0x664]
push 0x104
push edx
call fcn.00407d01
add esp, 0xc
lea eax, [esp + 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x51
mov edx, 0x2b70
mov eax, 0x41cd74
lea edi, [ebx + 0xaa]
mov dword [ebx + 4], 0x504d534d
mov word [ebx + 0x88], cx
mov word [ebx + 0x12a], dx
sub edi, eax
movzx ecx, word [eax]
mov word [eax + edi], cx
add eax, 2
test cx, cx
jne 0x401be0
mov eax, 0x41cd90
lea edx, [ebx + 8]
sub edx, eax
lea esp, [esp]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401c00
lea esi, [ebx + 0x8a]
mov eax, 0x41cdac
mov edx, esi
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401c20
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x1cc], 5
jne 0x401c4e
cmp dword [esp + 0xc], 0
jne 0x401c4e
cmp dword [esp + 0x14], 0
je 0x401cc3
lea eax, [ebx + 0x408]
push eax
push 0x10
push esi
call fcn.0040842b
add esp, 0xc
lea ecx, [ebx + 0x488]
push ecx
lea eax, [ebx + 8]
push 0x40
push eax
call fcn.0040842b
add esp, 0xc
lea edx, [ebx + 0x50a]
push edx
lea eax, [ebx + 0xaa]
push 0x40
push eax
call fcn.0040842b
mov ax, word [ebx + 0x508]
mov cx, word [ebx + 0x58a]
mov word [ebx + 0x88], ax
mov eax, dword [ebx + 0x404]
add esp, 0xc
mov word [ebx + 0x12a], cx
mov dword [ebx + 0x1cc], eax
test eax, eax
jne 0x401cc3
mov dword [ebx + 0x1cc], 5
mov eax, 0x41cd74
jmp 0x401cd0
movzx ecx, word [eax]
mov word [eax + edi], cx
add eax, 2
test cx, cx
jne 0x401cd0
cmp word [ebx + 8], cx
je 0x401e2a
cmp word [ebx + 0x88], cx
jbe 0x401e2a
lea esi, [ebx + 0x9bc]
mov eax, esi
mov dword [ebx + 4], 0x504d534d
lea edx, [eax + 2]
jmp 0x401d10
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d10
sub eax, edx
sar eax, 1
je 0x401d45
push esi
push 0
push reloc.KERNEL32.dll_WriteConsoleA
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401d45
push esi
lea edx, [ebx + 0x18c]
push 0x10
push edx
call fcn.0040842b
add esp, 0xc
cmp word [ebx + 0x18c], 0
lea eax, [ebx + 0x18c]
jne 0x401d65
push 0x41cdb8
push 0x10
push eax
call fcn.0040842b
add esp, 0xc
cmp word [ebx + 0x1ac], 0
lea esi, [ebx + 0x1ac]
jne 0x401dad
push 0x41cdc8
push 0x10
push esi
call fcn.0040842b
lea edx, [ebx + 0x58c]
mov eax, edx
add esp, 0xc
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d90
sub eax, edi
sar eax, 1
je 0x401dad
push edx
push 0x10
push esi
call fcn.0040842b
add esp, 0xc
cmp dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0x10002cb
jne 0x401dca
mov dword [ebx + 0x1cc], 5
push ebx
call fcn.00401240
test eax, eax
je 0x401e2a
push ebx
lea edi, [esp + 0x45c]
call fcn.004013c0
mov eax, edi
push eax
add ebx, 0x7b4
push ebx
call fcn.004030df
add esp, 8
mov esi, edi
call fcn.00401460
push 1
push 0
push 0x41cca8
mov ecx, edi
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc70]
xor ecx, esp
call fcn.00407cf2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc7c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00407cf2
mov esp, ebp
pop ebp
ret