Function at 0x4d28a6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x5c4e68]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x31
mov dword [ebp - 0x35c], eax
lea eax, [ebp - 0x3b]
push ebx
push eax
mov dword [ebp - 0x368], edi
mov dword [ebp - 0x358], ebx
mov dword [ebp - 0x370], ebx
mov byte [ebp - 0x3c], bl
call fcn.005117f0
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x24b]
push ebx
push eax
mov byte [ebp - 0x24c], bl
call fcn.005117f0
add esp, 0xc
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.005117f0
add esp, 0xc
cmp edi, ebx
mov dword [ebp - 0x394], ebx
je 0x4d2cd9
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jl 0x4d293e
cmp eax, dword [edi]
jge 0x4d2cd9
mov ecx, edi
call fcn.0045b8cd
cmp eax, ebx
mov dword [ebp - 0x374], eax
jge 0x4d2956
push 0x59c740
jmp 0x4d2963
mov edx, dword [edi + eax*4 + 0x198]
call fcn.004c5c61
push eax
push 0x32
pop ecx
lea eax, [ebp - 0x3c]
call fcn.004c3b66
pop ecx
call fcn.0041023c
test eax, eax
jne 0x4d2cd9
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x388], ebx
call fcn.004c3ab2
lea eax, [ebp - 0x354]
call fcn.004c3ab2
mov ecx, dword [ebp - 0x35c]
push 0x2710
call fcn.0042adc7
test eax, eax
pop ecx
je 0x4d2b69
push dword [ebp - 0x35c]
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x354]
call fcn.004c3b66
pop ecx
mov esi, eax
call fcn.004c3e68
mov eax, esi
push eax
mov ecx, edi
lea eax, [ebp - 0x24c]
call fcn.004c3b66
pop ecx
push ebx
push ebx
call fcn.0048a119
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.004c40f5
mov eax, esi
push eax
push ebx
push ebx
call fcn.0048a119
pop ecx
pop ecx
mov ecx, dword [ebp - 0x35c]
push eax
call fcn.0040338b
cmp eax, ebx
pop ecx
pop ecx
jg 0x4d2b19
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x19
call esi
lea eax, [ebp - 0x24c]
call fcn.0042a76b
lea ecx, [ebp - 0x24c]
call fcn.00429cd6
push 0xf
call esi
lea eax, [ebp - 0x354]
push eax
push ebx
push ebx
call fcn.0048a119
pop ecx
pop ecx
mov ecx, dword [ebp - 0x35c]
push eax
call fcn.0040338b
cmp eax, ebx
pop ecx
pop ecx
jg 0x4d2b19
xor eax, eax
mov word [ebp - 0x3a4], bx
lea edi, [ebp - 0x3a2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x478
stosw word es:[edi], ax
lea eax, [ebp - 0x3a4]
push str..TillSheet.c
push eax
call fcn.004f2709
add esp, 0xc
push 1
lea eax, [ebp - 0x24c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x3a4]
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.004f0ff9
add esp, 0x10
push eax
push str._s__s__Up2Ld__.dat
push ebx
call fcn.004c5467
add esp, 0x10
push eax
push dword [ebp - 0x35c]
call fcn.0042a5f2
mov ecx, dword [ebp - 0x35c]
add esp, 0xc
push 0x47e
push str..TillSheet.c
mov edx, 0x530488
call fcn.0042d2c6
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x360], eax
je 0x4d2b05
mov dword [ebp - 0x388], 1
push dword [ebp - 0x35c]
push str.:5:LoadTillSheets___could_not_expand___s_.__It_is_assumed_that_this_file_is_not_an_archive.
call fcn.00426c01
pop ecx
pop ecx
jmp 0x4d2b5d
push 0x484
push str..TillSheet.c
mov edx, 0x530488
lea ecx, [ebp - 0x24c]
call fcn.0042d2c6
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x360], eax
jne 0x4d2cb6
push dword [ebp - 0x35c]
lea eax, [ebp - 0x24c]
push eax
push str.:8:LoadTillSheets___encountered_an_impossible_exception:_The_file___s__could_not_be_opened_after_expanding_from___s___
call fcn.004265da
add esp, 0xc
cmp dword [ebp - 0x360], ebx
jne 0x4d2cb6
mov edx, dword [ebp - 0x35c]
call fcn.004c3b34
test eax, eax
jne 0x4d2cb6
cmp dword [0x6dcc84], ebx
jne 0x4d2cb6
push 0x103
push eax
lea eax, [ebp - 0x143]
push eax
mov byte [ebp - 0x144], bl
call fcn.005117f0
add esp, 0xc
push 0
lea edi, [ebp - 0x144]
call fcn.004683e7
pop ecx
mov eax, edi
push eax
push dword [ebp - 0x35c]
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4d2c50
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x368]
mov eax, edi
call fcn.004d6a09
pop ecx
mov esi, edi
call fcn.004c3e68
mov eax, edi
push eax
push dword [ebp - 0x35c]
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4d2cb6
push dword [ebp + 0xc]
mov eax, edi
call fcn.004d6a09
pop ecx
call fcn.0042ad00
test eax, eax
je 0x4d2cb6
mov eax, edi
push eax
push dword [ebp - 0x35c]
push str.:8:LoadTillSheets___FAILED:___s__could_not_be_found__Trying_again_with___s_.
call fcn.004265da
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0xc]
mov dword [0x6dcc84], 1
push ebx
call fcn.004d28a6
add esp, 0xc
and dword [0x6dcc84], 0
jmp 0x4d2cdb
mov eax, dword [ebp - 0x374]
cmp dword [ebp + 0xc], eax
jne 0x4d2cb6
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x368]
lea ecx, [ebp - 0x144]
call fcn.004d699d
lea esi, [ebp - 0x144]
call fcn.004c3e68
mov eax, esi
push eax
push dword [ebp - 0x35c]
call fcn.004c48c1
test eax, eax
pop ecx
pop ecx
je 0x4d2cb6
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.004d699d
mov edi, esi
call fcn.0042ad00
test eax, eax
je 0x4d2cb6
mov eax, esi
push eax
push dword [ebp - 0x35c]
push str.:8:LoadTillSheets___FAILED:___s__could_not_be_found__Trying_again_from_server_with___s_.
jmp 0x4d2c1f
call fcn.0041023c
test eax, eax
je 0x4d2cea
mov ecx, dword [ebp - 0x360]
test ecx, ecx
je 0x4d2cd9
call fcn.0042d70e
lea eax, [ebp - 0x24c]
call fcn.0042a76b
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051291c
leave
ret
xor esi, esi
cmp dword [ebp - 0x360], esi
mov ebx, 0x1388
je 0x4d2db2
push dword [ebp - 0x360]
lea eax, [ebp - 0x358]
push 1
push 4
push eax
call fcn.00511c63
add esp, 0x10
cmp eax, 1
jne 0x4d2d33
cmp dword [ebp - 0x358], esi
jl 0x4d2d33
cmp dword [ebp - 0x358], 0x8000
jl 0x4d2db8
mov ecx, dword [ebp - 0x360]
call fcn.0042d70e
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x360], esi
call fcn.0042a76b
push dword [ebp - 0x358]
push dword [ebp - 0x35c]
push str.:9:ERROR_775427:_LoadTillSheets___could_not_fread___from__s_after_opening._Could_not_load_till_sheets.__numFileEntries___d
call fcn.004265da
add esp, 0xc
call fcn.004f16be
sub eax, dword [0x6dcc88]
cmp eax, ebx
jbe 0x4d2da8
call fcn.00415e85
test eax, eax
jne 0x4d2da8
lea eax, [ebp - 0x3c]
push eax
push str._s__a_problem_has_occurred_and_I_cannot_load_your_till_sheets._nIt_is_recommended_that_you_shutdown_and_restart_this_computer._nDoing_this_may_fix_the_problem.__Otherwise__continue_anyway._n_nWould_you_like_to_try_to_continue_anyway___Y_N__n_nYes___No
push str.________CRITICAL_ERROR_775427________
push str.NotGood.wav
push 1
call fcn.00435aa1
add esp, 0x14
test eax, eax
jne 0x4d2da8
push 3
call fcn.00458887
call fcn.004f16be
mov dword [0x6dcc88], eax
mov dword [ebp - 0x358], esi
mov eax, dword [ebp - 0x358]
mov edi, 0x1234
add eax, 0xa
push edi
push eax
call fcn.00511988
mov esi, eax
xor eax, eax
cmp esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x36c], esi
jne 0x4d2e65
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
je 0x4d2dfb
call fcn.0042d70e
lea eax, [ebp - 0x24c]
call fcn.0042a76b
mov eax, dword [ebp - 0x358]
push eax
add eax, 0xa
imul eax, eax, 0x1234
push eax
push str.:9:ERROR_7764275:_OUT_OF_MEMORY:_LoadTillSheets___could_not_allocate__ld_bytes_of_memory_for_till_sheets._Could_not_load__ld_till_sheets
call fcn.004265da
add esp, 0xc
call fcn.004f16be
sub eax, dword [0x6dcc8c]
cmp eax, ebx
jbe 0x4d2e56
lea eax, [ebp - 0x3c]
push eax
push str._s__a_problem_has_occurred_and_I_cannot_load_your_till_sheets._nThe_system_is_out_of_memory._nIt_is_recommended_that_you_shutdown_and_restart_this_computer._nDoing_this_may_fix_the_problem.__Otherwise__continue_anyway._n_nWould_you_like_to_try_to_continue_anyway___Y_N__n_nYes___No
push str.________CRITICAL_ERROR_7764275________
push str.NotGood.wav
push 1
call fcn.00435aa1
add esp, 0x14
test eax, eax
jne 0x4d2e56
call fcn.00415e85
test eax, eax
je 0x4d2da1
call fcn.004f16be
mov dword [0x6dcc8c], eax
jmp 0x4d2cd9
cmp dword [ebp - 0x360], eax
je 0x4d338d
cmp dword [ebp - 0x358], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x364], eax
jle 0x4d31f3
lea eax, [esi + 0x1c]
mov dword [ebp - 0x37c], eax
lea eax, [esi + 0xdeb]
mov ebx, esi
add esi, 4
mov dword [ebp - 0x384], eax
mov dword [ebp - 0x38c], esi
push dword [ebp - 0x360]
lea eax, [ebp - 0x370]
push 1
push 4
push eax
call fcn.00511c63
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x370], edi
mov dword [ebp - 0x378], eax
jbe 0x4d2f14
inc dword [ebp - 0x390]
cmp dword [ebp - 0x390], 0x1b
jge 0x4d2efb
push dword [ebp - 0x35c]
push dword [ebp - 0x370]
push edi
push str.:7:LoadTillSheets__:_TillSheet_size_has_increased_from__d_to__d:_The_till_sheet_cannot_be_properly_loaded:__s
call fcn.00426c01
add esp, 0x10
mov esi, dword [ebp - 0x370]
add esi, 0xffffedcc
and dword [ebp - 0x388], 0
mov dword [ebp - 0x370], edi
push dword [ebp - 0x360]
mov eax, dword [ebp - 0x370]
push 1
add eax, 0xfffffffc
push eax
push dword [ebp - 0x38c]
call fcn.00511c63
add esp, 0x10
test esi, esi
mov dword [ebp - 0x374], eax
mov dword [ebx], edi
jle 0x4d2f51
push 1
push esi
push dword [ebp - 0x360]
call fcn.005131f0
add esp, 0xc
xor esi, esi
inc esi
cmp dword [ebp - 0x378], esi
jne 0x4d30ba
cmp dword [ebp - 0x374], esi
jne 0x4d30ba
xor eax, eax
cmp dword [ebp - 0x388], eax
je 0x4d302f
cmp dword [ebp - 0x394], eax
jne 0x4d2f9a
push dword [ebp - 0x35c]
push str.:7:LoadTillSheets___is_converting_the_old_style_till_sheet_to_the_new_style:___s_
call fcn.00426c01
pop ecx
pop ecx
mov dword [ebp - 0x394], esi
mov eax, dword [ebx]
mov esi, 0xe19
jmp 0x4d2fc1
cmp eax, 0xe59
mov cl, byte [ebx + eax]
jl 0x4d2fb6
mov byte [ebx + eax + 0x100], cl
jmp 0x4d2fbd
mov byte [ebx + eax + 0xfe], cl
mov byte [ebx + eax], 0
dec eax
cmp eax, esi
jge 0x4d2fa3
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x380], 4
cmp dword [ebp - 0x380], 1
mov dword [ebp - 0x378], eax
jl 0x4d3017
mov esi, dword [ebp - 0x378]
mov eax, dword [ebp - 0x380]
lea edi, [esi + 1]
mov dword [ebp - 0x374], eax
movzx eax, byte [esi]
push eax
xor eax, eax
call fcn.004c4a73
mov byte [esi], 0
dec esi
dec dword [ebp - 0x374]
pop ecx
jne 0x4d2ffa
mov edi, 0x1234
dec dword [ebp - 0x380]
sub dword [ebp - 0x378], 0x32
cmp dword [ebp - 0x380], 1
jge 0x4d2fe5
xor eax, eax
cmp dword [ebx + 0x2c], eax
jg 0x4d31bf
cmp dword [ebp - 0x364], eax
je 0x4d3095
cmp dword [ebx + 0x1198], eax
jne 0x4d3095
push dword [ebp - 0x35c]
mov esi, dword [ebp - 0x37c]
push 1
sub esp, 0x10
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.004f0f28
add esp, 0x14
push eax
movzx eax, word [ebx + 0x18]
push eax
movzx eax, byte [ebx + 0x1b]
push eax
movzx eax, byte [ebx + 0x1a]
push eax
push dword [ebp - 0x358]
push dword [ebp - 0x364]
push str.:5:LoadTillSheets___EAP:_An_uncounted_till_was_encountered___:_till__d_of__d:_Accnt_Date__d__02d__04d:_TimeStamp__s:___s_
call fcn.004265da
add esp, 0x20
mov edi, 0x1234
dec dword [ebp - 0x364]
sub dword [ebp - 0x38c], edi
sub dword [ebp - 0x384], edi
sub dword [ebp - 0x37c], edi
sub ebx, edi
dec dword [ebp - 0x358]
jmp 0x4d31bf
mov ecx, dword [ebp - 0x360]
and dword [ebp - 0x388], 0
call fcn.0042d70e
and dword [ebp - 0x360], 0
lea eax, [ebp - 0x24c]
call fcn.0042a76b
push edi
push dword [ebp - 0x370]
push dword [ebp - 0x374]
push dword [ebp - 0x378]
push dword [ebp - 0x364]
push dword [ebp - 0x35c]
push dword [ebp - 0x358]
push str.:9:ERROR_776428:_LoadTillSheets___could_not_fread____ld_tills_from__s._Could_not_load_till_sheets.__Only__d_tills_were_read:_result1___d__result2___d__iTillSize___d___d
call fcn.004265da
add esp, 0x20
call fcn.004f16be
sub eax, dword [0x6dcc90]
cmp eax, 0x1388
jbe 0x4d318e
push 0x103
lea eax, [ebp - 0x143]
push 0
push eax
mov byte [ebp - 0x144], 0
call fcn.005117f0
add esp, 0xc
push dword [ebp - 0x35c]
mov ecx, 0x104
lea eax, [ebp - 0x144]
call fcn.004c3b66
pop ecx
mov esi, eax
call fcn.004c3e68
mov eax, esi
push eax
lea eax, [ebp - 0x3c]
push eax
push str._s__a_problem_has_occurred_and_I_cannot_load_your_till_sheets._nFAILED_TO_LOAD:__s_nIt_is_recommended_that_you_shutdown_and_restart_this_computer._nDoing_this_may_fix_the_problem.__Otherwise__continue_anyway._n_nWould_you_like_to_try_to_continue_anyway___Y_N__n_nYes___No
push str.__ERROR_776428__
push str.NotGood.wav
push 1
call fcn.00435aa1
add esp, 0x18
test eax, eax
jne 0x4d318e
call fcn.00415e85
test eax, eax
je 0x4d333c
call fcn.004f16be
mov dword [0x6dcc90], eax
mov eax, dword [ebp - 0x358]
add eax, 0xa
imul eax, eax, 0x1234
push eax
push 0
push dword [ebp - 0x36c]
call fcn.005117f0
add esp, 0xc
and dword [ebp - 0x358], 0
inc dword [ebp - 0x364]
mov eax, dword [ebp - 0x364]
add dword [ebp - 0x38c], edi
add dword [ebp - 0x384], edi
add dword [ebp - 0x37c], edi
add ebx, edi
cmp eax, dword [ebp - 0x358]
jl 0x4d2ea9
mov esi, dword [ebp - 0x36c]
xor eax, eax
cmp dword [ebp - 0x358], eax
mov dword [ebp - 0x364], eax
jle 0x4d329e
lea ebx, [esi + 0x11b8]
mov eax, dword [ebx]
test eax, eax
jbe 0x4d3284
inc eax
push 1
push eax
call fcn.00511988
test eax, eax
pop ecx
pop ecx
mov dword [ebx - 8], eax
je 0x4d3281
push dword [ebp - 0x360]
push 1
push dword [ebx]
push eax
call fcn.00511c63
add esp, 0x10
cmp eax, 1
je 0x4d3284
push 0
sub esp, 0x10
lea esi, [ebx - 0x119c]
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.004f0f28
add esp, 0x14
push eax
lea eax, [ebx - 0x1180]
push eax
push str.:9:LoadTillSheets___FAILED:_FAILED_to_load_the_Paid_Out_descriptions_for__s__s
call fcn.004265da
add esp, 0xc
push dword [ebx - 8]
call fcn.00511758
and dword [ebx - 8], 0
mov esi, dword [ebp - 0x36c]
pop ecx
mov edi, 0x1234
and dword [ebx], 0
inc dword [ebp - 0x364]
mov eax, dword [ebp - 0x364]
add ebx, edi
cmp eax, dword [ebp - 0x358]
jl 0x4d320b
and dword [ebp - 0x364], 0
cmp dword [ebp - 0x358], 0
jle 0x4d336e
lea ebx, [esi + 0x11c0]
mov eax, dword [ebx]
test eax, eax
jbe 0x4d3354
add eax, 8
mov dword [ebx + 0x24], eax
add eax, 8
push 1
push eax
call fcn.00511988
test eax, eax
pop ecx
pop ecx
mov dword [ebx - 4], eax
je 0x4d334d
push dword [ebp - 0x360]
push 1
push dword [ebx]
push eax
call fcn.00511c63
add esp, 0x10
cmp eax, 1
je 0x4d3354
push 0
sub esp, 0x10
lea esi, [ebx - 0x11a4]
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.004f0f28
add esp, 0x14
push eax
lea eax, [ebx - 0x1188]
push eax
push str.:9:LoadTillSheets___FAILED:_FAILED_to_load_the_Applied_Invoice_List_for__s__s
call fcn.004265da
add esp, 0xc
push dword [ebx - 4]
call fcn.00511758
xor eax, eax
pop ecx
mov dword [ebx - 4], eax
mov dword [ebx], eax
mov dword [ebx + 0x24], eax
mov edi, 0x1234
jmp 0x4d3354
push dword [ebp - 0x36c]
call fcn.00511758
pop ecx
jmp 0x4d2da1
and dword [ebx], 0
and dword [ebx + 0x24], 0
inc dword [ebp - 0x364]
mov eax, dword [ebp - 0x364]
add ebx, edi
cmp eax, dword [ebp - 0x358]
jl 0x4d32b8
cmp dword [ebp - 0x360], 0
je 0x4d338d
mov ecx, dword [ebp - 0x360]
call fcn.0042d70e
lea eax, [ebp - 0x24c]
call fcn.0042a76b
xor esi, esi
cmp dword [ebp - 0x358], esi
jle 0x4d33c9
mov ebx, dword [ebp - 0x36c]
mov eax, dword [ebp - 0x358]
add eax, 0xa
push eax
push dword [ebp - 0x358]
push dword [ebp + 0xc]
push dword [ebp - 0x368]
call fcn.004d34c8
add esp, 0x10
inc esi
add ebx, edi
cmp esi, dword [ebp - 0x358]
jl 0x4d339d
mov edx, dword [ebp - 0x36c]
xor eax, eax
mov ecx, dword [ebp - 0x358]
lea esi, [eax + ecx]
imul esi, esi, 0x1234
mov dword [esi + edx + 8], ecx
mov ecx, dword [ebp - 0x358]
lea esi, [ecx + 0xa]
add ecx, eax
imul ecx, ecx, 0x1234
inc eax
cmp eax, 0xa
mov dword [ecx + edx + 0xc], esi
jl 0x4d33d1
mov esi, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp - 0x368]
jge 0x4d343f
cmp esi, 0xfffffffe
jl 0x4d345c
mov eax, 0x1b314
sub eax, esi
lea ebx, [edi + eax*4]
mov esi, dword [ebx]
call fcn.004d5a75
mov eax, dword [ebp - 0x36c]
mov dword [ebx], eax
mov eax, dword [edi + 0x2144]
mov eax, dword [edi + eax*4 + 0x6cc54]
mov dword [edi + 0x688], eax
jmp 0x4d3459
cmp esi, dword [edi]
jge 0x4d345c
lea ebx, [edi + esi*4 + 0x4f4]
mov esi, dword [ebx]
call fcn.004d5a75
mov eax, dword [ebp - 0x36c]
mov dword [ebx], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp - 0x388], eax
je 0x4d34bd
cmp dword [ebp - 0x358], eax
jle 0x4d34bd
xor ebx, ebx
push eax
inc ebx
push ebx
call fcn.0046bfbf
test eax, eax
pop ecx
pop ecx
jne 0x4d3482
xor ebx, ebx
jmp 0x4d348a
push 1
call fcn.0046cf18
pop ecx
push 0
push esi
push edi
call fcn.004d4cf4
add esp, 0xc
test eax, eax
jne 0x4d34a5
push str.:8:LoadTillSheets___FAILED_to_convert_the_till_sheet_to_the_new_style:_SaveTillSheets___FAILED.
call fcn.004265da
pop ecx
test ebx, ebx
je 0x4d34bd
push 0x5af
push str..TillSheet.c
push 1
call fcn.0046c07a
add esp, 0xc
mov eax, dword [ebp - 0x358]
jmp 0x4d2cdb