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

Disassembly:
mov qword [rsp + 8], rdi
mov qword [rsp + 0x10], rsi
mov rax, rsp
mov rdi, rcx
mov rsi, rdx
mov rdx, r8
push rbx
push rbp
push r12
push r13
push r14
push r15
push rdx
call fcn.140009f90
mov r8, qword [rsp]
cmp eax, 0
jne 0x14000a42d
mov r14d, dword [r8 + 0xf0]
xor rdi, rdi
lea rcx, [rdi + r14*4]
mov rsi, r8
lea rdi, [r8 + rcx*4]
mov rax, qword [rsi]
mov rbx, qword [rsi + 8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 8]
mov qword [rdi], rax
mov qword [rdi + 8], rbx
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
lea rsi, [rsi + 0x10]
lea rdi, [rdi - 0x10]
cmp rdi, rsi
jne 0x14000a268
lea rax, [0x14000b640]
mov rsi, qword [rax + 0x28]
mov rdi, qword [rax + 0x30]
mov rbp, qword [rax + 0x38]
mov r15, r8
sub r14d, 1
nop
lea r15, [r15 + 0x10]
mov rax, qword [r15]
mov rcx, qword [r15 + 8]
mov rbx, rax
mov rdx, rcx
and rbx, rsi
and rdx, rsi
mov r9, rbx
mov r12, rdx
shr r9, 7
lea r8, [rax + rax]
shr r12, 7
lea r11, [rcx + rcx]
sub rbx, r9
sub rdx, r12
and r8, rdi
and r11, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r8
xor rdx, r11
mov r8, rbx
mov r11, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
lea r9, [r8 + r8]
shr r13, 7
lea r12, [r11 + r11]
sub rbx, r10
sub rdx, r13
and r9, rdi
and r12, rdi
and rbx, rbp
and rdx, rbp
xor rbx, r9
xor rdx, r12
mov r9, rbx
mov r12, rdx
and rbx, rsi
and rdx, rsi
mov r10, rbx
mov r13, rdx
shr r10, 7
xor r8, rax
shr r13, 7
xor r11, rcx
sub rbx, r10
sub rdx, r13
lea r10, [r9 + r9]
lea r13, [r12 + r12]
xor r9, rax
xor r12, rcx
and r10, rdi
and r13, rdi
and rbx, rbp
and rdx, rbp
xor r10, rbx
xor r13, rdx
xor rax, r10
xor rcx, r13
xor r8, r10
xor r11, r13
mov rbx, rax
mov rdx, rcx
xor r9, r10
xor r12, r13
shr rbx, 0x20
shr rdx, 0x20
xor r10, r8
xor r13, r11
rol eax, 8
rol ecx, 8
xor r10, r9
xor r13, r12
rol ebx, 8
rol edx, 8
xor eax, r10d
xor ecx, r13d
shr r10, 0x20
shr r13, 0x20
xor ebx, r10d
xor edx, r13d
mov r10, r8
mov r13, r11
shr r10, 0x20
shr r13, 0x20
rol r8d, 0x18
rol r11d, 0x18
rol r10d, 0x18
rol r13d, 0x18
xor eax, r8d
xor ecx, r11d
mov r8, r9
mov r11, r12
xor ebx, r10d
xor edx, r13d
shr r8, 0x20
shr r11, 0x20
rol r9d, 0x10
rol r12d, 0x10
rol r8d, 0x10
rol r11d, 0x10
xor eax, r9d
xor ecx, r12d
xor ebx, r8d
xor edx, r11d
mov dword [r15], eax
mov dword [r15 + 4], ebx
mov dword [r15 + 8], ecx
mov dword [r15 + 0xc], edx
sub r14d, 1
jne 0x14000a2ac
xor rax, rax
mov r15, qword [rsp + 8]
mov r14, qword [rsp + 0x10]
mov r13, qword [rsp + 0x18]
mov r12, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
mov rdi, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
repz ret
mov eax, Ordinal_41
call fcn.1401127d0
sub rsp, rax
add rsp, 0x28
jmp 0x14000a220
Function at 0x1400c15e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
mov eax, 0x40
call fcn.1401127d0
sub rsp, rax
mov r15, qword [rsp + 0xb0]
mov rbp, rdx
mov rdx, qword [rsp + 0xa8]
mov r10, r9
mov rdi, r8
mov r12, rcx
mov ebx, dword [r15]
test ebx, ebx
je 0x1400c1642
nop
test rdi, rdi
je 0x1400c1642
mov eax, ebx
dec rdi
movzx ecx, byte [rax + rdx]
xor cl, byte [r12]
inc r12
mov byte [rbp], cl
inc rbp
inc ebx
and ebx, 0xf
jne 0x1400c1620
mov r9, qword [rsp + 0xb8]
mov esi, reloc.WS2_32.dll_recv
mov r13, qword [rsp + 0xa0]
mov qword [rsp + 0x38], r14
cmp rdi, rsi
jb 0x1400c1753
mov rcx, rdi
mov r14, rbp
shr rcx, 4
mov r15, r12
imul rax, rcx, 0xfffffffffffffff0
sub r14, rdx
sub r15, rdx
add rdi, rax
mov rax, rcx
shl rax, 4
add rbp, rax
mov qword [rsp + 0x90], rdi
mov rdi, qword [rsp + 0x98]
add r12, rax
mov qword [rsp + 0x80], r12
mov r12, rcx
mov qword [rsp + 0x88], rbp
mov rbp, qword [rsp + 0xa8]
nop word [rax + rax]
mov r8, rdi
mov rdx, rbp
mov rcx, r13
call r9
mov edx, esi
nop
dec edx
add byte [rdx + r13], 1
jne 0x1400c16dd
test edx, edx
jne 0x1400c16d0
cmp ebx, esi
jae 0x1400c1715
mov edx, reloc.WS2_32.dll_ntohs
mov eax, ebx
sub edx, ebx
add rax, rbp
shr edx, 3
inc edx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r15 + rax]
xor rcx, qword [rax]
mov qword [r14 + rax], rcx
lea rax, [rax + 8]
sub rdx, 1
jne 0x1400c1700
mov r9, qword [rsp + 0xb8]
add r14, rsi
add r15, rsi
xor ebx, ebx
sub r12, 1
jne 0x1400c16c0
mov rdi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov r12, qword [rsp + 0x80]
mov r10, qword [rsp + 0x98]
mov r15, qword [rsp + 0xb0]
test rdi, rdi
je 0x1400c1796
mov r14, qword [rsp + 0xa8]
mov r8, r10
mov rdx, r14
mov rcx, r13
call r9
nop dword [rax]
dec esi
add byte [rsi + r13], 1
jne 0x1400c1780
test esi, esi
jne 0x1400c1770
nop dword [rax]
mov ecx, ebx
inc ebx
movzx eax, byte [rcx + r12]
xor al, byte [rcx + r14]
mov byte [rcx + rbp], al
sub rdi, 1
jne 0x1400c1780
mov r14, qword [rsp + 0x38]
mov dword [r15], ebx
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c17b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
mov eax, Ordinal_50
call fcn.1401127d0
sub rsp, rax
mov rbx, r8
mov rsi, rdx
mov r8, qword [rsp + 0xa0]
mov rbp, rcx
mov edi, dword [r8]
mov dword [rsp + 0x80], edi
test edi, edi
je 0x1400c181a
mov rdx, qword [rsp + 0x98]
test rbx, rbx
je 0x1400c1813
mov eax, edi
dec rbx
movzx ecx, byte [rax + rdx]
xor cl, byte [rbp]
inc rbp
mov byte [rsi], cl
inc rsi
inc edi
and edi, 0xf
jne 0x1400c17f3
mov dword [rsp + 0x80], edi
mov r14, qword [rsp + 0x90]
mov r15d, recvfrom
mov r10, qword [rsp + 0xa8]
mov qword [rsp + 0x70], r12
mov r13d, dword [r14 + 0xc]
bswap r13d
cmp rbx, 0x10
jb 0x1400c18f7
mov rdi, qword [rsp + 0x88]
mov eax, 0x10000000
nop dword [rax]
nop word [rax + rax]
mov rdx, rbx
mov qword [rsp + 0x20], r14
shr rdx, 4
mov r9, rdi
cmp rdx, rax
cmova rdx, rax
add r13d, edx
mov r12, rdx
mov eax, r13d
mov ecx, r13d
sub r12, rax
cmp rax, rdx
cmovae r12, rdx
xor r13d, r13d
cmp rax, rdx
mov r8, r12
mov rdx, rsi
cmovae r13d, ecx
mov rcx, rbp
call r10
mov eax, r13d
bswap eax
mov dword [r14 + 0xc], eax
test r13d, r13d
jne 0x1400c18c0
mov eax, r15d
dec eax
add byte [rax + r14], 1
jne 0x1400c18c0
test eax, eax
jne 0x1400c18b3
mov r10, qword [rsp + 0xa8]
mov eax, 0x10000000
shl r12, 4
sub rbx, r12
add rsi, r12
add rbp, r12
cmp rbx, 0x10
jae 0x1400c1860
mov edi, dword [rsp + 0x80]
mov r8, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x88]
test rbx, rbx
je 0x1400c1961
mov r12, qword [rsp + 0x98]
xorps xmm0, xmm0
mov r8d, 1
mov qword [rsp + 0x20], r14
mov rdx, r12
mov rcx, r12
movups xmmword [r12], xmm0
call r10
add r13d, 1
bswap r13d
mov dword [r14 + 0xc], r13d
jne 0x1400c1940
nop dword [rax]
dec r15d
add byte [r15 + r14], 1
jne 0x1400c1940
test r15d, r15d
jne 0x1400c1930
nop
mov ecx, edi
inc edi
movzx eax, byte [rcx + rbp]
xor al, byte [rcx + r12]
mov byte [rcx + rsi], al
sub rbx, 1
jne 0x1400c1940
mov rax, qword [rsp + 0xa0]
mov dword [rax], edi
jmp 0x1400c1964
mov dword [r8], edi
mov r12, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400c2430
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
mov eax, 0x50
call fcn.1401127d0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rsi, rcx
mov rdi, qword [rcx + 0x160]
mov rbx, r9
mov qword [rsp + 0x30], rax
mov r15, r8
mov rax, qword [rcx + 0x168]
mov r14, rdx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
cmp rcx, rax
ja 0x1400c2686
cmp rcx, rbx
jb 0x1400c2686
cmp dword [rsi + 0x174], 0
lea r8, [rsi + 0x60]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
lea r13, [rsi + 0x40]
mov qword [rsi + 0x38], rcx
je 0x1400c24d0
mov rdx, r8
mov rcx, r13
call rdi
lea r8, [rsi + 0x60]
mov dword [rsi + 0x174], 0
mov ebp, dword [rsi + 0x170]
mov r12d, dword [rsi + 0xc]
mov dword [rsp + 0x80], ebp
bswap r12d
test ebp, ebp
je 0x1400c252d
nop dword [rax + rax]
test rbx, rbx
je 0x1400c2660
movzx edx, byte [r14]
dec rbx
mov ecx, ebp
inc r14
movzx eax, byte [rcx + rsi + 0x10]
xor al, dl
mov byte [r15], al
inc r15
xor byte [rcx + rsi + 0x40], dl
inc ebp
and ebp, 0xf
jne 0x1400c24f0
lea rcx, [rsi + 0x40]
mov rdx, r8
call rdi
mov dword [rsp + 0x80], ebp
cmp rbx, 0xc00
jb 0x1400c25d1
movabs rax, 0xaaaaaaaaaaaaaaab
mul rbx
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rbx, rax
mov qword [rsp + 0x98], rbx
mov rbx, qword [rsp + 0x30]
nop word [rax + rax]
mov r9d, 0xc00
lea rdx, [rsi + 0x60]
mov r8, r14
mov rcx, r13
call qword [rsp + gethostname]
mov r9, rbx
mov qword [rsp + 0x20], rsi
mov r8d, 0xc0
mov rdx, r15
mov rcx, r14
call qword [rsp + 0xa0]
add r12d, 0xc0
add r15, 0xc00
mov eax, r12d
add r14, 0xc00
bswap eax
mov dword [rsi + 0xc], eax
sub rdi, 1
jne 0x1400c2570
mov rbx, qword [rsp + 0x98]
mov ebp, dword [rsp + 0x80]
mov r13, rbx
and r13, 0xfffffffffffffff0
je 0x1400c2621
mov rdi, r13
lea rdx, [rsi + 0x60]
mov r9, r13
shr rdi, 4
mov r8, r14
lea rcx, [rsi + 0x40]
call qword [rsp + gethostname]
mov r9, qword [rsp + 0x30]
mov r8, rdi
mov rdx, r15
mov qword [rsp + 0x20], rsi
mov rcx, r14
call qword [rsp + 0xa0]
add r12d, edi
add r15, r13
mov eax, r12d
add r14, r13
bswap eax
mov dword [rsi + 0xc], eax
sub rbx, r13
test rbx, rbx
je 0x1400c2660
mov r8, qword [rsp + 0x30]
lea rdx, [rsi + 0x10]
mov rcx, rsi
call qword [rsi + 0x178]
inc r12d
bswap r12d
mov dword [rsi + 0xc], r12d
mov edx, ebp
inc ebp
movzx ecx, byte [rdx + r14]
movzx eax, byte [rdx + rsi + 0x10]
xor byte [rdx + rsi + 0x40], cl
xor al, cl
mov byte [rdx + r15], al
sub rbx, 1
jne 0x1400c2642
mov r12, qword [rsp + 0x48]
xor eax, eax
mov r13, qword [rsp + 0x40]
mov dword [rsi + 0x170], ebp
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c2970
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push r14
push r15
mov eax, 0x58
call fcn.1401127d0
sub rsp, rax
mov rax, qword [rcx + 0x180]
mov rbx, rcx
mov qword [rsp + 0x30], rax
mov r14, r8
mov rax, qword [rcx + 0x168]
mov rsi, r9
mov r8, qword [rcx + 0x160]
mov r15, rdx
mov rcx, qword [rcx + 0x38]
mov qword [rsp + 0x38], rax
add rcx, r9
movabs rax, 0xfffffffe0
mov qword [rsp + 0x98], r8
cmp rcx, rax
ja 0x1400c2bd5
cmp rcx, r9
jb 0x1400c2bd5
cmp dword [rbx + 0x174], 0
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r13
lea r13, [rbx + 0x60]
mov qword [rbx + 0x38], rcx
je 0x1400c2a1e
lea rcx, [rbx + 0x40]
mov rdx, r13
call r8
mov r8, qword [rsp + 0x98]
mov dword [rbx + 0x174], 0
mov ebp, dword [rbx + 0x170]
mov r12d, dword [rbx + 0xc]
mov dword [rsp + 0x80], ebp
bswap r12d
test ebp, ebp
je 0x1400c2a72
test rsi, rsi
je 0x1400c2bab
mov ecx, ebp
dec rsi
movzx eax, byte [rcx + rbx + 0x10]
xor al, byte [r15]
inc r15
mov byte [r14], al
inc r14
xor byte [rcx + rbx + 0x40], al
inc ebp
and ebp, 0xf
jne 0x1400c2a36
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r8
mov dword [rsp + 0x80], ebp
mov r10, qword [rsp + 0xa0]
cmp rsi, 0xc00
jb 0x1400c2b17
movabs rax, 0xaaaaaaaaaaaaaaab
mul rsi
mov rdi, rdx
shr rdi, 0xb
imul rax, rdi, 0xfffffffffffff400
add rsi, rax
mov qword [rsp + 0x98], rsi
mov rsi, qword [rsp + 0x30]
mov r9, rsi
mov qword [rsp + 0x20], rbx
mov r8d, 0xc0
mov rdx, r14
mov rcx, r15
call r10
add r12d, 0xc0
lea rcx, [rbx + 0x40]
mov eax, r12d
mov r9d, 0xc00
bswap eax
mov r8, r14
mov dword [rbx + 0xc], eax
mov rdx, r13
call qword [rsp + gethostname]
mov r10, qword [rsp + 0xa0]
add r14, 0xc00
add r15, 0xc00
sub rdi, 1
jne 0x1400c2ab2
mov rsi, qword [rsp + 0x98]
mov ebp, dword [rsp + 0x80]
mov r13, rsi
and r13, 0xfffffffffffffff0
je 0x1400c2b63
mov r9, qword [rsp + 0x30]
mov rdi, r13
shr rdi, 4
mov rdx, r14
mov r8, rdi
mov qword [rsp + 0x20], rbx
mov rcx, r15
call r10
add r12d, edi
lea rdx, [rbx + 0x60]
mov eax, r12d
lea rcx, [rbx + 0x40]
bswap eax
mov r9, r13
mov dword [rbx + 0xc], eax
mov r8, r14
add r15, r13
sub rsi, r13
call qword [rsp + gethostname]
add r14, r13
test rsi, rsi
je 0x1400c2bab
mov r8, qword [rsp + 0x30]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rbx + 0x178]
inc r12d
bswap r12d
mov dword [rbx + 0xc], r12d
nop dword [rax]
nop dword [rax + rax]
mov ecx, ebp
inc ebp
movzx eax, byte [rcx + r15]
xor al, byte [rcx + rbx + 0x10]
mov byte [rcx + r14], al
xor byte [rcx + rbx + 0x40], al
sub rsi, 1
jne 0x1400c2b90
mov r12, qword [rsp + 0x48]
xor eax, eax
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov dword [rbx + 0x170], ebp
mov rbp, qword [rsp + 0x88]
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbx
ret
mov eax, 0xffffffff
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbx
ret
Function at 0x1400c2db0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
push r13
push r14
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401127d0
sub rsp, rax
mov r13, qword [rcx + 0x160]
xor r14d, r14d
mov qword [rcx], r14
mov rsi, r8
mov qword [rcx + 8], r14
mov rdi, rdx
mov qword [rcx + 0x40], r14
mov rbx, rcx
mov qword [rcx + 0x48], r14
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], r14
mov qword [rcx + 0x170], r14
cmp r8, 0xc
jne 0x1400c2e17
movsd xmm0, qword [rdx]
lea edi, [r8 - 0xb]
movsd qword [rcx], xmm0
mov eax, dword [rdx + 8]
mov dword [rcx + 8], eax
mov byte [rcx + 0xf], 1
jmp 0x1400c2f9e
mov qword [rsp + 0x58], rbp
mov rbp, rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x50], rsi
cmp rsi, 0x10
jb 0x1400c2eb1
shr rbp, 4
imul rax, rbp, 0xfffffffffffffff0
mov qword [rsp + 0x68], r15
lea r15, [rcx + 0xf]
add rsi, rax
nop word [rax + rax]
mov r8, rdi
sub r8, rbx
lea rax, [r15 + r8]
cmp rbx, rax
ja 0x1400c2e83
cmp r15, rdi
jb 0x1400c2e83
mov rax, rbx
mov edx, reloc.WS2_32.dll_recv
nop dword [rax]
movzx ecx, byte [rax + r8]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x1400c2e70
jmp 0x1400c2e93
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
pxor xmm1, xmm0
movdqu xmmword [rbx], xmm1
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
add rdi, 0x10
sub rbp, 1
jne 0x1400c2e50
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
test rsi, rsi
je 0x1400c2f7a
cmp rsi, 0x40
jb 0x1400c2f51
lea rcx, [rbx - 1]
lea rax, [rdi - 1]
add rcx, rsi
add rax, rsi
cmp rbx, rax
ja 0x1400c2edc
cmp rcx, rdi
jae 0x1400c2f51
mov rdx, rsi
and rdx, 0xffffffffffffffc0
mov rcx, rdi
lea rax, [rbx + 0x10]
sub rcx, rbx
nop dword [rax]
movdqu xmm0, xmmword [rax - 0x10]
add r14, 0x40
movdqu xmm1, xmmword [rcx + rax - 0x10]
movdqu xmm2, xmmword [rcx + rax]
lea rax, [rax + 0x40]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x50], xmm1
movdqu xmm0, xmmword [rax - 0x40]
movdqu xmm1, xmmword [rcx + rax - 0x30]
pxor xmm2, xmm0
movdqu xmmword [rax - 0x40], xmm2
movdqu xmm0, xmmword [rax - 0x30]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x30], xmm1
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmm1, xmmword [rcx + rax - 0x20]
pxor xmm1, xmm0
movdqu xmmword [rax - 0x20], xmm1
cmp r14, rdx
jb 0x1400c2ef0
cmp r14, rsi
jae 0x1400c2f70
sub rdi, rbx
lea rcx, [r14 + rbx]
sub rsi, r14
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rsi, 1
jne 0x1400c2f60
lea rdx, [rbx + 0x60]
mov rcx, rbx
call r13
shl rbp, 3
lea rdx, [rbx + 0x60]
bswap rbp
xor qword [rbx + 8], rbp
mov rcx, rbx
call r13
mov edi, dword [rbx + 0xc]
mov r12, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
bswap edi
mov r8, qword [rbx + 0x180]
lea rdx, [rbx + 0x20]
mov rcx, rbx
call qword [rbx + 0x178]
inc edi
bswap edi
mov dword [rbx + 0xc], edi
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d1d60
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, gethostname
call fcn.1401127d0
sub rsp, rax
mov r11, rcx
cmp dword [rsp + 0x60], r9d
jne 0x1400d1e53
movzx r10d, byte [r8]
lea eax, [r10 - 0x6a]
cmp al, 1
ja 0x1400d1e53
mov qword [rsp + 0x30], rbx
lea rdx, [r8 + 1]
cmp r10b, 0x6b
jne 0x1400d1e00
lea ebx, [r9 - 3]
xor eax, eax
test ebx, ebx
jle 0x1400d1dba
movzx ecx, byte [rdx]
inc rdx
cmp cl, 0xba
je 0x1400d1dba
cmp cl, 0xbb
jne 0x1400d1def
inc eax
cmp eax, ebx
jl 0x1400d1da4
sub ebx, eax
test eax, eax
jne 0x1400d1e04
mov dword [rsp + 0x20], 0x83
lea r9, [0x1401aae20]
mov edx, 0x80
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xa]
call fcn.14006cd10
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
mov dword [rsp + 0x20], 0x7b
lea r9, [0x1401aae08]
jmp 0x1400d1dcf
lea ebx, [r9 - 2]
movsxd rax, ebx
cmp byte [rax + rdx], 0xcc
je 0x1400d1e3c
mov edx, 0x80
mov dword [rsp + 0x20], Ordinal_143
lea r9, str..crypto_rsa_rsa_x931.c
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 0xb]
call fcn.14006cd10
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x38
ret
mov r8d, ebx
mov rcx, r11
call fcn.140113bc0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
mov edx, 0x80
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
lea r9, [0x1401aadf0]
lea ecx, [rdx - 0x7c]
lea r8d, [rdx + 9]
call fcn.14006cd10
mov eax, 0xffffffff
add rsp, 0x38
ret
Function at 0x1400e35d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
mov eax, reloc.WLDAP32.dll_Ordinal_32
call fcn.1401127d0
sub rsp, rax
mov r9d, dword [rdx + 8]
mov rsi, rdx
cmp r9d, dword [r8 + 8]
mov rbx, r8
mov rdi, rcx
cmovge rbx, rdx
cmovge rsi, r8
mov edx, dword [rbx + 8]
cmp edx, dword [rcx + 0xc]
jg 0x1400e360e
mov rax, rcx
jmp 0x1400e3613
call fcn.140062390
test rax, rax
jne 0x1400e3628
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor r8d, r8d
cmp dword [rsi + 8], r8d
jle 0x1400e3665
mov r9d, r8d
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi]
lea r9, [r9 + 8]
mov rcx, qword [rbx]
inc r8d
mov rdx, qword [rcx + r9 - 8]
xor rdx, qword [r9 + rax - 8]
mov rax, qword [rdi]
mov qword [r9 + rax - 8], rdx
cmp r8d, dword [rsi + 8]
jl 0x1400e3640
mov eax, dword [rbx + 8]
cmp r8d, eax
jge 0x1400e369f
movsxd rax, r8d
lea rdx, [rax*8]
nop dword [rax + rax]
mov rax, qword [rbx]
lea rdx, [rdx + 8]
mov rcx, qword [rdi]
inc r8d
mov rax, qword [rdx + rax - 8]
mov qword [rdx + rcx - 8], rax
mov eax, dword [rbx + 8]
cmp r8d, eax
jl 0x1400e3680
mov dword [rdi + 8], eax
test eax, eax
jle 0x1400e36c9
mov rcx, qword [rdi]
sub rcx, 8
movsxd r8, eax
lea r8, [rcx + r8*8]
mov rcx, qword [r8]
lea r8, [r8 - 8]
test rcx, rcx
jne 0x1400e36c6
dec eax
test eax, eax
jg 0x1400e36b4
mov dword [rdi + 8], eax
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14011e030
Capabilities:
Encode data using xor

Disassembly:
mov rax, rcx
neg rcx
test rax, 7
je 0x14011e04d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x14011e0a8
test al, 7
jne 0x14011e040
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x14011e061
mov rdx, qword [rax - 8]
test dl, dl
je 0x14011e0d2
test dh, dh
je 0x14011e0cc
shr rdx, 0x10
test dl, dl
je 0x14011e0c6
test dh, dh
je 0x14011e0c0
shr rdx, 0x10
test dl, dl
je 0x14011e0ba
test dh, dh
je 0x14011e0b4
shr edx, 0x10
test dl, dl
je 0x14011e0ae
test dh, dh
jne 0x14011e061
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14011e980
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14011e7eb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14011e7eb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14011e7eb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14011e7eb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14011e7eb
cmp dword [rcx + 0x84], 0xe
jbe 0x14011e7eb
cmp dword [rcx + 0xf8], 0
je 0x14011e7eb
mov ecx, ebx
call fcn.14011e89c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14011e678
nop
cmp dword [rbp + 0x20], 0
je 0x14011e839
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14011e844
int3
xor r8d, r8d
xor edx, edx
jmp 0x14011e77c
Function at 0x140127a7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1401127d0
sub rsp, rax
mov rax, qword [0x1401bd830]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14012b820
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140127acb
mov rax, rbp
jmp 0x140127bd3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x1d4ef0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140129790
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x1d4ef0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140127bcf
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140127bcf
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140129790
test rax, rax
js 0x140127bcf
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140127bcf
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140127bc1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140127bc1
cmp byte [rcx], 0xd
jne 0x140127ba7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x140127bb6
cmp byte [rcx + 1], 0xa
jne 0x140127bb6
inc rcx
jmp 0x140127bb6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x1bd9a0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x140127b89
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140127bd3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140111cf0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140127f4c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x140127f83
call fcn.14011ef00
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.14011e5e0
xor eax, eax
jmp 0x140128011
mov rdx, r9
mov rcx, r8
call fcn.140127ee8
mov rbx, rax
test rax, rax
je 0x14012800e
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x140127e14]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140127ffb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14011ee74
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140127fe2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x140127ff1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14012f320
jmp 0x14012800e
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14012800b
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret