Function at 0x46c640
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b12c
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb8], ecx
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0xb8]
call fcn.0046f880
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00456710
mov byte [ebp - 4], 6
lea edx, [ebp - 0x34]
push edx
call fcn.004b82c0
mov ecx, eax
call fcn.004bb1a0
push str.RFCalibrationResultsDevice0GSM_NST_GoldenBoard.txt
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp + 0xc], 0x11
jne 0x46c7da
push 0x527724
push str.GSM_Golden_Make
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xc8]
push ecx
lea edx, [ebp - 0x84]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x84]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46c873
cmp dword [ebp + 0xc], 0x12
jne 0x46c873
push 0x527740
push str.GSM_Golden_Loss_Set
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x8c]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xe0]
push edx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xb8]
call fcn.00448870
cmp eax, 1
jne 0x46c9d0
push 0
lea ecx, [ebp - 0x3c]
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 - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x46c97a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x54], eax
push 0
push 0
lea eax, [ebp - 0x50]
push eax
push 0x400
mov ecx, dword [ebp - 0x54]
push ecx
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], 0xc
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
push str.Fail_to_save_GsmCableLoss:__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0x91b
push 0x5277b0
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xe4], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x58]
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 - 0x94], esp
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.004735f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46c9d0
lea ecx, [ebp - 0x14]
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], 0xd
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x5277c0
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], 6
lea ecx, [ebp - 0x5c]
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 0x46cc2b
push 0x52476b
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0xe
push 0x52477f
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0xf
push str.RFCalibrationResultsDevice0GSM_NST_GPIB.txt
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x98]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
mov dword [ebp - 0xf0], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0xf0]
push edx
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.MSVCR100.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x46cc11
push 0x527820
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x9c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x46cbbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x70], eax
push 0
push 0
lea ecx, [ebp - 0x6c]
push ecx
push 0x400
mov edx, dword [ebp - 0x70]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x64]
push eax
push 0x52782c
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
push 0x943
push 0x52786c
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x74]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xfc], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xb8]
call fcn.004735f0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x74]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46cc11
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
push 0x52787c
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x78]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xb8]
cmp dword [ecx + 0x664], 1
jne 0x46cce3
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
push 0x5247a3
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x104], eax
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 0x14
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
push str.GsmCableLossDataBase_Failed.csv
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x110], eax
mov byte [ebp - 4], 0x15
push ecx
mov ecx, esp
mov dword [ebp - 0xb0], esp
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov byte [ebp - 4], 0x16
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea edx, [ebp - 0x3c]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x11c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xb8]
call fcn.00470800
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.00456770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
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