joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140390780
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x20
call fcn.1404a6760
sub rsp, rax
add qword [rcx], r8
mov r14, rcx
mov rsi, qword [rcx + 8]
mov r15, r8
mov rdi, qword [rcx + 0x10]
mov r13, rdx
mov rbp, qword [rcx + 0x18]
mov rbx, qword [rcx + 0x20]
mov ecx, dword [rcx + 0x28]
test ecx, ecx
je 0x1403908bf
mov r12d, 8
sub r12d, ecx
add rcx, 0x38
add rcx, r14
cmp r8, r12
jae 0x1403907ef
call fcn.1404de3e0
add dword [r14 + 0x28], r15d
jmp 0x1403909d5
mov r8, r12
call fcn.1404de3e0
movzx eax, byte [r14 + 0x3e]
lea rcx, [r14 + 0x38]
movzx r8d, byte [r14 + 0x3f]
sub r15, r12
shl r8, 8
add r13, r12
or r8, rax
movzx eax, byte [r14 + 0x3d]
shl r8, 8
or r8, rax
movzx eax, byte [r14 + 0x3c]
shl r8, 8
or r8, rax
movzx eax, byte [r14 + 0x3b]
shl r8, 8
or r8, rax
movzx eax, byte [r14 + 0x3a]
shl r8, 8
or r8, rax
movzx eax, byte [r14 + 0x39]
shl r8, 8
or r8, rax
movzx eax, byte [rcx]
shl r8, 8
or r8, rax
mov eax, dword [r14 + 0x30]
xor rbx, r8
test eax, eax
je 0x1403908ba
mov edx, eax
nop word [rax + rax]
add rbp, rbx
add rsi, rdi
ror rdi, 0x33
xor rdi, rsi
ror rbx, 0x30
xor rbx, rbp
ror rsi, 0x20
add rbp, rdi
add rsi, rbx
mov rcx, rbp
ror rdi, 0x2f
mov rax, rbp
shr rcx, 0x20
xor rdi, rbp
ror rbx, 0x2b
shl rax, 0x20
mov rbp, rcx
or rbp, rax
xor rbx, rsi
sub rdx, 1
jne 0x140390870
lea rcx, [r14 + 0x38]
xor rsi, r8
jmp 0x1403908c3
lea rcx, [r14 + 0x38]
mov r12d, r15d
mov r10, r13
and r12d, 7
sub r10, r12
add r10, r15
cmp r13, r10
je 0x1403909b1
mov r11d, dword [r14 + 0x30]
lea r9, [r13 + 6]
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [r9]
movzx r8d, byte [r9 + 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 1]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 2]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 3]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 4]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 5]
shl r8, 8
or r8, rax
movzx eax, byte [r9 - 6]
shl r8, 8
or r8, rax
xor rbx, r8
test r11d, r11d
je 0x140390999
mov rdx, r11
add rbp, rbx
add rsi, rdi
ror rdi, 0x33
xor rdi, rsi
ror rbx, 0x30
xor rbx, rbp
ror rsi, 0x20
add rbp, rdi
add rsi, rbx
mov rcx, rbp
ror rdi, 0x2f
mov rax, rbp
shr rcx, 0x20
xor rdi, rbp
ror rbx, 0x2b
shl rax, 0x20
mov rbp, rcx
or rbp, rax
xor rbx, rsi
sub rdx, 1
jne 0x140390953
add r9, 8
xor rsi, r8
lea rax, [r9 - 6]
cmp rax, r10
jne 0x1403908f0
lea rcx, [r14 + 0x38]
test r12d, r12d
je 0x1403909c1
mov r8, r12
mov rdx, r10
call fcn.1404de3e0
mov dword [r14 + 0x28], r12d
mov qword [r14 + 8], rsi
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], rbp
mov qword [r14 + 0x20], rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14039c120
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push r12
push r13
push r14
mov eax, 0x50
call fcn.1404a6760
sub rsp, rax
mov r14, qword [rsp + 0xa8]
xor r11d, r11d
mov rbp, qword [rsp + 0xb0]
cmp r14, 1
mov eax, r11d
mov r13, r9
mov r9, qword [rcx]
setne al
add rax, rbp
mov r12, r8
mov rsi, rcx
mov r10, 0xffffffffffffffff
cmp rax, r9
jbe 0x14039c181
xor eax, eax
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
mov qword [rsp + 0x80], rbx
cmp r14, 1
je 0x14039c280
lea r10, [r8 - 1]
add r10, r9
movzx ebx, byte [r10]
cmp dword [rsp + 0xb8], r11d
je 0x14039c1be
sub r9, rbx
mov eax, 1
sub r9, rbp
dec r9
mov qword [rcx], r9
jmp 0x14039c2b7
lea rcx, [rbx + rax]
mov qword [rsp + 0x98], r15
mov r15d, 0x100
mov r8, r9
sub r8, rcx
mov rax, r9
xor r8, rcx
xor rax, rcx
or r8, rax
xor r8, r9
shr r8, 0x3f
dec r8
cmp r9, r15
cmovb r15, r9
test r15, r15
je 0x14039c25a
mov qword [rsp + 0x90], rdi
mov rdi, rbx
shr rdi, 0x3f
nop word [rax + rax]
mov rax, r11
lea r10, [r10 - 1]
shr rax, 0x3f
mov rcx, rbx
sub rcx, r11
inc r11
shr rcx, 0x3f
xor cl, al
xor al, dil
or cl, al
dec cl
movzx edx, cl
movzx ecx, byte [r10 + 1]
xor rcx, rbx
and rdx, rcx
not rdx
and r8, rdx
cmp r11, r15
jb 0x14039c210
mov rdi, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x98]
lea rax, [rbx + 1]
not r8
movzx r10d, r8b
dec r10
shr r10, 0x3f
neg r10
and rax, r10
sub r9, rax
mov qword [rsi], r9
mov rax, qword [rsp + 0xc0]
mov r9, r13
mov qword [rsp + 0x40], rax
mov r8, r12
mov rax, qword [rsp + 0xa0]
mov rcx, rsi
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.14039bd50
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop r13
pop r12
pop rsi
pop rbp
ret
Function at 0x1403a07a0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
mov eax, 0x68
call fcn.1404a6760
sub rsp, rax
mov rax, qword [0x14064a080]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [rcx + 0x3c]
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test eax, eax
je 0x1403a08d3
movups xmm0, xmmword [rcx + 0x10]
mov r15, qword [rcx + 0x20]
lea rbx, [rcx + 0x10]
dec eax
mov dword [rsp + 0x28], 1
mov dword [rcx + 0x3c], eax
xor r9d, r9d
mov eax, dword [rbx + 8]
xor r8d, r8d
and al, 0x7f
mov dword [rsp + 0x30], edi
movups xmmword [rsp + 0x48], xmm0
and byte [rsp + 0x54], 0x7f
xor edx, edx
mov byte [rsp + 0x50], al
mov rcx, r15
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call fcn.140295400
test eax, eax
je 0x1403a08d3
mov eax, dword [rsp + 0x30]
lea r8, [rsp + 0x30]
mov r9, r14
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, r15
call fcn.1402961c0
test eax, eax
je 0x1403a08d3
mov r9, rdi
lea rdx, [rsp + 0x38]
mov r8, rbp
mov rcx, rsi
call fcn.1403a0ed0
test eax, eax
je 0x1403a08d3
lea rax, [rbx + 0xf]
xor r8d, r8d
lea rcx, [rsp + 0x38]
cmp rcx, rax
ja 0x1403a08a9
lea rax, [rsp + 0x47]
cmp rax, rbx
jb 0x1403a08a9
lea rcx, [rsp + 0x38]
mov eax, r8d
sub rbx, rcx
nop
lea rdx, [rsp + 0x38]
add rdx, rax
inc rax
movzx ecx, byte [rbx + rdx]
xor byte [rdx], cl
cmp rax, 0x10
jl 0x1403a0890
jmp 0x1403a08bc
movdqu xmm1, xmmword [rsp + 0x38]
movdqu xmm0, xmmword [rbx]
xorps xmm1, xmm0
movdqu xmmword [rsp + 0x38], xmm1
mov rax, qword [rsp + 0x38]
or rax, qword [rsp + 0x40]
je 0x1403a08ef
mov rdx, rdi
mov rcx, rbp
call fcn.140001240
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1404a5b80
add rsp, 0x68
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rsi + 0x38], r8d
mov eax, edi
jmp 0x1403a08d5
Function at 0x1403acc70
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1403acd52
call fcn.1403c6210
test al, al
jne 0x1403acd52
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1403acca2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.1403cfcc0
test rax, rax
je 0x1403acce7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.1403cfcc0
mov rsi, rax
test rax, rax
je 0x1403acce7
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x1403acd1b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1403c2ba0
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x1403acd00
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1403b4a80
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14064a080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword [rdx]
mov r14d, r8d
mov rbx, rcx
mov r9d, dword [rax + 8]
mov rax, qword [rdx + 0x18]
and r9d, 0xa
cmp r9b, 0xa
jne 0x1403b4acb
mov rdi, qword [rax + 0xd8]
mov rsi, qword [rax + 0xe0]
mov ebp, dword [rax + 0xe8]
jmp 0x1403b4ad9
mov rdi, qword [rax + 0x50]
mov rsi, qword [rax + 0x58]
mov ebp, dword [rax + 0x764]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x1403b4cab
mov r9, qword [rcx]
test r9, r9
je 0x1403b4b1b
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1403b4b13
inc rax
test ecx, ecx
jne 0x1403b4b00
test edx, edx
je 0x1403b4cab
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x1403b4b2a
call qword [str.8NK_]
mov rcx, qword [rbx + 0x10]
call qword [str.8NK_]
mov rcx, qword [rbx]
call qword [str.8NK_]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
call qword [case.0x1403ae515.2]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x1403b4b9e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1403b4b72
call qword [str.8NK_]
mov rcx, qword [rbx + 0x10]
call qword [str.8NK_]
mov rcx, qword [rbx]
call qword [str.8NK_]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov dword [rbx + 0x18], r15d
jmp 0x1403b4cb4
test rsi, rsi
je 0x1403b4be2
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x1403b4bc3
inc rdi
test eax, eax
jne 0x1403b4bb0
test edx, edx
je 0x1403b4be2
mov rcx, rsi
call qword [case.0x1403ae515.2]
mov qword [rbx + 8], rax
test rax, rax
jne 0x1403b4be6
cmp qword [rbx], r15
je 0x1403b4b72
xor ecx, ecx
jmp 0x1403b4b6c
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
test rdi, rdi
je 0x1403b4c36
cmp byte [rdi], r15b
je 0x1403b4c36
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1403b4c16
mov dword [rbx + 0x18], 1
jmp 0x1403b4cab
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x1403b4c36
mov dword [rbx + 0x18], 2
jmp 0x1403b4cab
mov rax, qword [rbx]
mov dword [rbx + 0x18], r15d
cmp byte [rax], r15b
je 0x1403b4cab
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], r15b
jne 0x1403b4c50
test rdi, rdi
je 0x1403b4c68
cmp byte [rax + rdi - 1], 0x2e
jne 0x1403b4c68
dec rdi
cmp rdi, 0xffff
jae 0x1403b4cab
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.1404bbc14]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x1403b4c95
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx]
jmp 0x1403b4b6a
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.1403c2bf0
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [rbx + 0x1c], ebp
xor eax, eax
mov dword [rbx + 0x20], r14d
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1404a5b80
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1403bf140
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x1403bf16a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, [0x140595910]
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x140595920]
mov rcx, rbx
mov r14, rax
call fcn.1404c22e8
test rax, rax
je 0x1403bf1cb
mov rcx, rbx
test r14, r14
je 0x1403bf1b8
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test r14, r14
je 0x1403bf202
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1403bf202
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x1403bf2cc
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x1403bf230
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.1404bafd0]
mov rsi, rax
test rax, rax
je 0x1403bf2be
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1403bf2be
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x1403bf263
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x1403bf275
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1403bf290
mov rcx, rsi
test r14, r14
je 0x1403bf2b5
xor edx, edx
mov r8d, 8
call r14
jmp 0x1403bf2bb
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [str.8NK_]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x1403c7020
Capabilities:
Convert ip address from string

Disassembly:
cmp qword [rsp + 0x28], 0
mov qword [r9], 0
jge 0x1403c7035
mov eax, 0xfffffffe
ret
mov qword [rsp + 0x28], r9
mov r9b, 1
jmp fcn.1403c6a40

Function at 0x1403c7320
Capabilities:
Convert ip address from string

Disassembly:
push rbp
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14064a080]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor edi, edi
mov r14, rdx
mov rbp, rcx
cmp byte [rcx + 0xa4e], dil
je 0x1403c7542
cmp byte [rdx + 0x18], dil
mov qword [rsp + 0xc8], rsi
lea rsi, [rdx + 0x18]
je 0x1403c753a
lea r8, [rsp + 0x20]
mov rdx, rsi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1403c753a
lea r8, [rsp + 0x70]
mov rdx, rsi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jg 0x1403c753a
cmp byte [rsi], dil
lea rdx, str.Host__s:_d_was_resolved.
mov r9d, dword [r14 + 0x14]
mov rcx, rbp
mov qword [rsp + 0x100], rbx
mov rbx, qword [r14]
mov qword [rsp + 0xc0], r15
lea r15, str._none_
mov r8, r15
cmovne r8, rsi
call fcn.1403bb1b0
mov edx, 0x400
lea rcx, [rsp + 0x30]
call fcn.1403ad2b0
mov edx, 0x400
lea rcx, [rsp + 0x50]
call fcn.1403ad2b0
test rbx, rbx
je 0x1403c74a7
mov r14d, 0x20
mov ecx, dword [rbx + 4]
cmp ecx, 0x17
je 0x1403c7414
cmp ecx, 2
jne 0x1403c749a
xor eax, eax
mov byte [rsp + 0x80], 0
cmp ecx, 2
lea rsi, [rsp + 0x30]
cmovne rax, r14
add rsi, rax
cmp ecx, 2
je 0x1403c7441
cmp ecx, 0x17
jne 0x1403c745c
mov rdx, qword [rbx + 0x20]
add rdx, 8
jmp 0x1403c7449
mov rdx, qword [rbx + 0x20]
add rdx, 4
mov r9d, gethostbyaddr
lea r8, [rsp + 0x80]
call sub.WS2_32.dll_inet_ntop
mov rcx, rsi
call fcn.140204680
test rax, rax
je 0x1403c7480
mov r8d, 2
lea rdx, [0x1405e490c]
mov rcx, rsi
call fcn.1403ad270
mov edi, eax
test edi, edi
jne 0x1403c74c2
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.1403ad210
mov edi, eax
test eax, eax
jne 0x1403c74c2
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1403c7403
lea rcx, [rsp + 0x50]
call fcn.140204680
test rax, rax
je 0x1403c74d3
lea rcx, [rsp + 0x50]
call fcn.1402160f0
jmp 0x1403c74d6
lea rdx, str.too_many_IP__cant_show
mov rcx, rbp
call fcn.1403bb1b0
jmp 0x1403c7516
mov rax, r15
mov r8, rax
lea rdx, str.IPv6:__s
mov rcx, rbp
call fcn.1403bb1b0
lea rcx, [rsp + 0x30]
call fcn.140204680
test rax, rax
je 0x1403c7504
lea rcx, [rsp + 0x30]
call fcn.1402160f0
mov r15, rax
mov r8, r15
lea rdx, str.IPv4:__s
mov rcx, rbp
call fcn.1403bb1b0
lea rcx, [rsp + 0x30]
call fcn.1403ad280
lea rcx, [rsp + 0x50]
call fcn.1403ad280
mov r15, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x100]
mov rsi, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1404a5b80
add rsp, 0xd0
pop r14
pop rdi
pop rbp
ret
Function at 0x1403d0460
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rcx
movaps xmmword [rsp + 0x50], xmm6
lea rcx, [rsp + 0x30]
mov rdi, rdx
call fcn.1403ad060
mov rcx, rbx
movups xmm6, xmmword [rax]
call fcn.1403cf790
mov rcx, rdi
mov rsi, rax
call fcn.1403cf790
mov r8d, 1
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x1403d0510
nop dword [rax]
nop word [rax + rax]
lea rcx, [rsp + 0x40]
movdqa xmmword [rsp + 0x20], xmm6
call fcn.1403ad060
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x30], xmm0
call fcn.1403ad0f0
cmp rax, 0x3e8
ja 0x1403d0541
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, 1
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1403d04c0
test rsi, rsi
je 0x1403d051d
mov rcx, rsi
call fcn.1404b4e38
test rbx, rbx
je 0x1403d052a
mov rcx, rbx
call fcn.1404b4e38
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
movaps xmm6, xmmword [rsp + 0x50]
add rsp, 0x60
pop rdi
ret
test rsi, rsi
je 0x1403d054e
mov rcx, rsi
call fcn.1404b4e38
test rbx, rbx
je 0x1403d055b
mov rcx, rbx
call fcn.1404b4e38
mov eax, 1
jmp 0x1403d052c
Function at 0x1403d0ac0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rdi
push r12
push r13
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor ebp, ebp
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x1403d0c5f
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x1403d0c3f
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x1403d0b2e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1403d0b20
inc rbx
jmp 0x1403d0b30
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x1403d0b40
mov r15d, reloc.WS2_32.dll_recv
jmp 0x1403d0b4f
cmp eax, 0x17
jne 0x1403d0be8
mov r15d, 0x1c
cmp qword [rsi + 0x20], 0
je 0x1403d0be8
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x1403d0be8
cmp rax, r15
jb 0x1403d0be8
lea rcx, [rbx + 0x30]
add rcx, r15
call qword [fcn.1404bafd0]
mov r14, rax
test rax, rax
je 0x1403d0bf7
mov ecx, dword [rsi]
mov r8, r15
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], r15d
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1404de3e0
test rbx, rbx
je 0x1403d0bd5
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, r15
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.1404de3e0
test rdi, rdi
cmove rdi, r14
test rbp, rbp
je 0x1403d0be5
mov qword [rbp + 0x28], r14
mov rbp, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x1403d0b10
jmp 0x1403d0bfd
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x60]
test rcx, rcx
je 0x1403d0c17
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x1403d0c3a
test rdi, rdi
je 0x1403d0c36
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [str.8NK_]
mov rdi, rbx
test rbx, rbx
jne 0x1403d0c21
xor edi, edi
jmp 0x1403d0c4e
test rdi, rdi
jne 0x1403d0c4e
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x58]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x1403d4d60
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [fcn.1404bc358]
mov rdi, rax
test rax, rax
je 0x1403d4ddd
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x1403d4e08
cmp ebx, esi
je 0x1403d4e08
cmp ebx, 0x8000
ja 0x1403d4e08
cmp ebx, esi
jb 0x1403d4e03
mov edx, ebx
mov rcx, rdi
call qword [fcn.1404bc358]
mov rdi, rax
test rax, rax
jne 0x1403d4da0
mov rcx, rbp
call qword [str.8NK_]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x1403d4de8
mov rcx, rdi
jmp 0x1403d4de0

Function at 0x1403d65d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov byte [rsp + 0x38], 0xff
mov rcx, qword [rcx + 0x20]
mov edi, r8d
mov esi, edx
mov byte [rsp + 0x3a], dil
mov byte [rsp + 0x39], sil
lea rdx, [rsp + 0x38]
xor r9d, r9d
mov r8d, 3
mov rcx, qword [rcx + 0x220]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1403d6631
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbx
mov r8d, eax
call fcn.1403bb0c0
mov r9d, edi
lea rdx, str.SENT
mov r8d, esi
mov rcx, rbx
call fcn.1403d6170
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1403d67d0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1403d6989
push rsi
push rdi
push r13
sub rsp, 0x20
mov rsi, qword [rcx + 0x1c0]
mov rdi, rcx
mov r13, qword [rcx + 0x20]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], r14
lea rbx, [rsi + 0x1ed8]
lea r14, [rsi + 0x1cd8]
mov qword [rsp + 0x58], r15
mov qword [rbx], r14
mov rax, r14
cmp r14, rbx
jae 0x1403d6827
lea rax, [r14 + 1]
mov byte [r14], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1403d6840
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1403d6840
mov byte [rax], 0x1f
inc qword [rbx]
movzx ecx, word [rsi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rsi + 0x1caa]
movzx ebp, ax
shr bp, 8
movzx r15d, ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
shr cx, 8
cmp r9, rbx
jae 0x1403d687d
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1403d6890
mov byte [r9], bpl
inc qword [rbx]
mov r9, qword [rbx]
mov rbp, qword [rsp + 0x48]
cmp r9, rbx
jae 0x1403d68cf
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1403d68cf
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1403d68cf
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1403d68cf
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rsi + 0x1ee0], r9
lea r8, [rsi + 0x1cda]
sub r9, r14
mov qword [rbx], r14
sub r9, 2
mov edx, 0x3e
mov rcx, rdi
call fcn.1403d62a0
mov rcx, qword [r13 + 0x220]
xor r9d, r9d
mov r8d, 3
mov rdx, r14
call qword [sym.imp.WS2_32.dll_send]
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1403d6933
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rdi
mov r8d, eax
call fcn.1403bb0c0
lea rdx, [rsi + 0x1cdb]
mov r8d, 4
mov rcx, rdi
call fcn.1403d6660
mov rcx, qword [r13 + 0x220]
lea rdx, [rsi + 0x1cdf]
xor r9d, r9d
mov r8d, 2
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1403d6981
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rdi
mov r8d, eax
call fcn.1403bb0c0
add rsp, 0x20
pop r13
pop rdi
pop rsi
ret