Function at 0x42b660
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ab2e0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.004778a9
push 0
push 0x1000
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0047aca0
mov byte [ebp - 4], 2
call fcn.0046d74a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42b6d3
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00429270
test al, al
sete bl
cmp bl, 1
jne 0x42c18e
mov eax, dword [ebp + 8]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
push eax
call fcn.00409450
add eax, 0x10
add esp, 4
mov ecx, 0x4f3950
mov dword [edi], eax
call fcn.004583c0
mov bl, al
cmp bl, 1
jne 0x42b734
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, al
mov edx, dword [ebp + 8]
push 0
push SysReAllocString
push 4
push 0
push 6
push 0x40000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push 0
push 2
push eax
lea ecx, [ebp - 0x2c]
call fcn.00477d46
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x28]
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call eax
push str._ini_version_
lea ecx, [ebp - 0x18]
push str._s_r_n
push ecx
call fcn.00402da0
add esp, 0xc
push 0x3f0
push str.version
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
push str._usb_func_
lea eax, [ebp - 0x18]
push str._s_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 4]
add esp, 0xc
push ecx
push str.format_enable
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 5]
add esp, 0x10
push eax
push str.format_drive_type
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x309]
add esp, 0x10
push edx
push str.partition_drive_type
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 6]
push ecx
push str.drive_label_name
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0x105]
add esp, 0x10
push eax
push str.wr_test_enable
push str._s_d_r_n
lea ecx, [ebp - 0x18]
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x107]
push edx
push str.wr_test_binary_name
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x206]
add esp, 0x10
push ecx
push str.wr_test_count
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0x207]
add esp, 0x10
push eax
push str.auto_mp
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x208]
add esp, 0x10
push edx
push str.auto_mp_DevNum
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x209]
add esp, 0x10
push ecx
push str.preload_enable
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x20a]
push eax
push str.preload_folder_path
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x30a]
add esp, 0x10
push edx
push str.Check_USBStatus_enable
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x30b]
add esp, 0x10
push ecx
push str.Check_USBStatus
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0x30c]
add esp, 0x10
push eax
push str.Check_SerialNumber
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x30d]
add esp, 0x10
push edx
push str.Auto_Safe_Remove
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x30e]
add esp, 0x10
push ecx
push str.Scan_BarCode
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
mov eax, dword [esi + 0x424]
add esp, 0x10
push eax
push str.uiRemove_after_finish
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x106]
add esp, 0x10
push edx
push str.Speed_test_enable
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x30f]
add esp, 0x10
push ecx
push str.Scan_HDDSN
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0x311]
add esp, 0x10
push eax
push str.check_config
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x310]
add esp, 0x10
push edx
push str.SN_EditType
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
mov ecx, dword [esi + 0x314]
add esp, 0x10
push ecx
push str.USB4_ComponentID_EditType
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
mov eax, dword [esi + 0x318]
add esp, 0x10
push eax
push str.CmdLineTimeOut
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x31c]
add esp, 0x10
push edx
push str.USB4_BcdSync
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x4bffac
push ecx
call fcn.00402da0
add esp, 8
push str._Speed_Test_
push str._s_r_n
lea edx, [ebp - 0x18]
push edx
call fcn.00402da0
add esp, 0xc
lea eax, [esi + 0x1d68]
push eax
push str.read_speed
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x1e67]
push edx
push str.write_speed
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x1f66]
push ecx
push str.speed_test_file_size
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [ebp - 0x18]
push 0x4bffac
push eax
call fcn.00402da0
add esp, 8
push str._usb_fw_
lea ecx, [ebp - 0x18]
push str._s_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0x31d]
add esp, 0xc
push edx
push str.fw_enable
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x31e]
push ecx
push str.fw_binary_name
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0x41d]
add esp, 0x10
push eax
push str.fw_reload
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
mov edx, dword [esi + 0x420]
add esp, 0x10
push edx
push str.rescan_after_relink
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
mov ecx, dword [esi + 0x428]
add esp, 0x10
push ecx
push str.ext_fw_enable
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
mov eax, dword [esi + 0x42c]
add esp, 0x10
push eax
push str.pd_fw_enable
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
mov edx, dword [esi + 0x430]
add esp, 0x10
push edx
push str.mcu_fw_enable
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x434]
push ecx
push str.pd_binary_name
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x533]
push eax
push str.mcu_binary_name
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [ebp - 0x18]
push 0x4bffac
push edx
call fcn.00402da0
add esp, 8
push str._usb_config_
lea eax, [ebp - 0x18]
push str._s_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0x632]
add esp, 0xc
push ecx
push str.config_format
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x633]
push eax
push str.vendor_id
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x732]
push edx
push str.product_id
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x831]
push ecx
push str.device_revision
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x930]
push eax
push str.manufacturer_string
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0xa2f]
push edx
push str.product_string
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0xb2e]
push ecx
push str.manufacturer_string_T10
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0xc2d]
push eax
push str.product_string_T10
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
push 0xc
push str.SN_Numbers
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0xd2c]
push eax
push str.serial_number
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0xe2b]
add esp, 0x10
push edx
push str.serial_number_increase
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
mov ecx, dword [esi + 0xe2c]
add esp, 0x10
push ecx
push str.serial_number_increase_HEX
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
mov eax, dword [esi + 0xe30]
add esp, 0x10
push eax
push str.serial_number_increase_DEC
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
mov edx, dword [esi + 0xe3c]
add esp, 0x10
push edx
push str.SN_fix_length
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
mov ecx, dword [esi + 0xe34]
add esp, 0x10
push ecx
push str.SN_remain_value_enable
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
mov eax, dword [esi + 0xe38]
add esp, 0x10
push eax
push str.SN_remain_value_length
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0xe44]
add esp, 0x10
push edx
push str.standby_timer
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0xf4f]
add esp, 0x10
push ecx
push str.hdd_standby
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0xf55]
add esp, 0x10
push eax
push str.image0
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
movzx edx, byte [esi + 0xf56]
add esp, 0x10
push edx
push str.image1
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
movzx ecx, byte [esi + 0xf57]
add esp, 0x10
push ecx
push str.crc32
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [ebp - 0x18]
push 0x4bffac
push eax
call fcn.00402da0
add esp, 8
push str._USB4_Config_
lea ecx, [ebp - 0x18]
push str._s_r_n
push ecx
call fcn.00402da0
add esp, 0xc
lea edx, [esi + 0xf59]
push edx
push str.USB4_VendorName
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x1058]
push ecx
push str.USB4_ModelName
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x1256]
push eax
push str.USB4_VendorID
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x1355]
push edx
push str.USB4_ProductID
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x1454]
push ecx
push str.USB4_TestID
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x1553]
push eax
push str.USB4_BcdProductFWRevision
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x1652]
push edx
push str.USB4_ProductHWRevision
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x1850]
push ecx
push str.USB4_TBT3VendorID
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x194f]
push eax
push str.USB4_TBT3ModelID
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [esi + 0x1a4e]
push edx
push str.USB4_TBT3ModelRevision
lea eax, [ebp - 0x18]
push str._s_s_r_n
push eax
call fcn.00402da0
mov ecx, dword [esi + 0x1b50]
add esp, 0x10
push ecx
push str.USB4_U4Mode
lea edx, [ebp - 0x18]
push str._s_d_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [ebp - 0x18]
push 0x4bffac
push eax
call fcn.00402da0
add esp, 8
push str._PCIE_
lea ecx, [ebp - 0x18]
push str._s_r_n
push ecx
call fcn.00402da0
mov edx, dword [esi + 0x1b60]
add esp, 0xc
push edx
push str.PCIE_Scan
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [esi + 0x1b64]
push ecx
push str.PCIE_VendorID
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
add esp, 0x10
lea eax, [esi + 0x1c63]
push eax
push str.PCIE_DeviceID
lea ecx, [ebp - 0x18]
push str._s_s_r_n
push ecx
call fcn.00402da0
mov edx, dword [esi + 0x1d64]
add esp, 0x10
push edx
push str.PCIE_SSDRelinkTime
lea eax, [ebp - 0x18]
push str._s_d_r_n
push eax
call fcn.00402da0
add esp, 0x10
lea ecx, [ebp - 0x18]
push 0x4bffac
push ecx
call fcn.00402da0
add esp, 8
push str._usb_mode_
lea edx, [ebp - 0x18]
push str._s_r_n
push edx
call fcn.00402da0
movzx eax, byte [esi + 0xf58]
add esp, 0xc
push eax
push str.cd_rom_mode
lea ecx, [ebp - 0x18]
push str._s_d_r_n
push ecx
call fcn.00402da0
add esp, 0x10
lea edx, [ebp - 0x18]
push 0x4bffac
push edx
call fcn.00402da0
add esp, 8
push str._Target_Chip_
lea eax, [ebp - 0x18]
push str._s_r_n
push eax
call fcn.00402da0
add esp, 0xc
push str.__1051__1053__1153__1351__1352__235CM__0_for_all
lea ecx, [ebp - 0x18]
push str._s_r_n
push ecx
call fcn.00402da0
add esp, 0xc
add esi, 0x2065
push esi
push str.target_chip
lea edx, [ebp - 0x18]
push str._s_s_r_n
push edx
call fcn.00402da0
mov eax, dword [ebp - 0x18]
add esp, 0x10
push eax
lea ecx, [ebp - 0x74]
call fcn.0047ab5d
lea ecx, [ebp - 0x74]
call fcn.0047a6a1
lea ecx, [ebp - 0x2c]
call fcn.004776cb
lea ecx, [ebp - 0x74]
call fcn.0047aa21
lea ecx, [ebp - 0x2c]
call fcn.00477843
mov dword [ebp - 4], 3
jmp 0x42c210
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push ecx
push 0x339
push str.Ini::vStoreINIFile
push str._s:_d:_vStoreINIFile:_Check_INI_Type_Not_Valid___strINIFilePath_:__s___dwErrorCode__d
call fcn.0044b650
add esp, 0x14
mov dword [ebp - 4], 3
jmp 0x42c210
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.0047ac62
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.004779c2
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c271
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4