Function at 0x420040
Capabilities:
Check mutex on windows
Copy file
Delete file
Move file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4645cb
mov eax, dword fs:[0]
push eax
mov eax, 0x2504
call fcn.00449a10
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov al, byte [0x469ed5]
mov byte [ebp - 0x1704], al
push 0xc7
push 0
lea ecx, [ebp - 0x1703]
push ecx
call fcn.004456b0
add esp, 0xc
mov dword [ebp - 0x3a0], 0
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0x2320], 0
mov dl, byte [0x469ed6]
mov byte [ebp - 0x39c], dl
push 0xc7
push 0
lea eax, [ebp - 0x39b]
push eax
call fcn.004456b0
add esp, 0xc
mov cl, byte [0x469ed7]
mov byte [ebp - 0xdb4], cl
push 0xc7
push 0
lea edx, [ebp - 0xdb3]
push edx
call fcn.004456b0
add esp, 0xc
mov al, byte [0x469ef1]
mov byte [ebp - 0xec], al
push 0xc7
push 0
lea ecx, [ebp - 0xeb]
push ecx
call fcn.004456b0
add esp, 0xc
mov dl, byte [0x469ef2]
mov byte [ebp - 0x217c], dl
push 0xc7
push 0
lea eax, [ebp - 0x217b]
push eax
call fcn.004456b0
add esp, 0xc
mov cl, byte [0x469ef3]
mov byte [ebp - 0x20b4], cl
push 0xc7
push 0
lea edx, [ebp - 0x20b3]
push edx
call fcn.004456b0
add esp, 0xc
mov al, byte [0x469f26]
mov byte [ebp - 0x1bc], al
push 0xc7
push 0
lea ecx, [ebp - 0x1bb]
push ecx
call fcn.004456b0
add esp, 0xc
mov dl, byte [0x469f27]
mov byte [ebp - 0x231c], dl
push 0xc7
push 0
lea eax, [ebp - 0x231b]
push eax
call fcn.004456b0
add esp, 0xc
mov cl, byte [0x469f39]
mov byte [ebp - 0x2cc], cl
push 0xc7
push 0
lea edx, [ebp - 0x2cb]
push edx
call fcn.004456b0
add esp, 0xc
mov al, byte [0x469f3a]
mov byte [ebp - 0x1fec], al
push 0xc7
push 0
lea ecx, [ebp - 0x1feb]
push ecx
call fcn.004456b0
add esp, 0xc
mov dl, byte [0x469f3b]
mov byte [ebp - 0xcec], dl
push 0xc7
push 0
lea eax, [ebp - 0xceb]
push eax
call fcn.004456b0
add esp, 0xc
mov cl, byte [0x469f5b]
mov byte [ebp - 0x2254], cl
push 0xc7
push 0
lea edx, [ebp - 0x2253]
push edx
call fcn.004456b0
add esp, 0xc
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x1cc], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1c4], 0
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0xf0], 0
jmp 0x420275
mov eax, dword [ebp - 0xf0]
add eax, 1
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0x14
jge 0x42032b
cmp dword [ebp - 0x1cc], 0
jne 0x42032b
mov dword [ebp - 0x2320], 0
jmp 0x4202aa
mov ecx, dword [ebp - 0x2320]
add ecx, 1
mov dword [ebp - 0x2320], ecx
cmp dword [ebp - 0x2320], 0x64
jge 0x420326
cmp dword [ebp - 0x1cc], 0
jne 0x420326
push 0x46ab14
mov edx, dword [ebp - 0xf0]
imul edx, edx, 0x1f40
mov eax, dword [ebp - 0x2320]
imul eax, eax, 0x50
lea ecx, [edx + eax + 0x492040]
push ecx
call fcn.00448730
add esp, 8
test eax, eax
je 0x420317
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xf0]
imul eax, eax, 0x1f40
mov ecx, dword [ebp - 0x2320]
imul ecx, ecx, 0x50
lea edx, [eax + ecx + 0x492040]
push edx
call fcn.00448730
add esp, 8
test eax, eax
jne 0x420321
mov dword [ebp - 0x1cc], 1
jmp 0x42029b
jmp 0x420266
cmp dword [ebp - 0x1cc], 0
jne 0x420364
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.ReceiveMedentFax_filename__s__device__s__remoteId__s__
call fcn.00428bf0
add esp, 0x10
push str.ReceiveMedentFax__NO_ONE_IS_LISTENING____
call fcn.00428bf0
add esp, 4
mov eax, 1
jmp 0x42111f
push 0x469faa
push str.ImgFax
lea eax, [ebp - 0x39c]
push eax
call fcn.0043f7b0
add esp, 0xc
push 0x46ab84
lea ecx, [ebp - 0x39c]
push ecx
call fcn.004497e8
add esp, 8
mov dword [ebp - 0x2d0], eax
cmp dword [ebp - 0x2d0], 0
je 0x4203bb
mov edx, dword [ebp - 0x2d0]
push edx
push 0x46ab88
lea eax, [ebp - 0x39c]
push eax
call fcn.00445608
add esp, 0xc
lea ecx, [ebp - 0x39c]
push ecx
push 0x46ab8c
lea edx, [ebp - 0xdb4]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xdb4]
push eax
push str.C:medent_faxrecv_
push 0x46ab94
lea ecx, [ebp - 0xec]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [0x4ba0c0], 0
jne 0x420416
cmp dword [0x4ba0c4], 0
jne 0x420416
mov dword [ebp - 0x2510], 0x1000
jmp 0x420420
mov dword [ebp - 0x2510], 0
mov edx, dword [ebp - 0x2510]
push edx
push 0
push 0
push 0
lea eax, [ebp - 0xec]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileExA]
test eax, eax
jne 0x420468
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xec]
push edx
mov eax, dword [ebp + 8]
push eax
push str.ReceiveMedentFax_CopyFileEx__s__s_NULL_NULL_NULL_COPY_FILE_NO_BUFFERING__FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0x10
xor eax, eax
jmp 0x42111f
push 0x469fab
lea ecx, [ebp - 0x1fec]
push ecx
call fcn.00445510
add esp, 8
mov edx, dword [ebp + 8]
push edx
call fcn.00445950
add esp, 4
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jle 0x4204ba
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xf0]
movsx ecx, byte [eax - 1]
cmp ecx, 0x5c
je 0x4204ba
mov edx, dword [ebp - 0xf0]
sub edx, 1
mov dword [ebp - 0xf0], edx
jmp 0x42048e
mov dword [ebp - 0x2320], 0
jmp 0x4204e4
mov eax, dword [ebp - 0xf0]
add eax, 1
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0x2320]
add ecx, 1
mov dword [ebp - 0x2320], ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00445950
add esp, 4
cmp dword [ebp - 0xf0], eax
jg 0x420512
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0x2320]
mov dl, byte [eax]
mov byte [ebp + ecx - 0x1fec], dl
jmp 0x4204c6
lea eax, [ebp - 0x1fec]
push eax
push 0x491a48
push 0x46ab9c
lea ecx, [ebp - 0x217c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [ebp - 0x39c]
push edx
push 0x46aba4
lea eax, [ebp - 0x20b4]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x20b4]
push ecx
push str.C:medent_faxrecv_
push 0x46ac0c
lea edx, [ebp - 0x1bc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x46abac
push str._s.cmp
lea eax, [ebp - 0x231c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x231c]
push ecx
push str.C:medent_faxrecv_
push 0x46ac1c
lea edx, [ebp - 0x2cc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1f24]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.0041c410
add esp, 0x24
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 1
jge 0x42060f
mov edx, dword [ebp - 0x1c4]
push edx
lea eax, [ebp - 0xec]
push eax
push str.CCSL_LoadFile__s_...__FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0xc
lea ecx, [ebp - 0xec]
push ecx
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
push 0
push 1
lea edx, [ebp - 0x163c]
push edx
lea eax, [ebp - 0xec]
push eax
call fcn.0041c490
add esp, 0x10
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 1
jge 0x420669
mov ecx, dword [ebp - 0x1c4]
push ecx
lea edx, [ebp - 0xec]
push edx
push str.CCSL_FileInfo__s_...__FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0xc
lea eax, [ebp - 0xec]
push eax
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
mov ecx, dword [ebp - 0x11ec]
mov dword [ebp - 0x2188], ecx
mov dword [ebp - 0x2184], 0
mov edx, dword [ebp - 0x11ec]
imul edx, edx, 0xd0
push edx
call fcn.00448ca5
add esp, 4
mov dword [ebp - 0x2180], eax
cmp dword [ebp - 0x2180], 0
jne 0x4206d4
mov eax, dword [ebp - 0x2188]
push eax
lea ecx, [ebp - 0x20b4]
push ecx
push str.ERROR_Unable_To_Allocate_HeaderInfo.pPageInfo_for___s__TotalPages__d__In_ReceiveMedentFax__
call fcn.00428bf0
add esp, 0xc
lea edx, [ebp - 0xec]
push edx
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
mov dword [ebp - 0xf4], 1
jmp 0x4206ef
mov eax, dword [ebp - 0xf4]
add eax, 1
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
cmp ecx, dword [ebp - 0x2188]
jg 0x420d9a
mov dword [ebp - 0x1fc], 0x2c
push 0x2c
lea edx, [ebp - 0x1fc]
push edx
call fcn.0041c790
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0xc24], 0x87c
mov dword [ebp - 0x7c8], 0
lea ecx, [ebp - 0xc24]
push ecx
lea edx, [ebp - 0x1fc]
push edx
push 1
push 0
lea eax, [ebp - 0x1f24]
push eax
lea ecx, [ebp - 0xec]
push ecx
call fcn.0041c5e0
add esp, 0x18
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0xfffffff9
jne 0x4207cb
mov edx, dword [ebp - 0x1c4]
push edx
mov eax, dword [ebp - 0xf4]
push eax
lea ecx, [ebp - 0xec]
push ecx
push str.CCSL_LoadBitmap__s__nPage:_d___FAILED_ERROR:_d_Retry
call fcn.00428bf0
add esp, 0x10
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0xc24]
push edx
lea eax, [ebp - 0x1fc]
push eax
push 1
push 0
lea ecx, [ebp - 0x1f24]
push ecx
lea edx, [ebp - 0xec]
push edx
call fcn.0041c5e0
add esp, 0x18
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 1
jge 0x42081b
mov eax, dword [ebp - 0x1c4]
push eax
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0xec]
push edx
push str.CCSL_LoadBitmap__s__nPage:_d___FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0x10
mov eax, dword [ebp - 0x2180]
push eax
call fcn.004485b5
add esp, 4
lea ecx, [ebp - 0xec]
push ecx
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
mov edx, dword [ebp - 0x7d8]
cmp edx, dword [ebp - 0xf4]
je 0x420869
mov eax, dword [ebp - 0xf4]
push eax
mov ecx, dword [ebp - 0x7d8]
push ecx
push str.PageFileInfo.PageNumber__d__nPage__d_
call fcn.00428bf0
add esp, 0xc
mov edx, dword [ebp - 0x2180]
push edx
call fcn.004485b5
add esp, 4
lea eax, [ebp - 0xec]
push eax
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
mov ecx, dword [ebp - 0xf4]
push ecx
lea edx, [ebp - 0x39c]
push edx
push str._sPG_d.CMP
lea eax, [ebp - 0x231c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x231c]
push ecx
push str.C:medent_faxrecv_
push 0x46ad6c
lea edx, [ebp - 0x2cc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov eax, dword [ebp - 0x1f18]
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1f14]
mov dword [ebp - 0xdb8], ecx
mov edx, dword [ebp - 0x1c8]
cmp edx, dword [ebp - 0xdb8]
jle 0x4208e1
mov eax, dword [ebp - 0x1f14]
shl eax, 1
mov dword [ebp - 0xdb8], eax
mov dword [ebp - 0x1e7c], 0x771
push 0x771
lea ecx, [ebp - 0x1e7c]
push ecx
call fcn.0041c7f0
push 2
mov edx, dword [ebp - 0xdb8]
push edx
mov eax, dword [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x1f24]
push ecx
call fcn.0041c6d0
lea edx, [ebp - 0x1e7c]
push edx
push 0
push 1
push 0x1d
lea eax, [ebp - 0x1f24]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.0041c660
add esp, 0x18
mov dword [ebp - 0x1c4], eax
lea edx, [ebp - 0x1f24]
push edx
call fcn.0041c590
add esp, 4
cmp dword [ebp - 0x1c4], 1
jge 0x42099b
mov eax, dword [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
push str.CCSL_SaveBitmap___s___FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0xc
mov edx, dword [ebp - 0x2180]
push edx
call fcn.004485b5
add esp, 4
lea eax, [ebp - 0xec]
push eax
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
lea ecx, [ebp - 0x2cc]
push ecx
push str.CCSL_SaveBitmap___s___SUCCESS__
call fcn.00428bf0
add esp, 8
lea edx, [ebp - 0x231c]
push edx
push str.C:medentRecentScans_
push str._s_s.X2M
lea eax, [ebp - 0x2254]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x46adc8
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.00448c8e
add esp, 8
mov dword [0x4ba10c], eax
cmp dword [0x4ba10c], 0
je 0x420b3a
mov dword [ebp - 0x23e0], 0
mov dword [ebp - 0x23f0], 0
mov dword [ebp - 0x23ec], 0
mov dword [ebp - 0x23e8], 0
mov dword [ebp - 0x23e4], 0
push 2
push 0
mov edx, dword [0x4ba10c]
push edx
call fcn.00448b56
add esp, 0xc
mov eax, dword [0x4ba10c]
push eax
call fcn.00448ecd
add esp, 4
mov dword [ebp - 0x23e0], eax
push 0
push 0
mov ecx, dword [0x4ba10c]
push ecx
call fcn.00448b56
add esp, 0xc
mov edx, dword [ebp - 0x23e0]
push edx
lea eax, [ebp - 0x23f0]
push eax
call fcn.0043cc30
add esp, 8
mov ecx, dword [0x4ba10c]
push ecx
mov edx, dword [ebp - 0x23e0]
push edx
push 1
mov eax, dword [ebp - 0x23e8]
push eax
call fcn.00448aaf
add esp, 0x10
mov ecx, dword [0x4ba10c]
push ecx
call fcn.004484c1
add esp, 4
mov edx, dword [ebp - 0x23e0]
mov dword [ebp - 0x23ec], edx
lea eax, [ebp - 0x250c]
push eax
call fcn.0043f6f0
add esp, 4
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x2254]
push ecx
lea ecx, [ebp - 0x23dc]
call fcn.0043ead0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x23ec]
push edx
mov eax, dword [ebp - 0x23e8]
push eax
lea ecx, [ebp - 0x23dc]
call fcn.0043e820
lea ecx, [ebp - 0x23dc]
call fcn.0043eb40
lea ecx, [ebp - 0x23f0]
push ecx
call fcn.0043cdb0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23dc]
call fcn.0042c2b0
push str.C:medent_faxrecv_
push str._sTmp.zz
lea edx, [ebp - 0xcec]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xcec]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
call fcn.004301e0
add esp, 8
test eax, eax
jne 0x420bbd
lea edx, [ebp - 0xcec]
push edx
lea eax, [ebp - 0x2cc]
push eax
push str.CcsZip___s____s___FAILED
call fcn.00428bf0
add esp, 0xc
mov ecx, dword [ebp - 0x2180]
push ecx
call fcn.004485b5
add esp, 4
lea edx, [ebp - 0x1bc]
push edx
call fcn.004494cd
add esp, 4
lea eax, [ebp - 0xec]
push eax
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
mov dword [ebp - 0x1c0], 0
lea ecx, [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 0
jne 0x420c09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x2cc]
push edx
push str.Delete_File___s__Failed_In_ReceiveMedentFax___With_Error___d_
call fcn.00428bf0
add esp, 0xc
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x200], 0
jne 0x420c2c
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c0]
add ecx, 1
mov dword [ebp - 0x1c0], ecx
cmp eax, 0xa
jl 0x420bc7
mov dword [ebp - 0x1c0], 0
lea edx, [ebp - 0x2cc]
push edx
lea eax, [ebp - 0xcec]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x420ca4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2cc]
push ecx
lea edx, [ebp - 0xcec]
push edx
push str.Move_File___s_______s__Failed_With_Error___d_
call fcn.00428bf0
add esp, 0x10
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x1c0]
add eax, 1
mov dword [ebp - 0x1c0], eax
cmp dword [ebp - 0x1c0], 0xa
jle 0x420ca2
push str.Move_File_Failed_COMPLETELY._ABORTING_OPERATION
call fcn.00428bf0
add esp, 4
jmp 0x420ca4
jmp 0x420c36
lea ecx, [ebp - 0x231c]
push ecx
mov edx, dword [ebp - 0xf4]
sub edx, 1
imul edx, edx, 0xd0
mov eax, dword [ebp - 0x2180]
lea ecx, [eax + edx + 8]
push ecx
call fcn.00445510
add esp, 8
mov edx, dword [ebp - 0xf4]
sub edx, 1
imul edx, edx, 0xd0
mov eax, dword [ebp - 0x2180]
mov ecx, dword [ebp - 0x2184]
mov dword [eax + edx], ecx
lea edx, [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x2cc]
push eax
call fcn.00421460
add esp, 8
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0xf4]
sub ecx, 1
imul ecx, ecx, 0xd0
mov edx, dword [ebp - 0x2180]
mov eax, dword [ebp - 0x1d0]
mov dword [edx + ecx + 4], eax
mov ecx, dword [ebp - 0xf4]
sub ecx, 1
imul ecx, ecx, 0xd0
mov edx, dword [ebp - 0x2180]
mov eax, dword [ebp - 0x2184]
add eax, dword [edx + ecx + 4]
mov dword [ebp - 0x2184], eax
lea ecx, [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x1d0], 0
jne 0x420d95
mov edx, dword [ebp - 0x2180]
push edx
call fcn.004485b5
add esp, 4
lea eax, [ebp - 0x1bc]
push eax
call fcn.004494cd
add esp, 4
lea ecx, [ebp - 0xec]
push ecx
call fcn.004494cd
add esp, 4
xor eax, eax
jmp 0x42111f
jmp 0x4206e0
lea edx, [ebp - 0xec]
push edx
call fcn.004494cd
add esp, 4
lea eax, [ebp - 0x217c]
push eax
push str.FAX_RECEIVE__s
call fcn.00428bf0
add esp, 8
mov dword [ebp - 0xf0], 0
jmp 0x420dd8
mov ecx, dword [ebp - 0xf0]
add ecx, 1
mov dword [ebp - 0xf0], ecx
cmp dword [ebp - 0xf0], 0x14
jge 0x4210df
mov dword [ebp - 0x2320], 0
jmp 0x420e00
mov edx, dword [ebp - 0x2320]
add edx, 1
mov dword [ebp - 0x2320], edx
cmp dword [ebp - 0x2320], 0x64
jge 0x4210da
mov eax, dword [ebp - 0xf0]
imul eax, eax, 0x1f40
mov ecx, dword [ebp - 0x2320]
imul ecx, ecx, 0x50
lea edx, [eax + ecx + 0x492040]
push edx
call fcn.00445950
add esp, 4
test eax, eax
je 0x4210d5
push 0x46aea4
mov eax, dword [ebp - 0xf0]
imul eax, eax, 0x1f40
mov ecx, dword [ebp - 0x2320]
imul ecx, ecx, 0x50
lea edx, [eax + ecx + 0x492040]
push edx
call fcn.00448730
add esp, 8
test eax, eax
je 0x420e99
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xf0]
imul ecx, ecx, 0x1f40
mov edx, dword [ebp - 0x2320]
imul edx, edx, 0x50
lea eax, [ecx + edx + 0x492040]
push eax
call fcn.00448730
add esp, 8
test eax, eax
jne 0x4210d5
mov ecx, dword [ebp - 0xf0]
imul ecx, ecx, 0x70
mov edx, dword [ecx + 0x48ce78]
push edx
push 0x46aea8
lea eax, [ebp - 0x24fc]
push eax
call fcn.00445608
add esp, 0xc
lea ecx, [ebp - 0x24fc]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x23f4], eax
push str.ReceiveMedentFax___WaitForSingleObject__hThreadSendMutex__INFINITE__
call fcn.00428bf0
add esp, 4
push 0xffffffffffffffff
mov edx, dword [ebp - 0x23f4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.ReceiveMedentFax___After_WaitForSingleObject__hThreadSendMutex__INFINITE__
call fcn.00428bf0
add esp, 4
mov dword [ebp - 0x3a0], 0
mov dword [0x4ba3bc], 3
push 4
push 0x4ba3bc
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp + eax - 0x1704]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0x3a0]
add edx, 4
mov dword [ebp - 0x3a0], edx
lea eax, [ebp - 0x217c]
push eax
call fcn.00445950
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x217c]
push ecx
mov edx, dword [ebp - 0x3a0]
lea eax, [ebp + edx - 0x1704]
push eax
call fcn.00445d50
add esp, 0xc
lea ecx, [ebp - 0x217c]
push ecx
call fcn.00445950
add esp, 4
mov edx, dword [ebp - 0x3a0]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00445950
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp + eax - 0x1704]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x3a0]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3a0], edx
mov eax, dword [0x48c174]
mov dword [0x4ba3bc], eax
push 4
push 0x4ba3bc
mov ecx, dword [ebp - 0x3a0]
lea edx, [ebp + ecx - 0x1704]
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [ebp - 0x3a0]
add eax, 4
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00445950
add esp, 4
add eax, 1
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x3a0]
lea ecx, [ebp + eax - 0x1704]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp + 0x10]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [ebp - 0x3a0]
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3a0], edx
push 0x203
mov eax, dword [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x1704]
push ecx
mov edx, dword [ebp - 0xf0]
imul edx, edx, 0x70
mov eax, dword [edx + 0x48ce78]
push eax
call fcn.0043da70
add esp, 4
mov ecx, esp
mov edx, dword [ebp - 0x2188]
mov dword [ecx], edx
mov eax, dword [ebp - 0x2184]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x2180]
mov dword [ecx + 8], edx
lea eax, [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x20b4]
push ecx
mov edx, dword [ebp - 0xf0]
imul edx, edx, 0x70
mov eax, dword [edx + 0x48ce78]
push eax
call fcn.0041bfd0
add esp, 0x18
mov ecx, dword [ebp - 0x23f4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x23f4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x420df1
jmp 0x420dc9
mov eax, dword [ebp - 0x2180]
push eax
call fcn.004485b5
add esp, 4
cmp dword [0x48c174], 0
jne 0x42111a
lea ecx, [ebp - 0x1bc]
push ecx
push str.remove__s_
call fcn.00428bf0
add esp, 8
lea edx, [ebp - 0x1bc]
push edx
call fcn.004494cd
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret