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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70c
mov eax, dword [0x5f2e68]
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.005306b0
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.005306b0
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 0x497bfb
mov ecx, dword [esi + 0x198]
inc eax
mov dword [ecx], eax
cmp dword [esi + 0x1a8], 0xffffffff
mov dword [esi + 0x1b8], ebx
jne 0x49659c
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.004a2bbb
test eax, eax
jne 0x4965fa
cmp edi, ebx
jne 0x4965d9
call fcn.00496406
mov eax, dword [esi + 0x194]
mov dword [eax], 3
xor eax, eax
jmp 0x497bfb
push edi
mov eax, 0x104
lea esi, [esp + 0x20c]
call fcn.004ccd0f
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.004a2bbb
test eax, eax
je 0x49661a
mov eax, dword [esp + 0x2c]
call fcn.004a2c0b
test eax, eax
jne 0x49661a
mov esi, dword [esp + 0x14]
jmp 0x4965c1
cmp edi, ebx
je 0x496638
mov eax, dword [edi + 0x14]
cmp eax, ebx
mov dword [esp + 0xc], eax
jne 0x49670f
mov eax, dword [esp + 0x2c]
call fcn.004a2c41
jmp 0x496614
cmp dword [esi + 0x124], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xb4], 0x9f6
je 0x496677
mov eax, dword [esi + 0x150]
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffda8
add eax, 0xa8c
mov dword [esp + 0xb0], eax
jmp 0x496682
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 0x4966ce
push str._GetLastError_
push str.:5:PrinterPrintTillSheet_Helper___FAILED:_CreateCompatibleBitmap___FAILED:__s
call fcn.0042b70b
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 0x496744
call fcn.004fa8e4
mov dword [esp + 0x1c], eax
jmp 0x496732
cmp dword [edi], ebx
je 0x496742
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004fa8e4
sub eax, dword [esp + 0x1c]
cmp eax, 0x1388
jb 0x496726
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.004ccc0d
test eax, eax
lea eax, [esp + 0x188]
jne 0x496782
push edi
push str._s_Till
push 0x80
push eax
call fcn.004ce4e5
add esp, 0x10
jmp 0x496795
push str.TILL_SHEET
push 0x80
push eax
call fcn.004ce4e5
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 0x4974d9
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 0x496839
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_StartDocA]
test eax, eax
jg 0x496839
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartDoc___FAILED:__s
call fcn.0042b70b
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.005306b0
add esp, 0xc
cmp dword [esi + 0x1a8], ebx
je 0x496896
cmp dword [esi + 0x1b8], ebx
jne 0x496896
cmp dword [esp + 0x40], ebx
mov dword [esp + 0x44], 1
je 0x49689a
mov dword [esp + 0x44], ebx
cmp dword [esp + 0x2c], ebx
je 0x496903
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jg 0x4968bf
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartPage___FAILED:__s
call fcn.0042b70b
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 [0x5ee268]
fmul qword [0x5ee260]
call fcn.005499b0
push eax
push dword [esp + 0x10]
call fcn.005208f7
mov edi, 0x12c
jmp 0x49691b
push 0x34
push dword [esp + 0x10]
mov edi, 0x12c
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], edi
call fcn.005208f7
cmp dword [esi + 0x128], ebx
pop ecx
mov dword [esp + 0x40], eax
pop ecx
jne 0x4969eb
cmp dword [esp + 0x10], edi
jl 0x496954
cmp dword [esp + 0x18], edi
jl 0x496954
push str.HdSftLgBW300www.dat
push ebx
call fcn.00493030
push eax
push dword [esp + 0x18]
call fcn.00520ad0
mov dword [esp + 0x2c], edi
jmp 0x496971
push str.HdSftLgBW150www.dat
push ebx
call fcn.00493030
push eax
push dword [esp + 0x18]
call fcn.00520ad0
mov dword [esp + 0x2c], 0x96
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x38], eax
call fcn.00520e24
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.005499b0
push eax
push dword [esp + 0x10]
call fcn.005208f7
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.005499b0
push eax
push dword [esp + 0x18]
call fcn.00520922
mov esi, dword [esp + 0x24]
add esp, 0x10
mov di, ax
xor ebx, ebx
jmp 0x496a00
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.005306b0
add esp, 0xc
push 0x10
lea eax, [esp + 0xc8]
push ebx
push eax
call fcn.005306b0
fild dword [esp + 0x24]
add esp, 0xc
cmp dword [esi + 0x1b8], ebx
je 0x496a8f
fld qword [0x5ee140]
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 [0x5ee258]
call fcn.005499b0
fidivr dword [esp + 0x14]
sub edi, eax
add edi, dword [esp + 0x40]
fmul qword [0x5ee250]
call fcn.005499b0
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.00497c12
jmp 0x496b98
fdiv qword [0x5ee140]
movsx esi, di
mov dword [esp + 0x34], esi
fstp qword [esp + 0x48]
fld qword [esp + 0x48]
fmul qword [0x5ee258]
call fcn.005499b0
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.00497c12
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp dword [eax + 0x124], ebx
je 0x496b9b
fild dword [esp + 0x10]
mov eax, dword [eax + 0x150]
cmp eax, 1
fdiv qword [0x5ee140]
fmul qword [0x5ee250]
jne 0x496b60
call fcn.005499b0
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.00497c12
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.00497c12
add esp, 0x20
jmp 0x496b9b
push eax
call fcn.005499b0
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.00497c12
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 0x4970c8
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.00520d7e
xor eax, eax
cmp dword [esp + 0x10], 0x12c
mov dword [esp + 0x38], ebx
setl al
add eax, 6
push eax
push edi
call fcn.00520922
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
pop ecx
pop ecx
fmul qword [esp + 0x48]
call fcn.005499b0
fild dword [esp + 0x10]
push eax
push dword [esp + 0x40]
fdiv qword [0x5ee140]
fmul qword [0x5edee0]
call fcn.005499b0
sub esi, eax
add esi, dword [esp + 0x60]
push esi
push edi
call fcn.005208f7
pop ecx
pop ecx
push eax
push edi
call fcn.005211a7
mov esi, dword [esp + 0x24]
xor edi, edi
inc edi
add esp, 0x10
cmp dword [esi + 0x150], edi
jne 0x4970cc
push 0x7f
lea eax, [esp + 0x10d]
push ebx
push eax
mov byte [esp + 0x114], bl
call fcn.005306b0
fild dword [esp + 0x1c]
add esp, 0xc
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fdiv qword [0x5edeb0]
fld qword [0x5edea8]
fadd st(1), st(0)
fxch st(1)
call fcn.005499b0
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x496cce
mov dword [esp + 0x20], edi
cmp dword [esp + 0x18], ebx
jle 0x496cf8
cmp dword [esp + 0x10], ebx
jle 0x496cf8
fild dword [esp + 0x20]
fstp dword [esp + 0x10]
fild dword [esp + 0x18]
fdiv dword [esp + 0x28]
fld dword [esp + 0x10]
fmul qword [0x5edea0]
fmulp st(1)
jmp 0x496d0a
fild dword [esp + 0x20]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fmul qword [0x5edea0]
faddp st(1)
call fcn.005499b0
cmp eax, ebx
mov dword [esp + 0x28], eax
jg 0x496d1d
mov dword [esp + 0x28], edi
fild dword [esp + 0x28]
fld qword [0x5edeb8]
fmul st(1), st(0)
fxch st(1)
call fcn.005499b0
fmul dword [esp + 0x10]
mov dword [esp + 0x28], eax
call fcn.005499b0
cmp dword [esi + 0x1b8], ebx
mov dword [esp + 0x20], eax
je 0x496ef1
fild dword [esp + 0x28]
push ecx
push ecx
fmul qword [0x5edd80]
fstp qword [esp]
call fcn.00534110
call fcn.005499b0
fild dword [esp + 0x28]
mov edi, eax
fmul qword [0x5edd80]
fstp qword [esp]
call fcn.00534110
pop ecx
pop ecx
call fcn.005499b0
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.004ce4e5
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.00530f70
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.004ce4e5
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.00530f70
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.004ce4e5
lea eax, [esp + 0x114]
add esp, 0xc
push eax
call fcn.00530f70
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 0x496ec6
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 0x4970cc
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 [0x5ee248]
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.005499b0
fdivr dword [esp + 0x54]
push eax
call fcn.005499b0
push eax
call edi
movzx edi, word [esi + 6]
mov dword [esp + 0x10], eax
call fcn.004cdf5c
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.004ce244
movzx ecx, word [esi]
push eax
movzx eax, word [esi + 6]
push eax
movzx eax, word [esi + 2]
call fcn.004f992a
pop ecx
call fcn.004ce0dd
push eax
push str._s___s__d_s
lea eax, [esp + 0x11c]
push 0x80
push eax
call fcn.004ce4e5
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.00530f70
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.0046ac9e
test eax, eax
push dword [esi + 0x10]
je 0x49703e
lea eax, [esi + 0x14]
push eax
push str.__s___Day__d_
lea eax, [esp + 0x114]
push 0x80
push eax
call fcn.004ce4e5
add esp, 0x14
jmp 0x497058
push str._Accounting_Day__d_
lea eax, [esp + 0x110]
push 0x80
push eax
call fcn.004ce4e5
add esp, 0x10
lea eax, [esp + 0x108]
push eax
call fcn.00530f70
fld dword [esp + 0x28]
fmul qword [0x5ee240]
pop ecx
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.005499b0
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 0x4970cc
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x1a0], ebx
je 0x4973f0
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.005306b0
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 0x49718e
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 [0x5ee238]
fmul st(1), st(0)
fxch st(1)
call fcn.005499b0
fimul dword [esp + 0x28]
mov dword [esp + 0x18], eax
call fcn.005499b0
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.00468a82
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.00468a9a
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.004ce4e5
add esp, 0xc
push 0x10
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x318]
push eax
call fcn.00530f70
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 0x497433
mov eax, dword [esi + 0x19c]
fild dword [esi + 0x19c]
test eax, eax
jge 0x497414
fadd dword [0x5edb68]
fmul qword [0x5edd80]
push ecx
push ecx
fstp qword [esp]
call fcn.00534110
pop ecx
pop ecx
call fcn.005499e6
mov edi, eax
mov dword [esp + 0x1c], eax
jmp 0x49743d
mov edi, dword [esi + 0x19c]
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x2c], ebx
je 0x49761e
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jg 0x497466
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndPage___FAILED:__s
call fcn.0042b70b
pop ecx
pop ecx
mov eax, dword [esi + 0x198]
add dword [eax], 0xa
cmp dword [esp + 0x44], ebx
jne 0x497736
mov eax, dword [esi + 0x198]
mov dword [eax], edi
cmp dword [esp + 0x40], ebx
je 0x4974a0
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 0x4974d5
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x4974c5
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndDoc___FAILED:__s
call fcn.0042b70b
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.0041848e
test eax, eax
je 0x497898
cmp dword [esi + 0x1b8], ebx
jne 0x497b71
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 0x497569
push str._GetLastError_
push str.:4:PrinterPrintTillSheet_Helper___FAILED:_CreateCompatibleBitmap___FAILED:__s
call fcn.0042b70b
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 [0x5ee230]
fadd qword [0x5edea8]
call fcn.005499b0
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x4975cb
mov dword [esp + 0x20], 1
push 0x5a
push edi
call esi
test eax, eax
jle 0x49775d
push 0x58
push edi
call esi
test eax, eax
jle 0x49775d
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 [0x5edeb8]
fmulp st(1)
jmp 0x497767
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.005306b0
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 0x49768b
mov eax, dword [esp + 0xcc]
cmp eax, ecx
jle 0x49768b
add eax, 0x16
mov dword [esp + 0xf0], eax
jmp 0x497695
add ecx, 0x16
mov dword [esp + 0xf0], ecx
cmp dword [esp + 0x40], ebx
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x10c]
je 0x4976bf
push str._s_Base
push 0x80
push eax
call fcn.004ce4e5
add esp, 0x10
jmp 0x4976ca
mov ecx, 0x80
call fcn.004ccc3f
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.004a1738
add esp, 0x28
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x49772c
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x44], ebx
je 0x497481
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 0x496839
fild dword [esp + 0x20]
fmul qword [0x5edeb8]
fadd qword [0x5edea8]
call fcn.005499b0
cmp eax, ebx
mov dword [esp + 0x28], eax
jg 0x497782
mov dword [esp + 0x28], 1
push 3
call fcn.00521061
mov dword [esp], 0x556064
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 0x4977cb
push str._GetLastError_
push str.:7:PrinterPrintTillSheet___encountered_a_problem:_CreateFont___FAILED_to_create_the_Webinar_invoice_font___s
call fcn.0042bd38
xor esi, esi
jmp 0x4977eb
push dword [esp + 0x30]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
cmp esi, ebx
jne 0x4977ed
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.0042bd38
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.0049c383
add esp, 0x14
cmp esi, ebx
je 0x497827
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x30], ebx
je 0x497827
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.00408ef6
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x49785b
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x24], ebx
je 0x49786f
push dword [esp + 0x24]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x40], ebx
je 0x49787f
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x44], ebx
je 0x497b71
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x497b71
cmp dword [esi + 0x12c], ebx
je 0x497b71
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x130], ebx
je 0x497b71
push str._DEMO
mov eax, 0x80
lea esi, [esp + 0x18c]
call fcn.004ccd0f
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 0x49795f
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 0x497928
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartDoc___FAILED_2:__s
call fcn.0042b70b
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 0x497943
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_StartPage___FAILED_2:__s
call fcn.0042b70b
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 0x49796d
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 [0x5ee230]
fld qword [0x5edea8]
fadd st(1), st(0)
fxch st(1)
call fcn.005499b0
cmp eax, ebx
mov dword [esp + 0x20], eax
jg 0x4979a2
mov dword [esp + 0x20], 1
cmp dword [esp + 0x18], ebx
jle 0x4979c4
cmp dword [esp + 0x10], ebx
jle 0x4979c4
fild dword [esp + 0x18]
fdiv dword [esp + 0x28]
fild dword [esp + 0x20]
fmul qword [0x5edeb8]
fmulp st(1)
jmp 0x4979ce
fild dword [esp + 0x20]
fmul qword [0x5edeb8]
faddp st(1)
call fcn.005499b0
mov esi, eax
cmp esi, ebx
jg 0x4979de
xor esi, esi
inc esi
push 3
call fcn.00521061
mov dword [esp], 0x556064
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 0x497a22
push edi
push str.:7:PrinterPrintTillSheet___encountered_a_problem:_CreateFont___FAILED_to_create_the_DEMO_invoice_font___s
call fcn.0042bd38
mov dword [esp + 0x24], ebx
jmp 0x497a40
push eax
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp eax, ebx
mov dword [esp + 0x1c], eax
jne 0x497a42
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.0042bd38
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.0049c383
add esp, 0x14
cmp dword [esp + 0x2c], ebx
je 0x497aaf
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndPage]
test eax, eax
jg 0x497a87
push edi
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndPage___FAILED_2:__s
call fcn.0042b70b
pop ecx
pop ecx
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_EndDoc]
test eax, eax
jg 0x497b4d
push str._GetLastError_
push str.:9:PrinterPrintTillSheet_Helper___FAILED:_EndDoc___FAILED_2:__s
call fcn.0042b70b
pop ecx
pop ecx
jmp 0x497b4d
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 0x497af2
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.004a1738
add esp, 0x28
cmp eax, ebx
mov dword [esp + 0x54], eax
jne 0x497b4d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x194]
mov dword [eax], 5
cmp dword [esp + 0x1c], ebx
je 0x497b71
push dword [esp + 0x1c]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x30], ebx
je 0x497b71
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0x94], ebx
je 0x497b8b
push dword [esp + 0x94]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp dword [esp + 0x2c], ebx
jne 0x497bcb
cmp dword [esp + 0x90], ebx
je 0x497bab
push dword [esp + 0x90]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x68], ebx
je 0x497bbb
push dword [esp + 0x68]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esp + 0xc], ebx
je 0x497bcb
push dword [esp + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x6c]
cmp eax, ebx
je 0x497bde
dec dword [eax]
mov eax, dword [esp + 0x2c]
call fcn.004a2c41
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x194]
cmp dword [eax], 0xff
jne 0x497bf2
mov dword [eax], ebx
call fcn.00496406
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x714]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005317e7
mov esp, ebp
pop ebp
ret 4