Function at 0x4864a7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x5345d0]
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.004b53e0
add esp, 0xc
mov esi, 0x103
push esi
lea eax, [ebp - 0x24b]
push ebx
push eax
mov byte [ebp - 0x24c], bl
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [ebp - 0x353]
push ebx
push eax
mov byte [ebp - 0x354], bl
call fcn.004b53e0
add esp, 0xc
cmp edi, ebx
mov dword [ebp - 0x394], ebx
je 0x4868dc
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jl 0x48653f
cmp eax, dword [edi]
jge 0x4868dc
mov ecx, edi
call fcn.0043a766
cmp eax, ebx
mov dword [ebp - 0x374], eax
jge 0x486557
push 0x515ac0
jmp 0x486564
mov edx, dword [edi + eax*4 + 0x198]
call fcn.0047e286
push eax
push 0x32
pop ecx
lea eax, [ebp - 0x3c]
call fcn.0047c3fc
pop ecx
call fcn.0040a38d
test eax, eax
jne 0x4868dc
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x360], ebx
mov dword [ebp - 0x388], ebx
call fcn.0047c34d
lea eax, [ebp - 0x354]
call fcn.0047c34d
mov ecx, dword [ebp - 0x35c]
push 0x2710
call fcn.0041b10f
test eax, eax
pop ecx
je 0x48676c
push dword [ebp - 0x35c]
mov edi, 0x104
mov ecx, edi
lea eax, [ebp - 0x354]
call fcn.0047c3fc
pop ecx
mov esi, eax
call fcn.0047c6f9
mov eax, esi
push eax
mov ecx, edi
lea eax, [ebp - 0x24c]
call fcn.0047c3fc
pop ecx
push ebx
push ebx
call fcn.0045e8df
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.0047c986
mov eax, esi
push eax
push ebx
push ebx
call fcn.0045e8df
pop ecx
pop ecx
push eax
push dword [ebp - 0x35c]
call fcn.0040103e
add esp, 0xc
cmp eax, ebx
jg 0x48671c
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x19
call esi
lea eax, [ebp - 0x24c]
call fcn.0041aa09
lea ecx, [ebp - 0x24c]
call fcn.00419d16
push 0xf
call esi
lea eax, [ebp - 0x354]
push eax
push ebx
push ebx
call fcn.0045e8df
pop ecx
pop ecx
push eax
push dword [ebp - 0x35c]
call fcn.0040103e
add esp, 0xc
cmp eax, ebx
jg 0x48671c
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.004a57c9
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.004a4523
add esp, 0x10
push eax
push str._s__s__Up2Ld__.dat
push ebx
call fcn.0047daba
add esp, 0x10
push eax
push dword [ebp - 0x35c]
call fcn.0041a890
mov ecx, dword [ebp - 0x35c]
add esp, 0xc
push 0x47e
push str..TillSheet.c
mov edx, 0x4d3128
call fcn.0041cea8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x360], eax
je 0x486708
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.00417db7
pop ecx
pop ecx
jmp 0x486760
push 0x484
push str..TillSheet.c
mov edx, 0x4d3128
lea ecx, [ebp - 0x24c]
call fcn.0041cea8
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x360], eax
jne 0x4868b9
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.004178df
add esp, 0xc
cmp dword [ebp - 0x360], ebx
jne 0x4868b9
mov edx, dword [ebp - 0x35c]
call fcn.0047c3ca
test eax, eax
jne 0x4868b9
cmp dword [0x6440bc], ebx
jne 0x4868b9
push 0x103
push eax
lea eax, [ebp - 0x143]
push eax
mov byte [ebp - 0x144], bl
call fcn.004b53e0
add esp, 0xc
push 0
lea edi, [ebp - 0x144]
call fcn.00442979
pop ecx
mov eax, edi
push eax
push dword [ebp - 0x35c]
call fcn.0047d058
test eax, eax
pop ecx
pop ecx
je 0x486853
push dword [ebp + 0xc]
mov ebx, dword [ebp - 0x368]
mov eax, edi
call fcn.0048a519
pop ecx
mov esi, edi
call fcn.0047c6f9
mov eax, edi
push eax
push dword [ebp - 0x35c]
call fcn.0047d058
test eax, eax
pop ecx
pop ecx
je 0x4868b9
push dword [ebp + 0xc]
mov eax, edi
call fcn.0048a519
pop ecx
call fcn.0041b048
test eax, eax
je 0x4868b9
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.004178df
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0xc]
mov dword [0x6440bc], 1
push ebx
call fcn.004864a7
add esp, 0xc
and dword [0x6440bc], 0
jmp 0x4868de
mov eax, dword [ebp - 0x374]
cmp dword [ebp + 0xc], eax
jne 0x4868b9
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x368]
lea ecx, [ebp - 0x144]
call fcn.0048a4ad
lea esi, [ebp - 0x144]
call fcn.0047c6f9
mov eax, esi
push eax
push dword [ebp - 0x35c]
call fcn.0047d058
test eax, eax
pop ecx
pop ecx
je 0x4868b9
mov eax, dword [ebp + 0xc]
mov ecx, esi
call fcn.0048a4ad
mov edi, esi
call fcn.0041b048
test eax, eax
je 0x4868b9
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 0x486822
call fcn.0040a38d
test eax, eax
je 0x4868ed
mov ecx, dword [ebp - 0x360]
test ecx, ecx
je 0x4868dc
call fcn.0041d2f0
lea eax, [ebp - 0x24c]
call fcn.0041aa09
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
xor esi, esi
cmp dword [ebp - 0x360], esi
mov ebx, 0x1388
je 0x4869b5
push dword [ebp - 0x360]
lea eax, [ebp - 0x358]
push 1
push 4
push eax
call fcn.004b56f6
add esp, 0x10
cmp eax, 1
jne 0x486936
cmp dword [ebp - 0x358], esi
jl 0x486936
cmp dword [ebp - 0x358], 0x8000
jl 0x4869bb
mov ecx, dword [ebp - 0x360]
call fcn.0041d2f0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x360], esi
call fcn.0041aa09
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.004178df
add esp, 0xc
call fcn.004a4ba8
sub eax, dword [0x6440c0]
cmp eax, ebx
jbe 0x4869ab
call fcn.0040eb6c
test eax, eax
jne 0x4869ab
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.00422560
add esp, 0x14
test eax, eax
jne 0x4869ab
push 3
call fcn.0043784d
call fcn.004a4ba8
mov dword [0x6440c0], eax
mov dword [ebp - 0x358], esi
mov eax, dword [ebp - 0x358]
mov edi, 0x1234
add eax, 0xa
push edi
push eax
call fcn.004b422c
mov esi, eax
xor eax, eax
cmp esi, eax
pop ecx
pop ecx
mov dword [ebp - 0x36c], esi
jne 0x486a68
mov ecx, dword [ebp - 0x360]
cmp ecx, eax
je 0x4869fe
call fcn.0041d2f0
lea eax, [ebp - 0x24c]
call fcn.0041aa09
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.004178df
add esp, 0xc
call fcn.004a4ba8
sub eax, dword [0x6440c4]
cmp eax, ebx
jbe 0x486a59
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.00422560
add esp, 0x14
test eax, eax
jne 0x486a59
call fcn.0040eb6c
test eax, eax
je 0x4869a4
call fcn.004a4ba8
mov dword [0x6440c4], eax
jmp 0x4868dc
cmp dword [ebp - 0x360], eax
je 0x486f90
cmp dword [ebp - 0x358], eax
mov dword [ebp - 0x390], eax
mov dword [ebp - 0x364], eax
jle 0x486df6
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.004b56f6
add esp, 0x10
xor esi, esi
cmp dword [ebp - 0x370], edi
mov dword [ebp - 0x378], eax
jbe 0x486b17
inc dword [ebp - 0x390]
cmp dword [ebp - 0x390], 0x1b
jge 0x486afe
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.00417db7
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.004b56f6
add esp, 0x10
test esi, esi
mov dword [ebp - 0x374], eax
mov dword [ebx], edi
jle 0x486b54
push 1
push esi
push dword [ebp - 0x360]
call fcn.004b48ff
add esp, 0xc
xor esi, esi
inc esi
cmp dword [ebp - 0x378], esi
jne 0x486cbd
cmp dword [ebp - 0x374], esi
jne 0x486cbd
xor eax, eax
cmp dword [ebp - 0x388], eax
je 0x486c32
cmp dword [ebp - 0x394], eax
jne 0x486b9d
push dword [ebp - 0x35c]
push str.:7:LoadTillSheets___is_converting_the_old_style_till_sheet_to_the_new_style:___s_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 0x394], esi
mov eax, dword [ebx]
mov esi, 0xe19
jmp 0x486bc4
cmp eax, 0xe59
mov cl, byte [ebx + eax]
jl 0x486bb9
mov byte [ebx + eax + 0x100], cl
jmp 0x486bc0
mov byte [ebx + eax + 0xfe], cl
mov byte [ebx + eax], 0
dec eax
cmp eax, esi
jge 0x486ba6
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x380], 4
cmp dword [ebp - 0x380], 1
mov dword [ebp - 0x378], eax
jl 0x486c1a
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.0047d20a
mov byte [esi], 0
dec esi
dec dword [ebp - 0x374]
pop ecx
jne 0x486bfd
mov edi, 0x1234
dec dword [ebp - 0x380]
sub dword [ebp - 0x378], 0x32
cmp dword [ebp - 0x380], 1
jge 0x486be8
xor eax, eax
cmp dword [ebx + 0x2c], eax
jg 0x486dc2
cmp dword [ebp - 0x364], eax
je 0x486c98
cmp dword [ebx + 0x1198], eax
jne 0x486c98
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.004a4452
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.004178df
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 0x486dc2
mov ecx, dword [ebp - 0x360]
and dword [ebp - 0x388], 0
call fcn.0041d2f0
and dword [ebp - 0x360], 0
lea eax, [ebp - 0x24c]
call fcn.0041aa09
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.004178df
add esp, 0x20
call fcn.004a4ba8
sub eax, dword [0x6440c8]
cmp eax, 0x1388
jbe 0x486d91
push 0x103
lea eax, [ebp - 0x143]
push 0
push eax
mov byte [ebp - 0x144], 0
call fcn.004b53e0
add esp, 0xc
push dword [ebp - 0x35c]
mov ecx, 0x104
lea eax, [ebp - 0x144]
call fcn.0047c3fc
pop ecx
mov esi, eax
call fcn.0047c6f9
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.00422560
add esp, 0x18
test eax, eax
jne 0x486d91
call fcn.0040eb6c
test eax, eax
je 0x486f3f
call fcn.004a4ba8
mov dword [0x6440c8], eax
mov eax, dword [ebp - 0x358]
add eax, 0xa
imul eax, eax, 0x1234
push eax
push 0
push dword [ebp - 0x36c]
call fcn.004b53e0
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 0x486aac
mov esi, dword [ebp - 0x36c]
xor eax, eax
cmp dword [ebp - 0x358], eax
mov dword [ebp - 0x364], eax
jle 0x486ea1
lea ebx, [esi + 0x11b8]
mov eax, dword [ebx]
test eax, eax
jbe 0x486e87
inc eax
push 1
push eax
call fcn.004b422c
test eax, eax
pop ecx
pop ecx
mov dword [ebx - 8], eax
je 0x486e84
push dword [ebp - 0x360]
push 1
push dword [ebx]
push eax
call fcn.004b56f6
add esp, 0x10
cmp eax, 1
je 0x486e87
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.004a4452
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.004178df
add esp, 0xc
push dword [ebx - 8]
call fcn.004b4080
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 0x486e0e
and dword [ebp - 0x364], 0
cmp dword [ebp - 0x358], 0
jle 0x486f71
lea ebx, [esi + 0x11c0]
mov eax, dword [ebx]
test eax, eax
jbe 0x486f57
add eax, 8
mov dword [ebx + 0x24], eax
add eax, 8
push 1
push eax
call fcn.004b422c
test eax, eax
pop ecx
pop ecx
mov dword [ebx - 4], eax
je 0x486f50
push dword [ebp - 0x360]
push 1
push dword [ebx]
push eax
call fcn.004b56f6
add esp, 0x10
cmp eax, 1
je 0x486f57
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.004a4452
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.004178df
add esp, 0xc
push dword [ebx - 4]
call fcn.004b4080
xor eax, eax
pop ecx
mov dword [ebx - 4], eax
mov dword [ebx], eax
mov dword [ebx + 0x24], eax
mov edi, 0x1234
jmp 0x486f57
push dword [ebp - 0x36c]
call fcn.004b4080
pop ecx
jmp 0x4869a4
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 0x486ebb
cmp dword [ebp - 0x360], 0
je 0x486f90
mov ecx, dword [ebp - 0x360]
call fcn.0041d2f0
lea eax, [ebp - 0x24c]
call fcn.0041aa09
xor esi, esi
cmp dword [ebp - 0x358], esi
jle 0x486fcc
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.004870cb
add esp, 0x10
inc esi
add ebx, edi
cmp esi, dword [ebp - 0x358]
jl 0x486fa0
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 0x486fd4
mov esi, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp - 0x368]
jge 0x487042
cmp esi, 0xfffffffe
jl 0x48705f
mov eax, 0x1b314
sub eax, esi
lea ebx, [edi + eax*4]
mov esi, dword [ebx]
call fcn.00489585
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 0x48705c
cmp esi, dword [edi]
jge 0x48705f
lea ebx, [edi + esi*4 + 0x4f4]
mov esi, dword [ebx]
call fcn.00489585
mov eax, dword [ebp - 0x36c]
mov dword [ebx], eax
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp - 0x388], eax
je 0x4870c0
cmp dword [ebp - 0x358], eax
jle 0x4870c0
xor ebx, ebx
push eax
inc ebx
push ebx
call fcn.00446339
test eax, eax
pop ecx
pop ecx
jne 0x487085
xor ebx, ebx
jmp 0x48708d
push 1
call fcn.00447288
pop ecx
push 0
push esi
push edi
call fcn.0048882a
add esp, 0xc
test eax, eax
jne 0x4870a8
push str.:8:LoadTillSheets___FAILED_to_convert_the_till_sheet_to_the_new_style:_SaveTillSheets___FAILED.
call fcn.004178df
pop ecx
test ebx, ebx
je 0x4870c0
push 0x5af
push str..TillSheet.c
push 1
call fcn.004463fb
add esp, 0xc
mov eax, dword [ebp - 0x358]
jmp 0x4868de