Function at 0x1400517b0
Capabilities:
Delete file
Get common file path

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x248]
sub rsp, 0x348
mov rax, qword [0x140189090]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov qword [rbp - 0x78], r9
mov r13, r8
mov rsi, rdx
mov qword [rbp - 0x80], rcx
xor ebx, ebx
mov dword [rsp + 0x38], ebx
call fcn.140050f70
mov r15, qword [rsi + 0x10]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r15
cmp rax, 4
jb 0x1400525d1
mov r12, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140051821
mov r12, qword [rsi]
mov qword [rsp + 0x40], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea r14, [r15 + 4]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x40]
lea rdx, [rbx - 0x10]
cmp r14, rbx
jbe 0x1400518b9
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x140051857
mov rbx, rcx
jmp 0x140051863
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
mov rcx, rbx
add rcx, 1
cmovb rcx, rdx
cmp rcx, 0x1000
jb 0x1400518a3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400525d7
mov rcx, rax
call fcn.1400f89d8
test rax, rax
je 0x1400525c5
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400518b4
test rcx, rcx
je 0x1400518b2
call fcn.1400f89d8
mov rdi, rax
jmp 0x1400518b4
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
mov dword [rdi], 0x5f706461
lea rcx, [rdi + 4]
mov r8, r15
mov rdx, r12
call fcn.1400faf00
mov byte [rdi + r14], 0
mov r8d, 1
lea rdx, [0x140157a5c]
lea rcx, [rsp + 0x40]
call fcn.1400093b0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
mov qword [rbp - 0x70], r14
lea rdx, [rsp + 0x60]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rdx, rcx
lea rcx, [rbp - 0x70]
call fcn.140097430
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
lea rcx, [rsp + 0x40]
call fcn.1400091f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x60]
call fcn.14003f2d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140051978
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140097700
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140097430
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbx]
mov qword [rbp - 0x70], rcx
mov qword [rbx], rdx
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140097430
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
mov qword [rsp + 0x30], r14
lea rdx, [0x140157a5c]
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140097700
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140097430
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbx]
mov qword [rbp - 0x70], rcx
mov qword [rbx], rdx
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140097430
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x60]
call fcn.14003f2d0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140051a5c
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.140097700
mov rdi, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140097430
mov rcx, qword [rbp - 0x70]
mov rbx, qword [rdi]
mov qword [rbp - 0x70], rbx
mov qword [rdi], rcx
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140097430
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x20]
call fcn.1400fb5b0
lea rdx, [rbp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov qword [rbp - 0x48], r14
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
lea rax, [rbp + 0x20]
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x140051b02
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x48]
call fcn.140009050
nop
test rbx, rbx
je 0x140051b4a
cmp qword [rbx + 0x30], 0
jne 0x140051b3a
cmp qword [rbx + 0x10], 0
je 0x140051b3a
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.14001b5c0
lea r8, [rbx + 0x20]
cmp qword [r8 + 0x18], 8
jb 0x140051b4d
mov r8, qword [r8]
jmp 0x140051b4d
mov r8, r14
lea r9, [0x14015ee68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.1400225a0
nop
lea rcx, [rbp - 0x48]
call fcn.140008fe0
mov rdx, qword [r13]
test rdx, rdx
je 0x140051bb5
lea rcx, [rsp + 0x60]
call fcn.14009f410
nop
mov qword [rsp + 0x38], r14
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.140097430
mov ebx, 0x7c0
lea rcx, [rsp + 0x60]
call fcn.1400091f0
mov rax, qword [rsp + 0x38]
jmp 0x140051bc2
mov rax, r14
mov qword [rsp + 0x38], rax
mov ebx, 0x3c0
test rax, rax
je 0x140051bea
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x140051bda
mov rcx, qword [rax]
test rcx, rcx
je 0x140051bea
cmp r8, 0x10
jb 0x140051bf1
mov rdx, qword [rax]
jmp 0x140051bf1
lea rdx, [0x1401578ef]
mov qword [rsp + 0x40], r14
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x140051c10
lea rcx, [rsp + 0x40]
call fcn.140009250
bts ebx, 0xb
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400234e0
nop
lea rcx, [rsp + 0x40]
call fcn.1400091f0
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.140097430
nop
lea r8, [0x14015ee70]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140024fb0
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r14
mov qword [rsp + 0x30], r14
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140051ca0
mov rdx, qword [rsi]
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.14001b270
nop
mov r9d, 8
lea r8, str.command
mov rcx, rax
call fcn.14002f160
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movdqu xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r14
mov edi, 7
mov qword [rax + 0x18], rdi
mov word [rax], r14w
bts ebx, 0xc
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140051d1f
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r14w
add qword [rbp - 0x58], 0x20
jmp 0x140051d2d
lea r8, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call fcn.140043480
nop
lea rcx, [rbp - 0x48]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x60]
call fcn.140008fe0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
mov r13, qword [rbp - 0x18]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 3
jb 0x1400525cb
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r14
lea r12, [r13 + 3]
mov r14, rdi
lea r15, [rsp + 0x40]
mov edx, 0xa
cmp r12, rdi
jbe 0x140051ddc
mov r14, r12
or r14, 7
cmp r14, rcx
jbe 0x140051dac
mov r14, rcx
jmp 0x140051db3
cmp r14, rdx
cmovb r14, rdx
mov rdx, r14
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140009180
mov r15, rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r14
mov ecx, dword [0x14015ee90]
mov dword [r15], ecx
movzx ecx, word [0x14015ee94]
mov word [r15 + 4], cx
lea rcx, [r15 + 6]
lea r8, [r13*2]
mov rdx, rax
call fcn.1400faf00
xor r14d, r14d
mov word [r15 + r12*2], r14w
bts ebx, 0xd
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140051e51
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r14w
add qword [rbp - 0x58], 0x20
jmp 0x140051e60
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140043480
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
mov r12, qword [rbp + 8]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 4
jb 0x1400525cb
lea r13, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae r13, qword [rbp - 8]
mov qword [rsp + 0x40], r14
lea r15, [r12 + 4]
lea r14, [rsp + 0x40]
cmp r15, 7
jbe 0x140051eed
mov rdi, r15
or rdi, 7
cmp rdi, rcx
jbe 0x140051ebc
mov rdi, rcx
jmp 0x140051ec9
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140009180
mov r14, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], rdi
movabs rax, 0x3d00740075006f
mov qword [r14], rax
lea rcx, [r14 + 8]
lea r8, [r12 + r12]
mov rdx, r13
call fcn.1400faf00
xor edi, edi
mov word [r14 + r15*2], di
bts ebx, 0xe
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x140051f54
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
add qword [rbp - 0x58], 0x20
jmp 0x140051f63
lea r8, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140043480
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
mov r12, qword [rbp - 0x80]
add r12, 0x30
mov qword [rsp + 0x40], rdi
movdqa xmm0, xmmword [0x140166ab0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], di
mov qword [rbp - 0x48], rdi
movdqa xmm0, xmmword [0x140166ac0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
xor r8d, r8d
lea rdx, [0x1401578ef]
lea rcx, [rbp - 0x48]
call fcn.140009250
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14001b5c0
nop
lea rcx, [rbp - 0x48]
call fcn.1400091f0
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140024c30
nop
mov r8d, 2
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14002a370
mov r14, rax
lea rcx, [rsp + 0x60]
call fcn.140008fe0
nop
lea rcx, [rsp + 0x40]
call fcn.140008fe0
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
test r14, r14
jg 0x14005210a
cmp dword [rax + 0x40], 2
jl 0x1400520e2
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r13, rax
mov edx, 0xffffffff
lea rcx, [rbp - 0x48]
call fcn.14002bbe0
mov rdi, rax
or ebx, 1
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0x10
jb 0x140052094
mov rdi, qword [rax]
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400520a1
mov r15, qword [rsi]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400220d0
nop
or ebx, 2
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0x10
jb 0x1400520c0
mov rax, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r15
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_failed_for__s__s
mov edx, 2
mov rcx, r13
call fcn.14001efa0
nop
test bl, 2
je 0x1400520f5
and ebx, 0xfffffffd
lea rcx, [rsp + 0x60]
call fcn.1400091f0
nop
test bl, 1
je 0x14005219b
and ebx, 0xfffffffe
lea rcx, [rbp - 0x48]
jmp 0x140052196
cmp dword [rax + 0x40], 5
jl 0x140052189
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r15, rax
mov rdi, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140052148
mov rdi, qword [rsi]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400220d0
nop
or ebx, 4
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0x10
jb 0x140052167
mov rax, qword [rax]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r14
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_returned_pid__lld_for__s
mov edx, 5
mov rcx, r15
call fcn.14001efa0
nop
test bl, 4
je 0x14005219b
and ebx, 0xfffffffb
lea rcx, [rsp + 0x60]
call fcn.1400091f0
mov rax, 0xffffffffffffffff
mov dword [rbp - 0x68], eax
mov rcx, rsi
call fcn.1400516c0
mov r8, rax
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.14002a790
test al, al
jne 0x140052287
cmp dword [rbp - 0x68], 0
jne 0x140052287
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 5
jl 0x14005226c
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rdi, rax
mov r15d, dword [rbp - 0x68]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400220d0
nop
or ebx, 0x10
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14005224a
mov rax, qword [rax]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_pid_lld_returned__d
mov edx, 5
mov rcx, rdi
call fcn.14001efa0
nop
test bl, 0x10
je 0x14005234c
and ebx, 0xffffffef
lea rcx, [rsp + 0x60]
call fcn.1400091f0
jmp 0x14005234c
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 2
jl 0x140052332
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov r15, rax
mov r13d, dword [rbp - 0x68]
mov rdi, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400522f1
mov rdi, qword [rsi]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400220d0
nop
or ebx, 8
mov dword [rsp + 0x38], ebx
cmp qword [rax + 0x18], 0x10
jb 0x140052310
mov rax, qword [rax]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rdi
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_failed_for__s_with_return_code__d
mov edx, 2
mov rcx, r15
call fcn.14001efa0
nop
test bl, 8
je 0x140052344
and ebx, 0xfffffff7
lea rcx, [rsp + 0x60]
call fcn.1400091f0
mov rcx, r14
call fcn.14002a710
mov r14d, dword [rbp - 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 8]
call fcn.140023290
nop
xor r12d, r12d
mov qword [rsp + 0x30], r12
cmp qword [rax + 0x18], 0x10
jb 0x140052371
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rdx, [rsp + 0x30]
mov r15, qword [rbp - 0x78]
mov rcx, r15
call fcn.140099080
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rcx, [rsp + 0x60]
call fcn.1400091f0
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
cmp dword [rax + 0x40], 5
jl 0x14005249e
xor ecx, ecx
call fcn.140027380
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001cc30]
mov rcx, rax
call fcn.140027650
mov rdi, rax
mov rdx, qword [r15]
test rdx, rdx
je 0x140052450
lea rcx, [rsp + 0x60]
call fcn.14009f410
bts ebx, 0x14
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140097430
bts ebx, 0x13
lea rcx, [rsp + 0x60]
call fcn.1400091f0
mov rax, qword [rsp + 0x30]
jmp 0x14005245c
mov rax, r12
mov qword [rsp + 0x30], rax
bts ebx, 0x13
or ebx, 0x20
mov dword [rsp + 0x38], ebx
test rax, rax
je 0x140052474
cmp qword [rax + 0x18], 0x10
jb 0x140052477
mov rax, qword [rax]
jmp 0x140052477
mov rax, r12
cmp qword [rsi + 0x18], 0x10
jb 0x140052481
mov rsi, qword [rsi]
mov qword [rsp + 0x20], rax
mov r9, rsi
lea r8, str.AdpSDKUtil::CallMethod__s_returned_r_n_s
mov edx, 5
mov rcx, rdi
call fcn.14001efa0
nop
test bl, 0x20
je 0x1400524b0
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
mov qword [rsp + 0x30], r12
lea rdx, str._returnCode
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140098cb0
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140097430
nop
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 0x14005252b
mov edx, 0x80
lea rcx, [rbp - 8]
call fcn.140025da0
mov edx, dword [0x140189cc0]
lea rcx, [rbp - 8]
call fcn.140025da0
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140052575
mov edx, 0x80
lea rcx, [rbp - 0x28]
call fcn.140025da0
mov edx, dword [0x140189cc0]
lea rcx, [rbp - 0x28]
call fcn.140025da0
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x60]
call fcn.140024040
nop
lea rcx, [rbp - 8]
call fcn.140008fe0
nop
lea rcx, [rbp - 0x28]
call fcn.140008fe0
nop
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.140097430
nop
mov eax, r14d
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1400f89b0
add rsp, 0x348
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14010347c
nop
call fcn.140001380
nop
call fcn.140001380
int3
call fcn.1400012e0
int3