Function at 0x462489
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x124], esi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x462534
push esi
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x462534
mov ecx, dword [ebp + 0x10]
mov edx, str.SaveStringListToArchive
test ecx, ecx
mov eax, str.SaveStringListToFile
push 0x25e8
cmovne eax, edx
mov edx, fcn.0048f948
mov dword [ebp - 0x140], eax
mov eax, fcn.0048f523
cmove eax, edx
mov edx, fcn.0048ef6b
mov dword [ebp - 0x13c], eax
mov eax, fcn.0048ef2f
cmove eax, edx
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
mov dword [ebp - 0x134], eax
call fcn.0048e1bb
mov ebx, eax
push edi
mov edi, dword [ebp - 0x134]
push ebx
mov dword [ebp - 0x128], ebx
call edi
add esp, 0x10
test eax, eax
jg 0x462545
push ebx
call fcn.0048e3a1
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret
push esi
call fcn.0048c43b
pop ecx
test eax, eax
je 0x462569
push esi
call fcn.0041fbe3
pop ecx
test eax, eax
je 0x462569
mov dword [ebp - 0x118], 1
xor ebx, ebx
jmp 0x462588
and dword [ebp - 0x118], 0
push 0x25f7
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
call fcn.0048e1bb
mov ebx, eax
push esi
push ebx
call edi
add esp, 0x10
mov edi, dword [ebp - 0x128]
push edi
call fcn.0048f3c8
push edi
call fcn.0048e54b
push dword [ebp - 0x130]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x12c], 1
call fcn.0048fdb9
mov eax, dword [ebp - 0x120]
add esp, 0xc
test eax, eax
jle 0x462886
and dword [ebp - 0x138], 0
cmp dword [ebp - 0x118], 0
je 0x4627b9
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
push 0x104
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
call fcn.004c37f0
mov edi, dword [ebp - 0x128]
add esp, 0xc
and dword [ebp - 0x118], 0
mov dword [ebp - 0x124], 5
push edi
call fcn.0048e4cb
mov dword [ebp - 0x11c], eax
pop ecx
test eax, eax
je 0x462637
push 6
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004cde20
add esp, 0xc
test eax, eax
je 0x46278a
test ebx, ebx
je 0x462695
lea eax, [ebp - 0x114]
push eax
call fcn.0048c30a
pop ecx
test eax, eax
jne 0x462695
push eax
push 1
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [ebp - 0x13c]
add esp, 0x10
test eax, eax
jg 0x46268c
push ebx
call fcn.0048e54b
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x140]
push str.:5:MergeInvoiceRegister___FAILED:__s__s__FAILED:_Num_Lines_to_save__d.
call fcn.0041c80a
add esp, 0x14
and dword [ebp - 0x12c], 0
push ebx
call fcn.0048e3a1
pop ecx
xor ebx, ebx
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x462886
push 7
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x114]
push eax
call fcn.0048cdb6
lea eax, [ebp - 0x114]
push eax
call fcn.004cd280
add esp, 0x14
cmp eax, 6
je 0x462716
sub dword [ebp - 0x124], 1
js 0x462704
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x118]
push dword [ebp + 0x10]
push esi
push dword [ebp - 0x130]
push str.:5:MergeInvoiceRegister__s___s___d__EAP:_An_invalid_entry_was_found_at__d_of__d:___s_
call fcn.0041c80a
add esp, 0x1c
lea eax, [ebp - 0x114]
push eax
call fcn.0048b21b
pop ecx
jmp 0x46279b
push 4
lea eax, [ebp - 0x114]
push 0x2d
push eax
call fcn.0048c19c
push 0x104
lea eax, [ebp - 0x114]
push str._AllInv.r12
push eax
call fcn.0048dc3d
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0048c896
push 7
push dword [ebp - 0x11c]
lea eax, [ebp - 0x10]
push eax
call fcn.0048dd2a
add esp, 0x2c
test ebx, ebx
je 0x462768
push ebx
call fcn.0048e3a1
pop ecx
push 0x2639
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
call fcn.0048e1bb
mov ebx, eax
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [ebp - 0x134]
add esp, 0x10
push 0x12
push dword [ebp - 0x11c]
push ebx
call fcn.0048de54
add esp, 0xc
mov eax, dword [ebp - 0x118]
inc eax
mov dword [ebp - 0x118], eax
cmp eax, dword [ebp - 0x120]
jle 0x46260f
jmp 0x462886
mov esi, eax
push 0x12
push edi
call fcn.0048e4cb
pop ecx
push eax
push ebx
call fcn.0048de54
add esp, 0xc
sub esi, 1
jne 0x4627bb
push 0xffffff46
call fcn.004b5927
push eax
call fcn.004b48e9
push ebx
mov esi, eax
call fcn.0048f3c8
jmp 0x46280e
push esi
push edi
call fcn.0048f1b9
pop ecx
push eax
call fcn.004b5d59
pop ecx
pop ecx
test eax, eax
je 0x46282a
push 1
push 0xc8
push ebx
call fcn.0048fd31
push ebx
call fcn.0048e4cb
mov edi, eax
lea eax, [ebp - 0x138]
push eax
push edi
call fcn.0048e7e8
add esp, 0x18
test eax, eax
jne 0x4627ed
push ebx
call fcn.0048e54b
push ebx
mov esi, eax
call fcn.0048feb0
sub esi, eax
pop ecx
pop ecx
cmp esi, dword [ebp - 0x120]
jg 0x46284b
push ebx
call fcn.0048f3c8
pop ecx
mov esi, dword [ebp - 0x124]
push 0
push 1
push esi
push ebx
call dword [ebp - 0x13c]
add esp, 0x10
test eax, eax
jg 0x462886
push ebx
call fcn.0048e54b
push eax
push esi
push dword [ebp - 0x140]
push str.:5:MergeInvoiceRegister___FAILED:__s__s__FAILED:_Num_Lines_to_save__d.
call fcn.0041c80a
add esp, 0x14
and dword [ebp - 0x12c], 0
push 0x4e9b8e
call fcn.0048fdb9
push ebx
call fcn.0048e3a1
push dword [ebp - 0x128]
call fcn.0048e3a1
mov eax, dword [ebp - 0x12c]
add esp, 0xc
jmp 0x462536