Function at 0x46d9c0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b39e
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x55f43c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
push 0x16
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.0046f880
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 5
push str.GsmAntNstResult.csv
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [ebp - 0x2c]
call fcn.00456710
mov byte [ebp - 4], 7
lea edx, [ebp - 0x2c]
push edx
call fcn.004b82c0
mov ecx, eax
call fcn.004bb1a0
push str..csv
lea eax, [ebp - 0x2c]
push eax
push str.GSM_
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x94]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.004206a0
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x68]
push edx
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0x84]
call fcn.00448870
cmp eax, 1
jne 0x46dcd8
push 0
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x46dc82
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
push 0x400
mov eax, dword [ebp - 0x50]
push eax
push 0
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.Fail_to_save_GsmAntNst:__s_to_folder_CalData:__s__GetLastError_d__s___SN_s.
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x1c
push 0xa15
push 0x527cb8
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xa8], eax
push 1
push 0
call sub.Micl.dll_MiclAddDebugLogString
add esp, 0x14
lea ecx, [ebp - 0x54]
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 - 0x70], esp
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0x84]
call fcn.004735f0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc100.dll_Ordinal_901]
jmp 0x46dcd8
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_316]
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x40]
push edx
push str.GsmNstResultFile:_s_has_been_moved_to_CalData:__s
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.mfc100.dll_Ordinal_4283]
add esp, 0x10
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x664], 1
jne 0x46dd84
push ecx
mov ecx, esp
mov dword [ebp - 0x74], esp
push 0x5247de
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0xb4], edx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x78], esp
push str.GsmAntNstResult_Failed.csv
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbc], eax
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.mfc100.dll_Ordinal_300]
mov dword [ebp - 0xc8], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x84]
call fcn.00470800
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.00456770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
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