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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70c
mov eax, dword [0x5c4e68]
xor eax, esp
mov dword [esp + 0x708], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
push 0x7f
lea eax, [esp + 0x18d]
push ebx
push eax
mov dword [esp + 0x20], esi
mov byte [esp + 0x194], bl
call fcn.005117f0
xor eax, eax
mov dword [esp + 0xe0], ebx
lea edi, [esp + 0xe4]
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 + 0x20d]
push ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov byte [esp + 0x214], bl
call fcn.005117f0
xor eax, eax
mov dword [esp + 0x64], ebx
lea edi, [esp + 0x68]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xb4], ebx
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 esi, ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x90], ebx
je 0x48eb81
mov ecx, dword [esi + 0x198]
inc eax
mov dword [ecx], eax
cmp dword [esi + 0x1a8], 0xffffffff
mov dword [esi + 0x1b8], ebx
jne 0x48d522
mov dword [esi + 0x1b8], eax
mov eax, dword [esi + 0x1b0]
mov edi, eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], edi
call fcn.00499b28
test eax, eax
jne 0x48d580
cmp edi, ebx
jne 0x48d55f
call fcn.0048d38c
mov eax, dword [esi + 0x194]
mov dword [eax], 3
xor eax, eax
jmp 0x48eb81
push edi
mov eax, 0x104
lea esi, [esp + 0x20c]
call fcn.004c3c36
mov esi, dword [esp + 0x18]
pop ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x2c], ebx
mov edi, ebx
mov eax, dword [esp + 0x2c]
call fcn.00499b28
test eax, eax
je 0x48d5a0
mov eax, dword [esp + 0x2c]
call fcn.00499b78
test eax, eax
jne 0x48d5a0
mov esi, dword [esp + 0x14]
jmp 0x48d547
cmp edi, ebx
je 0x48d5be
mov eax, dword [edi + 0x14]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x48d695
mov eax, dword [esp + 0x2c]
call fcn.00499bae
jmp 0x48d59a
cmp dword [esi + 0x124], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb4], 0x9f6
je 0x48d5fd
mov eax, dword [esi + 0x150]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffda8
add eax, 0xa8c
mov dword [esp + 0xb0], eax
jmp 0x48d608
mov dword [esp + 0xb0], 0x4b0
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0xb4]
mov dword [esp + 0x10], eax
push dword [esp + 0xb4]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
push ebx
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x68], ebx
jne 0x48d654
push str._GetLastError_
push str.:5:PrinterPrintTillSheet_Helper___FAILED:_CreateCompatibleBitmap___FAILED:__s
call fcn.004265da
pop ecx
pop ecx
push dword [esp + 0x68]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, 0xffffff
push edi
push dword [esp + 0x10]
mov dword [esp + 0x98], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push edi
push ebx
push ebx
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_FloodFill]
mov edi, dword [esp + 0x6c]
mov eax, dword [esi + 0x198]
inc dword [eax]
cmp edi, ebx
je 0x48d6ca
call fcn.004f16be
mov dword [esp + 0x1c], eax
jmp 0x48d6b8
cmp dword [edi], ebx
je 0x48d6c8
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004f16be
sub eax, dword [esp + 0x1c]
cmp eax, 0x1388
jb 0x48d6ac
inc dword [edi]
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.004c3b34
test eax, eax
lea eax, [esp + 0x188]
jne 0x48d708
push edi
push str._s_Till
push 0x80
push eax
call fcn.004c53b7
add esp, 0x10
jmp 0x48d71b
push str.TILL_SHEET
push 0x80
push eax
call fcn.004c53b7
add esp, 0xc
cmp dword [esi + 0x134], ebx
lea eax, [esp + 0x188]
mov dword [esp + 0xd4], 0x14
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
jne 0x48e45f
xor eax, eax
mov dword [esp + 0x70], ebx
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xc4], ebx
lea edi, [esp + 0xc8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
cmp dword [esp + 0x2c], ebx
mov dword [esp + 0xf8], ebx
lea edi, [esp + 0xfc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x40], ebx
stosd dword es:[edi], eax
je 0x48d7bf
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
jg 0x48d7bf
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartDoc___FAILED:__s
call fcn.004265da
mov eax, dword [esi + 0x194]
pop ecx
pop ecx
mov dword [esp + 0x54], ebx
mov dword [eax], 4
push ebx
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 ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x14]
call edi
push 0x10
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.005117f0
add esp, 0xc
cmp dword [esi + 0x1a8], ebx
je 0x48d81c
cmp dword [esi + 0x1b8], ebx
jne 0x48d81c
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
je 0x48d820
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x2c], ebx
je 0x48d889
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jg 0x48d845
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartPage___FAILED:__s
call fcn.004265da
pop ecx
pop ecx
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 + 0x18], eax
fdiv qword [0x5bff20]
fmul qword [0x5bff18]
call fcn.0052a890
push eax
push dword [esp + 0x10]
call fcn.00501913
mov edi, 0x12c
jmp 0x48d8a1
push 0x34
push dword [esp + 0x10]
mov edi, 0x12c
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call fcn.00501913
cmp dword [esi + 0x128], ebx
pop ecx
mov dword [esp + 0x40], eax
pop ecx
jne 0x48d971
cmp dword [esp + 0x10], edi
jl 0x48d8da
cmp dword [esp + 0x18], edi
jl 0x48d8da
push str.HdSftLgBW300www.dat
push ebx
call fcn.00489f49
push eax
push dword [esp + 0x18]
call fcn.00501aec
mov dword [esp + 0x2c], edi
jmp 0x48d8f7
push str.HdSftLgBW150www.dat
push ebx
call fcn.00489f49
push eax
push dword [esp + 0x18]
call fcn.00501aec
mov dword [esp + 0x2c], 0x96
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x38], eax
call fcn.00501e40
fild dword [esp + 0x1c]
mov dword [esp + 0x30], eax
movsx eax, ax
fstp qword [esp + 0x48]
mov dword [esp + 0x24], eax
fild dword [esp + 0x10]
fdiv qword [esp + 0x48]
fild dword [esp + 0x24]
fmulp st(1)
call fcn.0052a890
push eax
push dword [esp + 0x10]
call fcn.00501913
fild dword [esp + 0x20]
mov word [esp + 0xc0], ax
movsx eax, word [esp + 0x3a]
fdiv qword [esp + 0x50]
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fmulp st(1)
call fcn.0052a890
push eax
push dword [esp + 0x18]
call fcn.0050193e
mov esi, dword [esp + 0x24]
add esp, 0x10
mov di, ax
xor ebx, ebx
jmp 0x48d986
mov word [esp + 0x30], bx
mov word [esp + 0x32], bx
mov word [esp + 0xb8], bx
xor di, di
push 0x10
lea eax, [esp + 0x74]
push ebx
push eax
call fcn.005117f0
add esp, 0xc
push 0x10
lea eax, [esp + 0xc8]
push ebx
push eax
call fcn.005117f0
fild dword [esp + 0x24]
add esp, 0xc
cmp dword [esi + 0x1b8], ebx
je 0x48da15
fld qword [0x5bfdf0]
movsx edi, di
fdiv st(1), st(0)
push 2
mov dword [esp + 0x38], edi
fxch st(1)
fstp qword [esp + 0x4c]
fld qword [esp + 0x4c]
fmul qword [0x5bff10]
call fcn.0052a890
fidivr dword [esp + 0x14]
sub edi, eax
add edi, dword [esp + 0x40]
fmul qword [0x5bff08]
call fcn.0052a890
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
sub ecx, eax
push ecx
push dword [esp + 0x1c]
lea eax, [esp + 0x64]
push dword [esp + 0x18]
call fcn.0048eb98
jmp 0x48db1e
fdiv qword [0x5bfdf0]
movsx esi, di
mov dword [esp + 0x34], esi
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fmul qword [0x5bff10]
call fcn.0052a890
mov edx, dword [esp + 0x18]
sub esi, eax
mov eax, dword [esp + 0x3c]
lea edi, [esi + eax]
mov eax, dword [esp + 0x14]
push dword [eax + 0x150]
mov esi, dword [esp + 0x14]
push closesocket
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x68]
call fcn.0048eb98
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [eax + 0x124], ebx
je 0x48db21
fild dword [esp + 0x10]
mov eax, dword [eax + 0x150]
cmp eax, 1
fdiv qword [0x5bfdf0]
fmul qword [0x5bff08]
jne 0x48dae6
call fcn.0052a890
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x18]
push 2
sub ecx, eax
push ecx
push dword [esp + 0x1c]
mov dword [esp + 0x30], eax
push dword [esp + 0x18]
lea eax, [esp + 0x80]
call fcn.0048eb98
mov eax, dword [esp + 0x88]
sub eax, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push 3
push eax
push dword [esp + 0x2c]
lea eax, [esp + 0xe0]
push dword [esp + 0x28]
call fcn.0048eb98
add esp, 0x20
jmp 0x48db21
push eax
call fcn.0052a890
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
sub ecx, eax
push ecx
push ebx
push dword [esp + 0x18]
lea eax, [esp + 0x80]
call fcn.0048eb98
lea esi, [esp + 0x80]
lea edi, [esp + 0xd4]
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], ebx
je 0x48e04e
mov esi, dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 4
push dword [esp + 0x3c]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetBrushOrgEx]
push ebx
push ebx
push ebx
push dword [esp + 0x44]
call edi
push 4
push dword [esp + 0x10]
call esi
push ebx
push ebx
push ebx
push dword [esp + 0x18]
call edi
movsx eax, word [esp + 0x32]
movsx esi, word [esp + 0xb8]
push 0xcc0020
push eax
movsx eax, word [esp + 0x38]
mov edi, dword [esp + 0x14]
push eax
push ebx
push ebx
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push esi
push dword [esp + 0x5c]
push dword [esp + 0x7c]
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x38]
call fcn.00501d9a
xor eax, eax
cmp dword [esp + 0x10], 0x12c
mov dword [esp + 0x38], ebx
setl al
add eax, 6
push eax
push edi
call fcn.0050193e
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
pop ecx
pop ecx
fmul qword [esp + 0x48]
call fcn.0052a890
fild dword [esp + 0x10]
push eax
push dword [esp + 0x40]
fdiv qword [0x5bfdf0]
fmul qword [0x5bfb88]
call fcn.0052a890
sub esi, eax
add esi, dword [esp + 0x60]
push esi
push edi
call fcn.00501913
pop ecx
pop ecx
push eax
push edi
call fcn.005021b6
mov esi, dword [esp + 0x24]
xor edi, edi
inc edi
add esp, 0x10
cmp dword [esi + 0x150], edi
jne 0x48e052
push 0x7f
lea eax, [esp + 0x10d]
push ebx
push eax
mov byte [esp + 0x114], bl
call fcn.005117f0
fild dword [esp + 0x1c]
add esp, 0xc
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv qword [0x5bfb60]
fld qword [0x5bfb58]
fadd st(1), st(0)
fxch st(1)
call fcn.0052a890
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x48dc54
mov dword [esp + 0x20], edi
cmp dword [esp + 0x18], ebx
jle 0x48dc7e
cmp dword [esp + 0x10], ebx
jle 0x48dc7e
fild dword [esp + 0x20]
fstp dword [esp + 0x10]
fild dword [esp + 0x18]
fdiv dword [esp + 0x28]
fld dword [esp + 0x10]
fmul qword [0x5bfb50]
fmulp st(1)
jmp 0x48dc90
fild dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul qword [0x5bfb50]
faddp st(1)
call fcn.0052a890
cmp eax, ebx
mov dword [esp + 0x28], eax
jg 0x48dca3
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
fld qword [0x5bfd98]
fmul st(1), st(0)
fxch st(1)
call fcn.0052a890
fmul dword [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.0052a890
cmp dword [esi + 0x1b8], ebx
mov dword [esp + 0x20], eax
je 0x48de77
fild dword [esp + 0x28]
push ecx
push ecx
fmul qword [0x5bfa30]
fstp qword [esp]
call fcn.00514ff0
call fcn.0052a890
fild dword [esp + 0x28]
mov edi, eax
fmul qword [0x5bfa30]
fstp qword [esp]
call fcn.00514ff0
pop ecx
pop ecx
call fcn.0052a890
push str.Arial
push 0x30
push 1
push ebx
push 5
push ebx
push ebx
push ebx
push 1
push 0x64
push ebx
push ebx
push eax
push edi
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0xe
add eax, dword [esp + 0x58]
push 6
push dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
add ecx, eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [esp + 0x24]
mov dword [esp + 0x20], eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push str.Leave_this_form_with_your_till.
mov dword [esp + 0x38], eax
lea eax, [esp + 0x10c]
push 0x80
push eax
call fcn.004c53b7
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.005120b0
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x20]
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 + 0x10c]
push 0x80
push eax
call fcn.004c53b7
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.005120b0
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
mov eax, dword [esp + 0x20]
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 + 0x10c]
push 0x80
push eax
call fcn.004c53b7
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.005120b0
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
mov eax, dword [esp + 0x20]
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 + 0x18]
cmp dword [esp + 0x64], edi
jge 0x48de4c
mov dword [esp + 0x64], edi
push dword [esp + 0x34]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextAlign]
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x48e052
push str.Arial
push 0x30
push 1
push ebx
mov edi, dword [sym.imp.GDI32.dll_CreateFontA]
push 5
push ebx
push ebx
push ebx
push 1
push 0x1f4
push ebx
push ebx
push dword [esp + 0x50]
push dword [esp + 0x5c]
call edi
fild dword [esp + 0x28]
push str.Arial
push 0x30
fstp dword [esp + 0x2c]
push 1
fild dword [esp + 0x2c]
push ebx
fld qword [0x5bff00]
push 5
push ebx
fdiv st(1), st(0)
push ebx
push ebx
push ebx
push 0x1f4
push ebx
push ebx
mov dword [esp + 0x48], eax
fxch st(1)
call fcn.0052a890
fdivr dword [esp + 0x54]
push eax
call fcn.0052a890
push eax
call edi
movzx edi, word [esi + 6]
mov dword [esp + 0x10], eax
call fcn.004c4e2e
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.004c5116
movzx ecx, word [esi]
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.004f07fb
pop ecx
call fcn.004c4faf
push eax
push str._s___s__d_s
lea eax, [esp + 0x11c]
push 0x80
push eax
call fcn.004c53b7
mov edi, dword [sym.imp.GDI32.dll_SetTextAlign]
add esp, 0x1c
push 6
push dword [esp + 0x10]
call edi
push dword [esp + 0x18]
mov dword [esp + 0x20], eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x108]
push eax
call fcn.005120b0
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x2c]
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 dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esi + 0x14]
call fcn.0046232d
test eax, eax
push dword [esi + 0x10]
je 0x48dfc4
lea eax, [esi + 0x14]
push eax
push str.__s___Day__d_
lea eax, [esp + 0x114]
push 0x80
push eax
call fcn.004c53b7
add esp, 0x14
jmp 0x48dfde
push str._Accounting_Day__d_
lea eax, [esp + 0x110]
push 0x80
push eax
call fcn.004c53b7
add esp, 0x10
lea eax, [esp + 0x108]
push eax
call fcn.005120b0
fld dword [esp + 0x28]
fmul qword [0x5bfef8]
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.0052a890
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x2c]
add eax, ecx
add eax, eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_TextOutA]
push dword [esp + 0x34]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esp + 0x1c]
push dword [esp + 0x10]
call edi
push dword [esp + 0x18]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
call edi
push dword [esp + 0x10]
call edi
jmp 0x48e052
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x1a0], ebx
je 0x48e376
xor eax, eax
lea edi, [esp + 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x98], ebx
lea edi, [esp + 0x9c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [esp + 0x20]
push 0x3ff
lea eax, [esp + 0x315]
push ebx
push eax
shl edi, 2
mov byte [esp + 0x31c], bl
call fcn.005117f0
mov esi, dword [sym.imp.GDI32.dll_GetStockObject]
add esp, 0xc
push 7
call esi
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
push 4
mov dword [esp + 0x14], eax
call esi
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0xa8]
mov esi, dword [esp + 0xac]
mov dword [esp + 0x48], eax
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0xcc]
sar eax, 1
add edx, eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x64]
cmp dword [esp + 0xd0], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], esi
jle 0x48e114
mov edx, dword [esp + 0xd0]
add edx, eax
lea eax, [edi + esi]
push eax
mov dword [esp + 0x90], 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 + 0x38], eax
mov dword [esp + 0x30], edx
call esi
push dword [esp + 0x24]
mov eax, dword [esp + 0x8c]
push dword [esp + 0x8c]
sub eax, edi
push dword [esp + 0x8c]
mov dword [esp + 0x40], eax
push eax
push dword [esp + 0x1c]
call esi
push dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
push dword [esp + 0x20]
sub eax, edi
push eax
push dword [esp + 0x8c]
mov dword [esp + 0x34], eax
push dword [esp + 0x1c]
call esi
push dword [esp + 0x8c]
push dword [esp + 0x8c]
push dword [esp + 0x2c]
push dword [esp + 0x40]
push dword [esp + 0x1c]
call esi
fild dword [esp + 0x20]
fld qword [0x5bfef0]
fmul st(1), st(0)
fxch st(1)
call fcn.0052a890
fimul dword [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.0052a890
push str.Arial
push 0x30
push 1
push ebx
push 5
push ebx
push ebx
push ebx
push 1
push 0x1f4
push ebx
push ebx
push dword [esp + 0x48]
mov dword [esp + 0x50], eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
sub esp, 0x10
lea esi, [esp + 0x90]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x34], eax
movsd dword es:[edi], dword [esi]
call fcn.0046021a
cdq
push 3
pop ecx
idiv ecx
mov ecx, dword [esp + 0x28]
imul ecx, ecx, 0x29
lea esi, [esp + 0x90]
add eax, dword [esp + 0x90]
add ecx, eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], ecx
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.00460232
add esp, 0x10
push 3
pop esi
cdq
idiv esi
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov edx, esi
imul edx, edx, 0xb
add edi, edi
add esi, esi
push esi
push edi
add ecx, edi
mov dword [esp + 0x24], esi
add eax, dword [esp + 0x8c]
add edx, eax
mov dword [esp + 0xac], edx
add edx, edi
push edx
mov dword [esp + 0xa8], eax
push ecx
sub eax, edi
push eax
mov eax, dword [esp + 0xac]
sub eax, edi
push eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_RoundRect]
push ebx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [esp + 0x10]
call esi
push dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa8]
add ecx, eax
push edi
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 dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_RoundRect]
push dword [esp + 0x24]
push dword [esp + 0x10]
call esi
mov edi, dword [sym.imp.GDI32.dll_SetTextAlign]
push ebx
push dword [esp + 0x10]
mov dword [esp + 0x24], eax
call edi
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 + 0x38], eax
lea eax, [esp + 0x314]
push 0x400
push eax
call fcn.004c53b7
add esp, 0xc
push 0x10
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x318]
push eax
call fcn.005120b0
pop ecx
push eax
lea eax, [esp + 0x31c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x10]
push dword [esp + 0x10]
call esi
push dword [esp + 0x48]
push dword [esp + 0x10]
call esi
push dword [esp + 0x1c]
push dword [esp + 0x10]
call esi
push dword [esp + 0x34]
push dword [esp + 0x10]
call edi
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x198]
inc dword [eax]
cmp dword [esp + 0x44], ebx
je 0x48e3b9
mov eax, dword [esi + 0x19c]
fild dword [esi + 0x19c]
test eax, eax
jge 0x48e39a
fadd dword [0x5bf820]
fmul qword [0x5bfa30]
push ecx
push ecx
fstp qword [esp]
call fcn.00514ff0
pop ecx
pop ecx
call fcn.0052a8c6
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x48e3c3
mov edi, dword [esi + 0x19c]
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x2c], ebx
je 0x48e5a4
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jg 0x48e3ec
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndPage___FAILED:__s
call fcn.004265da
pop ecx
pop ecx
mov eax, dword [esi + 0x198]
add dword [eax], 0xa
cmp dword [esp + 0x44], ebx
jne 0x48e6bc
mov eax, dword [esi + 0x198]
mov dword [eax], edi
cmp dword [esp + 0x40], ebx
je 0x48e426
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xf8]
lea edi, [esp + 0x58]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [eax + 0x1b8], ebx
movsd dword es:[edi], dword [esi]
cmp dword [esp + 0x2c], ebx
je 0x48e45b
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x48e44b
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndDoc___FAILED:__s
call fcn.004265da
pop ecx
pop ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x198]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov esi, dword [esp + 0x14]
call fcn.00415b70
test eax, eax
je 0x48e81e
cmp dword [esi + 0x1b8], ebx
jne 0x48eaf7
xor eax, eax
mov dword [esp + 0x70], ebx
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
push 0x200
stosd dword es:[edi], eax
push 0x2fa
push ebx
stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.USER32.dll_SetRect]
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [esp + 0x7c]
add eax, 6
push eax
mov eax, dword [esp + 0x7c]
add eax, 6
push eax
push esi
mov dword [esp + 0x50], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push esi
push ebx
mov dword [esp + 0x48], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [esp + 0x40], ebx
jne 0x48e4ef
push str._GetLastError_
push str.:4:PrinterPrintTillSheet_Helper___FAILED:_CreateCompatibleBitmap___FAILED:__s
call fcn.004265da
pop ecx
pop ecx
push dword [esp + 0x40]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, 0xffffff
push esi
push edi
mov dword [esp + 0x2c], eax
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push esi
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_FloodFill]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push edi
call esi
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fdiv qword [0x5bfee8]
fadd qword [0x5bfb58]
call fcn.0052a890
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x48e551
mov dword [esp + 0x20], 1
push 0x5a
push edi
call esi
test eax, eax
jle 0x48e6e3
push 0x58
push edi
call esi
test eax, eax
jle 0x48e6e3
push 0x5a
push edi
call esi
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
push 0x58
push edi
fstp qword [esp + 0xc0]
call esi
mov dword [esp + 0x48], eax
fild dword [esp + 0x48]
fdivr qword [esp + 0xb8]
fild dword [esp + 0x20]
fmul qword [0x5bfd98]
fmulp st(1)
jmp 0x48e6ed
xor eax, eax
lea edi, [esp + 0xec]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x7f
stosd dword es:[edi], eax
lea eax, [esp + 0x10d]
push ebx
push eax
mov byte [esp + 0x114], bl
call fcn.005117f0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xf4], eax
mov eax, dword [esp + 0x70]
add eax, 0x16
add esp, 0xc
cmp dword [esi + 0x124], ebx
mov dword [esp + 0xf4], eax
je 0x48e611
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jle 0x48e611
add eax, 0x16
mov dword [esp + 0xf0], eax
jmp 0x48e61b
add ecx, 0x16
mov dword [esp + 0xf0], ecx
cmp dword [esp + 0x40], ebx
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x10c]
je 0x48e645
push str._s_Base
push 0x80
push eax
call fcn.004c53b7
add esp, 0x10
jmp 0x48e650
mov ecx, 0x80
call fcn.004c3b66
pop ecx
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
push dword [eax + 0x1a4]
lea esi, [esp + 0xfc]
push dword [esp + 0x30]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x54]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x104]
movsd dword es:[edi], dword [esi]
push dword [esp + 0x2c]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, dword [eax + 0x198]
lea edx, [esp + 0x230]
movsd dword es:[edi], dword [esi]
call fcn.004986a5
add esp, 0x28
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x48e6b2
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x44], ebx
je 0x48e407
mov ecx, dword [esp + 0x14]
lea esi, [esp + 0x58]
lea edi, [esp + 0xf8]
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 + 0x40], eax
mov dword [ecx + 0x1b8], eax
mov esi, ecx
jmp 0x48d7bf
fild dword [esp + 0x20]
fmul qword [0x5bfd98]
fadd qword [0x5bfb58]
call fcn.0052a890
cmp eax, ebx
mov dword [esp + 0x28], eax
jg 0x48e708
mov dword [esp + 0x28], 1
push 3
call fcn.0050207d
mov dword [esp], 0x536204
push 1
push 1
push ebx
push 5
push ebx
push ebx
push ebx
push ebx
push 0x1f4
push ebx
push ebx
push dword [esp + 0x50]
push dword [esp + 0x5c]
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x48e751
push str._GetLastError_
push str.:7:PrinterPrintTillSheet___encountered_a_problem:_CreateFont___FAILED_to_create_the_Webinar_invoice_font___s
call fcn.00426c01
xor esi, esi
jmp 0x48e771
push dword [esp + 0x30]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
cmp esi, ebx
jne 0x48e773
push str._GetLastError_
push str.:1:PrinterPrintTillSheet___encountered_a_problem:_SelectObject___returned_NULL_while_selecting_the_Webinar_invoice_font___This_will_result_in_a_memory_leak:__s
call fcn.00426c01
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x2c]
push 3
push 3
push edi
call fcn.004932f0
add esp, 0x14
cmp esi, ebx
je 0x48e7ad
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x30], ebx
je 0x48e7ad
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
sub esp, 0x10
mov edi, esp
push dword [esp + 0x54]
lea esi, [esp + 0x84]
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.004072f0
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x48e7e1
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x24], ebx
je 0x48e7f5
push dword [esp + 0x24]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x40], ebx
je 0x48e805
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x44], ebx
je 0x48eaf7
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x48eaf7
cmp dword [esi + 0x12c], ebx
je 0x48eaf7
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x130], ebx
je 0x48eaf7
push str._DEMO
mov eax, 0x80
lea esi, [esp + 0x18c]
call fcn.004c3c36
cmp dword [esp + 0x30], ebx
mov eax, esi
pop ecx
mov dword [esp + 0xd4], 0x14
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ebx
je 0x48e8e5
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
mov edi, str._GetLastError_
jg 0x48e8ae
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartDoc___FAILED_2:__s
call fcn.004265da
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x194]
pop ecx
pop ecx
mov dword [esp + 0x54], ebx
mov dword [eax], 4
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jg 0x48e8c9
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartPage___FAILED_2:__s
call fcn.004265da
pop ecx
pop ecx
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 0x48e8f3
mov eax, 0x12c
mov dword [esp + 0x10], eax
mov edi, str._GetLastError_
fild dword [esp + 0x10]
mov dword [esp + 0x18], eax
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv qword [0x5bfee8]
fld qword [0x5bfb58]
fadd st(1), st(0)
fxch st(1)
call fcn.0052a890
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x48e928
mov dword [esp + 0x20], 1
cmp dword [esp + 0x18], ebx
jle 0x48e94a
cmp dword [esp + 0x10], ebx
jle 0x48e94a
fild dword [esp + 0x18]
fdiv dword [esp + 0x28]
fild dword [esp + 0x20]
fmul qword [0x5bfd98]
fmulp st(1)
jmp 0x48e954
fild dword [esp + 0x20]
fmul qword [0x5bfd98]
faddp st(1)
call fcn.0052a890
mov esi, eax
cmp esi, ebx
jg 0x48e964
xor esi, esi
inc esi
push 3
call fcn.0050207d
mov dword [esp], 0x536204
push 1
push 1
push ebx
push 5
push ebx
push ebx
push ebx
push ebx
push 0x1f4
push ebx
push ebx
push dword [esp + 0x50]
push esi
call dword [sym.imp.GDI32.dll_CreateFontA]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x48e9a8
push edi
push str.:7:PrinterPrintTillSheet___encountered_a_problem:_CreateFont___FAILED_to_create_the_DEMO_invoice_font___s
call fcn.00426c01
mov dword [esp + 0x24], ebx
jmp 0x48e9c6
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x48e9c8
push edi
push str.:1:PrinterPrintTillSheet___encountered_a_problem:_SelectObject___returned_NULL_while_selecting_the_DEMO_invoice_font___This_will_result_in_a_memory_leak:__s
call fcn.00426c01
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
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.004932f0
add esp, 0x14
cmp dword [esp + 0x2c], ebx
je 0x48ea35
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jg 0x48ea0d
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndPage___FAILED_2:__s
call fcn.004265da
pop ecx
pop ecx
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x48ead3
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndDoc___FAILED_2:__s
call fcn.004265da
pop ecx
pop ecx
jmp 0x48ead3
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, dword [esp + 0x58]
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x64]
add eax, 0x16
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x60]
add eax, 0x16
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x19c]
mov ecx, dword [ecx + 0x198]
shr eax, 1
cmp dword [ecx], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], edx
jbe 0x48ea78
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
sub esp, 0x10
mov edi, esp
push dword [eax + 0x1a4]
lea esi, [esp + 0x84]
push dword [eax + 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push edx
push dword [esp + 0x2c]
movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1ac]
push ecx
mov ecx, dword [eax + 0x198]
lea edx, [esp + 0x230]
movsd dword es:[edi], dword [esi]
call fcn.004986a5
add esp, 0x28
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x48ead3
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x1c], ebx
je 0x48eaf7
push dword [esp + 0x1c]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x30], ebx
je 0x48eaf7
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x94], ebx
je 0x48eb11
push dword [esp + 0x94]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp dword [esp + 0x2c], ebx
jne 0x48eb51
cmp dword [esp + 0x90], ebx
je 0x48eb31
push dword [esp + 0x90]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x68], ebx
je 0x48eb41
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xc], ebx
je 0x48eb51
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x48eb64
dec dword [eax]
mov eax, dword [esp + 0x2c]
call fcn.00499bae
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x194]
cmp dword [eax], 0xff
jne 0x48eb78
mov dword [eax], ebx
call fcn.0048d38c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x714]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0051291c
mov esp, ebp
pop ebp
ret 4