Function at 0x47b867
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7cc
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x730]
stosd dword es:[edi], eax
push 0x104
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x61c]
push eax
call fcn.004e4da0
xor eax, eax
lea edi, [ebp - 0x760]
stosd dword es:[edi], eax
push str.C:TamsInvDB_
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x770]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00429152
add esp, 0x10
test eax, eax
je 0x47c6bf
lea eax, [ebp - 0x61c]
push str.s_inv_rem.dat
push eax
call fcn.0046379e
xor edi, edi
mov ebx, str.C:TamsInvDBMultiStore.cfg
pop ecx
inc edi
cmp dword [0x686d78], 0
pop ecx
jne 0x47ba17
push str.C:TamsInvDBLegend.txt
mov dword [0x686d78], edi
call fcn.00473fd2
push ebx
call fcn.0042916f
pop ecx
pop ecx
test eax, eax
jne 0x47ba17
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.0042916f
pop ecx
test eax, eax
jne 0x47ba17
push 0x2670
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
push 0x519800
push ebx
call fcn.0042d2de
mov esi, eax
add esp, 0x10
test esi, esi
je 0x47ba17
push str._n_Use_this_file_to_spawn_another_stores_invoice_register_to_this_directory.
push esi
call fcn.00404f0f
push str._n_For_example__creating_an_entry_such_as__10.119.200.10__DEN121.dat_
push esi
call fcn.00404f0f
push str._n_would_cause_the_invoice_register_for_the_store_with_the_ip_address_10.119.200.10
push esi
call fcn.00404f0f
push str._n_to_be_spawned_to_this_directory_with_the_name__DEN121.DAT_.
push esi
call fcn.00404f0f
push str._n_An_ip_address_MUST_be_used:_DNS_names_are_NOT_allowed.
push esi
call fcn.00404f0f
push str._n_The_register_for_this_store_will_always_be_spawned_to_this_directory_and_will_be_named__this.dat_.
push esi
call fcn.00404f0f
push str._n_To_spawn__this.dat__to_some_other_file_name_or_location__use_the_format__this.dat__MyName.dat_.
push esi
call fcn.00404f0f
push str._n__combined.dat__will_be_created_if_the_ip_address_option_is_used_for_extracting_invoices_from_a_branch_store.
push esi
call fcn.00404f0f
add esp, 0x40
push str._n_The__combined.dat__file_will_then_contain_an_ordered_list_of_all_invoices_from_all_stores.
push esi
call fcn.00404f0f
push 0x54c228
push esi
call fcn.00404f0f
push str._n_Example_1:_10.119.200.10___DEN121_Data_File.bin_
push esi
call fcn.00404f0f
push str._n_Example_2:_10.119.151.10__DEN122.dat
push esi
call fcn.00404f0f
push str._n_Example_3:_10.119.151.10___C:My_DirectorySomeWhere_ElseDEN122.dat_
push esi
call fcn.00404f0f
push str._n_Example_4:_this.dat__DEN122.txt
push esi
call fcn.00404f0f
push str._n_Example_5:_this.dat___C:My_DirectorySomeWhere_ElseSomeFile.dat_
push esi
call fcn.00404f0f
push str._n_Example_6:_combined.dat___MultiStore.txt_
push esi
call fcn.00404f0f
add esp, 0x40
push 0x5204a8
push esi
call fcn.00404f0f
push esi
call fcn.0042d153
add esp, 0xc
cmp dword [ebp + 8], 0
mov ebx, 0x2710
jne 0x47ba76
call fcn.004ee499
cdq
idiv ebx
lea esi, [edx + 0x927c0]
call fcn.004ca9ca
sub eax, dword [0x686d8c]
cmp esi, eax
sbb ebx, ebx
neg ebx
call fcn.004ee499
cdq
mov ecx, 0x2710
idiv ecx
lea esi, [edx + 0x493e0]
call fcn.004ca9ca
sub eax, dword [0x686d90]
cmp eax, esi
ja 0x47ba78
push str.C:TamsInvDB_this.dat
call fcn.0042916f
pop ecx
test eax, eax
jne 0x47bb1e
mov ebx, edi
push 0x10
xor esi, esi
lea eax, [ebp - 0x730]
push esi
push eax
call fcn.004e4da0
push esi
push esi
lea eax, [ebp - 0x730]
push eax
push esi
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.0042ac63
add esp, 0x14
lea esi, [ebp - 0x730]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, 0x686d7c
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.004c9469
add esp, 0x20
test eax, eax
je 0x47bb14
push 0
mov esi, str.C:TamsInvDB_this.dat.gz.temp
lea eax, [ebp - 0x61c]
push esi
push eax
call fcn.00429cf7
add esp, 0xc
test eax, eax
je 0x47bb14
push esi
call fcn.004a34cf
pop ecx
test eax, eax
je 0x47bb05
push 0
push str.C:TamsInvDB_this.dat
push esi
call fcn.00429cf7
push esi
call fcn.00429e69
add esp, 0x10
mov edi, 0x686d7c
lea esi, [ebp - 0x730]
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.004ca9ca
mov dword [0x686d90], eax
test ebx, ebx
je 0x47c6bf
push 0x26b5
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
call fcn.004a169c
mov esi, eax
push str.C:TamsInvDBMultiStore.cfg
push esi
mov dword [ebp - 0x7bc], esi
call fcn.004a2547
add esp, 0x10
test eax, eax
jle 0x47c6b8
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
xor edi, edi
push edi
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x414]
push edi
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x518]
push edi
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x720]
push edi
push eax
call fcn.004e4da0
push ebx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004e4da0
add esp, 0x48
push 0x26c7
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
call fcn.004a169c
mov ebx, eax
push 0x26c8
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
mov dword [ebp - 0x794], ebx
call fcn.004a169c
push 0x26c9
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
mov dword [ebp - 0x79c], eax
call fcn.004a169c
push esi
mov dword [ebp - 0x7a0], eax
call fcn.004a29b5
push esi
call fcn.004a1a3b
add esp, 0x20
jmp 0x47c41a
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
push esi
call fcn.0049fe14
add esp, 0xc
test eax, eax
je 0x47c408
push ebx
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.004a11a5
lea eax, [ebp - 0x108]
push eax
call fcn.004a03e7
lea eax, [ebp - 0x108]
push 0x515eec
push eax
call fcn.004f7873
lea eax, [ebp - 0x108]
push eax
call fcn.004a0326
lea eax, [ebp - 0x108]
push eax
call fcn.004608c3
mov ebx, eax
call fcn.0046039d
push eax
call fcn.004608c3
add esp, 0x24
cmp ebx, eax
jne 0x47bc98
push 0x104
lea eax, [ebp - 0x108]
mov ebx, edi
push str.this.dat
push eax
call fcn.004a11a5
add esp, 0xc
jmp 0x47bca2
test ebx, ebx
jne 0x47bd6f
xor edi, edi
lea eax, [ebp - 0x108]
push eax
push str.C:TamsInvDB_
push 0x50d2a0
lea eax, [ebp - 0x310]
push 0x104
push eax
call fcn.004a0ddb
lea eax, [ebp - 0x108]
push eax
call fcn.0049f486
add esp, 0x18
test eax, eax
jne 0x47bdc5
lea eax, [ebp - 0x108]
push str.this.dat
push eax
call fcn.004ee718
pop ecx
pop ecx
test eax, eax
je 0x47bd2f
lea eax, [ebp - 0x108]
push str.combined.dat
push eax
call fcn.004ee718
pop ecx
pop ecx
test eax, eax
jne 0x47bd2f
lea eax, [ebp - 0x108]
push eax
call fcn.0042916f
pop ecx
test eax, eax
jne 0x47bd2f
lea eax, [ebp - 0x310]
push eax
call fcn.0042916f
pop ecx
test eax, eax
je 0x47bdc5
lea eax, [ebp - 0x108]
xor edi, edi
push eax
inc edi
call fcn.0042916f
pop ecx
test eax, eax
je 0x47bd6f
lea eax, [ebp - 0x310]
push eax
call fcn.0042916f
pop ecx
test eax, eax
jne 0x47bd6f
push 0x104
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.004a11a5
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004ee4d0
lea eax, [ebp - 0x518]
push eax
call fcn.004a0109
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004ee5d0
add esp, 0x14
test eax, eax
jne 0x47bdf8
push esi
push str.MultiStore.cfg
push str._nThe_multi_store_config_line_is_invalid._Only_a_path_was_given._You_must_provide_a_file_name._Please_edit__s:__s
push str.C:TamsInvDBErrorLog.txt
call fcn.004264a2
add esp, 0x10
jmp 0x47c406
push esi
call fcn.0049f486
pop ecx
test eax, eax
jne 0x47c408
push esi
push str.MultiStore.cfg
lea eax, [ebp - 0x108]
push eax
push str._nThe_multi_store_config_line_is_invalid:___s__does_not_exist._Please_edit__s:__s
push str.C:TamsInvDBErrorLog.txt
call fcn.004264a2
add esp, 0x14
jmp 0x47c408
lea eax, [ebp - 0x518]
push eax
call fcn.00429152
pop ecx
test eax, eax
jne 0x47be1c
lea eax, [ebp - 0x20c]
push str.C:TamsInvDB_
push eax
call fcn.0049fcaa
pop ecx
pop ecx
test edi, edi
je 0x47be3e
xor edi, edi
lea eax, [ebp - 0x20c]
push edi
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00429cf7
add esp, 0xc
jmp 0x47c408
xor eax, eax
lea edi, [ebp - 0x750]
stosd dword es:[edi], eax
push 0x598450
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x740]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor edi, edi
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push 0x53c78c
mov esi, 0x104
lea eax, [ebp - 0x720]
push esi
push eax
call fcn.004a0ddb
push str.s_inv_rem.dat
push str.P2_DC001
lea eax, [ebp - 0x720]
push eax
push str._s_s_s
lea eax, [ebp - 0x310]
push esi
push eax
call fcn.004a0ddb
add esp, 0x2c
push edi
push 1
push edi
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push dword [ebp - 0x794]
call fcn.004a1b3e
add esp, 0x14
test eax, eax
js 0x47beff
push edi
lea eax, [ebp - 0x20c]
push eax
push edi
push 1
push edi
push edi
push ebx
call fcn.004608cc
mov ebx, dword [ebp - 0x794]
pop ecx
pop ecx
push eax
push ebx
call fcn.004a1b3e
inc eax
push eax
push ebx
call fcn.004a1aed
add esp, 0x1c
push eax
call fcn.00429cf7
add esp, 0xc
jmp 0x47c40e
call fcn.0045fb57
push eax
call fcn.0045fb76
push eax
lea eax, [ebp - 0x720]
push eax
call fcn.00461cd7
mov dword [ebp - 0x7a8], eax
lea eax, [ebp - 0x20c]
push eax
push str._s.gz.temp
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.004a0ddb
push edi
push ebx
call fcn.004608cc
push eax
push str._s_RemInvDbMod.tim
push edi
call fcn.0047ced0
push eax
lea eax, [ebp - 0x740]
push eax
call fcn.004c9773
push edi
push 0xea60
lea eax, [ebp - 0x750]
push eax
push edi
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.0042ac63
add esp, 0x50
mov dword [ebp - 0x7ac], eax
test eax, eax
je 0x47c073
sub esp, 0x10
lea esi, [ebp - 0x740]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x750]
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.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
mov ecx, 0x2710
xor edi, edi
push edi
cmp eax, ecx
jge 0x47c04a
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push dword [ebp - 0x794]
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c408
push edi
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push dword [ebp - 0x79c]
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c408
push edi
push edi
push ebx
call fcn.004608cc
mov edi, dword [ebp - 0x7a0]
pop ecx
pop ecx
push eax
push edi
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c406
xor esi, esi
push esi
push esi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push edi
call fcn.004a147e
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.004a147e
add esp, 0x18
jmp 0x47c406
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00429cf7
add esp, 0xc
mov dword [ebp - 0x798], eax
test eax, eax
je 0x47c252
jmp 0x47c132
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x7b0], eax
mov dword [ebp - 0x798], edi
call fcn.004ca9ca
sub eax, dword [0x686d94]
cmp eax, 0x36ee80
jbe 0x47c252
call fcn.004ca9ca
push 0x2741
mov dword [0x686d94], eax
lea eax, [ebp - 0x7cc]
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
push eax
call fcn.004c8f77
push ecx
mov edi, esp
lea esi, [ebp - 0x740]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
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.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
xor edi, edi
cmp eax, 0x2932e00
jle 0x47c252
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00429cf7
add esp, 0xc
mov dword [ebp - 0x798], eax
test eax, eax
je 0x47c252
push dword [ebp - 0x7b0]
lea eax, [ebp - 0x310]
push str._GetLastError_
push eax
push str.:8:UpdateSpecialInvoiceDataBase___EAP:_GetFileSystemTime___is_failing_but_CopyFile___succeeded_:___s_:__s_ld
call fcn.004255b9
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call fcn.004a34cf
pop ecx
test eax, eax
je 0x47c388
push edi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00429cf7
add esp, 0xc
test eax, eax
je 0x47c185
push edi
push ebx
call fcn.004608cc
push eax
push str._s_RemInvDbMod.tim
push edi
call fcn.0047ced0
push eax
lea eax, [ebp - 0x750]
push eax
call fcn.004ca1f5
add esp, 0x1c
push edi
push edi
push ebx
call fcn.004608cc
mov esi, dword [ebp - 0x794]
pop ecx
pop ecx
push eax
push esi
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c235
push edi
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push esi
call fcn.004a147e
push edi
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004a147e
add esp, 0x18
push edi
push 1
push edi
push edi
push ebx
call fcn.004608cc
mov esi, dword [ebp - 0x79c]
pop ecx
pop ecx
push eax
push esi
call fcn.004a1b3e
mov edi, eax
add esp, 0x14
test edi, edi
js 0x47c1fd
push edi
push esi
call fcn.004a28e1
push edi
push esi
call fcn.004a28e1
add esp, 0x10
xor eax, eax
push eax
push 1
push eax
push eax
push ebx
call fcn.004608cc
mov esi, dword [ebp - 0x7a0]
pop ecx
pop ecx
push eax
push esi
call fcn.004a1b3e
mov edi, eax
add esp, 0x14
test edi, edi
js 0x47c233
push edi
push esi
call fcn.004a28e1
push edi
push esi
call fcn.004a28e1
add esp, 0x10
xor edi, edi
push edi
push ebx
call fcn.004608cc
push eax
push str._s_InvDbUpdt.tim
push edi
call fcn.0047ced0
push eax
push edi
call fcn.004ca1f5
add esp, 0x1c
lea eax, [ebp - 0x414]
push eax
call fcn.00429e69
cmp dword [ebp - 0x798], 0
pop ecx
jne 0x47c408
xor eax, eax
lea edi, [ebp - 0x790]
stosd dword es:[edi], eax
push 0x2777
push str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x780]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x780]
push eax
call fcn.004c9210
push 0
push ebx
call fcn.004608cc
push eax
push str._s_InvDbUpdt.tim
push 0
call fcn.0047ced0
push eax
lea eax, [ebp - 0x790]
push eax
call fcn.004c9773
add esp, 0x18
lea esi, [ebp - 0x790]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x780]
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.004ca88e
push eax
call fcn.004ee48a
add esp, 0x24
cmp eax, 0x5265c00
jle 0x47c3a6
call fcn.004ca9ca
sub eax, dword [0x686d98]
cmp eax, 0x36ee80
ja 0x47c324
sub esp, 0x10
lea esi, [ebp - 0x790]
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.004c9694
add esp, 0x10
test eax, eax
je 0x47c3a6
call fcn.004ca9ca
push dword [ebp - 0x7ac]
mov dword [0x686d98], eax
mov eax, 0x2710
push dword [ebp - 0x7a8]
push eax
push 0
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
call fcn.004638d5
pop ecx
pop ecx
push eax
push 0
sub esp, 0x10
lea esi, [ebp - 0x790]
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.004c9acc
add esp, 0x14
xor edi, edi
push eax
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push str.:4:UpdateSpecialInvoiceDataBase___FAILED:_Log_Once_Per_Hour:_Failed_to_access_invoice_archive__INVDB__at__s_since__s__check_MultiStore.cfg_:_Ping_d__iLogonResult_d__bTimeResult_d
call fcn.004255b9
add esp, 0x18
jmp 0x47c3a8
lea eax, [ebp - 0x414]
push eax
push str.:5:UpdateSpecialInvoiceDataBase___EAP:_UnArchiveStringListFile___s___FAILED_
call fcn.004255b9
pop ecx
pop ecx
mov dword [ebp - 0x798], edi
jmp 0x47c235
xor edi, edi
push edi
push edi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push dword [ebp - 0x794]
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c408
push edi
push edi
push ebx
call fcn.004608cc
mov edi, dword [ebp - 0x79c]
pop ecx
pop ecx
push eax
push edi
call fcn.004a1f28
add esp, 0xc
test eax, eax
jne 0x47c406
xor esi, esi
push esi
push esi
push ebx
call fcn.004608cc
pop ecx
pop ecx
push eax
push dword [ebp - 0x7a0]
call fcn.004a1f28
add esp, 0xc
test eax, eax
je 0x47c023
xor edi, edi
mov ebx, dword [ebp - 0x794]
push dword [ebp - 0x7bc]
call fcn.004a1a3b
pop ecx
mov esi, eax
test esi, esi
jne 0x47bc06
push edi
push edi
lea eax, [ebp - 0x770]
push eax
push edi
push edi
push str.C:TamsInvDB_this.dat
call fcn.0042ac63
push edi
push edi
lea eax, [ebp - 0x760]
push eax
push edi
push edi
push str.C:TamsInvDBcombined.dat
call fcn.0042ac63
mov dword [ebp - 0x798], edi
lea esi, [ebp - 0x770]
add esp, 0x20
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.004c9694
add esp, 0x10
test eax, eax
jne 0x47c4c3
sub esp, 0x10
lea esi, [ebp - 0x760]
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.004c9694
add esp, 0x10
test eax, eax
jne 0x47c4c3
sub esp, 0x10
lea esi, [ebp - 0x760]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x770]
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.004ca88e
mov esi, dword [ebp - 0x798]
add esp, 0x20
cmp eax, 0x1b58
push 1
pop eax
cmovg esi, eax
jmp 0x47c4c9
mov esi, dword [ebp - 0x798]
push ebx
call fcn.004a1abb
pop ecx
test eax, eax
jg 0x47c4dc
test esi, esi
je 0x47c689
push 0x279e
mov edi, str.E:UserskerryDocumentsVisual_Studio_2022ProjectsPAULA__TEMP_COPY_ParseSA12.c
push edi
call fcn.004a169c
mov esi, eax
push 0x279f
push edi
mov dword [ebp - 0x7b0], esi
call fcn.004a169c
push str.C:TamsInvDB_this.dat
push esi
mov dword [ebp - 0x798], eax
call fcn.004a2547
add esp, 0x18
test eax, eax
je 0x47c676
xor edi, edi
mov dword [ebp - 0x7ac], edi
test edi, edi
jne 0x47c52f
mov esi, dword [ebp - 0x79c]
jmp 0x47c53d
xor eax, eax
mov esi, ebx
inc eax
cmp edi, eax
cmove esi, dword [ebp - 0x7a0]
push esi
mov dword [ebp - 0x7a8], esi
call fcn.004a1abb
and dword [ebp - 0x7b4], 0
mov dword [ebp - 0x7b8], eax
pop ecx
test eax, eax
jle 0x47c64e
mov ebx, dword [ebp - 0x7b4]
mov edi, dword [ebp - 0x79c]
push ebx
push esi
call fcn.004a1aed
push eax
call fcn.0046096b
add esp, 0xc
test eax, eax
jne 0x47c62f
push ebx
push esi
call fcn.004a1aed
push eax
push dword [ebp - 0x798]
mov dword [ebp - 0x7a4], eax
call fcn.004a2547
add esp, 0x10
test eax, eax
jg 0x47c5be
cmp esi, edi
je 0x47c62f
push dword [ebp - 0x7a4]
push str.:8:UpdateSpecialInvoiceDataBase___FAILED:_LoadStringListFromFile__s__FAILED.
call fcn.004255b9
pop ecx
jmp 0x47c62e
push dword [ebp - 0x7a4]
call fcn.004a33a6
push dword [ebp - 0x798]
call fcn.004a29b5
push dword [ebp - 0x798]
call fcn.004a1abb
add esp, 0xc
mov dword [ebp - 0x7a4], eax
test eax, eax
jle 0x47c624
mov edi, dword [ebp - 0x798]
mov esi, eax
mov ebx, dword [ebp - 0x7b0]
push 0x12
push edi
call fcn.004a1a3b
pop ecx
push eax
push ebx
call fcn.004a12cf
add esp, 0xc
sub esi, 1
jne 0x47c5fa
mov esi, dword [ebp - 0x7a8]
mov ebx, dword [ebp - 0x7b4]
mov edi, dword [ebp - 0x79c]
push 0x50c926
call fcn.004a33a6
pop ecx
inc ebx
mov dword [ebp - 0x7b4], ebx
cmp ebx, dword [ebp - 0x7b8]
jl 0x47c56b
mov ebx, dword [ebp - 0x794]
mov edi, dword [ebp - 0x7ac]
inc edi
mov dword [ebp - 0x7ac], edi
cmp edi, 2
jle 0x47c523
mov esi, dword [ebp - 0x7b0]
push 0
push 0
push str.C:TamsInvDBcombined.dat
push esi
call fcn.004a2f35
add esp, 0x10
push esi
call fcn.004a1882
push dword [ebp - 0x798]
call fcn.004a1882
pop ecx
pop ecx
push ebx
call fcn.004a1882
push dword [ebp - 0x79c]
call fcn.004a1882
push dword [ebp - 0x7a0]
call fcn.004a1882
add esp, 0xc
call fcn.004ca9ca
mov esi, dword [ebp - 0x7bc]
mov dword [0x686d8c], eax
push esi
call fcn.004a1882
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e3632
leave
ret