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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov r10d, dword [section..data]
lea rsi, sym.MZ___YjdSeglhx6:0i_v0RO5s_:JVmoFJfFX1wh05W_s
xor r10d, dword [rcx + 4]
mov ebx, 2
mov r11d, dword [rcx + 8]
mov dword [rcx + 4], r10d
lea edi, [rbx + 6]
mov eax, r10d
shr rax, 0x10
movzx edx, al
mov eax, r10d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0xb7830]
add r9d, dword [rsi + rax*4 + 0xb7430]
mov eax, r10d
shr rax, 8
movzx edx, al
movzx eax, r10b
xor r9d, dword [rsi + rdx*4 + 0xb7c30]
add r9d, dword [rsi + rax*4 + 0xb8030]
lea eax, [rbx - 1]
xor r9d, dword [rsi + rax*4 + 0xb7000]
xor r11d, r9d
mov dword [rcx + 8], r11d
mov eax, r11d
shr rax, 0x10
movzx edx, al
mov eax, r11d
shr rax, 0x18
mov r9d, dword [rsi + rdx*4 + 0xb7830]
add r9d, dword [rsi + rax*4 + 0xb7430]
mov eax, r11d
shr rax, 8
movzx edx, al
movzx eax, r11b
xor r9d, dword [rsi + rdx*4 + 0xb7c30]
add r9d, dword [rsi + rax*4 + 0xb8030]
mov eax, ebx
add ebx, 2
xor r9d, dword [rsi + rax*4 + 0xb7000]
xor r9d, r10d
mov dword [rcx + 4], r9d
mov r10d, r9d
sub rdi, 1
jne 0x140002ae1
xor r11d, dword [0x1400b7044]
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
mov dword [rcx + 4], r11d
mov dword [rcx + 8], r9d
ret

Function at 0x140002bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
movsxd rsi, r8d
xor r14d, r14d
mov eax, esi
mov rdi, r9
mov rbx, rdx
and eax, 0x80000007
jge 0x140002bf1
dec eax
or eax, 0xfffffff8
inc eax
cmp byte [rsp + 0x50], r14b
je 0x140002c07
test eax, eax
jne 0x140002ca0
mov dword [r9], esi
mov eax, esi
jmp 0x140002c2b
movzx ecx, byte [rsp + 0x58]
mov edx, esi
sub edx, eax
add edx, 8
test eax, eax
lea eax, [rcx + 1]
cmove edx, esi
lea eax, [rdx + rax*8]
mov dword [r9], eax
test cl, cl
je 0x140002c2b
mov r14d, 8
movsxd rcx, eax
call fcn.1400128b0
mov r9d, r14d
mov r10, rax
test esi, esi
jle 0x140002c60
mov eax, r9d
mov rdx, rsi
sub rax, rbx
add rax, r10
nop dword [rax]
movzx ecx, byte [rbx]
mov byte [rax + rbx], cl
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x140002c50
lea edx, [r14 + rsi]
cmp edx, dword [rdi]
jge 0x140002c87
movsxd r8, edx
add r9, rsi
add r8, r10
movzx eax, byte [r9 + r10 - 1]
lea r8, [r8 + 1]
xor al, 0xcc
inc edx
mov byte [r8 - 1], al
cmp edx, dword [rdi]
jl 0x140002c71
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov r14d, 8
lea rdx, [0x1400b4c40]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], r14d
call fcn.14005f2e4
int3
Function at 0x140006620
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x48], rbx
xor r14d, r14d
mov rax, rdx
cmp qword [rdx + 0x18], 0x10
jb 0x140006670
mov rax, qword [rdx]
mov rdx, rbx
cmp qword [r9 + 0x18], 0x10
jb 0x14000667d
mov rdx, qword [r9]
mov rcx, rdi
cmp qword [r8 + 0x18], 0x10
jb 0x14000668a
mov rcx, qword [r8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rsp + 0x50]
lea r8, str.NULL
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400066c4
lea rdx, [rsp + 0x50]
mov rcx, rbp
call fcn.1400034d0
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140006716
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x140006711
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400067dc
mov rcx, r8
call fcn.1400128a8
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000675b
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140006756
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400067d0
mov rcx, r8
call fcn.1400128a8
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400067a0
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000679b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400067d6
mov rcx, r8
call fcn.1400128a8
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rbp
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140012950
add rsp, 0xd0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140064f94
nop
call fcn.140064f94
nop
call fcn.140064f94
int3
Function at 0x1400067f0
Capabilities:
Access pe header
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
mov qword [rsp + 0x38], rdx
mov rcx, qword [rdx + 0x10]
call fcn.1400128b0
mov rdi, rax
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x140006832
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.14005f3c0
test rdi, rdi
je 0x1400068f6
mov rcx, rdi
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
je 0x1400068f6
lea rcx, str.ModernWarfare.exe
call fcn.140010ca0
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x28]
lea rcx, [0x1400098a0]
call qword [sym.imp.USER32.dll_EnumWindows]
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r14d, eax
cmp dword [rsp + 0x20], 0
je 0x1400068f6
test eax, eax
je 0x1400068f6
call fcn.14000f990
mov edx, dword [rsp + 0x20]
mov rcx, rax
call fcn.14000f640
call fcn.14000f990
mov r8d, 0x40
mov edx, dword [rsi + 0x50]
mov rcx, rax
call fcn.14000f5a0
mov rbp, rax
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.14000dac0
test eax, eax
jne 0x140006926
call fcn.14000f990
mov rdx, rbp
mov rcx, rax
call fcn.14000f650
nop
mov rcx, rbx
call fcn.1400019b0
mov eax, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140012950
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov r8, rsi
mov rdx, rdi
mov ecx, r14d
call fcn.14000dfd0
test eax, eax
je 0x1400068e5
mov r8, rsi
mov rdx, rdi
mov rcx, rbp
call fcn.14000e920
xor r9d, r9d
mov r8, rsi
mov rdx, rbp
mov ecx, r14d
call fcn.140008e30
mov rdx, rsi
mov rcx, rbp
call fcn.140009970
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
nop
mov rcx, rbx
call fcn.1400019b0
xor eax, eax
jmp 0x140006903
Function at 0x140008e30
Capabilities:
Allocate or change rwx memory
Encode data using xor
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r12, rdx
mov r14d, ecx
mov ecx, WSASetLastError
xor edx, edx
mov r13, r8
call fcn.1400056c0
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rsp + 0x20], ax
lea edx, [rcx - 0x73]
call fcn.1400056c0
mov ecx, 0x64
mov word [rsp + 0x22], ax
lea edx, [rcx - 0x62]
call fcn.1400056c0
mov ecx, WSASetLastError
mov word [rsp + 0x24], ax
lea edx, [rcx - 0x69]
call fcn.1400056c0
mov ecx, WSASetLastError
mov word [rsp + 0x26], ax
lea edx, [rcx - 0x68]
call fcn.1400056c0
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + 0x28], ax
lea edx, [rcx - 0x29]
call fcn.1400056c0
mov ecx, 0x64
mov word [rsp + 0x2a], ax
lea edx, [rcx - 0x5e]
call fcn.1400056c0
mov ecx, WSASetLastError
mov word [rsp + 0x2c], ax
lea edx, [rcx - 0x65]
call fcn.1400056c0
mov ecx, WSASetLastError
mov word [rsp + 0x2e], ax
lea edx, [rcx - 0x64]
call fcn.1400056c0
xor ecx, ecx
mov word [rsp + 0x30], ax
lea edx, [rcx + 9]
call fcn.1400056c0
movzx ecx, word [0x14008fd84]
mov edx, 0xa
mov word [rsp + 0x32], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd86]
mov edx, ntohl
mov word [rsp + 0x34], ax
call fcn.1400056c0
movzx ecx, word [str.cod.exe]
mov edx, ntohl
mov word [rsp + 0x36], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd8a]
mov edx, reloc.WS2_32.dll_listen
mov word [rsp + 0x38], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd8c]
mov edx, reloc.WS2_32.dll_ntohl
mov word [rsp + 0x3a], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd8e]
mov edx, reloc.WS2_32.dll_ntohs
mov word [rsp + 0x3c], ax
call fcn.1400056c0
movzx ecx, word [str.ModernWarfare.exe]
mov edx, reloc.WS2_32.dll_recv
mov word [rsp + 0x3e], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd92]
mov edx, reloc.WS2_32.dll_recvfrom
mov word [rsp + 0x40], ax
call fcn.1400056c0
movzx ecx, word [0x14008fd94]
mov edx, reloc.WS2_32.dll_select
mov word [rsp + 0x42], ax
call fcn.1400056c0
mov word [rsp + 0x44], ax
xor eax, eax
mov word [rsp + 0x46], ax
xor r9d, r9d
mov r8d, 0x133
nop word [rax + rax]
movsxd rcx, eax
lea rdx, [rsp + 0x20]
lea rdx, [rdx + rcx*2]
lea ecx, [r8 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140008ff0
lea rcx, [rsp + 0x20]
mov word [rsp + 0x46], r9w
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
call fcn.14000f990
mov edx, 0x1000
mov r8d, 0x40
mov rcx, rax
call fcn.14000f5a0
mov edx, reloc.WS2_32.dll_WSACleanup
xor ecx, ecx
mov r8d, 0x3000
mov r15, rax
lea r9d, [rdx - 0x70]
Function at 0x14000dac0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x14000dc42
test byte [r8 + 0x5e], 0x40
jne 0x14000daed
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx edx, word [rsi + 0x14]
movzx eax, word [rsi + 6]
add rdx, 0x18
mov r8d, dword [r8 + 0xb0]
add rdx, rsi
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14000dc42
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000db26
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000db3d
add rdx, 0x28
cmp rdx, r9
jb 0x14000db14
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x14000dc38
cmp rbx, r15
jae 0x14000dc38
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x14000dc33
add eax, 0xfffffff8
shr eax, 1
je 0x14000dc24
lea r11, [rbx + 8]
mov edi, eax
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x14000dbb2
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x14000dbbe
cmp ax, 0xa
jne 0x14000dc16
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x14000dc0b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x14000dbf2
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14000dbfd
add rax, 0x28
cmp rax, r10
jb 0x14000dbe0
jmp 0x14000dc0b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x14000dc0e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x14000db90
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x14000db74
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x14000dfd0
Capabilities:
Enumerate pe sections

Disassembly:
mov dword [rsp + 8], ecx
push rbp
push rdi
push r13
sub rsp, 0x40
movzx eax, word [r8 + 0x14]
lea r10, [r8 + 0x18]
mov r11d, dword [r8 + 0x90]
add r10, rax
movzx eax, word [r8 + 6]
mov rbp, r8
mov r13, rdx
mov edi, ecx
lea r9, [rax + rax*4]
lea r8, [r10 + r9*8]
cmp r10, r8
jae 0x14000e031
nop dword [rax]
mov ecx, dword [r10 + 0xc]
cmp r11, rcx
jb 0x14000e028
mov eax, dword [r10 + 8]
add eax, ecx
cmp r11, rax
jb 0x14000e0c5
add r10, 0x28
cmp r10, r8
jb 0x14000e010
xor eax, eax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
test r11d, r11d
je 0x14000e09e
cmp dword [rbp + 0x94], 0
je 0x14000e09e
lea rbx, [rax + 0x10]
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx - 4]
add rdx, rbp
mov qword [rsp + 0x70], rbx
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14000e09e
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000e095
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000e0d7
add rdx, 0x28
cmp rdx, r9
jb 0x14000e083
mov eax, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r13
pop rdi
pop rbp
ret
mov eax, dword [r10 + 0x14]
sub rax, rcx
add rax, r11
add rax, r13
jmp 0x14000e033
mov r15d, dword [rdx + 0x14]
sub r15, rcx
add r15, r8
add r15, r13
je 0x14000e09e
mov rdx, r15
mov ecx, edi
call fcn.140009190
mov r12, rax
test rax, rax
je 0x14000e212
movzx edx, word [rbp + 0x14]
movzx eax, word [rbp + 6]
add rdx, 0x18
mov r8d, dword [rbx]
add rdx, rbp
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x14000e13b
nop dword [rax + rax]
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x14000e132
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x14000e160
add rdx, 0x28
cmp rdx, r9
jb 0x14000e120
xor r14d, r14d
mov rdi, qword [r14]
test rdi, rdi
je 0x14000e1f7
jns 0x14000e16f
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
movzx edx, di
jmp 0x14000e1c0
mov r14d, dword [rdx + 0x14]
sub r14, rcx
add r14, r8
add r14, r13
jmp 0x14000e13e
movzx eax, word [rbp + 0x14]
movzx ecx, word [rbp + 6]
add rax, 0x18
add rax, rbp
lea rdx, [rcx + rcx*4]
lea r8, [rax + rdx*8]
cmp rax, r8
jae 0x14000e1ab
nop dword [rax + rax]
mov edx, dword [rax + 0xc]
cmp rdi, rdx
jb 0x14000e1a2
mov ecx, dword [rax + 8]
add ecx, edx
cmp rdi, rcx
jb 0x14000e204
add rax, 0x28
cmp rax, r8
jb 0x14000e190
xor esi, esi
xor edx, edx
mov rcx, r15
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
lea rdx, [rsi + 2]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
mov rcx, rbx
sub rdi, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rdi + r12]
mov qword [r14], rax
add r14, 8
mov rdi, qword [r14]
test rdi, rdi
jne 0x14000e14a
mov rbx, qword [rsp + 0x70]
mov edi, dword [rsp + 0x60]
add rbx, 0x14
jmp 0x14000e05e
mov esi, dword [rax + 0x14]
sub rsi, rdx
add rsi, rdi
add rsi, r13
jmp 0x14000e1ad
jmp 0x14000e0a3
Function at 0x14000e9a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x14000e9d1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14000ea4b
mov rdi, r14
mov rcx, rbx
call fcn.140007b20
test rax, rax
jle 0x14000ea23
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.14005f3c0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14000ea3b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + gethostname]
cmp eax, 0xffffffff
je 0x14000ea43
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x14000e9e5
sub r14, rdi
jmp 0x14000eb2f
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ea62
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ea64
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ea96
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.14005f3c0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x14000eb2c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000ead1
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000eb0d
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14006625c
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x14000eb2c
cmp rbp, rax
ja 0x14000eae0
test rbp, rbp
je 0x14000eb2c
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14006625c
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000f6e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.1400056c0
mov ecx, 0x5c
mov word [rsp + 0x40], ax
lea edx, [rcx - 0x5b]
call fcn.1400056c0
mov ecx, reloc.WLDAP32.dll_Ordinal_46
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.1400056c0
mov ecx, 0x5c
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.1400056c0
mov ecx, 0x45
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.1400056c0
mov ecx, 0x49
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.1400056c0
mov ecx, 0x51
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.1400056c0
mov ecx, 0x44
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.1400056c0
mov ecx, 0x56
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.1400056c0
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.1400056c0
movzx ecx, word [0x1400909c4]
mov edx, 0xa
mov word [rsp + 0x52], ax
call fcn.1400056c0
movzx ecx, word [0x1400909c6]
mov edx, ntohl
mov word [rsp + 0x54], ax
call fcn.1400056c0
movzx ecx, word [str._2y_10_o1VAmb3gvYR4tyQfrGVLuu6MdUXhtTnMsgURmkMC3gO1e1VoleC_6]
mov edx, ntohl
mov word [rsp + 0x56], ax
call fcn.1400056c0
movzx ecx, word [0x1400909ca]
mov edx, reloc.WS2_32.dll_listen
mov word [rsp + 0x58], ax
call fcn.1400056c0
movzx ecx, word [0x1400909cc]
mov edx, reloc.WS2_32.dll_ntohl
mov word [rsp + 0x5a], ax
call fcn.1400056c0
movzx ecx, word [0x1400909ce]
mov edx, reloc.WS2_32.dll_ntohs
mov word [rsp + 0x5c], ax
call fcn.1400056c0
movzx ecx, word [0x1400909d0]
mov edx, reloc.WS2_32.dll_recv
mov word [rsp + 0x5e], ax
call fcn.1400056c0
movzx ecx, word [0x1400909d2]
mov edx, reloc.WS2_32.dll_recvfrom
mov word [rsp + 0x60], ax
call fcn.1400056c0
movzx ecx, word [0x1400909d4]
mov edx, reloc.WS2_32.dll_select
mov word [rsp + 0x62], ax
call fcn.1400056c0
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x14000f880
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140012950
add rsp, 0x70
pop rbx
ret
Function at 0x140010ca0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400fbb78]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rdi, rcx
xor esi, esi
xor edx, edx
lea ecx, [rsi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140010d28
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x140010d28
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call fcn.140069fcc
test eax, eax
je 0x140010d24
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140010d00
jmp 0x140010d28
mov esi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140012950
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400110f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140011174
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x140011174
dec r8
sub rdx, 1
jne 0x14001115a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140013788
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400137d2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400137d2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400137d2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400137d2
cmp dword [rcx + 0x84], 0xe
jbe 0x1400137d2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400137d4
xor al, al
add rsp, 0x28
ret
Function at 0x14001b5b0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
je 0x14001b69a
call fcn.14001b800
test al, al
jne 0x14001b69a
mov qword [rsp + 0x30], rbx
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
xor r14d, r14d
mov esi, r14d
inc rbx
cmp byte [rdi + rbx], sil
jne 0x14001b5f0
mov r8, rbx
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov rcx, rdi
call fcn.140037990
test rax, rax
je 0x14001b635
sub rax, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_46
mov r8, rax
mov rcx, rdi
call fcn.140037990
mov rsi, rax
test rax, rax
je 0x14001b635
inc rsi
mov rcx, rdi
sub rcx, rsi
add rbx, rcx
test rsi, rsi
mov ebp, 0x1505
cmovne rdi, rsi
mov rsi, rdi
lea rax, [rbx + rdi]
cmp rdi, rax
cmova rbx, r14
mov r14, qword [rsp + 0x48]
test rbx, rbx
je 0x14001b681
nop dword [rax]
movzx ecx, byte [rsi]
call fcn.14002a240
movsx rcx, al
inc rsi
imul rbp, rbp, 0x21
mov rax, rsi
xor rbp, rcx
sub rax, rdi
cmp rax, rbx
jb 0x14001b660
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
movzx eax, bpl
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
xor eax, eax
add rsp, 0x20
pop rdi
ret