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 [0x432c20]
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.00414570
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x462]
push eax
mov word [esp + 0x464], dx
call fcn.00414570
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xa7a]
push edx
mov word [esp + 0xa7c], cx
call fcn.00414570
add esp, 0xc
lea eax, [ebx + 0x5ac]
push eax
lea eax, [esp + 0xa74]
push 0x104
push eax
call fcn.00412886
add esp, 0xc
push 0x42d508
lea ecx, [esp + 0xa74]
push 0x104
push ecx
call fcn.0041215c
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.00414570
add esp, 0xc
push 1
push ebx
mov esi, 0x42d404
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
je 0x401941
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 0x401941
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.00412886
add esp, 0xc
lea eax, [ebx + 0x18c]
push eax
lea eax, [esp + 0x86c]
push 0x104
push eax
call fcn.0041215c
add esp, 0xc
push 0x42d520
lea ecx, [esp + 0x86c]
push 0x104
push ecx
call fcn.0041215c
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.00412886
add esp, 0xc
push ebx
lea edi, [esp + 0x45c]
call fcn.004013c0
mov ecx, esi
mov edx, ebx
call fcn.00401e30
cmp eax, 1
je 0x401e0a
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x25a]
push edx
mov word [esp + 0x25c], cx
call fcn.00414570
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.00414570
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 [0x42d52c]
mov ecx, dword [0x42d530]
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [eax], edx
mov edx, dword [0x42d534]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0x250]
push eax
push 0
push 0x20000
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 0x20000
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 0x20000
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]
lea edx, [ebx + 0x488]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4018b6
lea eax, [ebx + 0x8a]
lea edx, [ebx + 0x408]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4018d3
lea eax, [ebx + 0xaa]
lea edx, [ebx + 0x50a]
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4018f0
mov ax, word [ebx + 0x12a]
mov dx, word [ebx + 0x88]
mov ecx, dword [ebx + 0x1cc]
mov word [ebx + 0x58a], ax
lea eax, [ebx + 0x18c]
push eax
mov word [ebx + 0x508], dx
lea edx, [ebx + 0x9bc]
push 0x10
push edx
mov dword [ebx + 0x404], ecx
call fcn.00412886
jmp 0x4019f4
push 0x236
lea eax, [esp + 0x1c]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.00414570
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00402d21
mov dword [esp + 0xc], eax
test eax, eax
je 0x4019f7
lea eax, [esp + 0x126]
lea edx, [ebx + 0x408]
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401983
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.00403032
mov edx, dword [esp + 0x118]
lea esi, [ebx + 0x50a]
call fcn.00403032
lea ecx, [esp + 0x146]
push ecx
lea edx, [ebx + 0x58c]
push 0x10
push edx
call fcn.00412886
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.00414570
add esp, 0xc
push 0x200
lea eax, [esp + 0x254]
push 0
push eax
call fcn.00414570
add esp, 0xc
push 0
push ebx
mov esi, 0x42d420
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
jne 0x401a4f
mov dword [esp + 0x14], eax
jmp 0x401ba4
xor eax, eax
jmp 0x401a60
mov cl, byte [esp + eax + 0x250]
not cl
mov byte [esp + eax + 0x250], cl
inc eax
cmp eax, 0x200
jb 0x401a60
cmp dword [esp + 0x250], 0x504d534d
je 0x401a92
mov dword [esp + 0x14], 0
jmp 0x401ba4
lea edi, [ebx + 0x204]
mov ecx, 0x80
lea esi, [esp + 0x250]
mov eax, 0x42d538
lea edx, [ebx + 0x50a]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x14], 1
sub edx, eax
jmp 0x401ac0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401ac0
lea eax, [ebx + 0x28a]
lea edx, [ebx + 0x408]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401ae0
lea eax, [ebx + 0x208]
lea edx, [ebx + 0x488]
sub edx, eax
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401b00
cmp dword [ebx], 3
mov dx, word [ebx + 0x288]
mov ax, word [ebx + 0x32a]
mov word [ebx + 0x508], dx
mov word [ebx + 0x58a], ax
mov dword [ebx + 0x404], 5
jne 0x401b69
push 0x104
lea ecx, [esp + 0x664]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x42d444
lea edx, [esp + 0x664]
push 0x104
push edx
call fcn.0041215c
add esp, 0xc
jmp 0x401b7c
lea eax, [esp + 0x660]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x42d554
lea ecx, [esp + 0x664]
push 0x104
push ecx
call fcn.0041215c
add esp, 0xc
lea edx, [esp + 0x660]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 0x51
lea edi, [ebx + 0xaa]
mov word [ebx + 0x88], ax
mov ecx, 0x2b70
mov eax, 0x42d56c
mov edx, edi
mov dword [ebx + 4], 0x504d534d
mov word [ebx + 0x12a], cx
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401bd2
mov eax, 0x42d588
lea edx, [ebx + 8]
sub edx, eax
jmp 0x401bf0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401bf0
lea esi, [ebx + 0x8a]
mov eax, 0x42d5a4
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 0x401c10
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x1cc], 5
jne 0x401c3e
cmp dword [esp + 0xc], 0
jne 0x401c3e
cmp dword [esp + 0x14], 0
je 0x401cad
lea edx, [ebx + 0x408]
push edx
push 0x10
push esi
call fcn.00412886
add esp, 0xc
lea eax, [ebx + 0x488]
push eax
lea eax, [ebx + 8]
push 0x40
push eax
call fcn.00412886
add esp, 0xc
lea ecx, [ebx + 0x50a]
push ecx
push 0x40
push edi
call fcn.00412886
mov ax, word [ebx + 0x58a]
mov dx, word [ebx + 0x508]
mov word [ebx + 0x12a], ax
mov eax, dword [ebx + 0x404]
add esp, 0xc
mov word [ebx + 0x88], dx
mov dword [ebx + 0x1cc], eax
test eax, eax
jne 0x401cad
mov dword [ebx + 0x1cc], 5
mov eax, 0x42d5b0
mov edx, edi
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401cb6
cmp word [ebx + 8], cx
je 0x401e0a
cmp word [ebx + 0x88], cx
jbe 0x401e0a
lea esi, [ebx + 0x9bc]
mov eax, esi
mov dword [ebx + 4], 0x504d534d
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401cf0
sub eax, edx
sar eax, 1
je 0x401d25
push esi
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401d25
push esi
lea ecx, [ebx + 0x18c]
push 0x10
push ecx
call fcn.00412886
add esp, 0xc
cmp word [ebx + 0x18c], 0
lea eax, [ebx + 0x18c]
jne 0x401d45
push 0x42d5cc
push 0x10
push eax
call fcn.00412886
add esp, 0xc
cmp word [ebx + 0x1ac], 0
lea esi, [ebx + 0x1ac]
jne 0x401d8d
push 0x42d5dc
push 0x10
push esi
call fcn.00412886
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 0x401d70
sub eax, edi
sar eax, 1
je 0x401d8d
push edx
push 0x10
push esi
call fcn.00412886
add esp, 0xc
cmp dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0x10002c8
jne 0x401daa
mov dword [ebx + 0x1cc], 5
push ebx
call fcn.00401240
test eax, eax
je 0x401e0a
push ebx
lea edi, [esp + 0x45c]
call fcn.004013c0
mov edx, edi
push edx
add ebx, 0x7b4
push ebx
call fcn.004030bf
add esp, 8
mov esi, edi
call fcn.00401460
push 1
push 0
push 0x42d5ec
mov eax, edi
push eax
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.0041214d
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.0041214d
mov esp, ebp
pop ebp
ret