Function at 0x46e9a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b678
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1a8], ecx
lea ecx, [ebp - 0x28]
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 - 0xb8]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x24]
push eax
push 0x18
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1a8]
call fcn.0046f880
lea ecx, [ebp - 0xb4]
call fcn.00456640
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb4]
push ecx
call fcn.004b82c0
mov ecx, eax
call fcn.004ba4d0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 7
push str.WifiTestLogFileName
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 8
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x1a8]
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_____
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x124]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x528020
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b0], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x128]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x10]
push eax
call fcn.004b82c0
mov ecx, eax
call fcn.004bb930
push 0x528034
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x12c]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x5c
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
push eax
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x1c0], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1c0]
push ecx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x528040
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_1483]
mov ecx, dword [ebp - 0x1a8]
call fcn.00448870
cmp eax, 1
jne 0x46f416
push 0
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x46ed07
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xd0], eax
push 0
push 0
lea edx, [ebp - 0xcc]
push edx
push 0x400
mov eax, dword [ebp - 0xd0]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0xd4]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 0xd0]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push 0x528060
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb03
push 0x5280ac
push ecx
mov ecx, esp
mov dword [ebp - 0x134], esp
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x1c4], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0xd4]
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 - 0x138], esp
lea edx, [ebp - 0xd4]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xd4]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x11
push str.WifiTestStartTime
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x1a8]
mov ecx, dword [edx + 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_____
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.MIXTrace.txt
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x140]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1cc], eax
mov edx, dword [ebp - 0x1cc]
mov dword [ebp - 0x1d0], edx
mov byte [ebp - 4], 0x13
mov eax, dword [ebp - 0x1d0]
push eax
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x140]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x5c
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
push eax
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov dword [ebp - 0x1d4], eax
mov edx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1d8], edx
mov byte [ebp - 4], 0x14
mov eax, dword [ebp - 0x1d8]
push eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x144]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str._MIXTrace.txt
lea ecx, [ebp - 0xc4]
push ecx
push 0x5280dc
lea edx, [ebp - 0xbc]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1dc], eax
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp - 0x1e0], ecx
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x1e0]
push edx
lea eax, [ebp - 0x14c]
push eax
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0x1e4], eax
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x1e8], ecx
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x1e8]
push edx
lea eax, [ebp - 0x150]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1ec], eax
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x1f0], ecx
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1f0]
push edx
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x150]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x14c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x148]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x46f01d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xdc], eax
push 0
push 0
lea eax, [ebp - 0xd8]
push eax
push 0x400
mov ecx, dword [ebp - 0xdc]
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xd8]
push eax
mov ecx, dword [ebp - 0xdc]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
push 0x5280e0
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb1f
push 0x52812c
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x1f4], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0xe0]
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 - 0x158], esp
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xe0]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x10], 0
je 0x46f142
push 0
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x46f142
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
push 0
push 0
lea ecx, [ebp - 0xe4]
push ecx
push 0x400
mov edx, dword [ebp - 0xe8]
push edx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0xec]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x19
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
push 0x528150
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb3a
push 0x52819c
push ecx
mov ecx, esp
mov dword [ebp - 0x15c], esp
lea edx, [ebp - 0xec]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x1fc], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0xec]
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 - 0x160], esp
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xec]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x60], 0
je 0x46f3e6
push 0
push str.WifiTestLog.txt
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x164]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x204], eax
mov ecx, dword [ebp - 0x204]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x164]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0xc0], 0
jne 0x46f294
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf4], eax
push 0
push 0
lea eax, [ebp - 0xf0]
push eax
push 0x400
mov ecx, dword [ebp - 0xf4]
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0x30]
push edx
push str.Fail_to_save_WIifTest_Log:__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb53
push 0x528208
push ecx
mov ecx, esp
mov dword [ebp - 0x168], esp
lea edx, [ebp - 0xf8]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x208], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0xf8]
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 - 0x16c], esp
lea eax, [ebp - 0xf8]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x20c], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xf8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x10], 0
je 0x46f3e6
push 0
push str.GPIB.txt
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x170]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0xc0], eax
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0xc0], 0
jne 0x46f3e6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x100], eax
push 0
push 0
lea eax, [ebp - 0xfc]
push eax
push 0x400
mov ecx, dword [ebp - 0x100]
push ecx
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x104]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 0xfc]
push eax
mov ecx, dword [ebp - 0x100]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
push 0x528218
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb6c
push 0x528264
push ecx
mov ecx, esp
mov dword [ebp - 0x174], esp
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x214], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x104]
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 - 0x178], esp
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x104]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push str.WifiTestCsvFileName
lea ecx, [ebp - 0x17c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov byte [ebp - 4], 0x1c
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x17c]
push edx
mov eax, dword [ebp - 0x1a8]
mov ecx, dword [eax + 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_____
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x17c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
push 0x528288
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x180]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0x1a8]
call fcn.00448870
cmp eax, 1
jne 0x46f726
push 0
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x46f5d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x110], eax
push 0
push 0
lea edx, [ebp - 0x10c]
push edx
push 0x400
mov eax, dword [ebp - 0x110]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Fail_to_save_WifiTest:__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xb8a
push 0x5282fc
push ecx
mov ecx, esp
mov dword [ebp - 0x184], esp
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x224], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x114]
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 - 0x188], esp
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x114]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x60], 0
je 0x46f726
push 0
push str.WifiTestResult.csv
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18c]
push ecx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x108], eax
lea ecx, [ebp - 0x18c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
cmp dword [ebp - 0x108], 0
jne 0x46f726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x11c], eax
push 0
push 0
lea edx, [ebp - 0x118]
push edx
push 0x400
mov eax, dword [ebp - 0x11c]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0x1f
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
push str.Fail_to_save_WifiTest_Log:__s_to_folder_CalData:_GetLastError_d__s___SN_s.
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x18
push 0xba3
push 0x528390
push ecx
mov ecx, esp
mov dword [ebp - 0x190], esp
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x230], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x120]
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 - 0x194], esp
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x234], eax
mov ecx, dword [ebp - 0x1a8]
call fcn.004735f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x120]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov eax, dword [ebp - 0x1a8]
cmp dword [eax + 0x664], 1
jne 0x46f7dd
push ecx
mov ecx, esp
mov dword [ebp - 0x198], esp
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0x20
push ecx
mov ecx, esp
mov dword [ebp - 0x19c], esp
push str.WifiTestLog_Failed.txt
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x244], ecx
mov byte [ebp - 4], 0x21
push ecx
mov ecx, esp
mov dword [ebp - 0x1a0], esp
lea edx, [ebp - 0x18]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x24c], eax
mov byte [ebp - 4], 0x22
push ecx
mov ecx, esp
mov dword [ebp - 0x1a4], esp
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0x250], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x1a8]
call fcn.00470800
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xb4]
call fcn.004566b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb8]
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 - 0x28]
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 4