Function at 0x4187b0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43002b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042df12
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0041ca20
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.004189c0
test eax, eax
jne 0x41884b
mov dword [ebp - 0x50], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0041cac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x50]
jmp 0x4189a4
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
push 0x43d3a0
mov ecx, dword [ebp + 0x10]
add ecx, 4
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CBios::Set_char_const___char_const___char_const___char_const___char_const___char_const___char_const___char_const__]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00421930
test eax, eax
je 0x418973
mov ecx, dword [ebp + 0x10]
add ecx, 4
call dword [sym.imp.SysInfo.dll_public:_char_const____thiscall_CBios::GetMachineType_void_]
mov dword [ebp - 0x5c], eax
push str.Portable
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x41892b
mov ecx, dword [ebp + 0x10]
add ecx, 4
call dword [sym.imp.SysInfo.dll_public:_char_const____thiscall_CBios::GetMachineType_void_]
mov dword [ebp - 0x60], eax
push str.LapTop
mov edx, dword [ebp - 0x60]
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x41892b
mov ecx, dword [ebp + 0x10]
add ecx, 4
call dword [sym.imp.SysInfo.dll_public:_char_const____thiscall_CBios::GetMachineType_void_]
mov dword [ebp - 0x64], eax
push str.Notebook
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x41892b
mov ecx, dword [ebp + 0x10]
add ecx, 4
call dword [sym.imp.SysInfo.dll_public:_char_const____thiscall_CBios::GetMachineType_void_]
mov dword [ebp - 0x68], eax
push str.SubNotebook
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x418936
push 2
mov ecx, dword [ebp + 0x10]
call dword [sym.imp.SysInfo.dll_public:_void___thiscall_CDeviceProperties::SetDeviceType_unsigned_int_]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x54], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0041cac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x54]
jmp 0x4189a4
mov dword [ebp - 0x58], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.0041cac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc