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

Disassembly:
sub esp, 0xe80
mov eax, dword [0x421040]
xor eax, esp
mov dword [esp + 0xe78], eax
push ebp
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0xa7a]
push ecx
mov dword [esp + 0x18], 0
mov word [esp + 0xa7c], ax
call fcn.0040c0e0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x462]
push eax
mov word [esp + 0x464], dx
call fcn.0040c0e0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0xc82]
push edx
mov word [esp + 0xc84], cx
call fcn.0040c0e0
add esp, 0xc
lea ebp, [ebx + 0x5ac]
push ebp
lea eax, [esp + 0xc7c]
push 0x104
push eax
call fcn.004096ef
add esp, 0xc
push 0x41dd6c
lea ecx, [esp + 0xc7c]
push 0x104
push ecx
call fcn.00408fc5
add esp, 0xc
lea edx, [esp + 0xc78]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x200
lea eax, [esp + 0x254]
push 0
push eax
call fcn.0040c0e0
add esp, 0xc
push 1
push ebx
mov esi, 0x41dc98
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
je 0x401861
xor eax, eax
jmp 0x4015c0
mov cl, byte [esp + eax + 0x250]
not cl
mov byte [esp + eax + 0x250], cl
inc eax
cmp eax, 0x200
jb 0x4015c0
cmp dword [esp + 0x250], 0x504d534d
jne 0x401861
push ebp
lea edx, [esp + 0xa74]
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.004096ef
add esp, 0xc
lea eax, [ebx + 0x18c]
push eax
lea eax, [esp + 0xa74]
push 0x104
push eax
call fcn.00408fc5
add esp, 0xc
push 0x41dd84
lea ecx, [esp + 0xa74]
push 0x104
push ecx
call fcn.00408fc5
add esp, 0xc
lea edx, [esp + 0xa70]
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.004096ef
add esp, 0xc
push ebx
lea edi, [esp + 0x45c]
call fcn.004013b0
mov ecx, esi
mov edx, ebx
call fcn.00401da0
cmp eax, 1
je 0x401d82
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x25a]
push edx
mov word [esp + 0x25c], cx
call fcn.0040c0e0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x22]
push ecx
mov word [esp + 0x24], ax
call fcn.0040c0e0
lea edx, [esp + 0x25c]
add esp, 0xc
mov eax, esi
sub edx, esi
jmp 0x4016e0
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4016e0
lea ecx, [esp + 0x18]
sub ecx, esi
movzx eax, word [esi]
mov word [esi + ecx], ax
add esi, 2
test ax, ax
jne 0x4016f5
lea eax, [esp + 0x18]
add eax, 0xfffffffe
jmp 0x401710
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x401710
mov edx, dword [0x41dd90]
mov ecx, dword [0x41dd94]
mov edi, dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [eax], edx
mov edx, dword [0x41dd98]
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 0x4017aa
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebp
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 0x4017aa
cmp esi, 5
jge 0x4017aa
push eax
call ebp
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 0x401781
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
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x4017d0
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 0x4017f0
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 0x401810
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.004096ef
jmp 0x401916
push 0x236
lea ecx, [esp + 0x1c]
push 0
push ecx
mov dword [esp + 0x1c], 0
call fcn.0040c0e0
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.00402c80
mov dword [esp + 0xc], eax
test eax, eax
je 0x401919
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 0x4018a5
mov dx, word [esp + 0x122]
mov ax, word [esp + 0x11c]
mov ecx, dword [esp + 0x11e]
lea esi, [ebx + 0x488]
mov word [ebx + 0x508], dx
mov word [ebx + 0x58a], ax
call fcn.004030a0
mov ecx, dword [esp + 0x118]
lea esi, [ebx + 0x50a]
call fcn.004030a0
lea ecx, [esp + 0x146]
push ecx
lea edx, [ebx + 0x58c]
push 0x10
push edx
call fcn.004096ef
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x404], eax
add esp, 0xc
push 0x206
xor ebp, ebp
lea edx, [esp + 0x666]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x66c], cx
call fcn.0040c0e0
add esp, 0xc
push 0x200
lea eax, [esp + 0x254]
push ebp
push eax
call fcn.0040c0e0
add esp, 0xc
push ebp
push ebx
mov esi, 0x41dcb4
lea edi, [esp + 0x258]
call fcn.00401100
test eax, eax
jne 0x401971
mov dword [esp + 0x14], ebp
jmp 0x401ac4
xor eax, eax
jmp 0x401980
mov cl, byte [esp + eax + 0x250]
not cl
mov byte [esp + eax + 0x250], cl
inc eax
cmp eax, 0x200
jb 0x401980
cmp dword [esp + 0x250], 0x504d534d
je 0x4019ae
mov dword [esp + 0x14], ebp
jmp 0x401ac4
mov eax, 0x41dd9c
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 esp, [esp]
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
cmp cx, bp
jne 0x4019e0
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
cmp cx, bp
jne 0x401a00
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
cmp cx, bp
jne 0x401a20
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 0x401a89
push 0x104
lea edx, [esp + 0x664]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x41dccc
lea eax, [esp + 0x664]
push 0x104
push eax
call fcn.00408fc5
add esp, 0xc
jmp 0x401a9c
lea ecx, [esp + 0x660]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x41dcb4
lea edx, [esp + 0x664]
push 0x104
push edx
call fcn.00408fc5
add esp, 0xc
lea eax, [esp + 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, 0x51
mov edx, 0x2b70
mov eax, 0x41dd9c
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
cmp cx, bp
jne 0x401af0
lea ebp, [ebx + 8]
mov eax, 0x41ddb8
mov edx, ebp
sub edx, eax
jmp 0x401b10
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x401b10
lea esi, [ebx + 0x8a]
mov eax, 0x41ddd4
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 0x401b30
cmp dword [esp + 0x10], 0
mov dword [ebx + 0x1cc], 5
jne 0x401b5e
cmp dword [esp + 0xc], 0
jne 0x401b5e
cmp dword [esp + 0x14], 0
je 0x401bd0
lea eax, [ebx + 0x408]
push eax
push 0x10
push esi
call fcn.004096ef
add esp, 0xc
lea ecx, [ebx + 0x488]
push ecx
push 0x40
push ebp
call fcn.004096ef
add esp, 0xc
lea edx, [ebx + 0x50a]
push edx
lea eax, [ebx + 0xaa]
push 0x40
push eax
call fcn.004096ef
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 0x401bd0
mov dword [ebx + 0x1cc], 5
mov eax, 0x41dd9c
movzx ecx, word [eax]
mov word [eax + edi], cx
add eax, 2
test cx, cx
jne 0x401bd5
cmp word [ebp], cx
je 0x401d82
cmp word [ebx + 0x88], cx
jbe 0x401d82
mov dword [ebx + 4], 0x504d534d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.0040975e
add esp, 4
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x872]
push eax
mov word [esp + 0x874], dx
call fcn.0040c0e0
lea esi, [ebx + 0x9bc]
mov eax, esi
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401c40
sub eax, edx
sar eax, 1
je 0x401c75
push esi
push 0
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
test eax, eax
je 0x401c75
push esi
lea ecx, [ebx + 0x18c]
push 0x10
push ecx
call fcn.004096ef
add esp, 0xc
cmp word [ebx + 0x18c], 0
lea esi, [ebx + 0x18c]
jne 0x401ca8
lea edx, [esp + 0x868]
push edx
call fcn.00403120
add esp, 4
lea eax, [esp + 0x868]
push eax
push 0x10
push esi
call fcn.004096ef
add esp, 0xc
cmp word [ebx + 0x1ac], 0
lea esi, [ebx + 0x1ac]
jne 0x401d03
lea ecx, [esp + 0x868]
push ecx
call fcn.00403120
add esp, 4
lea edx, [esp + 0x868]
push edx
push 0x10
push esi
call fcn.004096ef
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 0x401ce6
sub eax, edi
sar eax, 1
je 0x401d03
push edx
push 0x10
push esi
call fcn.004096ef
add esp, 0xc
cmp dword [ebx + 0x1cc], 0
mov dword [ebx + 0x1d0], 0x10002a8
jne 0x401d20
mov dword [ebx + 0x1cc], 5
push ebx
call fcn.00401240
test eax, eax
je 0x401d82
push ebx
lea edi, [esp + 0x45c]
call fcn.004013b0
mov eax, edi
push eax
lea eax, [ebx + 0x7b4]
call fcn.00403250
add esp, 4
mov esi, edi
call fcn.00401450
push 1
push 0
push 0x41dcd8
mov ecx, edi
push ecx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xe78]
xor ecx, esp
call fcn.00408fb6
add esp, 0xe80
ret
mov ecx, dword [esp + 0xe84]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00408fb6
add esp, 0xe80
ret