Function at 0x467e5e
Capabilities:
Terminate process

Disassembly:
push 0x158
push 0x54ef90
call fcn.004c2160
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x15c], ecx
xor eax, eax
mov dword [ebp - 0x144], eax
test ebx, ebx
je 0x46834a
test ecx, ecx
je 0x46834a
mov dword [ebp - 4], eax
mov esi, eax
mov dword [ebp - 0x144], esi
mov edi, eax
mov dword [ebp - 0x154], edi
cmp edi, dword [ebx + 4]
jge 0x467ef2
imul eax, edi, 0x90
mov dword [ebp - 0x14c], eax
push dword [eax + ebx + 0xc]
push ecx
call fcn.004231d2
pop ecx
pop ecx
mov edx, eax
mov dword [ebp - 0x168], edx
test edx, edx
jle 0x467ee9
mov ecx, dword [ebp - 0x14c]
mov ax, word [ecx + ebx + 0x40]
mov word [ecx + ebx + 0x46], ax
mov word [ecx + ebx + 0x40], dx
inc esi
mov dword [ebp - 0x144], esi
inc edi
mov ecx, dword [ebp - 0x15c]
jmp 0x467e9e
cmp dword [ebp + 0x10], 0
je 0x468328
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x148], eax
push 0x104
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004c37f0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x3c]
rep stosd dword es:[edi], eax
push 0x118a
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
call fcn.0048e1bb
mov esi, eax
mov dword [ebp - 0x148], esi
movzx eax, byte [ebx + 3]
push eax
movzx eax, byte [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push str._04d_02d_02d
push 0x20
lea eax, [ebp - 0x3c]
push eax
call fcn.0048d960
add esp, 0x2c
call fcn.0046ab67
mov edi, str.s_inv.dat
push edi
test eax, eax
je 0x468054
push str.ServerSync_
xor eax, eax
push eax
push eax
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4faf68
push 0x104
lea eax, [ebp - 0x140]
push eax
call fcn.0048d960
push 0x1195
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
push 0x10
call fcn.00450ac2
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x140]
push eax
push esi
call fcn.0048e9dc
add esp, 0x3c
test eax, eax
jg 0x468126
push edi
lea eax, [ebp - 0x140]
push eax
call fcn.00451c70
push 0x1199
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
push 0x10
call fcn.0044f4b7
xor edi, edi
push edi
push edi
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x140]
push eax
push esi
call fcn.0048e9dc
add esp, 0x2c
test eax, eax
jg 0x468047
push edi
push edi
lea eax, [ebp - 0x140]
push eax
call fcn.004209b8
add esp, 0xc
cmp eax, 0x400
jae 0x468038
movzx eax, byte [ebx + 3]
push eax
movzx eax, byte [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push str.:5:SetCashierEmpNums___EAP:_The_global_invoice_archive_could_not_be_accessed_for__04d__02d__02d.
call fcn.0041cce9
add esp, 0x10
push esi
call fcn.0048e3a1
mov esi, edi
mov dword [ebp - 0x148], edi
pop ecx
push 0x10
call fcn.004552b3
pop ecx
jmp 0x468128
lea eax, [ebp - 0x140]
push eax
call fcn.00451c70
push 0x11a7
push str.C:UsersOfficeDocumentsVisual_StudioPAULAParseSA12.c
push 0x10
call fcn.0044f4b7
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x140]
push eax
push esi
call fcn.0048e9dc
add esp, 0x2c
test eax, eax
jg 0x46811f
push edi
push str.ServerSync_
xor edi, edi
push edi
push edi
call fcn.0046a855
pop ecx
pop ecx
push eax
push 0x4faf68
push 0x104
lea eax, [ebp - 0x140]
push eax
call fcn.0048d960
push edi
push edi
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x140]
push eax
push esi
call fcn.0048e9dc
add esp, 0x30
test eax, eax
jg 0x468047
push edi
push edi
lea eax, [ebp - 0x140]
push eax
call fcn.004209b8
add esp, 0xc
cmp eax, 0x400
jae 0x46810c
movzx eax, byte [ebx + 3]
push eax
movzx eax, byte [ebx + 2]
push eax
movzx eax, word [ebx]
push eax
push str.:5:SetCashierEmpNums___EAP:_The_global_invoice_archive_could_not_be_accessed_for__04d__02d__02d.
call fcn.0041cce9
add esp, 0x10
push esi
call fcn.0048e3a1
mov esi, edi
mov dword [ebp - 0x148], esi
jmp 0x468046
xor edi, edi
jmp 0x468047
xor edi, edi
test esi, esi
je 0x468322
mov dword [ebp - 0x150], edi
push esi
call fcn.0048f3c8
push esi
call fcn.0048e54b
mov edi, eax
mov dword [ebp - 0x15c], edi
lea eax, [edi*2 + 0xa]
mov dword [ebp - 0x14c], eax
push 4
push eax
call fcn.004ccef4
add esp, 0x10
mov ecx, eax
mov dword [ebp - 0x158], ecx
test ecx, ecx
jne 0x4681a2
push 4
push dword [ebp - 0x14c]
push str.:7:SetCashierEmpNums___FAILED:_calloc__d___d__FAILED:_out_of_memory_
call fcn.0041c80a
push esi
call fcn.0048e3a1
add esp, 0x10
and dword [ebp - 0x148], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x144]
jmp 0x46834c
xor edx, edx
mov eax, edx
mov dword [ebp - 0x160], edx
cmp eax, edi
jge 0x468240
push esi
call fcn.0048e4cb
lea ecx, [ebp - 0x150]
push ecx
push 1
mov esi, 0x4ee0d0
push esi
push eax
call fcn.0048c83e
mov edi, eax
push 9
call fcn.004ccf1a
lea ecx, [ebp - 0x150]
push ecx
push eax
push esi
push dword [ebp - 0x150]
call fcn.0048c83e
mov esi, eax
push 5
call fcn.004ccf1a
lea ecx, [ebp - 0x150]
push ecx
push eax
push 0x4ee0d0
push dword [ebp - 0x150]
call fcn.0048c83e
add esp, 0x3c
test eax, eax
cmovg esi, eax
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x158]
mov dword [ecx + eax*8], edi
mov dword [ecx + eax*8 + 4], esi
inc eax
mov dword [ebp - 0x160], eax
mov esi, dword [ebp - 0x148]
mov edi, dword [ebp - 0x15c]
jmp 0x4681ac
push 0
push edi
push ecx
call fcn.00448fe5
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x154], eax
mov edi, dword [ebp - 0x144]
cmp eax, dword [ebx + 4]
jge 0x468307
imul ecx, eax, 0x90
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x154], eax
push dword [ecx + ebx + 0xc]
push dword [ebp - 0x15c]
push dword [ebp - 0x158]
call fcn.004480d7
add esp, 0xc
mov ecx, eax
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x14c], ecx
test ecx, ecx
js 0x4682b5
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax + ecx*8 + 4]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x168], ecx
mov edx, dword [ebp - 0x164]
movzx eax, word [edx + ebx + 0x40]
mov dword [ebp - 0x164], eax
cwde
cmp dword [ebp - 0x14c], eax
je 0x4682f5
mov eax, ecx
test eax, eax
jle 0x4682f5
xor eax, eax
cmp word [edx + ebx + 0x46], ax
jne 0x4682f0
mov eax, dword [ebp - 0x164]
mov word [edx + ebx + 0x46], ax
inc edi
mov dword [ebp - 0x144], edi
mov word [edx + ebx + 0x40], cx
mov eax, dword [ebp - 0x154]
inc eax
mov dword [ebp - 0x154], eax
jmp 0x46825a
push dword [ebp - 0x158]
call fcn.004cceff
push esi
call fcn.0048e3a1
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x148], eax
mov esi, dword [ebp - 0x144]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x46834c
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret