Function at 0x468fd0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x4e412c]
xor eax, ebp
mov dword [ebp - 0x1c], eax
call fcn.00473800
and eax, 3
jne 0x468ff4
xor eax, eax
jmp 0x469326
cmp dword [ebp + 8], 0
jne 0x469006
cmp dword [ebp + 0xc], 0
jne 0x469006
cmp dword [ebp + 0x10], 0
je 0x469018
cmp dword [ebp + 8], 0
je 0x469086
cmp dword [ebp + 0xc], 0
je 0x469086
cmp dword [ebp + 0x10], 0
je 0x469086
cmp dword [ebp + 8], 0
je 0x469029
mov eax, dword [ebp + 8]
mov dword [ebp - 0x23c], eax
jmp 0x469033
mov dword [ebp - 0x23c], str.KMP_P2P.DLL
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 0xc], 0
je 0x46904d
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x240], edx
jmp 0x469057
mov dword [ebp - 0x240], str.KMP_P2P.INI_KMP2PSETUP.HLP_KMP2PSETUP.CNT
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
je 0x469071
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x244], ecx
jmp 0x46907b
mov dword [ebp - 0x244], 0x4c9bac
mov edx, dword [ebp - 0x244]
mov dword [ebp - 4], edx
jmp 0x46908d
xor eax, eax
jmp 0x469326
mov eax, dword [ebp - 4]
push eax
push 0x4c9bd0
push 0
call sub.WINSPOOL.DRV_DeleteMonitorA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4690b2
mov dword [ebp - 0x248], str.succeeded
jmp 0x4690bc
mov dword [ebp - 0x248], str.failed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp - 0x248]
push ecx
push str.deleteKoMiP2PMonitor____s_to_delete_monitor.___d_
push 0
call fcn.00468960
add esp, 0x10
push 0x104
lea edx, [ebp - 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x4690f6
xor eax, eax
jmp 0x469326
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0x4c9c24
mov ecx, dword [ebp - 0xc]
neg ecx
sbb ecx, ecx
not ecx
and ecx, dword [ebp - 0x10]
push ecx
call fcn.0048e722
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x469201
mov edx, dword [ebp - 0xc]
push edx
call fcn.00468d40
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x469145
jmp 0x469103
push 0x5c
mov edx, dword [ebp - 0xc]
push edx
call fcn.0040fa40
add esp, 8
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
je 0x469173
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x24c], eax
jmp 0x46917c
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x234], edx
lea eax, [ebp - 0x230]
push eax
call fcn.00489c70
add esp, 4
movsx ecx, byte [ebp + eax - 0x231]
cmp ecx, 0x5c
jne 0x4691b0
mov dword [ebp - 0x250], 0x4c95e1
jmp 0x4691ba
mov dword [ebp - 0x250], 0x4c9c28
mov edx, dword [ebp - 0x234]
push edx
mov eax, dword [ebp - 0x250]
push eax
lea ecx, [ebp - 0x230]
push ecx
push 0x4c9c2c
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4691fc
mov dword [ebp - 0x14], 0
jmp 0x469103
push 0x104
lea ecx, [ebp - 0x230]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x46921e
xor eax, eax
jmp 0x469326
mov dword [ebp - 0xc], 0
push 0x4c9c34
mov edx, dword [ebp - 0xc]
neg edx
sbb edx, edx
not edx
and edx, dword [ebp - 0x18]
push edx
call fcn.0048e722
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x469323
mov eax, dword [ebp - 0xc]
push eax
call fcn.00468d40
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jne 0x469267
jmp 0x469225
push 0x5c
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040fa40
add esp, 8
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x469295
mov ecx, dword [ebp - 0x238]
add ecx, 1
mov dword [ebp - 0x254], ecx
jmp 0x46929e
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x238], eax
lea ecx, [ebp - 0x230]
push ecx
call fcn.00489c70
add esp, 4
movsx edx, byte [ebp + eax - 0x231]
cmp edx, 0x5c
jne 0x4692d2
mov dword [ebp - 0x258], 0x4c95e2
jmp 0x4692dc
mov dword [ebp - 0x258], 0x4c9c38
mov eax, dword [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
lea edx, [ebp - 0x230]
push edx
push 0x4c9c3c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x46931e
mov dword [ebp - 0x14], 0
jmp 0x469225
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00488550
mov esp, ebp
pop ebp
ret