Function at 0x140087820
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x2b8
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov rax, qword [rsp + 0x2c0]
add rax, 0xa0
xor edx, edx
mov rcx, rax
call fcn.140100210
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x48], 2
mov rax, qword [rsp + 0x2c0]
movzx edx, byte [rax + 0xc0]
lea rcx, [rsp + 0x140]
call fcn.140017ec0
nop
lea rcx, [rsp + 0x140]
call fcn.1401a7970
movzx eax, al
test eax, eax
jne 0x140087a2c
lea rcx, [rsp + 0xe0]
call fcn.14000a280
nop
lea rcx, [rsp + 0x140]
call fcn.14002d1c0
movzx eax, al
test eax, eax
je 0x14008791c
lea rcx, [rsp + 0x140]
call fcn.14000e130
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rax, qword [rax + 0xf0]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x38]
call qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0xe0]
call fcn.14001e7a0
lea rcx, [rsp + 0x120]
call fcn.14000a800
lea rcx, [rsp + 0x278]
call fcn.1400165c0
movzx eax, al
test eax, eax
jne 0x140087945
lea rdx, [rsp + 0x278]
lea rcx, [rsp + 0xe0]
call fcn.14008c280
lea rcx, [rsp + 0xe0]
call fcn.1400165c0
movzx eax, al
test eax, eax
je 0x14008796d
lea rdx, [0x1402f8f38]
lea rcx, [rsp + 0xe0]
call fcn.140015550
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x48], 2
lea rcx, [rsp + 0x1b0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14001e490
lea rcx, [rsp + 0x190]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x98]
call fcn.14001e490
lea rcx, [rsp + 0xe0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14001e490
mov rax, qword [rsp + 0x2c0]
add rax, 8
lea rcx, [rsp + 0x88]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa8]
lea rdx, [0x1402f8fe0]
mov rcx, rax
call fcn.140070040
nop
lea rcx, [rsp + 0xe0]
call fcn.14000a800
nop
lea rcx, [rsp + 0x140]
call fcn.140018400
jmp 0x140087ba9
lea rcx, [rsp + 0x70]
call fcn.14000df30
nop
lea rcx, [rsp + 0x140]
call fcn.14000e130
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov rax, qword [rax + 0x178]
mov qword [rsp + 0x60], rax
mov rdx, qword [str.WITH__attrs__AS______________SELECT__foundcomputer_._id____foundcompattr_._value_____________FROM__foundcomputer_____________INNER_JOIN__foundcompattr__ON__foundcompattr_._id____foundcomputer_._id_____________WHERE__foundcomputer_._selfregister___1_AND__foundcompattr_._tag___dNSHostName_____________________SELECT__rid__FROM_____________________SELECT_CASE_WHEN__attrs_._value__IS_NOT_NULL_THEN_UPPER__attrs_._value___ELSE__resourceidmap_._resuuid_ci__END_AS__rid___________________FROM__resourceidmap___________________LEFT_OUTER_JOIN__attrs__ON__resourceidmap_._resguid____attrs_._id_____________________x______________GROUP_BY__rid_______________HAVING_COUNT__rid_____1]
lea rcx, [rsp + 0x100]
call fcn.1400179b0
nop
lea r9, [rsp + 0x70]
mov r8d, 1
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x40]
call qword [rsp + 0x60]
nop
lea rcx, [rsp + 0x100]
call fcn.14000a800
lea rcx, [rsp + 0x70]
call fcn.1400204f0
movzx eax, al
test eax, eax
je 0x140087ac1
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x48], 0
jmp 0x140087b91
mov rax, qword [rsp + 0x2c0]
mov dword [rax + 0x48], 2
lea rdx, [0x1402f8ec8]
lea rcx, [rsp + 0xb8]
call fcn.140017fc0
mov rax, qword [rsp + 0x2c0]
add rax, 8
lea r8, [rsp + 0xb8]
lea rdx, str.One_or_more_local_service_mode_systems_have_conflicting_IDs._You_must_resolve_this_conflict_before_the_upgrade_can_proceed._Please_contact__s_support_for_assistance._The_affected_systems_are:_n
mov rcx, rax
call fcn.140014cf0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.140009d90
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x48]
call fcn.14000af40
mov qword [rsp + 0x68], rax
jmp 0x140087b3f
mov rax, qword [rsp + 0x30]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x30], rax
je 0x140087b91
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0xc8]
call fcn.140017b80
nop
xor edx, edx
lea rcx, [rsp + 0xc8]
call fcn.140071750
mov rcx, qword [rsp + 0x2c0]
add rcx, 8
mov rdx, rax
call fcn.14008c280
nop
lea rcx, [rsp + 0xc8]
call fcn.1400183c0
jmp 0x140087b31
lea rcx, [rsp + 0x70]
call fcn.140057b10
nop
lea rcx, [rsp + 0x140]
call fcn.140018400
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x2b8
ret