Function at 0x420177
Capabilities:
Check for time delay via gettickcount
Get session user name
Read .ini file

Disassembly:
sub esp, 0x7a8
mov eax, dword [0x514d34]
xor eax, esp
mov dword [esp + 0x7a4], eax
xor eax, eax
mov dword [esp + 0x20], 0x50f588
push ebx
inc eax
xor ecx, ecx
mov ebx, eax
mov dword [esp + 0xc], eax
push ebp
mov eax, 0x206
mov dword [esp + 0xc], ebx
push 0x2dd
mov word [esp + 0x30], ax
lea eax, [esp + 0x32]
push ecx
push eax
mov byte [esp + 0x3e8], cl
mov dword [esp + 0x3e9], ecx
mov dword [esp + 0x3ed], ecx
call fcn.00443240
mov ax, word [0x52d808]
mov ebp, 0xc000
and ax, bp
add esp, 0xc
cmp ax, bp
je 0x4201f9
push 0xf8
call fcn.00460b68
pop ecx
test ax, ax
je 0x420211
cmp word [0x52eca4], 0
jne 0x420211
call fcn.0041ff6a
test ax, ax
je 0x4208cb
mov ecx, dword [0x533e04]
push esi
push edi
push str.Fax_Details
movzx eax, word [ecx + 0x10]
mov esi, eax
or eax, 0x200
mov word [ecx + 0x10], ax
lea eax, [esp + 0x34]
push eax
call fcn.00421d32
movzx edi, ax
mov eax, dword [0x533e04]
pop ecx
pop ecx
mov word [eax + 0x10], si
mov ax, word [0x52d808]
and ax, bp
cmp ax, bp
je 0x420263
push 0xf8
call fcn.00460b68
pop ecx
test ax, ax
je 0x420272
cmp word [0x52eca4], 0
jne 0x420272
call fcn.0041ff40
test di, di
je 0x4208c9
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x51
push eax
lea eax, [esp + 0x468]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
call fcn.0040f455
add eax, 0x2bae
push 8
push eax
lea eax, [esp + 0x3ec]
push eax
call fcn.00442cc0
lea eax, [esp + 0x3f0]
push eax
call fcn.0045bb79
mov ax, word [0x52d808]
mov ecx, 0x4000
add esp, 0x10
mov byte [0x5338b8], 0
test cx, ax
jne 0x420305
and ax, bp
cmp ax, bp
je 0x4202ef
push 0xf8
call fcn.00460b68
pop ecx
test ax, ax
je 0x420305
push 0
lea eax, [esp + 0x3f4]
push eax
push 0
call fcn.00464010
add esp, 0xc
jmp 0x420367
lea eax, [esp + 0x3f0]
push eax
call fcn.0040e171
lea eax, [esp + 0x3f4]
mov dword [esp], 0x4ca484
push eax
call fcn.00446fa0
lea eax, [esp + 0x3f8]
push eax
call fcn.00447230
add esp, 0xc
lea ecx, [esp + 0x3f0]
add eax, ecx
push eax
push 3
call fcn.0040f455
add eax, 0x702
push eax
call fcn.0045bdd9
lea eax, [esp + 0x3fc]
push str..ini
push eax
call fcn.00446fa0
add esp, 0x14
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x3f0]
push eax
push 9
mov eax, 0x5338b8
mov esi, str.zetafax
push eax
push eax
push str.letterhead
push esi
call ebp
lea eax, [esp + 0x3f0]
mov byte [0x5338c4], 0
push eax
push 9
mov edi, 0x5338c4
push edi
push edi
push str.coversheet
push esi
call ebp
cmp word [0x532f18], 0
je 0x4204dc
cmp byte [0x5338c4], 0
je 0x4203f9
lea eax, [esp + 0x4b8]
push str.Coversheet:
push eax
call fcn.00446f90
lea eax, [esp + 0x4c0]
push edi
push eax
call fcn.00446fa0
lea eax, [esp + 0x4c8]
push 0x4ca024
push eax
call fcn.00446fa0
add esp, 0x18
jmp 0x420401
mov byte [esp + 0x4b8], 0
push 6
pop esi
movsx eax, si
imul eax, eax, 0x3c
push 0x3c
lea eax, [eax + 0x53364c]
push eax
push 0x20
call fcn.0045b85c
add esp, 0xc
test ax, ax
je 0x420428
dec esi
test si, si
jg 0x420404
movsx edi, si
xor ebx, ebx
test edi, edi
jle 0x420499
xor esi, esi
lea eax, [esp + 0x4b8]
push str.COVERTEXT:
push eax
call fcn.00446fa0
imul eax, esi, 0x3c
lea esi, [eax + 0x533688]
lea eax, [esp + 0x4c0]
push eax
call fcn.00447230
add esp, 0xc
lea ecx, [esp + 0x4b8]
add eax, ecx
push eax
push 0x3c
push esi
call fcn.0040a51c
pop ecx
pop ecx
movzx eax, ax
push eax
push esi
call fcn.0045bdd9
lea eax, [esp + 0x4c4]
push 0x4ca024
push eax
call fcn.00446fa0
add esp, 0x14
inc ebx
movzx esi, bx
cmp esi, edi
jl 0x420433
mov ebx, dword [esp + 0x14]
cmp word [0x52eca4], 0
je 0x4204f2
lea eax, [esp + 0x3e4]
push eax
lea eax, [esp + 0x468]
push eax
lea eax, [esp + 0x4c0]
push eax
movzx eax, word [0x5338b4]
push eax
movzx eax, word [0x50f584]
push eax
call fcn.0041fd89
add esp, 0x14
jmp 0x4208c9
lea eax, [esp + 0x4b8]
push str.Coversheet:__r_n
push eax
call fcn.00446f90
pop ecx
pop ecx
jmp 0x42049d
mov edi, 0x5311a0
mov eax, 0xffff
push edi
push 0x1e
push 0x4ca4d8
push 0x1c
push 0x28
push str.LXPREP.AVI
push 0
push 0x106
push str.Submitting_Fax
push eax
push eax
push eax
push str.Abandon_faxing_
call fcn.0047caca
or dword [0x50f33c], 0xffffffff
xor eax, eax
push str.AXIS_Report_File
mov word [0x533160], ax
call fcn.00447230
movzx eax, ax
add eax, 0x5b
push eax
push dword [0x52d814]
call fcn.0040d754
add esp, 0x40
push 2
pop eax
push eax
lea eax, [esp + 0x14]
push eax
push dword [0x52d814]
call fcn.0040d044
add esp, 0xc
test ax, ax
jne case.default.0x4205c5
mov esi, dword [esp + 0x20]
mov ax, word [esp + 0x10]
push 2
pop ecx
cmp ax, cx
je 0x4205b8
cmp word [0x533160], 0
je 0x4205b8
test bx, bx
je 0x420598
xor ebx, ebx
jmp 0x4205af
push str.___PAGE_
push dword [0x50f33c]
call fcn.0042015c
mov ax, word [esp + 0x18]
pop ecx
pop ecx
xor ecx, ecx
mov word [0x533160], cx
movzx eax, ax
dec eax
cmp eax, 0xb
ja case.default.0x4205c5
jmp dword [eax*4 + 0x4208e3]
call fcn.0041febb
xor eax, eax
xor esi, esi
mov word [0x533160], ax
inc esi
push 0xc2
lea eax, [esp + 0x324]
mov ebx, esi
push eax
push dword [0x52d814]
call fcn.0040d044
add esp, 0xc
test byte [esp + 0x3e1], 1
jne 0x420738
push str.._axis.ini
push 0x1f
lea eax, [esp + 0x44c]
xor esi, esi
push eax
lea eax, [esp + 0x36a]
push eax
push str.fax_to
push 0x4ca2f8
call ebp
call fcn.0040e319
mov edi, eax
jmp 0x42064e
push 0x5311a0
call fcn.0047cb5c
pop ecx
test ax, ax
jne 0x4208a5
call fcn.0040fcb6
call fcn.0040e319
sub eax, edi
cmp eax, 0x14
jb 0x420635
lea eax, [esp + 0x33f]
mov edi, 0x5311a0
push eax
push dword [0x52d7ec]
push dword [esp + 0x20]
push str._dword__5_of__dword__5_to__str_
push edi
call fcn.0047cb00
add esp, 0x14
test ax, ax
jne 0x4208bb
push 0x50f33c
push 0
push 0x533168
call fcn.0040cd7f
add esp, 0xc
test ax, ax
je 0x4206b1
push str.Error_Creating_Temporary_Fax_File
call fcn.00413845
pop ecx
jmp 0x42087f
cmp byte [0x52fcd8], 0
lea eax, [esp + 0x444]
push eax
lea eax, [esp + 0x343]
mov ecx, 0x531310
push eax
lea eax, [esp + 0x328]
push eax
mov eax, 0x52fcd8
cmove eax, ecx
cmp word [0x5338b4], si
push eax
mov ecx, 0x4bff80
mov eax, 0x4ca558
cmove eax, ecx
cmp word [0x50f584], si
push eax
mov ecx, 0x4c060e
mov eax, str.After:_OFFPEAK_r_n
cmove eax, ecx
push eax
push 0x5338b8
lea eax, [esp + 0x4d4]
push eax
lea eax, [esp + 0x404]
push eax
lea eax, [esp + 0x488]
push eax
push str._____MESSAGE__r_nUser:__str__r_nFrom:__str__r_nFormat:_EPSON_r_n_str_Letterhead:__str__r_n_str_Hold:__str__r_nHeader:_NoToFrDaTi_r_nSubject:__str__r_nTo:__str__r_nOrganisation:__str__r_nFax:__str__r_n_r_n_____TEXT__r_n
push dword [0x50f33c]
call fcn.0040df0d
add esp, 0x30
inc dword [esp + 0x18]
jmp 0x42087f
push 4
lea eax, [esp + 0x18]
push eax
push dword [0x52d814]
call fcn.0040d044
movzx eax, word [esp + 0x22]
push eax
lea eax, [esp + 0x698]
push eax
push dword [0x52d814]
call fcn.0040d044
add esp, 0x18
test si, si
jne 0x42087f
movzx eax, word [esp + 0x16]
push eax
lea eax, [esp + 0x68c]
push eax
push dword [0x50f33c]
call fcn.0040d07a
xor eax, eax
add esp, 0xc
xor edi, edi
cmp ax, word [esp + 0x14]
jae 0x42087f
mov ebp, 0x4c060e
push ebp
push dword [0x50f33c]
call fcn.0040df80
inc edi
pop ecx
pop ecx
cmp di, word [esp + 0x14]
jb 0x4207a8
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x42087f
xor eax, eax
inc eax
mov word [0x533160], ax
jmp 0x42087f
test si, si
jne 0x42087f
push str.___FONT:ROMAN5_
push dword [0x50f33c]
call fcn.0042015c
pop ecx
jmp 0x4206ab
test si, si
jne 0x42087f
push str._____FONT:ROMAN20_
jmp 0x4207e5
test si, si
jne 0x42087f
push str.___FONT:ROMAN10_
jmp 0x4207e5
test si, si
jne 0x42081c
call fcn.0041febb
xor esi, esi
jmp 0x42087f
push 0xc
lea eax, [esp + 0x318]
jmp 0x420870
push 4
lea eax, [esp + 0x24]
push eax
push dword [0x52d814]
call fcn.0040d044
lea eax, [esp + 0x28]
push eax
push dword [0x52d814]
call fcn.0040d93d
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x34]
push eax
push dword [0x52d814]
mov dword [esp + 0x38], eax
call fcn.0040d754
add esp, 0x1c
jmp 0x42087f
push 8
lea eax, [esp + 0x2c]
push eax
push dword [0x52d814]
call fcn.0040d044
add esp, 0xc
push 2
pop eax
push eax
lea eax, [esp + 0x14]
push eax
push dword [0x52d814]
call fcn.0040d044
add esp, 0xc
test ax, ax
jne case.default.0x4205c5
mov edi, 0x5311a0
jmp 0x420578
push 0x5311a0
call fcn.00414124
jmp 0x4208c8
test si, si
jne 0x4208bb
call fcn.0041febb
push edi
jmp 0x4208aa
push str.Fatal_AXR_Format_Error
call fcn.00413845
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x7ac]
pop ebp
pop ebx
xor ecx, esp
call fcn.00441a5e
add esp, 0x7a8
ret