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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x47c
push ebx
push esi
push edi
mov edi, 0x46dd38
mov ecx, edi
lea esi, [esp + 0x50]
mov dword [esp + 0x30], 0x466e58
call fcn.0041ad3a
or dword [esp + 0x3c], 0xffffffff
xor ebx, ebx
mov ecx, edi
lea esi, [esp + 0x25c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0x466058
call fcn.0041ad3a
mov ecx, edi
lea esi, [esp + 0x260]
call fcn.0041ad3a
mov ecx, edi
lea esi, [esp + 0x264]
call fcn.0041ad3a
mov dword [esp + 0x270], ebx
mov dword [esp + 0x274], ebx
mov dword [esp + 0x278], ebx
mov dword [esp + 0x27c], ebx
push 0x4653a4
mov ebx, 0x46e978
push ebx
mov esi, 0x46e974
push 0x465054
mov eax, esi
lea ecx, [esp + 0x24]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x1c]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x10]
lea edi, [esp + 0x50]
call fcn.0041d135
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push str..003
push ebx
push 0x465054
mov eax, esi
lea ecx, [esp + 0x24]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x1c]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x14]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x10]
lea edi, [esp + 0x25c]
call fcn.0041d135
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x285c]
mov eax, dword [eax]
sub eax, 0x10
call fcn.0041cd37
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edi, [esp + 0x260]
call fcn.0041d135
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xab4]
mov eax, dword [eax + 0x285c]
mov ecx, dword [ecx + 8]
add eax, 4
mov dword [esp + 0x26c], ecx
mov eax, dword [eax]
sub eax, 0x10
call fcn.0041cd37
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edi, [esp + 0x264]
call fcn.0041d135
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x285c]
mov eax, dword [eax + 8]
mov dword [esp + 0x268], eax
push 1
lea eax, [edi + 0x2a18]
call fcn.0041ef1d
and dword [esp + 0x10], 0
call fcn.004284c1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fdiv qword [0x467270]
fmul qword [0x467268]
fadd qword [0x467260]
call fcn.00450d26
mov ecx, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
mov word [esp + ecx*2 + 0x24], ax
jl 0x40a630
and word [esp + 0x2c], 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
call fcn.0041cfdd
push ecx
mov ecx, esp
push str..001_
lea eax, [esp + 0x28]
call fcn.0040efd9
mov eax, dword [edi + 0x2ac0]
pop ecx
push 3
push ecx
sub eax, 0x10
mov dword [esp + 0x20], esp
call fcn.0041cd37
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
push ecx
mov ecx, esp
mov edi, str..006
push edi
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 2
push ecx
mov eax, esp
push edi
push ebx
mov dword [esp + 0x28], eax
push 0x465054
mov eax, esi
lea ecx, [esp + 0x30]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x24]
call fcn.0040efa7
pop ecx
mov ecx, dword [esp + 0x24]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push ecx
mov ecx, esp
mov edi, str..007
push edi
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 2
push ecx
mov eax, esp
push edi
push ebx
mov dword [esp + 0x28], eax
push 0x465054
mov eax, esi
lea ecx, [esp + 0x30]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x24]
call fcn.0040efa7
pop ecx
mov ecx, dword [esp + 0x24]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
push str..exe
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x4653f4
lea eax, [esp + 0x14]
call fcn.0041c812
push ecx
mov ecx, esp
push 0x4653e0
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 6
push ecx
mov edi, esp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push ebx
push eax
mov eax, esi
lea ecx, [esp + 0x34]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x28]
call fcn.0040efa7
pop ecx
mov ecx, edi
call fcn.0040efa7
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xab4]
cmp dword [eax + 0x10], 0
je 0x40a8a0
push str.AKV.exe
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x4653f4
lea eax, [esp + 0x14]
call fcn.0041c812
push ecx
mov eax, esp
push 0x4653f8
call fcn.0041cfdd
push 2
push ecx
lea eax, [esp + 0x24]
mov edi, esp
push eax
lea eax, [esp + 0x20]
push eax
mov eax, esi
lea ecx, [esp + 0x30]
call fcn.0040efa7
pop ecx
mov ecx, edi
call fcn.0040efa7
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xab4]
cmp dword [eax + 0xc], 0
je 0x40a949
push str..chm
lea eax, [esp + 0x1c]
call fcn.0041c812
push 0x4653f4
lea eax, [esp + 0x14]
call fcn.0041c812
push ecx
mov ecx, esp
push 0x465048
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 2
push ecx
mov edi, esp
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push ebx
push eax
mov eax, esi
lea ecx, [esp + 0x2c]
call fcn.0040efa7
pop ecx
lea ecx, [esp + 0x30]
call fcn.0040efa7
pop ecx
mov ecx, edi
call fcn.0040efa7
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xab4]
cmp dword [eax + 0x14], 0
je 0x40aa26
push ecx
mov ecx, esp
mov edi, 0x4653a4
push edi
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 2
push ecx
mov eax, esp
push edi
push ebx
mov dword [esp + 0x30], eax
push 0x465054
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x28]
call fcn.0040efa7
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
push ecx
mov ecx, esp
mov edi, str..003
push edi
lea eax, [esp + 0x28]
call fcn.0040efd9
pop ecx
push 2
push ecx
mov eax, esp
push edi
push ebx
mov dword [esp + 0x30], eax
push 0x465054
mov eax, esi
lea ecx, [esp + 0x28]
call fcn.0040efd9
pop ecx
lea ecx, [esp + 0x28]
call fcn.0040efa7
pop ecx
mov ecx, dword [esp + 0x2c]
call fcn.0040efd9
pop ecx
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xab4]
cmp dword [eax], 0
je 0x40aa63
push ecx
mov eax, esp
push 0x4661a4
call fcn.0041cfdd
mov eax, dword [edi + 0xab4]
mov eax, dword [eax + 4]
push 4
push ecx
sub eax, 0x10
mov esi, esp
call fcn.0041cd37
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x3c]
push eax
call fcn.00423be1
lea eax, [esp + 0x54]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push dword [esp + 0x260]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call ebx
push dword [esp + 0x260]
lea esi, [esp + 0x34]
call fcn.0042355d
test eax, eax
jne 0x40aaa7
call fcn.004235fc
sub eax, 0xffffff9d
neg eax
sbb eax, eax
and eax, 0xfffffffe
inc eax
inc eax
push dword [edi + 0x2ac0]
mov dword [esp + 0x18], eax
call ebx
mov eax, dword [0x46dd38]
mov ebx, 0x46dd38
mov ecx, ebx
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [0x46dd38]
add esi, 0x10
mov ecx, ebx
mov dword [esp + 0x18], esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ab8e
dec eax
dec eax
je 0x40ab09
dec eax
movzx eax, word [0x46e980]
push eax
lea eax, [esp + 0x1c]
je 0x40ab02
push 0xb3
jmp 0x40ab1a
push 0xb1
jmp 0x40ab1a
movzx eax, word [0x46e980]
push eax
push 0xb2
lea eax, [esp + 0x20]
call fcn.0040ef5c
push dword [0x46e980]
lea eax, [esp + 0x1c]
push eax
call fcn.0041db20
movzx eax, word [0x46e980]
pop ecx
pop ecx
push eax
push 0x7c
lea eax, [esp + 0x18]
call fcn.0040ef5c
mov esi, dword [esp + 0x18]
push 0x30
push dword [esp + 0x14]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.0041ad22
lea eax, [esi - 0x10]
call fcn.0041ad22
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.0041ad22
lea esi, [esp + 0x30]
call fcn.0040ac59
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
movzx eax, word [0x46e980]
push eax
push 0xb4
lea eax, [esp + 0x18]
call fcn.0040ef5c
push 0x40
push 0x465024
push dword [esp + 0x18]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, dword [edi + 0x285c]
cmp dword [edi + 0xc], 0
je 0x40ac00
push dword [edi]
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0xa
mov eax, 0x4661a4
push eax
push eax
lea eax, [esp + 0x28c]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor edi, edi
inc edi
jmp 0x40ab5a