joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cf820
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4cfa69
push rbp
mov rbp, rsp
sub rsp, 0xa8
nop word [rax + rax]
test rax, rax
je 0x4cfa54
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x4cf862
xor ebx, ebx
xor ecx, ecx
nop
jmp 0x4cf87c
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, rdx
call sym.net.IP.String
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4cf991
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop dword [rax + rax]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0053e3f8]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call sym.runtime.concatstring3
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00643ba8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4cf95b
xor eax, eax
lea rbx, [0x005128bc]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x005128d7]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call sym.runtime.concatstring4
jmp 0x4cf988
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0053e430]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
mov rax, qword [rax + 0x18]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00643ba8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4cfa1e
xor eax, eax
lea rbx, [0x005128bc]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x005128d7]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call sym.runtime.concatstring4
jmp 0x4cfa4b
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0053e430]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
lea rax, [0x00512bb2]
mov ebx, 5
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.net._TCPAddr_.String
Function at 0x4d09e0
Capabilities:
Access peb ldr_data

Disassembly:
lea r12, [rsp - 0x30]
cmp r12, qword [r14 + 0x10]
jbe 0x4d0c29
push rbp
mov rbp, rsp
sub rsp, 0xa8
nop word [rax + rax]
test rax, rax
je 0x4d0c14
mov qword [rsp + 0xb8], rax
mov rbx, qword [rax + 8]
test rbx, rbx
jne 0x4d0a22
xor ebx, ebx
xor ecx, ecx
nop
jmp 0x4d0a3c
mov rdx, qword [rax]
mov rcx, qword [rax + 0x10]
mov rax, rdx
call sym.net.IP.String
mov rcx, rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x48], rbx
cmp qword [rax + 0x28], 0
je 0x4d0b51
mov rcx, qword [rax + 0x18]
mov rax, rcx
nop dword [rax + rax]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x58], rbx
mov rcx, qword [rsp + 0xb8]
mov r8, qword [rcx + 0x20]
mov r9, qword [rcx + 0x28]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0053e3f8]
mov esi, 1
lea rax, [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
call sym.runtime.concatstring3
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00643ba8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x4d0b1b
xor eax, eax
lea rbx, [0x005128bc]
mov ecx, 1
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x60]
lea r8, [0x005128d7]
mov r9d, 2
mov r10, qword [rsp + 0x98]
mov r11, qword [rsp + 0x58]
call sym.runtime.concatstring4
jmp 0x4d0b48
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
lea rdi, [0x0053e430]
mov esi, 1
mov r8, qword [rsp + 0x98]
mov r9, qword [rsp + 0x58]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
mov rax, qword [rax + 0x18]
call sym.internal_itoa.Itoa
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x50], rbx
mov rcx, qword [rsp + 0x88]
mov qword [rsp], rcx
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 8], rdx
mov byte [rsp + 0x10], 0x3a
call sym.internal_bytealg.IndexByteString.abi0
xorps xmm15, xmm15
mov r14, qword [0x00643ba8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
nop
jl 0x4d0bde
xor eax, eax
lea rbx, [0x005128bc]
mov ecx, 1
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x48]
lea r8, [0x005128d7]
mov r9d, 2
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x50]
call sym.runtime.concatstring4
jmp 0x4d0c0b
xor eax, eax
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
lea rdi, [0x0053e430]
mov esi, 1
mov r8, qword [rsp + 0x90]
mov r9, qword [rsp + 0x50]
call sym.runtime.concatstring3
add rsp, 0xa8
pop rbp
ret
lea rax, [0x00512bb2]
mov ebx, 5
add rsp, 0xa8
pop rbp
ret
mov qword [rsp + 8], rax
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
jmp sym.net._UDPAddr_.String
Function at 0x2fc4d8220
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call fcn.2fc4d9300
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop

Function at 0x2fc4d8c22
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4fb108]
test eax, eax
je 0x2fc4d8cba
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4fb110]
mov qword [rbp - 8], rax
jmp 0x2fc4d8c9e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d8c92
cmp qword [rbp - 0x10], 0
je 0x2fc4d8c92
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d8c58
lea rax, [0x2fc4fb0e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d8cbb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d8dc0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d8de8
mov eax, 0
jmp 0x2fc4d8e36
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d8e11
mov eax, 0
jmp 0x2fc4d8e36
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d8e31
mov eax, 0
jmp 0x2fc4d8e36
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d8e3c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d8eba
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d8eb1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d8eb1
mov rax, qword [rbp - 8]
jmp 0x2fc4d8ecf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d8e84
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14000a1b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rdx
mov rdi, rcx
xor r13d, r13d
mov qword [rbp + 7], r13
mov eax, dword [rcx + 0x20]
cmp eax, 1
jne 0x14000a1f6
mov esi, 0x20219
jmp 0x14000a206
mov esi, 0x20019
mov ecx, 0x20119
cmp eax, 2
cmove esi, ecx
mov qword [rbp - 0x39], r13
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], r13
mov r15, qword [rdi + 0x10]
mov r12, rdi
cmp qword [rdi + 0x18], 8
jb 0x14000a223
mov r12, qword [rdi]
cmp r15, 8
jae 0x14000a240
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], 7
lea rdx, [rbp - 0x39]
jmp 0x14000a28d
mov rbx, r15
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x39]
call fcn.140004280
mov qword [rbp - 0x39], rax
lea r8, [r15*2 + 2]
mov rdx, r12
mov rcx, rax
call fcn.14005d310
mov qword [rbp - 0x21], rbx
lea rdx, [rbp - 0x39]
cmp rbx, 8
cmovae rdx, qword [rbp - 0x39]
mov qword [rbp - 0x29], r15
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rdx, qword [rbp - 0x21]
cmp rdx, 8
jb 0x14000a2ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a2e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a3a7
call fcn.1400371a0
test ebx, ebx
jne 0x14000a3ad
mov dword [rbp + 0xf], 4
mov r8, r14
cmp qword [r14 + 0x18], 8
jb 0x14000a308
mov r8, qword [r14]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x13]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
xor edx, edx
lea r9d, [rdx + 0x18]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000a36e
mov ebx, dword [rbp + 0x13]
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14000a345
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140037180
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], r14
mov r9, rdi
mov r8d, eax
lea rdx, str.Failed_to_query_registry_key
lea rcx, [rbp - 0x19]
call fcn.140005e10
nop
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140002100
lea rdx, [0x1400b1a88]
lea rcx, [rbp - 0x39]
call fcn.14005d154
nop
call fcn.1400619fc
int3
mov r9, rdi
mov r8d, ebx
lea rcx, [rbp - 0x19]
call fcn.140005ad0
nop
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140002100
lea rdx, [0x1400b1a88]
lea rcx, [rbp - 0x39]
call fcn.14005d154
int3

Function at 0x140012040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140012084
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [r9 + rdx]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140012070
ret
Function at 0x14001e440
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x88
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rbp - 9], rax
mov rdi, r9
mov r14, rdx
mov rsi, rcx
mov r15, qword [rbp + 0x6f]
mov r12, qword [rbp + 0x77]
mov r13, qword [rbp + 0x7f]
mov rbx, qword [r8]
test rbx, rbx
je 0x14001e530
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x14001e530
mov eax, dword [rbx]
cmp dword [rcx], eax
jl 0x14001e530
mov r9, rdx
mov r8, rcx
lea rdx, [0x1400a2660]
lea rcx, [rbp - 0x49]
call fcn.14001cfc0
xor eax, eax
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x19], 0xffffffffffffffff
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x51]
mov r8d, dword [rbp - 0x39]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14001e530
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e52b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e65c
call fcn.1400371a0
mov rbx, qword [rdi]
test rbx, rbx
je 0x14001e620
cmp qword [rbx + 0x30], 0xffffffffffffffff
je 0x14001e620
mov eax, dword [rbx + 0x20]
cmp dword [rsi], eax
jl 0x14001e620
mov r9, r14
mov r8, rsi
lea rdx, [0x1400a2660]
lea rcx, [rbp - 0x49]
call fcn.14001cfc0
nop
xor eax, eax
mov dword [rbp - 0x51], eax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], rax
mov qword [rbp - 0x19], 0xffffffffffffffff
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 0x10
cmovae rdx, qword [rbp - 0x49]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x51]
mov r8d, dword [rbp - 0x39]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rbp - 0x51]
add qword [rbx + 0x38], rax
mov rax, qword [rbx + 0x38]
cmp rax, qword [rbx + 0x28]
jbe 0x14001e5e9
lea rcx, [rbx + 0x30]
call fcn.14001b4c0
mov qword [rbx + 0x38], rax
cmp rax, qword [rbx + 0x28]
jbe 0x14001e5e9
mov r8d, 3
lea rdx, [rbx + 0x30]
mov rcx, rbx
call fcn.14001bd90
mov qword [rbx + 0x38], 0
mov rdx, qword [rbp - 0x31]
cmp rdx, 0x10
jb 0x14001e620
inc rdx
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e61b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e656
call fcn.1400371a0
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, r15
mov rdx, r14
mov rcx, rsi
call fcn.14001f780
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140037180
add rsp, 0x88
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400619fc
int3
call fcn.1400619fc
int3
Function at 0x14001f780
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1400b3010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, r9
mov r15, rdx
mov rsi, rcx
mov r12, qword [rsp + 0xd0]
mov rdi, qword [r8]
xor r13d, r13d
test rdi, rdi
je 0x14001f89e
mov eax, dword [rdi + 0x20]
cmp dword [rcx], eax
jl 0x14001f89e
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call fcn.14003c480
test eax, eax
jne 0x14001f9a0
mov r9, r15
mov r8, rsi
lea rdx, [0x1400a2660]
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
nop
mov rdx, qword [rdi + 0x50]
cmp rdx, qword [rdi + 0x58]
je 0x14001f83d
mov qword [rdx], r13
mov qword [rdx + 0x10], r13
mov qword [rdx + 0x18], r13
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x40], r13
mov eax, 0xf
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], r13b
add qword [rdi + 0x50], 0x20
jmp 0x14001f850
lea r8, [rsp + 0x30]
lea rcx, [rdi + 0x48]
call fcn.14001e180
mov rax, qword [rsp + 0x48]
cmp rax, 0x10
jb 0x14001f88a
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f884
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f9a8
call fcn.1400371a0
nop
mov rcx, rbx
call fcn.14003c488
lea rcx, [rdi + 0xb0]
call fcn.14003bf8c
mov rbx, qword [r14]
test rbx, rbx
je 0x14001f950
cmp qword [rbx + 8], 0xffffffffffffffff
je 0x14001f950
mov eax, dword [rbx]
cmp dword [rsi], eax
jl 0x14001f950
mov r9, r15
mov r8, rsi
lea rdx, str._H:_M:_S
lea rcx, [rsp + 0x30]
call fcn.14001cfc0
nop
lea rdx, [rsp + 0x30]
cmp byte [rbx + 0x10], 0
je 0x14001f8ec
mov rcx, rbx
call fcn.14001d280
jmp 0x14001f917
mov dword [rsp + 0x50], r13d
cmp qword [rsp + 0x48], 0x10
cmovae rdx, qword [rsp + 0x30]
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x40]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14001f950
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001f94b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001f99a
call fcn.1400371a0
mov rax, qword [r12]
test rax, rax
je 0x14001f97c
mov rcx, qword [rax + 0x38]
test rcx, rcx
je 0x14001f97c
mov eax, dword [rax + 0x40]
cmp dword [rsi], eax
jl 0x14001f97c
mov rax, qword [rcx]
mov r8, r15
mov rdx, rsi
mov rax, qword [rax + 0x10]
call qword [case.0x140015ee6.0]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140037180
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400619fc
int3
mov ecx, eax
call fcn.14003c138
nop
call fcn.1400619fc
nop
int3
Function at 0x1400377b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x460
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3cc], 0x7c09
mov dword [rbp + 0x3c8], 0x181ada
mov dword [rbp + 0x3c4], 0x5ab6
mov dword [rbp + 0x3c0], 0x37bdfe
mov dword [rbp + 0x3bc], 0xd1d2b
mov dword [rbp + 0x3b8], 0x3bad5fa
mov dword [rbp + 0x3b4], 0
add byte [rax], al
add byte [rax], al
add byte [rax], al

Function at 0x140037800
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
sub rsp, 0x460
lea rbp, [rsp + 0x80]
mov dword [rbp + 0x3cc], 0x7c09
mov dword [rbp + 0x3c8], 0x181ada
mov dword [rbp + 0x3c4], 0x5ab6
mov dword [rbp + 0x3c0], 0x37bdfe
mov dword [rbp + 0x3bc], 0xd1d2b
mov dword [rbp + 0x3b8], 0x3bad5fa
mov dword [rbp + 0x3b4], 0
add byte [rax], al
add byte [rax], al
add byte [rax], al

Function at 0x140038ed0
Capabilities:
Access peb ldr_data

Disassembly:
xor rax, rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
mov rax, qword [rax + 0x20]
ret

Function at 0x140039950
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14003997d
xor eax, eax
jmp 0x140039a77
cmp qword [rcx + 0x68], 0
je 0x140039991
lfence
call fcn.1400070a0
jmp 0x140039a77
mov rax, qword [rcx + 0x38]
mov rbp, rdi
mov rdx, qword [rax]
test rdx, rdx
je 0x1400399a8
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400399aa
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400399dc
cmp rax, rdi
mov rbx, rdi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14005d310
mov rax, qword [rsi + 0x50]
add r14, rbx
sub rbp, rbx
sub dword [rax], ebx
mov rcx, qword [rsi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140039a6e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140039a17
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rbx, rbp
mov r15d, 0xfff
jmp 0x140039a47
mov r9, qword [rsi + 0x80]
mov r8, r15
mov edx, 1
mov rcx, r14
call fcn.1400730f4
sub rbp, rax
add r14, rax
mov rbx, rbp
cmp rax, r15
jne 0x140039a6e
cmp rbp, r15
ja 0x140039a22
test rbx, rbx
je 0x140039a6e
mov r9, qword [rsi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.1400730f4
mov rbp, rbx
sub rbp, rax
sub rdi, rbp
mov rax, rdi
lfence
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x140052e30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003d916
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x14003d8f9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14003d8e4

Function at 0x14006f98c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006f77c
Function at 0x14007eb64
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14007eb94
xor eax, eax
jmp 0x14007ec57
mov rbp, rbx
cmp word [rax], si
je 0x14007ebb9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14007eba0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14007eb9c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14007a30c
movsxd r14, eax
test eax, eax
jne 0x14007ebf7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14007eb8d
mov rcx, r14
call fcn.140077d7c
mov rdi, rax
test rax, rax
jne 0x14007ec10
xor ecx, ecx
call fcn.1400775e0
jmp 0x14007ebec
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14007a30c
test eax, eax
jne 0x14007ec41
mov rcx, rdi
call fcn.1400775e0
jmp 0x14007ec4b
xor ecx, ecx
call fcn.1400775e0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14007ec74
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x14007ecfb
mov rsi, rbx
cmp word [rax], bp
je 0x14007ecba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14007eca4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14007eca0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140077d7c
mov rdi, rax
test rax, rax
je 0x14007ece8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005d310
mov rbp, rdi
xor ecx, ecx
call fcn.1400775e0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret