Function at 0x14005a620
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x28]
sub rsp, 0x128
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x18], rax
mov qword [rbp - 0x80], r9
mov r13, r8
mov rsi, rdx
mov qword [rsp + 0x38], rcx
xor ecx, ecx
mov dword [rsp + 0x30], ecx
mov qword [rbp - 0x70], rcx
mov r15, qword [rdx + 0x10]
movabs rdx, 0x7fffffffffffffff
mov rax, rdx
sub rax, r15
cmp rax, 4
jb 0x14005b585
mov r12, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005a68b
mov r12, qword [rsi]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rcx
lea r14, [r15 + 4]
mov ebx, reloc.WS2_32.dll_ntohs
lea rdi, [rsp + 0x40]
cmp r14, rbx
jbe 0x14005a6e6
mov rbx, r14
or rbx, 0xf
mov qword [rbp - 0x78], rbx
cmp rbx, rdx
jbe 0x14005a6c5
mov rbx, rdx
jmp 0x14005a6d5
mov eax, socket
mov qword [rbp - 0x78], rax
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
call fcn.14000d5f0
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbx
mov ecx, dword [str.adp_]
mov dword [rdi], ecx
lea rcx, [rdi + 4]
mov r8, r15
mov rdx, r12
call fcn.1401528e0
mov byte [rdi + r14], 0
mov r8d, 1
lea rdx, [0x14018f60c]
lea rcx, [rsp + 0x40]
call fcn.140009a20
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
xor r12d, r12d
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.14001b2a0
nop
lea rcx, [rbp - 0x48]
call fcn.140009880
nop
lea rcx, [rsp + 0x40]
call fcn.140009880
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140041b70
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400b0cf0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b0970
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbx]
mov qword [rbp - 0x70], rcx
mov qword [rbx], rdx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea ecx, [r12 + 0x40]
call fcn.1401219f8
mov rdi, rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r12b
lea rbx, [rax + 0x20]
movups xmmword [rbx], xmm0
lea r15, [rbx + 0x10]
mov qword [r15], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov r14, 0xffffffffffffffff
mov r8, r14
lea rdx, [0x14018f60c]
inc r8
cmp byte [rdx + r8], 0
jne 0x14005a810
mov rcx, rdi
call fcn.14000a7d0
cmp qword [rbx + 0x18], 7
jbe 0x14005a82c
mov rbx, qword [rbx]
mov qword [r15], r12
mov word [rbx], r12w
mov qword [rbp - 0x78], rdi
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400b0cf0
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b0970
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbx]
mov qword [rbp - 0x70], rcx
mov qword [rbx], rdx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, eax
lea rcx, [rbp - 0x78]
call fcn.140041b70
nop
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400b0cf0
mov rdi, rax
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b0970
mov rcx, qword [rbp - 0x70]
mov rbx, qword [rdi]
mov qword [rbp - 0x70], rbx
mov qword [rdi], rcx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea rcx, [rsp + 0x60]
call fcn.140025970
mov rdi, rax
test rbx, rbx
je 0x14005a913
cmp qword [rbx + 0x30], 0
jne 0x14005a903
cmp qword [rbx + 0x10], 0
je 0x14005a903
lea rdx, [rbx + 0x20]
mov rcx, rbx
call fcn.14001b670
lea r8, [rbx + 0x20]
cmp qword [r8 + 0x18], 7
jbe 0x14005a916
mov r8, qword [r8]
jmp 0x14005a916
mov r8, r12
lea r9, [0x140193958]
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400224a0
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
mov rdx, qword [r13]
test rdx, rdx
je 0x14005a968
lea rcx, [rbp - 0x48]
call fcn.1400b9c20
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.14001b2a0
mov edi, 0x3c0
lea rcx, [rbp - 0x48]
call fcn.140009880
mov rax, qword [rbp - 0x78]
jmp 0x14005a974
mov rax, r12
mov qword [rbp - 0x78], rax
mov edi, 0x1c0
lea r9, [0x14018f4cd]
test rax, rax
je 0x14005a9a3
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0xf
jbe 0x14005a993
mov rcx, qword [rax]
test rcx, rcx
je 0x14005a9a3
cmp r8, 0xf
jbe 0x14005a9a6
mov rdx, qword [rax]
jmp 0x14005a9a6
mov rdx, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov r8, r14
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14005a9c0
lea rcx, [rsp + 0x40]
call fcn.14000c1a0
bts edi, 0xa
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x28]
call fcn.1400233d0
nop
lea rcx, [rsp + 0x40]
call fcn.140009880
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea r8, [0x140193960]
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x28]
call fcn.140025030
nop
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r12
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14001b2a0
nop
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14001b370
nop
mov r8, rax
lea rdx, str.command
lea rcx, [rsp + 0x60]
call fcn.140031a40
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14005aaad
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
add qword [rbp - 0x58], 0x20
jmp 0x14005aaba
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.140047d40
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
nop
lea rcx, [rbp - 0x48]
call fcn.140009810
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea r8, [rbp - 0x28]
lea rdx, [0x140193980]
lea rcx, [rsp + 0x60]
call fcn.14005bb90
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14005ab2e
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
add qword [rbp - 0x58], 0x20
jmp 0x14005ab3b
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.140047d40
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
lea r8, [rbp - 8]
lea rdx, str.out
lea rcx, [rsp + 0x60]
call fcn.14005bb90
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14005ab98
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
add qword [rbp - 0x58], 0x20
jmp 0x14005aba5
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.140047d40
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
mov ecx, 0x40
call fcn.1401219f8
mov rbx, rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r15, [rax + 0x20]
movups xmmword [r15], xmm0
lea r12, [r15 + 0x10]
xor eax, eax
mov qword [r12], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
mov r8, r14
lea rax, [0x140193994]
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005ac00
mov rdx, rax
mov rcx, rbx
call fcn.14000a7d0
cmp qword [r15 + 0x18], 7
jbe 0x14005ac1f
mov r15, qword [r15]
xor eax, eax
mov qword [r12], rax
xor r12d, r12d
mov word [r15], r12w
mov qword [rbp - 0x78], rbx
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.1400b1e90
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005ae04
cmp dword [rcx], 4
je 0x14005ac72
cmp qword [rcx + 0x50], r12
jne 0x14005ac86
mov rax, qword [rcx + 0x38]
cmp qword [rcx + 0x30], rax
jne 0x14005ac86
cmp qword [rcx + 0x20], r12
jne 0x14005ac86
xorps xmm0, xmm0
movsd xmm1, qword [rcx + 8]
ucomisd xmm1, xmm0
jp 0x14005ac86
jne 0x14005ac86
xor al, al
jmp 0x14005ac88
mov al, 1
test al, al
je 0x14005ae04
mov ecx, 0x40
call fcn.1401219f8
mov rbx, rax
mov qword [rbp - 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r15, [rax + 0x20]
movups xmmword [r15], xmm0
lea r12, [r15 + 0x10]
xor eax, eax
mov qword [r12], rax
mov qword [r15 + 0x18], 7
mov word [r15], ax
mov r8, r14
lea rax, [0x140193994]
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14005ace0
mov rdx, rax
mov rcx, rbx
call fcn.14000a7d0
cmp qword [r15 + 0x18], 7
jbe 0x14005acff
mov r15, qword [r15]
xor eax, eax
mov qword [r12], rax
xor r12d, r12d
mov word [r15], r12w
mov qword [rbp - 0x78], rbx
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.1400b1e90
mov rbx, rax
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
mov rdx, qword [rbx]
test rdx, rdx
je 0x14005ad64
add rdx, 0x10
lea rcx, [rbp - 0x48]
call fcn.140008470
bts edi, 0xd
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.14001b2a0
bts edi, 0xc
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x48]
call fcn.140009880
jmp 0x14005ad6c
mov qword [rbp - 0x78], r12
bts edi, 0xc
bts edi, 0xb
mov dword [rsp + 0x30], edi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x78]
call fcn.14001b370
nop
mov r8, rax
lea rdx, str.logId
lea rcx, [rsp + 0x60]
call fcn.140031a40
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14005add5
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r12
mov qword [rdx + 0x18], r12
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
add qword [rbp - 0x58], 0x20
jmp 0x14005ade2
mov r8, rax
lea rcx, [rbp - 0x60]
call fcn.140047d40
nop
lea rcx, [rsp + 0x60]
call fcn.140009810
nop
lea rcx, [rsp + 0x40]
call fcn.140009810
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
mov r13, qword [rsp + 0x38]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r12w
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov r8, r14
lea rdx, [0x14018f4cd]
nop dword [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14005ae40
lea rcx, [rbp - 0x48]
call fcn.14000c1a0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x48]
call fcn.14001b670
nop
lea rcx, [rbp - 0x48]
call fcn.140009880
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 0x30]
call fcn.140024af0
nop
mov r8d, 2
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.14002ad00
mov r15, rax
lea rcx, [rsp + 0x60]
call fcn.140009810
nop
lea rcx, [rsp + 0x40]
call fcn.140009810
xor ecx, ecx
call fcn.140027930
test r15, r15
jg 0x14005afdd
test rax, rax
je 0x14005aee3
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005aee6
mov rax, r12
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14005afb3
cmp eax, 2
jl 0x14005afb3
lfence
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005af2f
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r13, rax
jmp 0x14005af32
mov r13, r12
mov edx, 0xffffffff
lea rcx, [rbp - 0x48]
call fcn.14002c970
mov rbx, rax
mov edi, dword [rsp + 0x30]
or edi, 1
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0xf
jbe 0x14005af58
mov rbx, qword [rax]
mov r12, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005af65
mov r12, qword [rsi]
mov rcx, qword [rsp + 0x38]
add rcx, 0x30
lea rdx, [rsp + 0x60]
call fcn.1400220b0
nop
or edi, 2
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0xf
jbe 0x14005af8a
mov rax, qword [rax]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_failed_for__s__s
mov edx, 2
mov rcx, r13
call fcn.14001ef20
mov r13, qword [rsp + 0x38]
xor r12d, r12d
test dil, 2
je 0x14005afc7
and edi, 0xfffffffd
lea rcx, [rsp + 0x60]
call fcn.140009880
nop
test dil, 1
je 0x14005b0b7
and edi, 0xfffffffe
lea rcx, [rbp - 0x48]
jmp 0x14005b0b2
test rax, rax
je 0x14005b005
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005b008
mov rax, r12
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14005b0a4
cmp eax, 5
jl 0x14005b0a4
lfence
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b04f
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r12, rax
mov rbx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005b05c
mov rbx, qword [rsi]
lea rcx, [r13 + 0x30]
lea rdx, [rsp + 0x60]
call fcn.1400220b0
nop
mov edi, dword [rsp + 0x30]
or edi, 4
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0xf
jbe 0x14005b080
mov rax, qword [rax]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r15
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_returned_pid__lld_for__s
mov edx, 5
mov rcx, r12
call fcn.14001ef20
xor r12d, r12d
test dil, 4
je 0x14005b0b7
and edi, 0xfffffffb
lea rcx, [rsp + 0x60]
call fcn.140009880
mov dword [rbp - 0x68], r14d
mov rcx, rsi
call fcn.14005a490
mov r8, rax
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.14002b4e0
test al, al
jne 0x14005b1bd
cmp dword [rbp - 0x68], 0
jne 0x14005b1bd
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b113
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005b116
mov rax, r12
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14005b1a1
cmp eax, 5
jl 0x14005b1a1
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b158
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rbx, rax
jmp 0x14005b15b
mov rbx, r12
mov r12d, dword [rbp - 0x68]
lea rcx, [r13 + 0x30]
lea rdx, [rsp + 0x60]
call fcn.1400220b0
nop
or edi, 0x10
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0xf
jbe 0x14005b17f
mov rax, qword [rax]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r15
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_pid_lld_returned__d
mov edx, 5
mov rcx, rbx
call fcn.14001ef20
nop
test dil, 0x10
je 0x14005b2a6
and edi, 0xffffffef
lea rcx, [rsp + 0x60]
call fcn.140009880
jmp 0x14005b2a6
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b1ec
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005b1ef
mov rax, r12
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14005b28b
cmp eax, 2
jl 0x14005b28b
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b233
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov r12, rax
mov r13d, dword [rbp - 0x68]
mov rbx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14005b244
mov rbx, qword [rsi]
mov rcx, qword [rsp + 0x38]
add rcx, 0x30
lea rdx, [rsp + 0x60]
call fcn.1400220b0
nop
or edi, 8
mov dword [rsp + 0x30], edi
cmp qword [rax + 0x18], 0xf
jbe 0x14005b269
mov rax, qword [rax]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbx
mov r9, rax
lea r8, str.AdpSDKUtil::CallMethod__s_failed_for__s_with_return_code__d
mov edx, 2
mov rcx, r12
call fcn.14001ef20
nop
test dil, 8
je 0x14005b29e
and edi, 0xfffffff7
lea rcx, [rsp + 0x60]
call fcn.140009880
mov rcx, r15
call fcn.14002b160
mov r12d, dword [rbp - 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 8]
call fcn.140023180
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14001b2a0
nop
lea rdx, [rsp + 0x38]
mov r13, qword [rbp - 0x80]
mov rcx, r13
call fcn.1400b2670
nop
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400b0970
nop
lea rcx, [rsp + 0x60]
call fcn.140009880
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b322
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
xor r15d, r15d
jmp 0x14005b328
xor r15d, r15d
mov eax, r15d
mov eax, dword [rax + 0x40]
test eax, eax
je 0x14005b3f8
cmp eax, 5
jl 0x14005b3f8
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005b36e
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rbx, rax
jmp 0x14005b371
mov rbx, r15
mov rdx, qword [r13]
test rdx, rdx
je 0x14005b3ab
lea rcx, [rbp - 0x48]
call fcn.1400b9c20
bts edi, 0xf
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
call fcn.14001b2a0
bts edi, 0xe
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x48]
call fcn.140009880
mov rax, qword [rbp - 0x78]
jmp 0x14005b3b6
mov rax, r15
mov qword [rbp - 0x78], rax
bts edi, 0xe
or edi, 0x20
mov dword [rsp + 0x30], edi
test rax, rax
je 0x14005b3ce
cmp qword [rax + 0x18], 0xf
jbe 0x14005b3d1
mov rax, qword [rax]
jmp 0x14005b3d1
mov rax, r15
cmp qword [rsi + 0x18], 0xf
jbe 0x14005b3db
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, rbx
call fcn.14001ef20
nop
test dil, 0x20
je 0x14005b40a
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea rbx, str._returnCode
mov ecx, 0x40
call fcn.1401219f8
mov rdi, rax
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rsi, [rax + 0x20]
movups xmmword [rsi], xmm0
lea r15, [rsi + 0x10]
xor eax, eax
mov qword [r15], rax
mov qword [rsi + 0x18], 7
mov word [rsi], ax
inc r14
cmp byte [rbx + r14], 0
jne 0x14005b452
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.14000a7d0
cmp qword [rsi + 0x18], 7
jbe 0x14005b474
mov rsi, qword [rsi]
xor eax, eax
mov qword [r15], rax
mov word [rsi], ax
mov qword [rbp - 0x78], rdi
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.1400b2240
nop
xor edx, edx
lea rcx, [rbp - 0x78]
call fcn.1400b0970
nop
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005b4e8
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp - 8]
call fcn.140026260
xor r8d, r8d
mov edx, dword [0x1401c73d0]
lea rcx, [rbp - 8]
call fcn.140026260
lea rcx, [rbp - 8]
cmp qword [rbp + 0x10], 7
cmova rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005b538
xor r8d, r8d
mov edx, 0x80
lea rcx, [rbp - 0x28]
call fcn.140026260
xor r8d, r8d
mov edx, dword [0x1401c73d0]
lea rcx, [rbp - 0x28]
call fcn.140026260
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 7
cmova rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x60]
call fcn.140023fb0
nop
lea rcx, [rbp - 8]
call fcn.140009810
nop
lea rcx, [rbp - 0x28]
call fcn.140009810
nop
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.1400b0970
nop
mov eax, r12d
mov rcx, qword [rbp + 0x18]
xor rcx, rsp
call fcn.1401219d0
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140001570
int3