Function at 0x435d1c
Capabilities:
Copy file
Timestomp file

Disassembly:
push 0x254
mov eax, 0x46b9c3
call fcn.00468ea6
xor ebx, ebx
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.MFC42u.dll_CString::CString_3]
lea ecx, [ebp - 0x238]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC42u.dll_CString::CString_3]
or eax, 0xffffffff
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x248], ebx
mov eax, dword [0x475014]
mov esi, 0x100
cmp eax, 0x475014
je 0x435da2
test dword [eax + 0x1c], esi
je 0x435da2
cmp byte [eax + 0x19], 4
jb 0x435da2
push dword [eax + 0x14]
mov edi, 0x40cdf8
push dword [eax + 0x10]
mov edx, edi
push 0x2a
pop ecx
call fcn.00414ca8
jmp 0x435da7
mov edi, 0x40cdf8
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [sym.imp.FXSAPI.dll_FaxConnectFaxServerW]
test eax, eax
jne 0x435dfa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43616e
test dword [eax + 0x1c], esi
je 0x43616e
cmp byte [eax + 0x19], 2
jb 0x43616e
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2b
mov edx, edi
pop ecx
call fcn.00414ccb
jmp 0x43616e
lea eax, [ebp - 0x248]
push eax
push ebx
push dword [ebp - 0x244]
call dword [sym.imp.FXSAPI.dll_FaxGetGeneralConfiguration]
test eax, eax
jne 0x435e48
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x43616e
test dword [eax + 0x1c], esi
je 0x43616e
cmp byte [eax + 0x19], 2
jb 0x43616e
push ecx
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x2c
jmp 0x435ded
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx + 8]
call fcn.0041dbba
mov edx, eax
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x258], edx
test edx, edx
jne 0x435e9c
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43616e
test dword [ecx + 0x1c], esi
je 0x43616e
cmp byte [ecx + 0x19], 2
jb 0x43616e
push 8
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x2d
jmp 0x435ded
mov ecx, edx
call fcn.0041e045
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x254], eax
test eax, eax
jne 0x435eec
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43616e
test dword [ecx + 0x1c], esi
je 0x43616e
cmp byte [ecx + 0x19], 2
jb 0x43616e
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x2e
jmp 0x435ded
xor eax, eax
mov byte [ebp - 4], 2
push 0x206
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x234]
add esp, 0xc
push eax
call dword [0x4786b4]
push 0x408fe0
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
push 0x40c8e0
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
mov ecx, dword [ebp - 0x234]
lea edx, [ebp - 0x220]
push 0x104
call fcn.0041ffb3
test eax, eax
je 0x435f9d
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43616e
test dword [ecx + 0x1c], esi
je 0x43616e
cmp byte [ecx + 0x19], 2
jb 0x43616e
push eax
push 0x40c918
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x2f
mov edx, edi
pop ecx
call fcn.00414cf4
jmp 0x43616e
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x234]
call dword [0x4786b4]
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x238]
push 0x476b84
mov byte [ebp - 4], 4
call dword [0x478574]
push 0x408fe0
lea ecx, [ebp - 0x238]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
push 0x40c958
lea ecx, [ebp - 0x238]
call dword [sym.imp.MFC42u.dll_CString::operator_1]
xor eax, eax
inc eax
push eax
mov dword [ebp - 4], eax
push dword [ebp - 0x238]
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x43616e
push ecx
push ecx
push ebx
push 3
push ecx
mov ecx, dword [ebp - 0x238]
mov edx, 0xc0000000
push ebx
call fcn.0041d0d6
mov dword [ebp - 0x240], eax
cmp eax, 0xffffffff
jne 0x43606f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x475014]
cmp ecx, 0x475014
je 0x43616e
test dword [ecx + 0x1c], esi
je 0x43616e
cmp byte [ecx + 0x19], 2
jb 0x43616e
push eax
push 0x40c978
push dword [ecx + 0x14]
push dword [ecx + 0x10]
push 0x32
jmp 0x435f90
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x43616e
lea eax, [ebp - 0x260]
push eax
push eax
push eax
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x43616e
cmp dword [ebp - 0x248], 0
je 0x436183
push dword [ebp - 0x248]
call dword [sym.imp.FXSAPI.dll_FaxFreeBuffer]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x436194
mov ecx, eax
call fcn.0041c919
mov eax, dword [ebp - 0x23c]
test eax, eax
je 0x4361a5
mov ecx, eax
call fcn.0041c919
mov eax, dword [ebp - 0x240]
cmp eax, 0xffffffff
je 0x4361ee
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4361ee
mov eax, dword [0x475014]
cmp eax, 0x475014
je 0x4361ee
test dword [eax + 0x1c], esi
je 0x4361ee
cmp byte [eax + 0x19], 3
jb 0x4361ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x475014]
mov edx, edi
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x33
pop ecx
call fcn.00414ccb
cmp dword [ebp - 0x244], 0
je 0x436203
push dword [ebp - 0x244]
call dword [sym.imp.FXSAPI.dll_FaxClose]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], bl
call dword [sym.imp.MFC42u.dll_CString::CString]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MFC42u.dll_CString::CString]
call fcn.00468de4
ret