joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180222790
Capabilities:
Enumerate threads

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x188
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x2a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x1802c8f40]
xor rax, rbp
mov qword [rbp + 0x158], rax
lea rcx, [0x1802e39f4]
call fcn.1800ba5bb
mov dword [rbp + 0x24], 0
xor edx, edx
mov ecx, 4
call fcn.1800b88b5
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xffffffffffffffff
je 0x1802229c9
mov dword [rbp + 0x68], 0x1c
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.1800b90df
test eax, eax
je 0x1802229bf
mov dword [rbp + 0x24], 1
mov eax, dword [rbp + 0x68]
cmp rax, 0x10
jb 0x180222951
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rbp + 0x74], eax
jne 0x180222951
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rbp + 0x70], eax
je 0x180222951
mov rax, qword [rbp + 0x180]
cmp qword [rax], 0
jne 0x1802228a9
mov rax, qword [rbp + 0x180]
mov dword [rax + 8], 0x80
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 8]
shl rax, 2
mov r8, rax
xor edx, edx
mov rcx, qword [0x1802d1710]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp + 0x180]
mov qword [rcx], rax
mov rax, qword [rbp + 0x180]
cmp qword [rax], 0
jne 0x1802228a7
mov dword [rbp + 0x24], 0
jmp 0x18022296d
jmp 0x180222921
mov rax, qword [rbp + 0x180]
mov rcx, qword [rbp + 0x180]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0xc], ecx
jb 0x180222921
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 8]
shl eax, 1
mov rcx, qword [rbp + 0x180]
mov dword [rcx + 8], eax
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 8]
shl rax, 2
mov r9, rax
mov rax, qword [rbp + 0x180]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1802d1710]
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x180222913
mov dword [rbp + 0x24], 0
jmp 0x18022296d
mov rax, qword [rbp + 0x180]
mov rcx, qword [rbp + 8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 0xc]
mov rcx, qword [rbp + 0x180]
mov rcx, qword [rcx]
mov edx, dword [rbp + 0x70]
mov dword [rcx + rax*4], edx
mov rax, qword [rbp + 0x180]
mov eax, dword [rax + 0xc]
inc eax
mov rcx, qword [rbp + 0x180]
mov dword [rcx + 0xc], eax
mov dword [rbp + 0x68], 0x1c
lea rdx, [rbp + 0x68]
mov rcx, qword [rbp + 0x48]
call fcn.1800b759b
test eax, eax
jne 0x18022281e
cmp dword [rbp + 0x24], 0
je 0x180222985
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x180222985
mov dword [rbp + 0x24], 0
cmp dword [rbp + 0x24], 0
jne 0x1802229bf
mov rax, qword [rbp + 0x180]
cmp qword [rax], 0
je 0x1802229bf
mov rax, qword [rbp + 0x180]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1802d1710]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rbp + 0x180]
mov qword [rax], 0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x24]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x1802aaf30]
call fcn.1800b9c88
mov eax, edi
mov rcx, qword [rbp + 0x158]
xor rcx, rbp
call fcn.1800b8932
lea rsp, [rbp + 0x168]
pop rdi
pop rbp
ret
Function at 0x180222d20
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x20]
lea rcx, [0x1802e39f4]
call fcn.1800ba5bb
mov dword [rbp + 4], 0
mov rax, qword [rbp + 0x140]
mov qword [rax], 0
mov rax, qword [rbp + 0x140]
mov dword [rax + 8], 0
mov rax, qword [rbp + 0x140]
mov dword [rax + 0xc], 0
mov rcx, qword [rbp + 0x140]
call fcn.180222790
test eax, eax
jne 0x180222d95
mov dword [rbp + 4], 9
jmp 0x180222e17
mov rax, qword [rbp + 0x140]
cmp qword [rax], 0
je 0x180222e17
mov dword [rbp + 0x24], 0
jmp 0x180222db3
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x140]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 0x24], eax
jae 0x180222e17
mov eax, dword [rbp + 0x24]
mov rcx, qword [rbp + 0x140]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
je 0x180222e15
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rbp + 0x150]
mov edx, dword [rbp + 0x148]
mov rcx, qword [rbp + 0x48]
call fcn.180223ba0
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180222dab
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0x128]
pop rdi
pop rbp
ret

Function at 0x180223f70
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1802e39f4]
call fcn.1800ba5bb
mov rax, qword [rbp + 0x120]
cmp qword [rax], 0
je 0x180224014
mov dword [rbp + 4], 0
jmp 0x180223fad
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov rax, qword [rbp + 0x120]
mov eax, dword [rax + 0xc]
cmp dword [rbp + 4], eax
jae 0x180223ffb
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x120]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
je 0x180223ff9
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180223fa5
mov rax, qword [rbp + 0x120]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1802d1710]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x180224a30
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1802e3ac7]
call fcn.1800ba5bb
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x180224aa5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x180224aa5
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x180224aa5
xor eax, eax
jmp 0x180224af2
mov dword [rbp + 4], 1
jmp 0x180224ab6
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x108]
cmp dword [rbp + 4], eax
jae 0x180224aed
mov eax, dword [rbp + 4]
mov rcx, qword [rbp + 0x100]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x100]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180224aeb
xor eax, eax
jmp 0x180224af2
jmp 0x180224aae
mov eax, 1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x14000e080
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x58
xor ebp, ebp
mov r13, rdx
mov rsi, rcx
mov dword [rsp + 0x28], ebp
mov r8, rcx
mov qword [rsp + 0x20], rbp
xor ecx, ecx
lea r9d, [rbp - 1]
lea edx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rdi, eax
test eax, eax
js 0x14000e0fc
lfence
mov rcx, rdi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000e0fc
lfence
mov dword [rsp + 0x28], edi
lea r9d, [rbp - 1]
mov r8, rsi
mov qword [rsp + 0x20], rax
lea edx, [rbp + 8]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lfence
mov rcx, rbx
test eax, eax
jns 0x14000e10b
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor eax, eax
add rsp, 0x58
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rdx, [rsp + 0xa0]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rbx
mov r14, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r14, r14
je 0x14000e0fc
mov ecx, dword [rsp + 0xa0]
mov edi, ebp
lea ebx, [rcx*8]
test ecx, ecx
jle 0x14000e19a
mov rsi, r14
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rsi]
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x38], rax
mov r9d, 0xffffffff
mov qword [rsp + 0x30], rbp
xor edx, edx
mov dword [rsp + 0x28], ebp
xor ecx, ecx
mov qword [rsp + 0x20], rbp
mov dword [rsp + 0xa8], ebp
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
js 0x14000e1c2
add ebx, eax
inc edi
add rsi, 8
cmp edi, dword [rsp + 0xa0]
jl 0x14000e150
movsxd rdx, ebx
xor ecx, ecx
mov qword [rsp + 0x50], r15
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
jne 0x14000e1dd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14000e27b
lfence
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x58
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
movsxd rcx, dword [rsp + 0xa0]
mov qword [rsp + 0x90], r12
lea eax, [rcx*8]
sub ebx, eax
lea rsi, [r15 + rcx*8]
test ecx, ecx
jle 0x14000e25c
mov r12, r14
mov rdi, r15
sub r12, r15
nop word [rax + rax]
mov r8, qword [r12 + rdi]
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x40], ecx
lea r9d, [rcx - 1]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x14000e28d
mov qword [rdi], rsi
sub ebx, eax
movsxd rcx, eax
inc ebp
add rsi, rcx
add rdi, 8
cmp ebp, dword [rsp + 0xa0]
jl 0x14000e210
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rsp + 0xa0]
mov dword [r13], eax
mov rax, r15
mov r12, qword [rsp + 0x90]
mov r15, qword [rsp + 0x50]
add rsp, 0x58
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
lfence
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14000e273
Function at 0x1400102b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140010328
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140010328
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140010315
nop
cmp rbx, rcx
jae 0x140010328
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140010300
cmp rbx, rcx
jae 0x140010328
cmp word [rbx], 0
je 0x140010328
lfence
mov rax, rbx
jmp 0x14001032a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140012330
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400d0128]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
mov rbx, qword [rcx]
mov rdi, qword [rcx + 8]
cmp rbx, rdi
je 0x140012378
mov rcx, rbx
call fcn.140003350
add rbx, 0x20
cmp rbx, rdi
jne 0x140012360
mov rax, qword [rsi]
mov qword [rsi + 8], rax
xor r14d, r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbp, rax
test rax, rax
je 0x140012487
mov ebx, r14d
cmp dword [rsp + 0x20], ebx
jle 0x14001247e
mov rdi, rax
mov rdx, qword [rdi]
test rdx, rdx
je 0x14001246e
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], 7
mov word [rsp + 0x28], r14w
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400123e0
lea rcx, [rsp + 0x28]
call fcn.140004980
nop
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x140012423
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x28], r14w
add qword [rsi + 8], 0x20
jmp 0x140012435
lea r8, [rsp + 0x28]
mov rcx, rsi
call fcn.1400120f0
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001246e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012469
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400124aa
call fcn.14006a280
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x20]
jl 0x1400123b0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006a600
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140016a80
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
jne 0x140016a94
xor al, al
add rsp, 0x38
ret
movzx eax, dl
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x40], eax
mov r8d, 0x20
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x140016b70
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
jne 0x140016b84
xor al, al
add rsp, 0x38
ret
movzx eax, dl
lea r9, [rsp + 0x40]
xor edx, edx
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 4
lea r8d, [rdx + 0x18]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
add rsp, 0x38
ret

Function at 0x140016bb0
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
jne 0x140016bc4
xor al, al
add rsp, 0x38
ret
movzx eax, dl
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x40], eax
mov r8d, 4
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
sete al
add rsp, 0x38
ret

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

Disassembly:
push rbx
push rdi
sub rsp, 0x58
mov rax, qword [0x1400d0128]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov byte [rsp + 0x30], r9b
mov eax, 2
movzx ecx, r8w
mov word [rsp + 0x38], ax
mov ebx, edx
call qword [sym.imp.WS2_32.dll_htons]
mov ecx, ebx
mov word [rsp + 0x3a], ax
call qword [sym.imp.WS2_32.dll_htonl]
mov rcx, qword [rdi]
mov dword [rsp + 0x3c], eax
cmp rcx, 0xffffffffffffffff
jne 0x140016c52
mov eax, ecx
jmp 0x140016c76
xor r9d, r9d
mov dword [rsp + 0x28], setsockopt
lea rax, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_sendto]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006a600
add rsp, 0x58
pop rdi
pop rbx
ret

Function at 0x140016cb0
Capabilities:
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, [rcx + 8]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rbx], eax
neg eax
sbb eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x14001f160
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov r8, rdx
mov r11, rcx
test rdx, rdx
jne 0x14001f185
mov rcx, qword [rcx]
mov dl, 0x30
mov rax, qword [rcx]
mov rax, qword [rax]
add rsp, 0x28
jmp qword [case.0x14001f32b.0]
mov qword [rsp + 0x30], rbx
lea r9, [rcx + 0x10]
mov qword [rsp + 0x20], rdi
test rdx, rdx
jns 0x14001f2a1
mov rax, rdx
mov byte [rcx + 0x10], 0x2d
cqo
mov ecx, 1
mov r8, rax
xor r8, rdx
sub r8, rdx
mov rdx, r8
cmp r8, 0xa
jb 0x14001f1fd
movabs r10, 0x346dc5d63886594b
cmp rdx, 0x64
jb 0x14001f29a
cmp rdx, 0x3e8
jb 0x14001f292
cmp rdx, 0x2710
jb 0x14001f28a
mov rax, r10
add ecx, 4
mul rdx
shr rdx, 0xb
cmp rdx, 0xa
jae 0x14001f1c6
inc ecx
mov r10d, ecx
lea rdi, str.00010203040506070809101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
add r9, r10
cmp r8, 0x64
jb 0x14001f263
mov qword [rsp + 0x38], rsi
movabs rsi, 0x47ae147ae147ae15
mov rcx, r8
mov rax, rsi
mul r8
sub r8, rdx
shr r8, 1
add r8, rdx
shr r8, 6
imul rax, r8, 0x64
sub rcx, rax
mov eax, ecx
lea rcx, [rax + rax]
movzx eax, byte [rcx + rdi + 1]
mov byte [r9 - 1], al
add r9, 0xfffffffffffffffe
movzx eax, byte [rcx + rdi]
mov byte [r9], al
cmp r8, 0x64
jae 0x14001f221
mov rsi, qword [rsp + 0x38]
cmp r8, 0xa
jb 0x14001f304
mov eax, r8d
lea rcx, [rax + rax]
movzx eax, byte [rcx + rdi + 1]
mov byte [r9 - 1], al
movzx eax, byte [rcx + rdi]
mov byte [r9 - 2], al
jmp 0x14001f30c
add ecx, 3
jmp 0x14001f1fd
add ecx, 2
jmp 0x14001f1fd
inc ecx
jmp 0x14001f1fd
mov ecx, 1
cmp rdx, 0xa
jb 0x14001f1ff
movabs r10, 0x346dc5d63886594b
nop word [rax + rax]
cmp rdx, 0x64
jb 0x14001f1fd
cmp rdx, 0x3e8
jb 0x14001f2fc
cmp rdx, 0x2710
jb 0x14001f2f4
mov rax, r10
add ecx, 4
mul rdx
shr rdx, 0xb
cmp rdx, 0xa
jae 0x14001f2c0
jmp 0x14001f1ff
add ecx, 3
jmp 0x14001f1ff
add ecx, 2
jmp 0x14001f1ff
add r8b, 0x30
mov byte [r9 - 1], r8b
mov rcx, qword [r11]
lea rdx, [r11 + 0x10]
mov r8, r10
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x28
jmp qword [case.0x14001f32b.0]
Function at 0x140035b70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x80], r15d
mov r14, qword [rcx + 0x18]
mov qword [rcx + 0x18], r15
add rcx, 0x30
call fcn.140010790
mov rcx, rbx
call fcn.140039810
mov edx, 0xffffffff
lea rcx, [rbx + 0x20]
call fcn.140016710
mov ebp, eax
mov edx, dword [0x1400d3f48]
mov ecx, dword [0x1400d3f44]
add edx, ecx
je 0x140035c3b
mov dword [rsp + 0x48], r15d
lea rcx, [rsp + 0x40]
call fcn.14000a890
nop
mov dword [rsp + 0x80], 1
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x140035bf6
lea rcx, [rsp + 0x40]
call fcn.14000a890
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x88], 0x20
mov dword [rsp + 0x30], ebp
lea rax, str.dhcp_listen_thread_wait_INFINITE___wait_result_lu
mov qword [rsp + 0x28], rax
lea rax, str.CDhcpListenThread::stop
mov qword [rsp + 0x20], rax
lea r9, [0x140000000]
lea r8, [rsp + 0x88]
movsx edx, r15w
call fcn.14000a990
nop
test byte [rsp + 0x80], 1
je 0x140035c4f
lea rcx, [rsp + 0x40]
call fcn.14000a400
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140035c5e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], r15
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140035c71
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x30], r15
mov qword [rbx + 0x18], r14
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbx + 0x30]
call fcn.1400156a0
cmp byte [rbx + 0x70], 0
je 0x140035ca1
mov byte [rbx + 0x70], 0
mov rcx, rbx
call fcn.1400355e0
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbx + 0x20]
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.140016240
Function at 0x140045e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
cmp qword [rdx + 0x18], 0x10
mov r10, rcx
mov r9, qword [rdx + 0x10]
jb 0x140045e91
mov rdx, qword [rdx]
xor r8d, r8d
movabs rax, 0xcbf29ce484222325
test r9, r9
je 0x140045ec4
movabs r11, 0x100000001b3
nop dword [rax]
movzx ecx, byte [r8 + rdx]
inc r8
xor rax, rcx
imul rax, r11
cmp r8, r9
jb 0x140045eb0
movabs rdx, 0xc6a4a7935bd1e995
imul rax, rdx
mov rcx, rax
shr rcx, 0x2f
xor rcx, rax
mov eax, 0xe6546b64
imul rcx, rdx
xor rcx, r10
imul rcx, rdx
add rax, rcx
ret
Function at 0x14004ea60
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov r8, qword [rdx]
mov rdi, rcx
mov r9d, 0x1505
movzx eax, word [r8]
test ax, ax
je 0x14004ea97
nop
imul r9, r9, 0x21
movzx eax, ax
lea r8, [r8 + 2]
add r9, rax
movzx eax, word [r8]
test ax, ax
jne 0x14004ea80
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.140043f20
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14004eab5
mov rcx, qword [rdi + 0x10]
mov rbx, qword [rsp + 0x40]
lea rax, [rcx + 0x18]
xor edx, edx
cmp qword [rdi + 0x10], rcx
cmove rax, rdx
add rsp, 0x30
pop rdi
ret

Function at 0x14004ead0
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rdx]
mov rsi, r8
mov rbx, rcx
mov r9d, 0x1505
movzx eax, word [r10]
test ax, ax
je 0x14004eb17
nop word [rax + rax]
imul r9, r9, 0x21
movzx eax, ax
lea r10, [r10 + 2]
add r9, rax
movzx eax, word [r10]
test ax, ax
jne 0x14004eb00
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.140043f20
mov rcx, qword [rax + 8]
test rcx, rcx
jne 0x14004eb35
mov rcx, qword [rbx + 0x10]
cmp qword [rbx + 0x10], rcx
jne 0x14004eb50
mov eax, 0x490
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [rcx + 0x18]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14004eb70
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov r10, qword [rdx]
mov rsi, r8
mov rbx, rcx
mov r9d, 0x1505
movzx eax, word [r10]
test ax, ax
je 0x14004ebb7
nop word [rax + rax]
imul r9, r9, 0x21
movzx eax, ax
lea r10, [r10 + 2]
add r9, rax
movzx eax, word [r10]
test ax, ax
jne 0x14004eba0
mov r8, rdx
add rcx, 8
lea rdx, [rsp + 0x20]
call fcn.140043f20
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x14004ebd5
mov rdx, qword [rbx + 0x10]
cmp qword [rbx + 0x10], rdx
jne 0x14004ebf0
mov eax, 0x490
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
add rdx, 0x18
mov rcx, rsi
call fcn.14004bc70
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14004f290
Capabilities:
Hash data using djb2

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rdi, [rcx + 8]
mov ebx, 0x1505
mov rcx, qword [rdx]
movzx eax, word [rcx]
test ax, ax
je 0x14004f2d6
nop dword [rax]
nop word [rax + rax]
imul rbx, rbx, 0x21
movzx eax, ax
lea rcx, [rcx + 2]
add rbx, rax
movzx eax, word [rcx]
test ax, ax
jne 0x14004f2c0
mov r8, rdx
mov r9, rbx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140043f20
xor esi, esi
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14004f362
mov rcx, qword [rdi + 0x30]
mov r8, qword [rdi + 0x18]
and rcx, rbx
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14004f347
cmp rax, rdx
jne 0x14004f32f
mov rax, qword [rdi + 8]
mov qword [r8], rax
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.140051290
mov ecx, 1
jmp 0x14004f365
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
lea rcx, [rdi + 8]
call fcn.140051290
mov ecx, 1
jmp 0x14004f365
cmp rax, rdx
jne 0x14004f352
mov rax, qword [rdx]
mov qword [r8], rax
lea rcx, [rdi + 8]
call fcn.140051290
mov ecx, 1
jmp 0x14004f365
mov rcx, rsi
mov rbx, qword [rsp + 0x40]
test rcx, rcx
mov eax, 0x490
cmovne eax, esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14004f380
Capabilities:
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rdx
mov r8d, 0x1505
mov rdx, qword [rdx + 0x10]
mov r9, qword [rdx + 0x10]
movzx eax, word [r9]
test ax, ax
je 0x14004f3b7
imul r8, r8, 0x21
movzx eax, ax
lea r9, [r9 + 2]
add r8, rax
movzx eax, word [r9]
test ax, ax
jne 0x14004f3a0
and r8, qword [rcx + 0x38]
shl r8, 4
add r8, qword [rcx + 0x20]
mov rax, qword [r8]
cmp qword [r8 + 8], rdx
jne 0x14004f40a
cmp rax, rdx
jne 0x14004f3ef
mov rax, qword [rcx + 0x10]
add rcx, 0x10
mov qword [r8], rax
mov qword [r8 + 8], rax
call fcn.140051290
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rdx + 8]
add rcx, 0x10
mov qword [r8 + 8], rax
call fcn.140051290
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret
cmp rax, rdx
jne 0x14004f415
mov rax, qword [rdx]
mov qword [r8], rax
add rcx, 0x10
call fcn.140051290
mov qword [rbx + 0x10], rax
add rsp, 0x20
pop rbx
ret