Function at 0x45e4e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x704
mov eax, dword [0x5025d0]
xor eax, esp
mov dword [esp + 0x700], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x7f
xor esi, esi
lea eax, [esp + 0x185]
push esi
push eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18c], 0
call fcn.004a8c80
xor eax, eax
mov dword [esp + 0xd8], esi
lea edi, [esp + 0xdc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push 0x103
stosd dword es:[edi], eax
lea eax, [esp + 0x205]
push esi
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x20c], 0
call fcn.004a8c80
xor eax, eax
mov dword [esp + 0x50], esi
lea edi, [esp + 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xb4], esi
lea edi, [esp + 0xb8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
xor eax, eax
cmp ebx, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x80], esi
je 0x45f8d3
mov ecx, dword [ebx + 0x198]
inc eax
mov dword [ecx], eax
cmp dword [ebx + 0x1a8], 0xffffffff
mov dword [ebx + 0x1b8], esi
jne 0x45e5b6
mov dword [ebx + 0x1b8], eax
mov edi, dword [ebx + 0x1b0]
mov dword [esp + 0x54], eax
mov eax, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
call fcn.004672a1
test eax, eax
jne 0x45e614
cmp edi, esi
jne 0x45e5f1
mov esi, ebx
call fcn.0045e421
mov eax, dword [ebx + 0x194]
mov dword [eax], 3
xor eax, eax
jmp 0x45f8d3
push edi
mov eax, 0x104
lea esi, [esp + 0x204]
call fcn.00477b18
and dword [esp + 0x34], 0
and dword [esp + 0x40], 0
mov edi, dword [esp + 0x34]
pop ecx
xor esi, esi
mov eax, edi
call fcn.004672a1
test eax, eax
je 0x45e62a
mov edx, edi
call fcn.004672d0
test eax, eax
je 0x45e5d7
mov eax, dword [esp + 0x3c]
cmp eax, esi
je 0x45e64a
mov eax, dword [eax + 0x14]
cmp eax, esi
mov dword [esp + 0xc], eax
jne 0x45e705
mov eax, edi
call fcn.00467303
jmp 0x45e5d7
cmp dword [ebx + 0x124], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], esi
mov dword [esp + 0xb4], 0x9f6
je 0x45e689
mov eax, dword [ebx + 0x150]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffda8
add eax, 0xa8c
mov dword [esp + 0xb0], eax
jmp 0x45e694
mov dword [esp + 0xb0], 0x4b0
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0xb4]
mov edi, eax
push dword [esp + 0xb4]
mov dword [esp + 0x14], edi
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push 0
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x6c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push edi
call ebx
mov esi, 0xffffff
push esi
push edi
mov dword [esp + 0x88], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_FloodFill]
jmp 0x45e70b
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x198]
inc dword [eax]
cmp dword [esp + 0x3c], 0
je 0x45e757
call fcn.0049a965
mov dword [esp + 0x20], eax
call fcn.0049a965
mov edi, 0x1388
jmp 0x45e749
mov eax, dword [esp + 0x3c]
cmp dword [eax], 0
je 0x45e751
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0049a965
sub eax, dword [esp + 0x20]
cmp eax, edi
jb 0x45e733
mov eax, dword [esp + 0x3c]
inc dword [eax]
push 1
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetMapMode]
lea edi, [esi + 0x23]
mov edx, edi
mov dword [esp + 0x94], eax
call fcn.00477a16
test eax, eax
lea eax, [esp + 0x180]
jne 0x45e795
push edi
push str._s_Till
push 0x80
push eax
call fcn.00478fcf
add esp, 0x10
jmp 0x45e7a8
push str.TILL_SHEET
push 0x80
push eax
call fcn.00478fcf
add esp, 0xc
and dword [esp + 0xd4], 0
cmp dword [esi + 0x134], 0
lea eax, [esp + 0x180]
mov dword [esp + 0xcc], 0x14
mov dword [esp + 0xd0], eax
jne 0x45f486
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x84], ecx
lea edi, [esp + 0x88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xbc], ecx
lea edi, [esp + 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [esp + 0x30], ecx
mov dword [esp + 0xf0], ecx
lea edi, [esp + 0xf4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x64], ecx
stosd dword es:[edi], eax
je 0x45e846
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
jg 0x45e846
mov eax, dword [esi + 0x194]
and dword [esp + 0x54], 0
mov dword [eax], 4
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [sym.imp.USER32.dll_FillRect]
push eax
lea eax, [esp + 0xac]
push eax
push dword [esp + 0x14]
call edi
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x14]
call edi
push 0x10
lea eax, [esp + 0x48]
push 0
push eax
call fcn.004a8c80
add esp, 0xc
cmp dword [esi + 0x1a8], 0
je 0x45e8ab
cmp dword [esi + 0x1b8], 0
jne 0x45e8ab
cmp dword [esp + 0x64], 0
jne 0x45e8ab
mov dword [esp + 0x68], 1
jmp 0x45e8b0
and dword [esp + 0x68], 0
cmp dword [esp + 0x30], 0
je 0x45e905
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_StartPage]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push dword [esp + 0x10]
call edi
push 0x5a
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
call edi
fild dword [esp + 0x10]
mov dword [esp + 0x14], eax
fdiv qword [0x4feb78]
fmul qword [0x4feb70]
call fcn.004c11f0
push eax
push dword [esp + 0x10]
call fcn.004a1ea2
mov edi, 0x12c
jmp 0x45e91d
push 0x34
push dword [esp + 0x10]
mov edi, 0x12c
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call fcn.004a1ea2
mov dword [esp + 0x3c], eax
xor eax, eax
cmp dword [esi + 0x128], eax
pop ecx
pop ecx
jne 0x45e9f4
cmp dword [esp + 0x10], edi
jl 0x45e958
cmp dword [esp + 0x14], edi
jl 0x45e958
push str.HdSftLgBW300www.dat
push eax
call fcn.0045ba18
push eax
push dword [esp + 0x18]
call fcn.004a1ef7
mov dword [esp + 0x30], edi
jmp 0x45e976
push str.HdSftLgBW150www.dat
push 0
call fcn.0045ba18
push eax
push dword [esp + 0x18]
call fcn.004a1ef7
mov dword [esp + 0x30], 0x96
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x38], eax
call fcn.004a2119
fild dword [esp + 0x20]
mov dword [esp + 0x40], eax
movsx eax, ax
fstp qword [esp + 0x58]
mov dword [esp + 0x18], eax
fild dword [esp + 0x10]
fdiv qword [esp + 0x58]
fild dword [esp + 0x18]
fmulp st(1)
call fcn.004c11f0
push eax
push dword [esp + 0x10]
call fcn.004a1ea2
fild dword [esp + 0x1c]
mov word [esp + 0xc0], ax
movsx eax, word [esp + 0x4a]
fdiv qword [esp + 0x60]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmulp st(1)
call fcn.004c11f0
push eax
push dword [esp + 0x18]
call fcn.004a1ecd
mov esi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
add esp, 0x10
mov di, ax
jmp 0x45ea09
mov word [esp + 0x40], ax
mov word [esp + 0x42], ax
mov word [esp + 0xb8], ax
xor di, di
push 0x10
lea eax, [esp + 0x88]
push 0
push eax
call fcn.004a8c80
add esp, 0xc
push 0x10
lea eax, [esp + 0xc0]
push 0
push eax
call fcn.004a8c80
fild dword [esp + 0x20]
add esp, 0xc
cmp dword [esi + 0x1b8], 0
je 0x45ea9e
fld qword [0x4feb68]
movsx edi, di
fdiv st(1), st(0)
push 2
mov dword [esp + 0x30], edi
fxch st(1)
fstp qword [esp + 0x5c]
fld qword [esp + 0x5c]
fmul qword [0x4feb60]
call fcn.004c11f0
fidivr dword [esp + 0x14]
sub edi, eax
add edi, dword [esp + 0x38]
fmul qword [0x4feb58]
call fcn.004c11f0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
sub ecx, eax
push ecx
push dword [esp + 0x24]
lea eax, [esp + 0x50]
push dword [esp + 0x18]
call fcn.0045f8ea
jmp 0x45eba9
fdiv qword [0x4feb68]
movsx esi, di
mov dword [esp + 0x2c], esi
fstp qword [esp + 0x58]
fld qword [esp + 0x58]
fmul qword [0x4feb60]
call fcn.004c11f0
mov edx, dword [esp + 0x14]
sub esi, eax
mov eax, dword [esp + 0x34]
lea edi, [esi + eax]
mov eax, dword [esp + 0x1c]
push dword [eax + 0x150]
mov esi, dword [esp + 0x14]
push 0x80000000
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x54]
call fcn.0045f8ea
mov eax, dword [esp + 0x2c]
add esp, 0x10
cmp dword [eax + 0x124], 0
je 0x45ebac
fild dword [esp + 0x10]
mov eax, dword [eax + 0x150]
cmp eax, 1
fdiv qword [0x4feb68]
fmul qword [0x4feb58]
jne 0x45eb70
call fcn.004c11f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
push 2
sub ecx, eax
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x24], eax
push dword [esp + 0x18]
lea eax, [esp + 0x94]
call fcn.0045f8ea
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 3
push eax
push dword [esp + 0x34]
lea eax, [esp + 0xd8]
push dword [esp + 0x28]
call fcn.0045f8ea
add esp, 0x20
jmp 0x45ebac
push eax
call fcn.004c11f0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
sub ecx, eax
push ecx
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x94]
call fcn.0045f8ea
lea esi, [esp + 0x94]
lea edi, [esp + 0xcc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0x10
cmp dword [esp + 0x38], 0
je 0x45f0db
mov esi, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 4
push dword [esp + 0x3c]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBrushOrgEx]
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x44]
call edi
push 4
push dword [esp + 0x10]
call esi
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x18]
call edi
movsx eax, word [esp + 0x42]
movsx esi, word [esp + 0xb8]
push 0xcc0020
push eax
movsx eax, word [esp + 0x48]
mov edi, dword [esp + 0x14]
push eax
push 0
push 0
push dword [esp + 0x4c]
push dword [esp + 0x44]
push esi
push dword [esp + 0x54]
push dword [esp + 0x68]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x38]
call fcn.004a20b4
and dword [esp + 0x38], 0
xor eax, eax
cmp dword [esp + 0x10], 0x12c
setl al
add eax, 6
push eax
push edi
call fcn.004a1ecd
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
pop ecx
pop ecx
fmul qword [esp + 0x58]
call fcn.004c11f0
fild dword [esp + 0x10]
push eax
push dword [esp + 0x38]
fdiv qword [0x4feb68]
fmul qword [0x4feb50]
call fcn.004c11f0
sub esi, eax
add esi, dword [esp + 0x4c]
push esi
push edi
call fcn.004a1ea2
pop ecx
pop ecx
push eax
push edi
call fcn.004a2491
mov esi, dword [esp + 0x2c]
xor edi, edi
inc edi
add esp, 0x10
cmp dword [esi + 0x150], edi
jne 0x45f0df
push 0x7f
lea eax, [esp + 0x105]
push 0
push eax
mov byte [esp + 0x10c], 0
call fcn.004a8c80
fild dword [esp + 0x1c]
add esp, 0xc
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv qword [0x4fe718]
fld qword [0x4fe6c8]
fadd st(1), st(0)
fxch st(1)
call fcn.004c11f0
test eax, eax
mov dword [esp + 0x24], eax
jg 0x45ece9
mov dword [esp + 0x24], edi
cmp dword [esp + 0x14], 0
jle 0x45ed15
cmp dword [esp + 0x10], 0
jle 0x45ed15
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fild dword [esp + 0x14]
fdiv dword [esp + 0x28]
fld dword [esp + 0x24]
fmul qword [0x4fe710]
fmulp st(1)
jmp 0x45ed27
fild dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fmul qword [0x4fe710]
faddp st(1)
call fcn.004c11f0
test eax, eax
mov dword [esp + 0x28], eax
jg 0x45ed3a
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
fld qword [0x4fe770]
fmul st(1), st(0)
fxch st(1)
call fcn.004c11f0
fmul dword [esp + 0x24]
mov dword [esp + 0x28], eax
call fcn.004c11f0
cmp dword [esi + 0x1b8], 0
mov dword [esp + 0x24], eax
je 0x45ef0c
fild dword [esp + 0x28]
push ecx
push ecx
fmul qword [0x4fe6f0]
fstp qword [esp]
call fcn.004aac70
call fcn.004c11f0
fild dword [esp + 0x2c]
mov edi, eax
fmul qword [0x4fe6f0]
fstp qword [esp]
call fcn.004aac70
pop ecx
pop ecx
call fcn.004c11f0
push str.Arial
push 0x30
push 1
mov dword [esp + 0x2c], eax
xor eax, eax
push eax
push 5
push eax
push eax
push eax
push 1
push 0x64
push eax
push eax
push dword [esp + 0x50]
push edi
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
imul eax, eax, 0xe
add eax, dword [esp + 0x44]
push 6
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
add ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [esp + 0x18]
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
call ebx
push str.Leave_this_form_with_your_till.
mov dword [esp + 0x30], eax
lea eax, [esp + 0x104]
push 0x80
push eax
call fcn.00478fcf
lea eax, [esp + 0x10c]
add esp, 0xc
push eax
call fcn.004a7f30
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
push str.Use_it_to_verify_your_Till_Start
lea eax, [esp + 0x104]
push 0x80
push eax
call fcn.00478fcf
lea eax, [esp + 0x10c]
add esp, 0xc
push eax
call fcn.004a7f30
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x1c]
add eax, edi
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
push str.the_next_time_the_till_is_used.
lea eax, [esp + 0x104]
push 0x80
push eax
call fcn.00478fcf
lea eax, [esp + 0x10c]
add esp, 0xc
push eax
call fcn.004a7f30
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
mov eax, dword [esp + 0x1c]
lea eax, [eax + edi*2]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
imul edi, edi, 3
add edi, dword [esp + 0x14]
cmp dword [esp + 0x50], edi
jge 0x45eee5
mov dword [esp + 0x50], edi
push dword [esp + 0x2c]
push dword [esp + 0x10]
call ebx
push dword [esp + 0x20]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x45f0df
push str.Arial
push 0x30
push 1
xor edi, edi
push edi
push 5
push edi
push edi
push edi
push 1
push 0x1f4
push edi
push edi
push dword [esp + 0x54]
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_CreateFontA]
fild dword [esp + 0x28]
push str.Arial
push 0x30
fstp dword [esp + 0x20]
push 1
fild dword [esp + 0x30]
push edi
fld qword [0x4feb48]
push 5
push edi
fdiv st(1), st(0)
push edi
push edi
push edi
push 0x1f4
push edi
push edi
mov dword [esp + 0x44], eax
fxch st(1)
call fcn.004c11f0
fdivr dword [esp + 0x48]
push eax
call fcn.004c11f0
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
movzx edi, word [esi + 6]
mov dword [esp + 0x10], eax
call fcn.00478a46
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.00478d2e
movzx ecx, word [esi]
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.00499c08
pop ecx
call fcn.00478bc7
push eax
push str._s___s__d_s
lea eax, [esp + 0x114]
push 0x80
push eax
call fcn.00478fcf
mov edi, dword [sym.imp.GDI32.dll_SetTextAlign]
add esp, 0x1c
push 6
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
mov dword [esp + 0x24], eax
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x100]
push eax
call fcn.004a7f30
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
push dword [esp + 0x3c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [esp + 0x10]
push dword [esp + 0x10]
call ebx
lea ecx, [esi + 0x14]
call fcn.0043da2c
test eax, eax
push dword [esi + 0x10]
je 0x45f055
lea eax, [esi + 0x14]
push eax
push str.__s___Day__d_
lea eax, [esp + 0x10c]
push 0x80
push eax
call fcn.00478fcf
add esp, 0x14
jmp 0x45f06f
push str._Accounting_Day__d_
lea eax, [esp + 0x108]
push 0x80
push eax
call fcn.00478fcf
add esp, 0x10
lea eax, [esp + 0x100]
push eax
call fcn.004a7f30
fld dword [esp + 0x1c]
fmul qword [0x4feb40]
pop ecx
push eax
lea eax, [esp + 0x104]
push eax
call fcn.004c11f0
mov ecx, dword [esp + 0x3c]
sub ecx, eax
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
add eax, eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [esp + 0x2c]
push dword [esp + 0x10]
call ebx
push dword [esp + 0x20]
push dword [esp + 0x10]
call edi
push dword [esp + 0x14]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0x10]
call edi
jmp 0x45f0df
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x1a0], 0
je 0x45f3c2
and dword [esp + 0x98], 0
xor eax, eax
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x24]
push 0x3ff
lea eax, [esp + 0x30d]
push 0
push eax
shl edi, 2
mov byte [esp + 0x314], 0
call fcn.004a8c80
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
add esp, 0xc
push 7
call esi
push eax
push dword [esp + 0x10]
call ebx
push 4
mov dword [esp + 0x14], eax
call esi
push eax
push dword [esp + 0x10]
call ebx
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x58], eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0xc4]
sar eax, 1
add edx, eax
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x50]
cmp dword [esp + 0xc8], edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], esi
jle 0x45f191
mov edx, dword [esp + 0xc8]
add edx, eax
lea eax, [edi + esi]
push eax
mov dword [esp + 0x80], edx
lea edx, [edi + ecx]
push edx
push esi
mov esi, dword [sym.imp.GDI32.dll_Ellipse]
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edx
call esi
push dword [esp + 0x18]
mov eax, dword [esp + 0x7c]
push dword [esp + 0x7c]
sub eax, edi
push dword [esp + 0x7c]
mov dword [esp + 0x38], eax
push eax
push dword [esp + 0x1c]
call esi
push dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
push dword [esp + 0x24]
sub eax, edi
push eax
push dword [esp + 0x7c]
mov dword [esp + 0x28], eax
push dword [esp + 0x1c]
call esi
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x20]
push dword [esp + 0x38]
push dword [esp + 0x1c]
call esi
fild dword [esp + 0x24]
fld qword [0x4feb38]
fmul st(1), st(0)
fxch st(1)
call fcn.004c11f0
fimul dword [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.004c11f0
push str.Arial
push 0x30
push 1
mov dword [esp + 0x24], eax
xor eax, eax
push eax
push 5
push eax
push eax
push eax
push 1
push 0x1f4
push eax
push eax
push dword [esp + 0x44]
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateFontA]
sub esp, 0x10
lea esi, [esp + 0x80]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x30], eax
movsd dword es:[edi], dword [esi]
call fcn.0043c0b2
cdq
push 3
pop ecx
idiv ecx
mov ecx, dword [esp + 0x24]
imul ecx, ecx, 0x29
add eax, dword [esp + 0x80]
add ecx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ecx
lea esi, [esp + 0x80]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043c0ca
add esp, 0x10
push 3
pop esi
cdq
idiv esi
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov edx, edi
imul edx, edx, 0xb
add esi, esi
add edi, edi
push edi
push esi
add ecx, esi
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x14]
add eax, dword [esp + 0x7c]
add edx, eax
mov dword [esp + 0xac], edx
add edx, esi
push edx
mov dword [esp + 0xa8], eax
push ecx
sub eax, esi
push eax
mov eax, dword [esp + 0xac]
sub eax, esi
push eax
push edi
call dword [sym.imp.GDI32.dll_RoundRect]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push edi
call ebx
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xa8]
add ecx, eax
push esi
push ecx
mov ecx, dword [esp + 0xac]
add ecx, eax
push ecx
mov ecx, dword [esp + 0xac]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0xac]
sub ecx, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_RoundRect]
push dword [esp + 0x20]
push edi
call ebx
mov esi, dword [sym.imp.GDI32.dll_SetTextAlign]
push 0
push edi
mov dword [esp + 0x20], eax
call esi
push str.________________This_is_a_test_page_______n_nYou_should_see_a_large_black_dot_in_each_corner_of_the_page.__If_you_do_not_see_all_four_black_dots__parts_of_the_form_have_not_printed.__This_indicates_an_alignment_problem_that_will_need_to_be_fixed.__Please_ask_your_HoodSoftware_representative_for_help_if_you_cannot_see_all_four_dots_in_each_corner_of_the_form.
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30c]
push 0x400
push eax
call fcn.00478fcf
add esp, 0xc
push 0x10
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x310]
push eax
call fcn.004a7f30
pop ecx
push eax
lea eax, [esp + 0x314]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x10]
push edi
call ebx
push dword [esp + 0x58]
push edi
call ebx
push dword [esp + 0x18]
push edi
call ebx
push dword [esp + 0x2c]
push edi
call esi
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x198]
inc dword [eax]
cmp dword [esp + 0x68], 0
je 0x45f406
mov eax, dword [esi + 0x19c]
fild dword [esi + 0x19c]
test eax, eax
jge 0x45f3e7
fadd dword [0x4fe6ac]
fmul qword [0x4fe6f0]
push ecx
push ecx
fstp qword [esp]
call fcn.004aac70
pop ecx
pop ecx
call fcn.004c1226
mov edi, eax
mov dword [esp + 0x20], eax
jmp 0x45f410
mov edi, dword [esi + 0x19c]
mov dword [esp + 0x20], edi
cmp dword [esp + 0x30], 0
je 0x45f535
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
mov eax, dword [esi + 0x198]
add dword [eax], 0xa
cmp dword [esp + 0x68], 0
jne 0x45f652
mov eax, dword [esi + 0x198]
mov dword [eax], edi
xor eax, eax
cmp dword [esp + 0x64], eax
je 0x45f462
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xf0]
lea edi, [esp + 0x44]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ecx + 0x1b8], eax
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x30], eax
je 0x45f482
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x198]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x12c], 0
je 0x45f84b
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x130], 0
je 0x45f84b
push str._DEMO
mov eax, 0x80
lea esi, [esp + 0x184]
call fcn.00477b18
xor edi, edi
cmp dword [esp + 0x34], edi
mov eax, esi
pop ecx
mov dword [esp + 0xcc], 0x14
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edi
je 0x45f679
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
jg 0x45f50c
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x194]
mov dword [esp + 0x54], edi
mov dword [eax], 4
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_StartPage]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push dword [esp + 0x10]
call esi
push 0x5a
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
call esi
jmp 0x45f682
xor eax, eax
lea edi, [esp + 0xe4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x7f
stosd dword es:[edi], eax
lea eax, [esp + 0x105]
push 0
push eax
mov byte [esp + 0x10c], 0
call fcn.004a8c80
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xf0], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x5c]
add eax, 0x16
add esp, 0xc
cmp dword [esi + 0x124], 0
mov dword [esp + 0xec], eax
je 0x45f5a5
mov eax, dword [esp + 0xc4]
cmp eax, ecx
jle 0x45f5a5
add eax, 0x16
mov dword [esp + 0xe8], eax
jmp 0x45f5af
add ecx, 0x16
mov dword [esp + 0xe8], ecx
cmp dword [esp + 0x64], 0
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x104]
je 0x45f5da
push str._s_Base
push 0x80
push eax
call fcn.00478fcf
add esp, 0x10
jmp 0x45f5e5
mov ecx, 0x80
call fcn.00477a48
pop ecx
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov edi, esp
push dword [eax + 0x1a4]
lea esi, [esp + 0xf4]
push dword [esp + 0x34]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
push dword [esp + 0xfc]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x2c]
lea ecx, [esp + 0x124]
push ecx
mov ecx, dword [eax + 0x198]
lea edx, [esp + 0x228]
movsd dword es:[edi], dword [esi]
call fcn.004660e7
add esp, 0x28
test eax, eax
mov dword [esp + 0x54], eax
jne 0x45f647
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x68], 0
je 0x45f441
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0x44]
lea edi, [esp + 0xf0]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
inc eax
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x64], eax
mov dword [ecx + 0x1b8], eax
mov esi, ecx
jmp 0x45e846
mov eax, 0x12c
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
mov dword [esp + 0x14], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv qword [0x4feb30]
fld qword [0x4fe6c8]
fadd st(1), st(0)
fxch st(1)
call fcn.004c11f0
cmp eax, edi
mov dword [esp + 0x24], eax
jg 0x45f6b7
mov dword [esp + 0x24], 1
cmp dword [esp + 0x14], edi
jle 0x45f6d9
cmp dword [esp + 0x10], edi
jle 0x45f6d9
fild dword [esp + 0x14]
fdiv dword [esp + 0x28]
fild dword [esp + 0x24]
fmul qword [0x4fe770]
fmulp st(1)
jmp 0x45f6e3
fild dword [esp + 0x24]
fmul qword [0x4fe770]
faddp st(1)
call fcn.004c11f0
mov esi, eax
cmp esi, edi
jg 0x45f6f3
xor esi, esi
inc esi
push 3
call fcn.004a2358
mov dword [esp], 0x4c8b64
push 1
push 1
push edi
push 5
push edi
push edi
push edi
push edi
push 0x1f4
push edi
push edi
push dword [esp + 0x54]
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, edi
mov dword [esp + 0x18], eax
jne 0x45f72c
mov dword [esp + 0x20], edi
jmp 0x45f737
push eax
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x44]
push eax
push esi
imul esi, esi, 3
mov eax, ecx
imul eax, eax, 3
push esi
push eax
push dword [esp + 0x1c]
call fcn.00463be3
add esp, 0x14
cmp dword [esp + 0x30], edi
je 0x45f77a
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
jmp 0x45f829
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [esp + 0x44]
lea edi, [esp + 0x88]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x50]
and dword [esp + 0x88], 0
add eax, 0x16
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x4c]
add eax, 0x16
mov dword [esp + 0x8c], eax
mov eax, dword [ecx + 0x19c]
mov ecx, dword [ecx + 0x198]
shr eax, 1
cmp dword [ecx], eax
mov dword [esp + 0x84], edx
jbe 0x45f7cd
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
sub esp, 0x10
mov edi, esp
push dword [eax + 0x1a4]
lea esi, [esp + 0x98]
push dword [eax + 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push edx
push dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1a4]
push ecx
mov ecx, dword [eax + 0x198]
lea edx, [esp + 0x228]
movsd dword es:[edi], dword [esi]
call fcn.004660e7
add esp, 0x28
test eax, eax
mov dword [esp + 0x54], eax
jne 0x45f829
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x20], 0
je 0x45f84b
push dword [esp + 0x20]
push dword [esp + 0x10]
call ebx
cmp dword [esp + 0x18], 0
je 0x45f84b
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor edi, edi
cmp dword [esp + 0x94], edi
je 0x45f867
push dword [esp + 0x94]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp dword [esp + 0x30], edi
jne 0x45f8a3
cmp dword [esp + 0x80], edi
je 0x45f883
push dword [esp + 0x80]
push dword [esp + 0x10]
call ebx
cmp dword [esp + 0x6c], edi
je 0x45f893
push dword [esp + 0x6c]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xc], edi
je 0x45f8a3
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x45f8b6
dec dword [eax]
mov eax, dword [esp + 0x30]
call fcn.00467303
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x194]
cmp dword [eax], 0xff
jne 0x45f8ca
mov dword [eax], edi
call fcn.0045e421
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x70c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a8565
mov esp, ebp
pop ebp
ret 4