Function at 0x4218a0
Capabilities:
Check mutex on windows
Create thread
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7b4
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2d0], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x2cc], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0x110], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x274], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 0xf8], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x79c], eax
cmp dword [ebp - 0x79c], 0x12
je 0x4236b7
cmp dword [ebp - 0x79c], 0x400
je 0x421996
cmp dword [ebp - 0x79c], 0x407
je 0x423651
jmp 0x4236c4
mov ecx, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0xffff
mov word [ebp - 0x184], cx
mov eax, dword [ebp + 0x14]
and eax, 0xffff
movzx ecx, ax
mov dword [ebp - 0x7a0], ecx
cmp dword [ebp - 0x7a0], 1
je 0x421cbf
cmp dword [ebp - 0x7a0], 0x20
je 0x4219d7
xor eax, eax
jmp 0x4236f2
mov edx, dword [0x4badbc]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov dword [ecx + 8], 1
push 1
mov edx, dword [ebp + 0x10]
push edx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x421cb8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FD_CLOSE_PostThreadMessage_ERROR___d___Thread:_d
call fcn.00428bf0
add esp, 0xc
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
mov eax, dword [ebp + 0x10]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x421cb8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46b400
call fcn.00428bf0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FD_CLOSE_PostThreadMessage_ERROR___d___Thread:_d_Posting_FD_READ_Forcing_Thread_Shutdown
call fcn.00428bf0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ba0b8], eax
jne 0x421b06
push 0x48dae8
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [ebp - 0x100], eax
lea ecx, [ebp - 0x274]
push ecx
push 1
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x421adb
push str.THREAD_FD_CLOSE_ReleaseSemaphore_hThreadPrinterSemaphore__FAILED
call fcn.00428bf0
add esp, 4
jmp 0x421aef
mov eax, dword [ebp - 0x274]
push eax
push str.THREAD_FD_CLOSE_ReleaseSemaphore_hThreadPrinterSemaphore__dwSemCount:_d
call fcn.00428bf0
add esp, 8
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ba0b8], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x408
mov edx, dword [0x490014]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
jne 0x421c9c
mov dword [ebp - 0x2d8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.Could_Not_Post_WM_THREAD_DONE_Thread:_d
call fcn.00428bf0
add esp, 8
mov dword [ebp - 0xe4], 0
jmp 0x421b62
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x14
jge 0x421c89
cmp dword [ebp - 0x2d8], 0
jne 0x421c89
mov esi, dword [ebp - 0xe4]
imul esi, esi, 0x70
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x48ce70], eax
jne 0x421c84
mov dword [ebp - 0x2d8], 1
mov ecx, dword [ebp - 0xe4]
imul ecx, ecx, 0x70
mov edx, dword [ecx + 0x48ce78]
push edx
call fcn.0043cae0
add esp, 4
mov eax, dword [ebp - 0xe4]
imul eax, eax, 0x70
mov ecx, dword [eax + 0x48ce74]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xe4]
imul edx, edx, 0x70
mov dword [edx + 0x48ce74], 0
mov eax, dword [ebp - 0xe4]
imul eax, eax, 0x70
mov dword [eax + 0x48ce70], 0
mov ecx, dword [ebp - 0xe4]
imul ecx, ecx, 0x70
mov dword [ecx + 0x48ce78], 0xffffffff
push 0x469fe5
mov edx, dword [ebp - 0xe4]
imul edx, edx, 0x70
add edx, 0x48ce7c
push edx
call fcn.00445510
add esp, 8
mov dword [ebp - 0x2d4], 0
jmp 0x421c40
mov eax, dword [ebp - 0x2d4]
add eax, 1
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0x64
jge 0x421c75
push 0x469fe6
mov ecx, dword [ebp - 0xe4]
imul ecx, ecx, 0x1f40
mov edx, dword [ebp - 0x2d4]
imul edx, edx, 0x50
lea eax, [ecx + edx + 0x492040]
push eax
call fcn.00445510
add esp, 8
jmp 0x421c31
mov ecx, dword [0x4b9f4c]
sub ecx, 1
mov dword [0x4b9f4c], ecx
jmp 0x421b53
cmp dword [0x4b9f4c], 0
jge 0x421c9c
mov dword [0x4b9f4c], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.FD_CLOSE_Thread:_d_PostQuitMessage_0_
call fcn.00428bf0
add esp, 8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x4236f2
mov edx, dword [0x4badbc]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 4], 0
je 0x421cde
xor eax, eax
jmp 0x4236f2
mov edx, dword [0x4badbc]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov dword [ecx + 4], 1
mov dword [ebp - 0xf0], 0
mov dword [ebp - 0xf4], 4
mov edx, dword [ebp - 0xf4]
push edx
call fcn.00448ca5
add esp, 4
mov dword [ebp - 0xec], eax
push 0
lea eax, [ebp - 0xf4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.0043e020
add esp, 0xc
test eax, eax
jne 0x421e1d
mov edx, dword [0x4badbc]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
cmp dword [ecx + 8], 0
je 0x421e1d
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4ba0b8], eax
jne 0x421dd3
push 0x48dae8
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [ebp - 0x100], eax
lea edx, [ebp - 0x274]
push edx
push 1
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x421da8
push str.THREAD_FD_READ_ReleaseSemaphore_hThreadPrinterSemaphore__FAILED
call fcn.00428bf0
add esp, 4
jmp 0x421dbc
mov ecx, dword [ebp - 0x274]
push ecx
push str.THREAD_FD_READ_ReleaseSemaphore_hThreadPrinterSemaphore__dwSemCount:_d
call fcn.00428bf0
add esp, 8
mov edx, dword [ebp - 0x100]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ba0b8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.FD_READ_Thread:_d_Nothing_Else_to_Read_Thread_Done
call fcn.00428bf0
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x408
mov eax, dword [0x490014]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.FD_READ_Thread:_d_PostQuitMessage_0_
call fcn.00428bf0
add esp, 8
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [0x4badbc]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov dword [eax + 4], 0
mov dword [ebp - 0x264], 1
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0043cb70
add esp, 4
mov dword [ebp - 0x270], eax
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x7a4], edx
mov eax, dword [ebp - 0x7a4]
add eax, 0x64
mov dword [ebp - 0x7a4], eax
cmp dword [ebp - 0x7a4], 0x6f
ja case.0x421e8b.1
mov ecx, dword [ebp - 0x7a4]
movzx edx, byte [ecx + 0x423738]
jmp dword [edx*4 + 0x423704]
lea eax, [ebp - 0xf4]
push eax
call fcn.0043cb70
add esp, 4
mov dword [ebp - 0x2cc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xf4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xec]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xe8]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004237b0
add esp, 0x14
mov dword [ebp - 8], eax
mov dword [0x4b9f64], 0
mov dword [0x4ba3bc], 1
push 4
push 0x4ba3bc
mov edx, dword [0x4b9f64]
add edx, 0x491b50
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
mov ecx, dword [ebp - 0x2cc]
mov dword [0x4ba3bc], ecx
push 4
push 0x4ba3bc
mov edx, dword [0x4b9f64]
add edx, 0x491b50
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
mov ecx, dword [ebp - 8]
mov dword [0x4ba3bc], ecx
push 4
push 0x4ba3bc
mov edx, dword [0x4b9f64]
add edx, 0x491b50
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
push 0x203
mov ecx, dword [0x4b9f64]
push ecx
push 0x491b50
mov edx, dword [ebp + 0x10]
push edx
call fcn.00428db0
add esp, 0x10
test eax, eax
jne 0x421fdd
push str.ERROR_FAX_ID_Message_FAILURE_attempting_to_CANCEL
call fcn.00428bf0
add esp, 4
mov eax, dword [ebp - 8]
push eax
push 0x46b668
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00445608
add esp, 0xc
push 0x28
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
call fcn.00425fa0
add esp, 0x10
cmp dword [ebp - 0xec], 0
je 0x421fff
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
lea ecx, [ebp - 0xf4]
push ecx
call fcn.0043cb70
add esp, 4
mov dword [ebp - 0x2cc], eax
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.0043cbb0
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.0043cbb0
add esp, 8
push 0x48dae8
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [ebp - 0x100], eax
push str.FAX_FILE_NAME_WaitForSingleObject__hThreadPrinterSemaphore__20000__
call fcn.00428bf0
add esp, 4
push 0x4e20
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
push str.FAX_FILE_NAME_After_WaitForSingleObject__hThreadPrinterSemaphore__200000__
call fcn.00428bf0
add esp, 4
cmp dword [ebp - 4], 0
jne 0x422337
push str.FAX_FILE_NAME_hThreadPrinterSemaphore_NOT_FLAGGED._OK_TO_SEND_FAX
call fcn.00428bf0
add esp, 4
lea ecx, [ebp - 0x260]
push ecx
call fcn.00445950
add esp, 4
test eax, eax
jne 0x4220d9
lea edx, [ebp - 0x2c8]
push edx
push str.C:medent_faxsend_
push 0x46b77c
push 0x4b96b8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4220ff
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x260]
push ecx
push str.C:medent_faxsend_
push 0x46b514
push 0x4b96b8
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
mov edx, dword [ebp - 0x2cc]
mov dword [0x4b9f60], edx
push 0x4b96b8
call fcn.004494cd
add esp, 4
mov dword [ebp - 0x518], 1
mov al, byte [0x469fe7]
mov byte [ebp - 0x510], al
push 0x12b
push 0
lea ecx, [ebp - 0x50f]
push ecx
call fcn.004456b0
add esp, 0xc
mov dl, byte [0x46a00b]
mov byte [ebp - 0x3e0], dl
push 0x103
push 0
lea eax, [ebp - 0x3df]
push eax
call fcn.004456b0
add esp, 0xc
mov dword [ebp - 0x514], 0
mov cl, byte [0x46a017]
mov byte [ebp - 0x620], cl
push 0x103
push 0
lea edx, [ebp - 0x61f]
push edx
call fcn.004456b0
add esp, 0xc
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.00445510
add esp, 8
push 0x46b51c
lea edx, [ebp - 0x620]
push edx
call fcn.004497e8
add esp, 8
mov dword [ebp - 0x514], eax
mov eax, dword [ebp - 0x514]
push eax
lea ecx, [ebp - 0x620]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0x260]
push edx
call fcn.00445950
add esp, 4
test eax, eax
jne 0x42220d
lea eax, [ebp - 0x620]
push eax
push str.C:medent_faxsend_
push str._s_s.pcl
lea ecx, [ebp - 0x510]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x422235
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x260]
push eax
push str.C:medent_faxsend_
push str._s_s_s.pcl
lea ecx, [ebp - 0x510]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x510]
push edx
push str.FAX_FILE_NAME_Delete_Files__s
call fcn.00428bf0
add esp, 8
lea eax, [ebp - 0x760]
push eax
lea ecx, [ebp - 0x510]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x764], eax
mov dword [ebp - 0x518], 1
cmp dword [ebp - 0x764], 0xffffffff
je 0x422325
cmp dword [ebp - 0x518], 0
je 0x422325
lea edx, [ebp - 0x260]
push edx
call fcn.00445950
add esp, 4
test eax, eax
jne 0x4222bd
lea eax, [ebp - 0x734]
push eax
push str.C:medent_faxsend_
push 0x46b7a4
lea ecx, [ebp - 0x3e0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x4222e5
lea edx, [ebp - 0x734]
push edx
lea eax, [ebp - 0x260]
push eax
push str.C:medent_faxsend_
push 0x46b7ac
lea ecx, [ebp - 0x3e0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x3e0]
push edx
push 0x46b7b4
call fcn.0042ab20
add esp, 8
lea eax, [ebp - 0x3e0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x760]
push ecx
mov edx, dword [ebp - 0x764]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x518], eax
jmp 0x42226d
mov eax, dword [ebp - 0x764]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x42242c
mov dword [ebp - 0x768], 0
push str.FAX_FILE_NAME_hThreadPrinterSemaphore_IS_STILL_FLAGGED._CHECK_MUTEX
call fcn.00428bf0
add esp, 4
push str.FileName_ERROR
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.00445510
add esp, 8
push 0x4b9fa0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4ba0b0], eax
cmp dword [0x4ba0b0], 0
je 0x42241f
push 0
mov edx, dword [0x4ba0b0]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x768], eax
mov eax, dword [ebp - 0x768]
mov dword [ebp - 0x7a8], eax
cmp dword [ebp - 0x7a8], 0
je 0x4223af
jmp 0x422407
push str.FAX_FILE_NAME_Medentprint.exe_does_NOT_HAVE_VSIFAX_MUTEX_Locked
call fcn.00428bf0
add esp, 4
cmp dword [0x4ba0b8], 0
je 0x422407
push str.FAX_FILE_NAME_Free_PrinterSemaphore
call fcn.00428bf0
add esp, 4
push 0
push 0
push 0x407
mov ecx, dword [0x4ba0b8]
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageA]
test eax, eax
jne 0x422407
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [0x4ba0b8]
push edx
push str.FAX_FILE_NAME_PostThreadMessage___d___FAILED_ERROR:_d
call fcn.00428bf0
add esp, 0xc
mov eax, dword [0x4ba0b0]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4ba0b0], 0
jmp 0x42242c
push str.FAX_FILE_NAME_CreateMutex_VSIFAX_MUTEX__FAILED
call fcn.00428bf0
add esp, 4
cmp dword [ebp - 0xec], 0
je 0x42244e
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
mov dword [0x4b9f64], 0
mov dword [0x4ba3bc], 7
push 4
push 0x4ba3bc
mov edx, dword [0x4b9f64]
add edx, 0x491b50
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.00445950
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x2c8]
push edx
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.00445950
add esp, 4
mov edx, dword [0x4b9f64]
lea eax, [edx + eax + 1]
mov dword [0x4b9f64], eax
push 0x203
mov ecx, dword [0x4b9f64]
push ecx
push 0x491b50
mov edx, dword [ebp + 0x10]
push edx
call fcn.00428db0
add esp, 0x10
cmp dword [ebp - 4], 0
jne 0x422517
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x4ba0b8], eax
mov eax, dword [0x4ba0b8]
push eax
push str.THREAD_ThreadHasPrinterSemaphore:__d
call fcn.00428bf0
add esp, 8
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4236f2
lea edx, [ebp - 0xf4]
push edx
call fcn.0043cb70
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push str.vfxcancel__d
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00445608
add esp, 0xc
push 0x28
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
call fcn.00425fa0
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.00428680
add esp, 4
cmp dword [ebp - 0xec], 0
je 0x422598
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0xf4]
push eax
call fcn.0043cbb0
add esp, 8
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0xf4]
push edx
call fcn.0043cbb0
add esp, 8
lea eax, [ebp - 0x260]
push eax
call fcn.00445950
add esp, 4
test eax, eax
jne 0x4225ff
lea ecx, [ebp - 0x2c8]
push ecx
push str.C:medent_faxsend_
push 0x46b928
push 0x490018
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x422625
lea edx, [ebp - 0x2c8]
push edx
lea eax, [ebp - 0x260]
push eax
push str.C:medent_faxsend_
push str._s_s_s
push 0x490018
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x490018
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0xec], 0
je 0x422652
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
push 0x491940
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [ebp - 0xfc], eax
lea edx, [ebp - 0xf4]
push edx
call fcn.0043cb70
add esp, 4
mov dword [0x4b9f6c], eax
mov eax, dword [ebp + 0x10]
mov dword [0x491a44], eax
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
push 0x425cb0
push 0
push 0
call fcn.00449970
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.FAX_RETURN_STATUS_WaitForSingleObject__hThreadSemaphore__INFINITE__
call fcn.00428bf0
add esp, 4
push 0xffffffffffffffff
mov edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.FAX_RETURN_STATUS_After_WaitForSingleObject__hThreadSemaphore__INFINITE__
call fcn.00428bf0
add esp, 4
lea eax, [ebp - 0x274]
push eax
push 1
mov ecx, dword [ebp - 0xfc]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
mov edx, dword [ebp - 0xfc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xec], 0
je 0x42271e
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
mov dword [0x4b9f64], 0
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
lea edx, [ebp - 0x180]
push edx
call fcn.00445510
add esp, 8
lea eax, [ebp - 0x180]
push eax
call fcn.00445950
add esp, 4
mov ecx, dword [0x4b9f64]
lea edx, [ecx + eax + 1]
mov dword [0x4b9f64], edx
mov eax, dword [ebp - 0xec]
add eax, dword [0x4b9f64]
push eax
lea ecx, [ebp - 0x1f0]
push ecx
call fcn.00445510
add esp, 8
lea edx, [ebp - 0x1f0]
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [0x4b9f64]
lea edx, [ecx + eax + 1]
mov dword [0x4b9f64], edx
mov dword [ebp - 0x114], 0
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4227e7
mov ecx, dword [ebp - 0x114]
mov edx, dword [ebp - 0x114]
add edx, 1
mov dword [ebp - 0x114], edx
cmp ecx, 0x3c
jge 0x4227e7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4227af
cmp dword [ebp - 0xec], 0
je 0x422809
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
cmp dword [0x4ba114], 0
jne 0x42283e
lea ecx, [ebp - 0x10c]
push ecx
push 0
push 0
push 0x424f80
push 0
push 0
call fcn.00449970
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x422858
push str.FAX_CHECK_RECV_LOG
call fcn.00428bf0
add esp, 4
push str.Modem_Port_CONFLICT_
call fcn.00428bf0
add esp, 4
cmp dword [ebp - 0xec], 0
je 0x42287a
mov edx, dword [ebp - 0xec]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
push 0x48fcf0
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [ebp - 0x110], eax
push str.FAX_SET_RECV_PORT_WaitForSingleObject__hThreadSetupMutex__INFINITE__
call fcn.00428bf0
add esp, 4
push 0xffffffffffffffff
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push str.FAX_SET_RECV_PORT_After_WaitForSingleObject__hThreadSetupMutex__INFINITE__
call fcn.00428bf0
add esp, 4
mov dword [0x4b9f64], 0
push 4
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
cmp dword [ebp - 0xc], 0
je 0x422906
mov dword [0x4b9f48], 1
jmp 0x422949
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xec], 0
je 0x422942
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
push 4
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
lea edx, [ebp - 0xf8]
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
cmp dword [ebp - 0xf8], 0
je 0x422a28
call fcn.0041cff0
push 0x48c670
push str.TODAYS_FILES_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48ca50
push str.VOICE_NOTES_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48cb58
push str.IMAGE_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48c948
push str.IMAGE_CTREE_DIRECTORY__s
call fcn.00428bf0
add esp, 8
push 0x48c778
push str.MASTER_IMAGE_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48c248
push str.TEMP_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48c568
push str.ERROR_LOG_FILE__s
call fcn.00428bf0
add esp, 8
push 0x48cc60
push str.TELEPHONY_DIR__s
call fcn.00428bf0
add esp, 8
push 0x48c350
push str.OTHER_DIR__s
call fcn.00428bf0
add esp, 8
push 4
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
lea edx, [ebp - 0x10]
push edx
call fcn.00445d50
add esp, 0xc
mov eax, dword [0x4b9f64]
add eax, 4
mov dword [0x4b9f64], eax
mov dword [ebp - 0x2d0], 0xffffffff
mov dword [ebp - 0xe4], 0
jmp 0x422a75
mov ecx, dword [ebp - 0xe4]
add ecx, 1
mov dword [ebp - 0xe4], ecx
cmp dword [ebp - 0xe4], 0x14
jge 0x422aa0
mov edx, dword [ebp - 0xe4]
imul edx, edx, 0x70
mov eax, dword [edx + 0x48ce78]
cmp eax, dword [ebp + 0x10]
jne 0x422a9e
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x2d0], ecx
jmp 0x422a66
cmp dword [ebp - 0x2d0], 0xffffffff
je 0x422e95
cmp dword [ebp - 0x10], 0
je 0x422de8
cmp dword [0x4b9f44], 0
jne 0x422dd6
mov dword [ebp - 0x2d4], 0
jmp 0x422adf
mov edx, dword [ebp - 0x2d4]
add edx, 1
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x2d4]
cmp eax, dword [ebp - 0x10]
jge 0x422b99
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x1f40
mov eax, dword [ebp - 0x2d4]
imul eax, eax, 0x50
lea ecx, [edx + eax + 0x492040]
push ecx
call fcn.00445510
add esp, 8
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x1f40
mov eax, dword [ebp - 0x2d4]
imul eax, eax, 0x50
lea ecx, [edx + eax + 0x492040]
push ecx
call fcn.00445950
add esp, 4
mov edx, dword [0x4b9f64]
lea eax, [edx + eax + 1]
mov dword [0x4b9f64], eax
push 4
mov ecx, dword [ebp - 0xec]
add ecx, dword [0x4b9f64]
push ecx
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x190
mov eax, dword [ebp - 0x2d4]
lea ecx, [edx + eax*4 + 0x48dca8]
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [0x4b9f64]
add edx, 4
mov dword [0x4b9f64], edx
jmp 0x422ad0
lea eax, [ebp - 0x108]
push eax
mov ecx, dword [ebp - 0x2d0]
push ecx
call fcn.00424590
add esp, 8
test eax, eax
je 0x422d77
mov dword [0x4b9f40], 1
mov edx, dword [ebp - 0xf8]
mov dword [0x48c174], edx
mov dword [ebp - 0x2d4], 0
jmp 0x422be8
mov eax, dword [ebp - 0x2d4]
add eax, 1
mov dword [ebp - 0x2d4], eax
mov ecx, dword [ebp - 0x2d4]
cmp ecx, dword [ebp - 0x10]
jge 0x422d32
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x190
mov eax, dword [ebp - 0x2d4]
cmp dword [edx + eax*4 + 0x48dca8], 0
je 0x422c3b
mov ecx, dword [ebp - 0x2d0]
imul ecx, ecx, 0x190
mov edx, dword [ebp - 0x2d4]
cmp dword [ecx + edx*4 + 0x48dca8], 2
je 0x422c3b
mov dword [ebp - 0x7ac], str.norecv
jmp 0x422c45
mov dword [ebp - 0x7ac], 0x46bb0c
mov eax, dword [ebp - 0x2d0]
imul eax, eax, 0x1f40
mov ecx, dword [ebp - 0x2d4]
imul ecx, ecx, 0x50
lea edx, [eax + ecx + 0x492040]
push edx
mov eax, dword [ebp - 0x7ac]
push eax
push 0x46bb1c
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00445608
add esp, 0x10
push 0x48
push 0
push 0
lea edx, [ebp - 0xe0]
push edx
call fcn.00425fa0
add esp, 0x10
mov eax, dword [ebp - 0x2d0]
imul eax, eax, 0x190
mov ecx, dword [ebp - 0x2d4]
cmp dword [eax + ecx*4 + 0x48dca8], 1
je 0x422cd6
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x190
mov eax, dword [ebp - 0x2d4]
cmp dword [edx + eax*4 + 0x48dca8], 2
je 0x422cd6
mov dword [ebp - 0x7b0], str.nosend
jmp 0x422ce0
mov dword [ebp - 0x7b0], 0x46bb2c
mov ecx, dword [ebp - 0x2d0]
imul ecx, ecx, 0x1f40
mov edx, dword [ebp - 0x2d4]
imul edx, edx, 0x50
lea eax, [ecx + edx + 0x492040]
push eax
mov ecx, dword [ebp - 0x7b0]
push ecx
push str.vfxadmin__s__s
lea edx, [ebp - 0xe0]
push edx
call fcn.00445608
add esp, 0x10
push 0x48
push 0
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.00425fa0
add esp, 0x10
jmp 0x422bd9
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xec], 0
je 0x422d6e
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
push str.FAX_SET_RECV_PORT_NoPortConflict___FAILED
call fcn.00428bf0
add esp, 4
mov dword [ebp - 0x2d4], 0
jmp 0x422d9f
mov ecx, dword [ebp - 0x2d4]
add ecx, 1
mov dword [ebp - 0x2d4], ecx
cmp dword [ebp - 0x2d4], 0x64
jge 0x422dd4
push 0x46a025
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x1f40
mov eax, dword [ebp - 0x2d4]
imul eax, eax, 0x50
lea ecx, [edx + eax + 0x492040]
push ecx
call fcn.00445510
add esp, 8
jmp 0x422d90
jmp 0x422de3
push 0x46bb78
call fcn.00428bf0
add esp, 4
jmp 0x422e93
cmp dword [0x4b9f44], 0
jne 0x422e67
cmp dword [0x4b9f40], 0
jne 0x422e67
push 0x46bba0
mov edx, dword [ebp - 0x2d0]
imul edx, edx, 0x1f40
add edx, 0x492040
push edx
call fcn.00445510
add esp, 8
mov dword [0x4b9f44], 1
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xec], 0
je 0x422e60
mov edx, dword [ebp - 0xec]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
cmp dword [0x4b9f44], 1
jne 0x422e7d
push str.FAX_SET_RECV_PORT_bExclusive__TRUE
call fcn.00428bf0
add esp, 4
cmp dword [0x4b9f40], 1
jne 0x422e93
push str.FAX_SET_RECV_PORT_bSingle__TRUE
call fcn.00428bf0
add esp, 4
jmp 0x422ea2
push str.FAX_SET_RECV_PORT_Could_Not_Find_Socket
call fcn.00428bf0
add esp, 4
mov dword [0x4ba114], 1
mov dword [0x4b9f64], 0
mov dword [0x4ba3bc], 5
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x108]
imul edx, edx, 0x70
add edx, 0x48ce7c
push edx
call fcn.00445950
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp - 0x108]
imul eax, eax, 0x70
add eax, 0x48ce7c
push eax
mov ecx, dword [0x4b9f64]
add ecx, 0x491b50
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0x108]
imul edx, edx, 0x70
add edx, 0x48ce7c
push edx
call fcn.00445950
add esp, 4
mov ecx, dword [0x4b9f64]
lea edx, [ecx + eax + 1]
mov dword [0x4b9f64], edx
push 0x203
mov eax, dword [0x4b9f64]
push eax
push 0x491b50
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00428db0
add esp, 0x10
push str.FAX_SET_RECV_PORT
call fcn.00428bf0
add esp, 4
mov edx, dword [ebp - 0x108]
imul edx, edx, 0x70
add edx, 0x48ce7c
push edx
push str.FAX_SOCK_NOT_RECV_Modem_Port_CONFLICT_with__s
call fcn.00428bf0
add esp, 8
mov eax, dword [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xec], 0
je 0x422fd3
mov edx, dword [ebp - 0xec]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
mov dword [ebp - 0x770], 0
mov dword [ebp - 0x76c], 0
lea eax, [ebp - 0x770]
push eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0xf4]
mov dword [ecx], edx
mov eax, dword [ebp - 0xf0]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0xec]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0xe8]
mov dword [ecx + 0xc], eax
call fcn.00424670
add esp, 0x14
mov dword [ebp - 0x76c], eax
mov ecx, dword [ebp - 0x76c]
push ecx
mov edx, dword [ebp - 0x770]
push edx
push str.FAX_SISTER_INFO_STATUS_iSetTextFileHimId:_d_iSetTextFileReturn:_d
call fcn.00428bf0
add esp, 0xc
mov dword [0x4b9f64], 0
mov dword [0x4ba3bc], 0xb
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x770]
mov dword [0x4ba3bc], edx
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x76c]
mov dword [0x4ba3bc], edx
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
push 0x203
mov edx, dword [0x4b9f64]
push edx
push 0x491b50
mov eax, dword [ebp + 0x10]
push eax
call fcn.00428db0
add esp, 0x10
cmp dword [ebp - 0xec], 0
je 0x42312c
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
lea edx, [ebp - 0xf4]
push edx
call fcn.0043cb70
add esp, 4
mov dword [ebp - 8], eax
lea eax, [ebp - 0xf4]
push eax
call fcn.0043cb70
add esp, 4
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x42316f
mov dword [ebp - 0x7b4], 0x46bc5c
jmp 0x423179
mov dword [ebp - 0x7b4], 0x46bca4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x7b4]
push edx
push str.vfxtry__p__s__d
lea eax, [ebp - 0xe0]
push eax
call fcn.00445608
add esp, 0x10
push 0x28
push 0
push 0
lea ecx, [ebp - 0xe0]
push ecx
call fcn.00425fa0
add esp, 0x10
cmp dword [ebp - 0xec], 0
je 0x4231cf
mov edx, dword [ebp - 0xec]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
mov dword [ebp - 0x774], 0
mov dword [ebp - 0x780], 0
mov dword [ebp - 0x77c], 0
mov dword [ebp - 0x778], 0
lea eax, [ebp - 0x780]
push eax
call fcn.004271d0
add esp, 4
lea ecx, [ebp - 0x784]
push ecx
mov ecx, 0x4ba0f4
call fcn.0042c460
jmp 0x423234
push 0
lea edx, [ebp - 0x78c]
push edx
lea ecx, [ebp - 0x784]
call fcn.0042cd40
lea eax, [ebp - 0x790]
push eax
mov ecx, 0x4ba0f4
call fcn.0042c490
push eax
lea ecx, [ebp - 0x784]
call fcn.0042cd90
movzx ecx, al
test ecx, ecx
je 0x423287
lea ecx, [ebp - 0x784]
call fcn.0042cd20
cmp dword [eax + 0x1c], 0x14
jle 0x423285
lea ecx, [ebp - 0x784]
call fcn.0042cd20
mov dword [eax + 0x1c], 0
mov dword [ebp - 0x774], 1
jmp 0x423220
lea edx, [ebp - 0x788]
push edx
mov ecx, 0x4ba0e4
call fcn.0042c460
jmp 0x4232ae
push 0
lea eax, [ebp - 0x794]
push eax
lea ecx, [ebp - 0x788]
call fcn.0042cd40
lea ecx, [ebp - 0x798]
push ecx
mov ecx, 0x4ba0e4
call fcn.0042c490
push eax
lea ecx, [ebp - 0x788]
call fcn.0042cd90
movzx edx, al
test edx, edx
je 0x423301
lea ecx, [ebp - 0x788]
call fcn.0042cd20
cmp dword [eax + 0x1c], 0x14
jle 0x4232ff
lea ecx, [ebp - 0x788]
call fcn.0042cd20
mov dword [eax + 0x1c], 0
mov dword [ebp - 0x774], 1
jmp 0x42329a
mov dword [0x4b9f64], 0
mov dword [0x4ba3bc], 9
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x780]
mov dword [0x4ba3bc], edx
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x774]
mov dword [0x4ba3bc], edx
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov edx, dword [ebp - 0x77c]
mov dword [0x4ba3bc], edx
push 4
push 0x4ba3bc
mov eax, dword [0x4b9f64]
add eax, 0x491b50
push eax
call fcn.00445d50
add esp, 0xc
mov ecx, dword [0x4b9f64]
add ecx, 4
mov dword [0x4b9f64], ecx
mov dword [ebp - 0xe4], 0
jmp 0x4233f8
mov edx, dword [ebp - 0xe4]
add edx, 1
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x77c]
jge 0x4234e8
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + ecx*4]
push eax
call fcn.00445950
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + ecx*4]
push eax
mov ecx, dword [0x4b9f64]
add ecx, 0x491b50
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x778]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00445950
add esp, 4
mov edx, dword [0x4b9f64]
lea eax, [edx + eax + 1]
mov dword [0x4b9f64], eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + ecx*4]
add eax, 0x64
push eax
call fcn.00445950
add esp, 4
add eax, 1
push eax
mov ecx, dword [ebp - 0xe4]
mov edx, dword [ebp - 0x778]
mov eax, dword [edx + ecx*4]
add eax, 0x64
push eax
mov ecx, dword [0x4b9f64]
add ecx, 0x491b50
push ecx
call fcn.00445d50
add esp, 0xc
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x778]
mov ecx, dword [eax + edx*4]
add ecx, 0x64
push ecx
call fcn.00445950
add esp, 4
mov edx, dword [0x4b9f64]
lea eax, [edx + eax + 1]
mov dword [0x4b9f64], eax
jmp 0x4233e9
push 0x203
mov ecx, dword [0x4b9f64]
push ecx
push 0x491b50
mov edx, dword [ebp + 0x10]
push edx
call fcn.00428db0
add esp, 0x10
mov dword [ebp - 0xe4], 0
jmp 0x423520
mov eax, dword [ebp - 0xe4]
add eax, 1
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0x77c]
jge 0x423548
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x778]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.004485b5
add esp, 4
jmp 0x423511
mov edx, dword [ebp - 0x778]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0x778], 0
cmp dword [ebp - 0xec], 0
je 0x423583
mov eax, dword [ebp - 0xec]
push eax
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
mov ecx, 0x4ba0f4
call fcn.0042c4c0
movzx ecx, al
test ecx, ecx
je 0x4235a5
mov ecx, 0x4ba0e4
call fcn.0042c4c0
movzx edx, al
test edx, edx
jne 0x4235d8
cmp dword [0x4b9dc0], 0
jne 0x4235d8
push str.FAX_CHECK_VSIFAX_STATUS__Start_Intializing_Loading_Fax_Job_Timer
call fcn.00428bf0
add esp, 4
push 0x424ed0
push 0xbb8
push 0xc
mov eax, dword [0x490014]
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x4b9dc0], eax
xor eax, eax
jmp 0x4236f2
cmp dword [ebp - 0xec], 0
je 0x423601
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
cmp dword [ebp - 0xec], 0
je 0x42362a
mov edx, dword [ebp - 0xec]
push edx
call fcn.004485b5
add esp, 4
mov dword [ebp - 0xec], 0
xor eax, eax
jmp 0x4236f2
push 0x48dae8
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x274]
push eax
push 1
mov ecx, dword [ebp - 0x100]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
jne 0x423692
push str.THREAD_WM_PRINT_STATUS_ReleaseSemaphore__hThreadPrinterSemaphore__FAILED
call fcn.00428bf0
add esp, 4
jmp 0x4236a6
mov edx, dword [ebp - 0x274]
push edx
push str.THREAD_WM_PRINT_STATUS_ReleaseSemaphore__hThreadPrinterSemaphore__dwSemCount:_d
call fcn.00428bf0
add esp, 8
mov eax, dword [ebp - 0x100]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4236f2
push str.THREAD_WM_QUIT
call fcn.00428bf0
add esp, 4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DefWindowProcA]
jmp 0x4236f2
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret 0x10