Function at 0x46cd60
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b243
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0xac]
call fcn.0046f880
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 6
push str.COM_Board_Number
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0xac]
mov ecx, dword [ecx + 0x394]
call sub.Micl.dll_public:_int___thiscall_CTestEngine::GetBatchParameter_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____const___class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x5d], al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
movzx edx, byte [ebp - 0x5d]
test edx, edx
je 0x46ce63
push str.NO_ID
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_1316]
push 0x5278e8
lea eax, [ebp - 0x28]
push eax
push str.RFCalibrationWCDMA_calib0WCDMA_NST_
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xb4]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xc4]
push ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0xc], 0x13
jne 0x46cfb2
push 0x527918
push str.WCDMA_Golden_Make
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x74]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xcc]
push edx
lea eax, [ebp - 0x78]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xd4], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xd4]
push edx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46d03f
cmp dword [ebp + 0xc], 0x14
jne 0x46d03f
push str..txt
push str.WCDMA_Golden_Loss_Set
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xd8], eax
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xdc], edx
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0xdc]
push eax
lea ecx, [ebp - 0x80]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xe0], eax
mov edx, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], edx
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xac]
call fcn.00448870
cmp eax, 1
jne 0x46d19c
push 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x46d146
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x38], eax
push 0
push 0
lea ecx, [ebp - 0x34]
push ecx
push 0x400
mov edx, dword [ebp - 0x38]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.Fail_to_save_WcdmaCableLoss:__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0x977
push 0x5279e0
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xe8], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xac]
call fcn.004735f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46d19c
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x527954
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x10]
push ecx
call fcn.004b82c0
mov ecx, eax
call fcn.004bb930
cmp dword [ebp - 0x10], 1
jne 0x46d3f7
push 0x5247b1
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0x11
push 0x5247b2
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0x12
push str.RFCalibrationWCDMA_calib0WCDMA_NST_GPIB.txt
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xf4]
push edx
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x46d3dd
push 0x527984
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x46d387
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
push 0x400
mov edx, dword [ebp - 0x54]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x48]
push eax
push str.Fail_to_save__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
push 0x9a0
push 0x527a60
push ecx
mov ecx, esp
mov dword [ebp - 0x94], esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x100], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0x98], esp
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xac]
call fcn.004735f0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46d3dd
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
push str.GsmNstGPIBFile:_s_has_been_moved_to_CalData:__s
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x664], 1
jne 0x46d4af
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
push 0x5247b3
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x10c], edx
mov byte [ebp - 4], 0x17
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
push str.WcdmaCableLossDataBase_Failed.csv
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x114], eax
mov byte [ebp - 4], 0x18
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 0x19
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xac]
call fcn.00470800
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8