Function at 0x1400159d0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x140245028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
lea rdx, str.InsertRepair_is_running
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b220
lea rdx, [0x14000b3f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov esi, 4
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rsi + rbx]
cmp dword [0x14024fe88], eax
jle 0x140015a7d
lea rcx, [0x14024fe88]
call fcn.1401cd6d8
cmp dword [0x14024fe88], 0xffffffff
jne 0x140015a7d
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140015a5f
mov rdx, qword [rdi]
lea rcx, str.Customer
call fcn.140015310
mov dword [0x14024ff1c], eax
lea rcx, [0x14024fe88]
call fcn.1401cd66c
mov eax, dword [rsi + rbx]
cmp dword [0x14024fe80], eax
jle 0x140015acc
lea rcx, [0x14024fe80]
call fcn.1401cd6d8
cmp dword [0x14024fe80], 0xffffffff
jne 0x140015acc
lea rdx, [rdi + 0x80]
cmp qword [rdx + 0x18], 0x10
jb 0x140015aae
mov rdx, qword [rdx]
lea rcx, [0x1401f3eb8]
call fcn.140015310
mov dword [0x14024fee0], eax
lea rcx, [0x14024fe80]
call fcn.1401cd66c
mov eax, dword [rsi + rbx]
cmp dword [0x14024fdf8], eax
jle 0x140015b1b
lea rcx, [0x14024fdf8]
call fcn.1401cd6d8
cmp dword [0x14024fdf8], 0xffffffff
jne 0x140015b1b
lea rdx, [rdi + 0xc0]
cmp qword [rdx + 0x18], 0x10
jb 0x140015afd
mov rdx, qword [rdx]
lea rcx, [0x1401f3ef8]
call fcn.140015310
mov dword [0x14024ff20], eax
lea rcx, [0x14024fdf8]
call fcn.1401cd66c
mov eax, dword [rsi + rbx]
cmp dword [0x14024ff18], eax
jle 0x140015b6a
lea rcx, [0x14024ff18]
call fcn.1401cd6d8
cmp dword [0x14024ff18], 0xffffffff
jne 0x140015b6a
lea rdx, [rdi + 0xa0]
cmp qword [rdx + 0x18], 0x10
jb 0x140015b4c
mov rdx, qword [rdx]
lea rcx, str.Color2
call fcn.140015310
mov dword [0x14024ff24], eax
lea rcx, [0x14024ff18]
call fcn.1401cd66c
call fcn.140013e40
mov rbp, rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x80
lea r8d, [rbx - 1]
lea rdx, str.INSERT_INTO_repairs_customer_id__model_id__category_id__color_id__repair_desc__repair_desc_hidden__price__repair_state_id__date__sn_imei__VALUES_________________________datetime_now__localtime_____
mov rcx, rbp
call fcn.14017ffa0
mov rsi, qword [rsp + 0x40]
test eax, eax
jne 0x140015cd5
movsxd r8, dword [0x14024ff1c]
lea edx, [rbx + 1]
mov rcx, rsi
call fcn.140130560
movsxd r8, dword [0x14024fee0]
lea edx, [rbx + 2]
mov rcx, rsi
call fcn.140130560
movsxd r8, dword [0x14024ff20]
lea edx, [rbx + 3]
mov rcx, rsi
call fcn.140130560
movsxd r8, dword [0x14024ff24]
lea edx, [rbx + 4]
mov rcx, rsi
call fcn.140130560
lea r8, [rdi + 0xe8]
cmp qword [r8 + 0x18], 0x10
jb 0x140015c07
mov r8, qword [r8]
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov edx, 5
mov r9, 0xffffffffffffffff
mov rcx, rsi
call fcn.140130230
lea r8, [rdi + 0x108]
cmp qword [r8 + 0x18], 0x10
jb 0x140015c36
mov r8, qword [r8]
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov edx, 6
mov r9, 0xffffffffffffffff
mov rcx, rsi
call fcn.140130230
movsd xmm6, qword [rdi + 0xe0]
mov edx, 6
mov rcx, rsi
call fcn.140130070
test eax, eax
jne 0x140015c95
mov rcx, qword [rsi + 0x80]
add rcx, 0x150
movaps xmm1, xmm6
call fcn.1401277c0
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140015c95
call qword [0x140249910]
mov edx, 8
lea r8d, [rdx - 7]
mov rcx, rsi
call fcn.140130560
lea r8, [rdi + 0x168]
cmp qword [r8 + 0x18], 0x10
jb 0x140015cb7
mov r8, qword [r8]
mov byte [rsp + 0x28], 1
mov qword [rsp + 0x20], rbx
mov edx, 9
mov r9, 0xffffffffffffffff
mov rcx, rsi
call fcn.140130230
mov rcx, rsi
call fcn.14012ed10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp eax, 0x65
jne 0x140015d3f
lea rdx, str.Repair_added:
call fcn.14000b220
lea rdx, [rdi + 0x80]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140015d0a
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14001be40
lea rdx, [0x1401f3e18]
mov rcx, rax
call fcn.14000b220
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140015d2e
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.14001be40
jmp 0x140015dec
lea rdx, str.Error_during_adding_a_repair:
call fcn.14000b220
mov rbx, rax
mov rcx, rbp
call fcn.1401c17c0
mov rdx, rax
mov rcx, rbx
call fcn.14000b220
mov rcx, rax
lea rdx, [0x1401f3e18]
call fcn.14000b220
mov r14, rax
test rbp, rbp
je 0x140015ddc
movzx ecx, byte [rbp + 0x71]
cmp cl, 0xba
je 0x140015dce
cmp cl, 0x76
je 0x140015dce
cmp cl, 0x6d
je 0x140015dce
lea r8, str.invalid
lea rdx, str.API_call_with__s_database_connection_pointer
mov ebx, 0x15
mov ecx, ebx
call fcn.1400ff0b0
lea rax, [0x140222664]
mov qword [rsp + 0x20], rax
mov r9d, 0x2bb83
lea r8, str.misuse
lea rdx, str._s_at_line__d_of___.10s_
mov ecx, ebx
call fcn.1400ff0b0
jmp 0x140015de1
cmp byte [rbp + 0x67], 0
jne 0x140015ddc
mov ebx, dword [rbp + 0x58]
and ebx, dword [rbp + 0x50]
jmp 0x140015de1
mov ebx, 7
mov edx, ebx
mov rcx, r14
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x14000b3f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, rsi
call fcn.14012ddb0
xor edx, edx
mov rcx, rbp
call fcn.1401bfa10
nop
mov rcx, rdi
call fcn.140013da0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401cd610
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret