Function at 0x14001ca40
Capabilities:
Hash data with crc32

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rdi, qword [0x140458f40]
xor r9d, r9d
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov qword [rax - 0x30], r14
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov eax, dword [rdi + 0x48a0]
sub eax, 1
mov qword [rsp + 0xa0], r9
mov byte [rsp + 0xa8], r9b
js 0x14001cac4
movsxd rdx, eax
mov rax, qword [rdi + 0x48a8]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rsi, qword [r8]
test rsi, rsi
je 0x14001caba
test dword [rsi + 0x14], 0x8000000
jne 0x14001cb87
sub r8, 0x38
sub rdx, 1
jns 0x14001caa5
mov rsi, r9
xorps xmm8, xmm8
cmp qword [rdi + 0x4a48], r9
je 0x14001cb1a
cmp qword [rdi + 0x4a40], r9
jne 0x14001cb1a
comiss xmm8, dword [rdi + 0x4a74]
movss xmm0, dword [rdi + 0x18]
movss xmm1, dword [rdi + 0x4a5c]
mulss xmm0, dword [0x1401631a8]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rdi + 0x4a5c], xmm1
jb 0x14001cb1a
comiss xmm8, xmm1
jb 0x14001cb1a
mov qword [rdi + 0x4a48], r9
mov r13d, 0xffffffff
lea rdx, [0x1401584f1]
mov ebx, r13d
lea r9, [0x140158e10]
mov r8b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, 0x23
jne 0x14001cb47
cmp byte [rdx], r8b
jne 0x14001cb47
cmp byte [rdx + 1], r8b
cmove ebx, r13d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r9 + rcx*4]
test r8b, r8b
jne 0x14001cb34
mov r14d, dword [rdi + 8]
not ebx
mov r13, qword [rsp + 0xa0]
movzx eax, r14b
test r14b, 2
je 0x14001cb93
test byte [rdi + 0xc], 1
je 0x14001cb93
mov r12b, 1
jmp 0x14001cb9a
mov qword [rdi + 0x4a40], r9
jmp 0x14001cac7
xor r12b, r12b
movzx r14d, al
and r14b, 1
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x60], r15
test rsi, rsi
jne 0x14001cbd0
mov ecx, dword [rdi + 0x4a38]
test ecx, ecx
je 0x14001cbd0
mov r8d, 0x1001
mov edx, ebx
call fcn.140016270
test al, al
je 0x14001cbd0
mov bpl, 1
jmp 0x14001cbd8
xor bpl, bpl
test rsi, rsi
jne 0x14001cbf8
mov ecx, dword [rdi + 0x4a3c]
test ecx, ecx
je 0x14001cbf8
mov r8d, 0x1001
mov edx, ebx
call fcn.140016270
test al, al
je 0x14001cbf8
mov r15b, 1
jmp 0x14001cc00
xor r15b, r15b
test rsi, rsi
jne 0x14001cc26
test r12b, r12b
je 0x14001cc26
cmp qword [rdi + 0x4a40], r13
jne 0x14001cc26
xor r8d, r8d
xor edx, edx
mov ecx, 0x26b
call fcn.140013aa0
test al, al
je 0x14001cc26
mov r12b, 1
jmp 0x14001cc2e
xor r12b, r12b
test rsi, rsi
jne 0x14001cc46
cmp qword [rdi + 0x4a40], r13
jne 0x14001cc46
test bpl, bpl
jne 0x14001cc41
test r15b, r15b
je 0x14001cc46
mov sil, 1
jmp 0x14001cc49
xor sil, sil
test r12b, r12b
jne 0x14001cc57
test sil, sil
je 0x14001cce4
mov rax, qword [rdi + 0x48d8]
test rax, rax
jne 0x14001cc7e
mov ecx, dword [rdi + 0x3ea8]
lea r8d, [rax - 1]
dec ecx
mov edx, 0x80000001
call fcn.14001c8d0
test rax, rax
je 0x14001cce4
mov rax, qword [rax + 0x378]
mov qword [rdi + 0x4a48], rax
mov qword [rdi + 0x4a40], rax
xor eax, eax
mov qword [rdi + 0x4a58], rax
mov qword [rdi + 0x4a6c], rax
mov qword [rdi + 0x4a64], rax
movzx eax, sil
xor eax, 1
mov byte [rdi + 0x4a60], r12b
add eax, 2
mov dword [rdi + 0x490c], eax
test bpl, bpl
jne 0x14001cccb
test r15b, r15b
je 0x14001cce4
mov ecx, dword [rdi + 0x4a3c]
mov edx, ebx
or ecx, dword [rdi + 0x4a38]
and ecx, 0xf800
call fcn.1400160c0
mov r12d, 1
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x4a58]
movss xmm7, dword [0x140163104]
movss xmm9, dword [0x1401630ec]
movss xmm6, dword [0x140163158]
movss dword [rdi + 0x4a58], xmm0
cmp qword [rdi + 0x4a40], r13
je 0x14001ce01
cmp dword [rdi + 0x490c], 3
jne 0x14001ce01
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x14001cd47
movaps xmm1, xmm8
jmp 0x14001cd4e
movaps xmm1, xmm6
minss xmm1, xmm0
movss xmm0, dword [rdi + 0x4a5c]
mov r8d, r12d
maxss xmm0, xmm1
xor edx, edx
mov ecx, 0x273
movss dword [rdi + 0x4a5c], xmm0
call fcn.140013aa0
mov r8d, r12d
movzx ebx, al
xor edx, edx
mov ecx, 0x274
call fcn.140013aa0
movzx ecx, al
mov eax, ebx
sub eax, ecx
je 0x14001cd9d
mov ecx, eax
call fcn.14001c970
mov dword [rdi + 0x4a5c], 0x3f800000
mov rcx, qword [0x140458f40]
mov edx, 0x26b
call fcn.140013230
cmp byte [rax], r13b
je 0x14001cdca
mov rcx, qword [0x140458f40]
mov edx, 0x26b
call fcn.140002b50
cmp byte [rax + 8], r13b
je 0x14001ce01
comiss xmm6, dword [rdi + 0x4a5c]
seta al
and byte [rdi + 0x4a60], al
je 0x14001cdef
cmp qword [rdi + 0x48d8], r13
je 0x14001cdf6
mov byte [rsp + 0xa8], r12b
jmp 0x14001cdf6
mov r13, qword [rdi + 0x4a40]
mov qword [rdi + 0x4a40], 0
cmp qword [rdi + 0x4a40], 0
je 0x14001cec7
cmp dword [rdi + 0x490c], 2
jne 0x14001cec7
mov eax, dword [rdi + 0x4a38]
mov ecx, 0xf800
test eax, eax
mov ebx, 0xf800
cmovne ecx, eax
mov eax, dword [rdi + 0x4a3c]
test eax, eax
cmovne ebx, eax
and ebx, ecx
and ebx, 0xf800
jne 0x14001ce60
mov r8d, 0x2f8c
lea rdx, str.C:UsersMUHA7Desktopimgui_facturaimgui.cpp
lea rcx, str.shared_mods___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi + 0x4a58]
subss xmm0, xmm7
divss xmm0, xmm9
comiss xmm8, xmm0
jbe 0x14001ce7d
movaps xmm6, xmm8
jmp 0x14001ce81
minss xmm6, xmm0
movss xmm0, dword [rdi + 0x4a5c]
maxss xmm0, xmm6
movss dword [rdi + 0x4a5c], xmm0
test bpl, bpl
jne 0x14001ceb4
test r15b, r15b
jne 0x14001ceb4
mov eax, dword [rdi + 0xe28]
and eax, ebx
cmp eax, ebx
je 0x14001cec7
mov r13, qword [rdi + 0x4a40]
jmp 0x14001cec7
movzx ecx, bpl
xor ecx, r12d
lea ecx, [rcx*2 - 1]
call fcn.14001c970
mov r15, qword [rsp + 0x60]
test r14b, r14b
mov r14, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xb0]
je 0x14001cf05
xor r8d, r8d
mov edx, 0xffffffff
mov ecx, 0x4000
call fcn.140013aa0
test al, al
je 0x14001cf05
mov byte [rdi + 0x4a60], r12b
mov dword [rdi + 0x490c], 2
cmp byte [rdi + 0x4a60], 0
je 0x14001d0c9
cmp dword [rdi + 0x490c], 2
jne 0x14001d0c9
cmp dword [rdi + 0x37c0], 0
jg 0x14001cf59
cmp byte [rdi + 0xe24], 0
jne 0x14001cf59
cmp byte [rdi + 0xe25], 0
jne 0x14001cf59
cmp byte [rdi + 0xe27], 0
jne 0x14001cf59
mov rcx, qword [0x140458f40]
mov edx, 0x4000
call fcn.140002b50
cmp dword [rax], 0xffffffff
je 0x14001cf60
mov byte [rdi + 0x4a60], 0
mov rcx, qword [0x140458f40]
mov edx, 0x4000
call fcn.140013230
comiss xmm8, dword [rax + 8]
ja 0x14001d095
cmp byte [rax], 0
jne 0x14001d095
mov rcx, qword [0x140458f40]
mov edx, 0x4000
call fcn.140002b50
cmp byte [rax + 8], 0
jne 0x14001d095
cmp byte [rdi + 0x4a60], 0
je 0x14001d095
cmp dword [rdi + 0x3f58], 0
je 0x14001cfc3
cmp byte [rdi + 0x3f65], 0
je 0x14001d095
mov rcx, qword [0x140458f40]
lea rbx, [rdi + 0xe08]
test rcx, rcx
jne 0x14001cff7
mov r8d, 0x2127
lea rdx, str.C:UsersMUHA7Desktopimgui_facturaimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x140458f40]
test rbx, rbx
jne 0x14001d003
lea rbx, [rcx + 0xe08]
movss xmm0, dword [rbx]
movss xmm6, dword [0x1401632ac]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x14001d024
comiss xmm1, xmm6
jb 0x14001d024
movzx esi, r12b
jmp 0x14001d027
xor sil, sil
lea rbx, [rdi + 0x36f0]
test rcx, rcx
jne 0x14001d054
mov r8d, 0x2127
lea rdx, str.C:UsersMUHA7Desktopimgui_facturaimgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [0x140458f40]
test rbx, rbx
jne 0x14001d060
lea rbx, [rcx + 0xe08]
movss xmm0, dword [rbx]
comiss xmm0, xmm6
movss xmm1, dword [rbx + 4]
jb 0x14001d079
comiss xmm1, xmm6
jb 0x14001d079
movzx eax, r12b
jmp 0x14001d07b
xor al, al
mov edx, dword [rsp + 0xa8]
cmp sil, al
movzx edx, dl
cmove edx, r12d
mov dword [rsp + 0xa8], edx
jmp 0x14001d09c
mov rcx, qword [0x140458f40]
mov edx, 0x4000
call fcn.140013230
cmp byte [rax], 0
je 0x14001d0c2
mov rcx, qword [0x140458f40]
mov edx, 0x4000
call fcn.140002b50
cmp byte [rax + 8], 0
je 0x14001d0c9
mov byte [rdi + 0x4a60], 0
mov rax, qword [rdi + 0x4a40]
test rax, rax
je 0x14001d2ba
test byte [rax + 0x14], 4
jne 0x14001d2ba
cmp dword [rdi + 0x490c], 2
movaps xmm2, xmm8
movaps xmm7, xmm8
jne 0x14001d15f
cmp byte [rdi + 0xe25], 0
jne 0x14001d15f
mov rcx, qword [0x140458f40]
mov edx, 0x204
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x203
mov rbx, rax
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x202
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x201
mov rbx, rax
call fcn.140013230
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
cmp dword [rdi + 0x490c], 3
jne 0x14001d1ca
mov rcx, qword [0x140458f40]
mov edx, 0x27c
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x27b
mov rbx, rax
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x27a
movss xmm7, dword [rbx + 0xc]
movss xmm6, dword [rax + 0xc]
call fcn.140013230
mov rcx, qword [0x140458f40]
mov edx, 0x279
mov rbx, rax
call fcn.140013230
movss xmm2, dword [rbx + 0xc]
subss xmm7, xmm6
subss xmm2, dword [rax + 0xc]
ucomiss xmm2, xmm8
jp 0x14001d1de
jne 0x14001d1de
ucomiss xmm7, xmm8
jp 0x14001d1de
je 0x14001d2ba
movss xmm1, dword [rdi + 0x70]
xorps xmm9, xmm9
movss xmm0, dword [rdi + 0x18]
xorps xmm6, xmm6
minss xmm1, dword [rdi + 0x74]
mulss xmm0, dword [0x140163250]
mov byte [rdi + 0x4917], r12b
mulss xmm1, xmm0
mulss xmm2, xmm1
mulss xmm7, xmm1
addss xmm2, dword [rdi + 0x4a64]
addss xmm7, dword [rdi + 0x4a68]
cvttss2si eax, xmm2
movss dword [rdi + 0x4a64], xmm2
movss dword [rdi + 0x4a68], xmm7
cvtsi2ss xmm9, eax
cvttss2si eax, xmm7
ucomiss xmm9, xmm8
cvtsi2ss xmm6, eax
jp 0x14001d250
jne 0x14001d250
ucomiss xmm6, xmm8
jp 0x14001d250
je 0x14001d2ba
mov rax, qword [rdi + 0x4a40]
lea rdx, [rsp + 0xa0]
movaps xmm0, xmm9
movaps xmm1, xmm6
mov r8d, r12d
mov rcx, qword [rax + 0x378]
addss xmm0, dword [rcx + 0x20]
addss xmm1, dword [rcx + 0x24]
movss dword [rsp + 0xa0], xmm0
movss dword [rsp + 0xa4], xmm1
call fcn.140012de0
movss xmm0, dword [rdi + 0x4a64]
movss xmm1, dword [rdi + 0x4a68]
subss xmm0, xmm9
subss xmm1, xmm6
movss dword [rdi + 0x4a64], xmm0
movss dword [rdi + 0x4a68], xmm1
movaps xmm9, xmmword [rsp + 0x20]
movaps xmm8, xmmword [rsp + 0x30]
movaps xmm7, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x50]
test r13, r13
je 0x14001d354
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001d2ea
cmp r13, qword [rax + 0x378]
je 0x14001d349
xor edx, edx
xor ecx, ecx
call fcn.140007a70
mov rax, qword [0x140458f40]
xor edx, edx
mov rcx, r13
mov word [rax + 0x4915], r12w
mov byte [rax + 0x4917], r12b
call fcn.140017e20
mov edx, r12d
mov rcx, r13
call fcn.1400126a0
mov rbx, qword [rdi + 0x48d8]
cmp dword [rbx + 0x3a0], 0
jne 0x14001d338
xor edx, edx
mov rcx, rbx
call fcn.140019ca0
cmp word [rbx + 0x15e], 2
jne 0x14001d349
mov dword [rdi + 0x4910], r12d
mov qword [rdi + 0x4a40], 0
cmp byte [rsp + 0xa8], 0
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
je 0x14001d42c
cmp qword [rdi + 0x48d8], 0
je 0x14001d42c
xor edx, edx
xor ecx, ecx
call fcn.140007a70
mov rbx, qword [rdi + 0x48d8]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
je 0x14001d3bf
test byte [rbx + 0x15c], 2
jne 0x14001d3bf
mov eax, dword [rbx + 0x14]
and eax, 0x15000000
cmp eax, 0x1000000
jne 0x14001d3bf
mov rbx, qword [rcx]
lea rcx, [rbx + 0x368]
cmp qword [rcx], 0
jne 0x14001d397
mov rsi, qword [rdi + 0x48d8]
cmp rbx, rsi
je 0x14001d3dc
xor edx, edx
mov rcx, rbx
call fcn.1400126a0
mov qword [rbx + 0x398], rsi
mov rax, qword [rdi + 0x48d8]
test byte [rax + 0x15c], 2
je 0x14001d3f7
mov ecx, dword [rdi + 0x4910]
xor ecx, 1
jmp 0x14001d3f9
xor ecx, ecx
cmp ecx, dword [rdi + 0x4910]
je 0x14001d42c
cmp ecx, 1
jne 0x14001d410
mov dword [rax + 0x3a4], 0
call fcn.140019be0
mov rax, qword [0x140458f40]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret