Function at 0x1400211b0
Capabilities:
Check mutex on windows
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140074020]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r13, rdx
mov r12d, ecx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x30], r14d
call fcn.140020970
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
mov rsi, rax
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140001dd0]
mov rcx, rax
call fcn.14001d260
mov rbx, rax
mov qword [rbp - 0x40], r14
lea rdx, str.LogLevel
lea rcx, [rbp - 0x40]
call fcn.1400258c0
nop
mov rcx, rbx
call fcn.140002ed0
test al, al
je 0x14002127d
mov rcx, rbx
call fcn.140001f20
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x40]
call fcn.140024b40
mov rcx, qword [rax]
test rcx, rcx
mov rax, r14
je 0x14002129b
cvttsd2si rax, qword [rcx + 8]
mov ecx, eax
call fcn.140012a90
mov dword [rsi + 0x40], eax
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400258c0
nop
mov dword [rsp + 0x38], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140001dd0]
mov rcx, rax
call fcn.14001d260
mov rbx, rax
mov qword [rbp - 0x40], r14
lea rdx, str.LogFilePID
lea rcx, [rbp - 0x40]
call fcn.1400258c0
nop
mov rcx, rbx
call fcn.140002ed0
test al, al
je 0x140021327
mov rcx, rbx
call fcn.140001f20
lea rcx, [rbx + 0x38]
lea rdx, [rbp - 0x40]
call fcn.140024b40
mov rcx, qword [rax]
test rcx, rcx
mov rax, r14
je 0x140021345
cvttsd2si rax, qword [rcx + 8]
test rax, rax
setne r15b
lea rdx, [0x1400689e4]
lea rcx, [rbp - 0x80]
call fcn.140001110
mov rbx, rax
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov r8d, 0xe
lea rdx, str.ADPSDKUtil.log
lea rcx, [rbp - 0x38]
call fcn.14000d2f0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x38]
call fcn.140010280
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400213ed
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400213e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002247c
call fcn.14002f77c
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14001a450
mov rsi, rax
cmp qword [rax + 0x18], 8
jb 0x14002141c
mov rsi, qword [rax]
lea rax, vtable.LogTarget.0
mov qword [rbp + 0x40], rax
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
mov rbx, rax
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
mov r8d, 0xa
lea rdx, str.ADPSDKUtil
lea rcx, [rbp - 0x38]
call fcn.14000d2f0
nop
xor r9d, r9d
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140013420
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400214cc
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400214c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022482
call fcn.14002f77c
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
lea rax, vtable.LogTargetFile.0
mov qword [rbp + 0x40], rax
lea rdx, [0x1400683c8]
test rsi, rsi
cmovne rdx, rsi
mov qword [rbp + 0x48], r14
mov qword [rbp + 0x58], r14
mov qword [rbp + 0x60], 7
mov word [rbp + 0x48], r14w
mov r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp word [rdx + r8*2], 0
jne 0x140021514
lea rcx, [rbp + 0x48]
call fcn.140001c40
nop
xor esi, esi
mov qword [rbp + 0x68], rsi
movzx ecx, r15b
call fcn.140011700
mov byte [rbp + 0x70], al
mov qword [rbp + 0x78], rsi
mov qword [rbp + 0x80], rsi
mov dword [rbp + 0x88], esi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbp + 0x78], rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14002159f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002159a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022488
call fcn.14002f77c
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], si
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400215f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400215ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002248e
call fcn.14002f77c
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140021647
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021642
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022494
call fcn.14002f77c
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], si
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400258c0
nop
call fcn.1400201c0
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
cmp dword [rax + 0x40], 4
jl 0x1400216d2
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
lea r8, str.Starting_AdpSDKUtil_main...
mov edx, 4
mov rcx, rax
call fcn.140014850
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
cmp dword [rax + 0x40], 4
jl 0x14002173c
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
lea r8, str.SDK_Version:_4.4.2.0
mov edx, 4
mov rcx, rax
call fcn.140014850
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
cmp dword [rax + 0x40], 4
jl 0x1400217ea
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
mov rbx, rax
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rbp - 0x60]
call fcn.14001aed0
nop
mov dword [rsp + 0x30], 1
lea rdx, [rbp - 0x38]
mov rcx, rax
call fcn.1400156f0
nop
mov edi, 3
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0x10
jb 0x1400217d2
mov rax, qword [rax]
mov r9, rax
lea r8, str.Executable_Path:__s
mov edx, 4
mov rcx, rbx
call fcn.140014850
nop
test dil, 2
je 0x14002183e
and edi, 0xfffffffd
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14002182e
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021829
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002249a
call fcn.14002f77c
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
test dil, 1
je 0x140021887
and edi, 0xfffffffe
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140021887
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021882
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224a0
call fcn.14002f77c
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov ecx, 0x60
call fcn.14002f7b0
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp - 0x18], rax
mov r8, r13
mov edx, r12d
lea rcx, [rbp - 0x18]
call fcn.140010450
nop
xor r12d, r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], r12b
lea r8d, [r12 + 2]
lea rdx, [0x140068a48]
lea rcx, [rsp + 0x40]
call fcn.14000d2f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x18]
call fcn.1400109b0
nop
mov qword [rbp - 8], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
lea rdx, [rbp - 8]
mov rcx, rax
call fcn.140010280
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140021967
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224a6
call fcn.14002f77c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400219b4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400219af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224ac
call fcn.14002f77c
mov qword [rbp - 0x40], r12
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.140016330
nop
mov qword [rsp + 0x30], r12
cmp qword [rax + 0x18], 0x10
jb 0x1400219d5
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140024dc0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140021a3a
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021a35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224b2
call fcn.14002f77c
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x18]
call fcn.140020ba0
mov rdx, qword [rbp - 0x40]
test rdx, rdx
je 0x140021ac0
lea rcx, [rbp - 0x80]
call fcn.14002aa60
bts edi, 8
mov qword [rsp + 0x30], r12
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0x10
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.1400258c0
bts edi, 7
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140021ab9
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224b8
call fcn.14002f77c
mov rbx, qword [rsp + 0x30]
jmp 0x140021acc
mov rbx, r12
mov qword [rsp + 0x30], rbx
bts edi, 7
test rbx, rbx
je 0x140021add
cmp qword [rbx + 0x18], 0x10
jb 0x140021ae0
mov rbx, qword [rbx]
jmp 0x140021ae0
mov rbx, r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 7
lea rdx, str.command
lea rcx, [rsp + 0x40]
call fcn.14000d2f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x18]
call fcn.1400109b0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140021b2e
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call fcn.140020570
mov rbx, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140021b79
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021b74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224be
call fcn.14002f77c
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140021bca
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021bc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224c4
call fcn.14002f77c
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
mov qword [rsp + 0x30], r12
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.140024dc0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
test rbx, rbx
je 0x140021c13
mov rcx, rbx
call fcn.14002f77c
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov r8d, 3
lea rdx, [0x140068a58]
lea rcx, [rsp + 0x40]
call fcn.14000d2f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x18]
call fcn.1400109b0
nop
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r12w
lea rdx, [rbp + 0x18]
mov rcx, rax
call fcn.140010280
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0x10
jb 0x140021cb3
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021cae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224ca
call fcn.14002f77c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 0xf
mov byte [rbp - 0x80], 0
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140021d00
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021cfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224d0
call fcn.14002f77c
mov qword [rsp + 0x30], r12
lea rdx, str._returnCode
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
mov rbx, qword [rbp - 0x40]
test rbx, rbx
jne 0x140021d25
xor sil, sil
jmp 0x140021d9a
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140021d52
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x140021d42
mov rcx, qword [rax]
test rcx, rcx
je 0x140021d52
cmp r8, 0x10
jb 0x140021d59
mov rdx, qword [rax]
jmp 0x140021d59
lea rdx, [0x140068271]
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov r8, r14
nop
inc r8
cmp byte [rdx + r8], 0
jne 0x140021d70
lea rcx, [rsp + 0x40]
call fcn.14000d2f0
or edi, 0x600
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400242d0
movzx esi, al
bt edi, 9
jae 0x140021de2
btr edi, 9
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x140021de2
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ddc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224d6
call fcn.14002f77c
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400258c0
nop
test sil, sil
je 0x140021e4f
mov qword [rsp + 0x38], r12
lea rdx, str._returnCode
lea rcx, [rsp + 0x38]
call fcn.1400258c0
nop
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x40]
call fcn.1400249b0
mov rbx, rax
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400258c0
nop
mov rax, qword [rbx]
test rax, rax
je 0x140021e41
movsd xmm0, qword [rax + 8]
cvttsd2si r15d, xmm0
mov rbx, qword [rbp - 0x40]
jmp 0x140021e54
xorps xmm0, xmm0
cvttsd2si r15d, xmm0
mov rbx, qword [rbp - 0x40]
jmp 0x140021e54
mov r15d, dword [rsp + 0x38]
test rbx, rbx
je 0x140021ed2
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14002aa60
bts edi, 0xc
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400258c0
bts edi, 0xb
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140021ecb
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021ec6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224dc
call fcn.14002f77c
mov rax, qword [rsp + 0x38]
jmp 0x140021ede
mov rax, r12
mov qword [rsp + 0x38], rax
bts edi, 0xb
test rax, rax
je 0x140021f06
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x140021ef6
mov rcx, qword [rax]
test rcx, rcx
je 0x140021f06
cmp r8, 0x10
jb 0x140021f0d
mov rdx, qword [rax]
jmp 0x140021f0d
lea rdx, [0x140068271]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
inc r14
cmp byte [rdx + r14], 0
jne 0x140021f21
mov r8, r14
lea rcx, [rbp - 0x38]
call fcn.14000d2f0
bts edi, 0xd
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 0x10
cmovae rdx, qword [rbp - 0x38]
mov qword [rsp + 0x28], r12
mov r8, qword [rbp - 0x28]
lea rcx, [rbp + 0x18]
call fcn.140016610
test al, al
sete sil
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x140021f9c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224e2
call fcn.14002f77c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400258c0
nop
test sil, sil
je 0x1400221fe
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
cmp dword [rax + 0x40], 2
jl 0x140022138
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
mov r14, rax
test rbx, rbx
je 0x14002209d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14002aa60
bts edi, 0xf
mov qword [rsp + 0x38], r12
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400258c0
bts edi, 0xe
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x140022096
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022091
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224e8
call fcn.14002f77c
mov rbx, qword [rsp + 0x38]
jmp 0x1400220a9
mov rbx, r12
mov qword [rsp + 0x38], rbx
bts edi, 0xe
or edi, 4
mov dword [rsp + 0x30], edi
test rbx, rbx
je 0x1400220c1
cmp qword [rbx + 0x18], 0x10
jb 0x1400220c4
mov rbx, qword [rbx]
jmp 0x1400220c4
mov rbx, r12
cmp qword [rbp + 0x28], 0
jne 0x1400220d4
lea rsi, str.skipped_due_to_no_output_file
jmp 0x1400220f6
mov edx, 0xffffffff
lea rcx, [rbp - 0x38]
call fcn.14001e410
mov rsi, rax
or edi, 8
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0x10
jb 0x1400220f6
mov rsi, qword [rax]
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.1400156f0
nop
or edi, 0x10
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0x10
jb 0x140022116
mov rax, qword [rax]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov r9, rax
lea r8, str.AdpSDKUtil___Write_to_output__s_failed__s_output_s
mov edx, 2
mov rcx, r14
call fcn.140014850
nop
test dil, 0x10
je 0x140022191
and edi, 0xffffffef
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002217e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022179
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224ee
call fcn.14002f77c
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
test dil, 8
je 0x1400221e5
and edi, 0xfffffff7
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1400221d5
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400221d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224f4
call fcn.14002f77c
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], 0xf
mov byte [rbp - 0x38], 0
test dil, 4
je 0x1400221f8
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400258c0
nop
mov r15d, 7
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140022248
mov edx, 0x80
lea rcx, [rbp - 8]
call fcn.14001bb30
mov edx, dword [0x140074c38]
lea rcx, [rbp - 8]
call fcn.14001bb30
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140022288
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022283
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224fa
call fcn.14002f77c
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], r12w
lea rcx, [rbp - 0x40]
call fcn.140025020
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x1400222e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400222de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022476
call fcn.14002f77c
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], 7
mov word [rbp - 8], r12w
lea rcx, [rbp - 0x18]
call fcn.140010bb0
nop
lea rcx, [rbp + 0x40]
call fcn.1400119d0
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 1
lea r9, str.Logger
mov r8d, 1
lea rdx, [0x140015520]
mov rcx, rax
call fcn.14001d260
test rax, rax
je 0x14002234b
lea r8, str.Finalize_AdpSDKUtil_called
mov edx, 4
mov rcx, rax
call fcn.140014850
xor ecx, ecx
call fcn.14001cf80
mov dword [rsp + 0x20], 0x64
lea r9, str.AdpSDKUtilMessageHandler
mov r8d, 1
lea rdx, [0x140022910]
mov rcx, rax
call fcn.14001d260
test rax, rax
je 0x14002238a
lea rcx, [rax - 0x18]
test rcx, rcx
je 0x14002238a
mov rax, qword [rcx]
call qword [rax + 8]
cmp qword [0x140077920], 0
je 0x140022443
lea rax, [0x1400770a8]
mov qword [rbp - 0x18], rax
mov edx, 0xffffffff
mov rcx, qword [0x1400770a8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete bl
test eax, eax
jne 0x1400223db
cmp dword [0x1400770b8], eax
jne 0x1400223d5
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [0x1400770b0], rax
inc dword [0x1400770b8]
mov byte [rbp - 0x10], bl
mov rcx, qword [0x140077920]
test rcx, rcx
je 0x14002240d
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x140077920]
test rcx, rcx
je 0x140022406
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x140077920], r12
test bl, bl
je 0x140022443
mov eax, dword [0x1400770b8]
sub eax, 1
mov dword [0x1400770b8], eax
jns 0x14002242b
mov dword [0x1400770b8], r12d
jmp 0x14002242f
test eax, eax
jne 0x140022436
mov qword [0x1400770b0], r12
mov rcx, qword [0x1400770a8]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, r15d
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14002f4c0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
nop
call fcn.140035b04
int3