Function at 0x402e50
Capabilities:
Reference sql statements

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov rdi, qword [0x00410928]
mov qword [rsp + 0x100], rcx
lea rbx, [rsp + 0x90]
mov qword [rsp + 0x108], rdx
lea rcx, str.SELECT__FROM_customer_WHERE_carnum_
mov edx, 0x25
call rdi
mov rcx, rbx
mov r12, qword [0x00410a98]
mov qword [rsp + 0x60], rax
call r12
mov rax, qword [0x00410850]
lea rbp, [rsp + 0x88]
mov r8, rbx
lea rsi, [rsp + 0x68]
mov rdx, rbp
mov r15, qword [0x00410ae0]
mov rcx, rsi
mov qword [rsp + 0x88], rax
call r15
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x403120
cmp eax, 0xffffffff
je 0x402f00
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x88]
je 0x403120
nop word [rax + rax]
mov rcx, rbx
mov r14, qword [0x00410aa0]
call r14
lea rax, [rsp + 0x60]
mov rcx, rsi
mov qword [rsp + 0x58], rax
mov rdx, rax
mov rax, qword [0x00410ad8]
mov qword [rsp + 0x48], rax
call rax
mov rax, qword [0x00410950]
mov rcx, rbx
mov rdx, qword [rsp + 0x108]
mov qword [rsp + 0x40], rax
call rax
mov rax, qword [0x00410ab8]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
mov qword [rsp + 0x50], rax
call rax
mov rcx, rbx
mov r13, qword [0x00410960]
call r13
mov rax, qword [0x00410ac8]
mov rcx, rsi
mov qword [rsp + 0x38], rax
call rax
mov rcx, rsi
call qword [0x00410ad0]
test al, al
je 0x403140
lea rcx, str.DELETE_FROM_customer_WHERE_carnum_
mov edx, 0x23
call rdi
mov qword [rsp + 0x70], rax
mov rcx, rbx
call r12
mov rax, qword [0x00410850]
lea r12, [rsp + 0x78]
mov r8, rbx
mov rdx, rbp
mov rcx, r12
mov qword [rsp + 0x88], rax
call r15
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x402ff0
cmp eax, 0xffffffff
je 0x403001
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x88]
jne 0x403001
nop word [rax + rax]
mov r8d, 8
mov edx, 2
call qword [0x00410848]
lea r15, [rsp + 0x70]
mov rcx, rbx
call r14
mov rdx, r15
mov rcx, r12
mov rax, qword [rsp + 0x48]
call rax
mov rdx, qword [rsp + 0x108]
mov rcx, rbx
mov rax, qword [rsp + 0x40]
call rax
mov r8d, 1
mov rdx, rbx
mov rcx, r12
mov rax, qword [rsp + 0x50]
call rax
mov rcx, rbx
call r13
mov rcx, r12
mov rax, qword [rsp + 0x38]
call rax
test al, al
je 0x403270
lea rcx, [0x0040b205]
mov edx, 6
call rdi
mov qword [rsp + 0x90], rax
mov edx, 6
lea rcx, [0x0040b324]
call rdi
mov qword [rsp + 0x88], rax
mov r9d, 0x400
mov r8, rbx
mov rdx, rbp
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x100]
call qword [0x00410b88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x4033b0
cmp eax, 0xffffffff
je 0x4030cd
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x88]
je 0x4033b0
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx]
test eax, eax
je 0x403100
cmp eax, 0xffffffff
je 0x40331f
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x90]
jne 0x40331f
nop word cs:[rax + rax]
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x40331f
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x402f00
lea rcx, [0x0040b2c7]
mov edx, 0xf
call rdi
mov qword [rsp + 0x90], rax
mov edx, 6
lea rcx, [0x0040b2d7]
call rdi
mov qword [rsp + 0x88], rax
mov r9d, 0x400
mov r8, rbx
mov rdx, rbp
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x100]
call qword [0x00410b88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x4031b0
cmp eax, 0xffffffff
je 0x4031c1
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x88]
jne 0x4031c1
nop
mov r8d, 8
mov edx, 2
call qword [0x00410848]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx]
test eax, eax
je 0x403250
cmp eax, 0xffffffff
mov rbx, qword [0x00410ae8]
je 0x403200
mov eax, 0xffffffff
lock xadd dword [rcx], eax
mov rbx, qword [0x00410ae8]
mov rcx, qword [rsp + 0x90]
cmp eax, 1
je 0x403250
nop dword [rax]
mov rcx, rsi
call rbx
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x403234
cmp eax, 0xffffffff
je 0x403220
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x60]
je 0x403234
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x403220
mov r8d, 8
mov edx, 2
call qword [0x00410848]
mov rbx, qword [0x00410ae8]
jmp 0x403200
mov rdx, r12
mov rcx, rbx
call qword [0x00410b10]
lea r13, [rsp + 0x80]
mov rdx, rbx
mov rcx, r13
call qword [0x00410af8]
lea rcx, [0x0040b324]
mov edx, 6
call rdi
mov qword [rsp + 0x88], rax
mov r9d, 0x400
mov r8, r13
mov rdx, rbp
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x100]
call qword [0x00410b88]
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx]
test eax, eax
je 0x403370
cmp eax, 0xffffffff
je 0x4032f1
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x88]
je 0x403370
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x403393
cmp eax, 0xffffffff
je 0x403316
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x80]
je 0x403393
mov rcx, rbx
call qword [0x00410ab0]
mov rcx, r12
mov rbx, qword [0x00410ae8]
call rbx
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx]
test eax, eax
je 0x403350
cmp eax, 0xffffffff
je 0x403200
lock sub dword [rcx], 1
mov rcx, qword [rsp + 0x70]
jne 0x403200
nop
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x403200
mov r8d, 8
mov edx, 2
call qword [0x00410848]
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx]
test eax, eax
jne 0x403303
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x403316
mov r8d, 8
mov edx, 2
call qword [0x00410848]
jmp 0x4030cd