joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f224
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400090f0
sub rsp, rax
mov rax, qword [0x140043030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001b22c
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14000f273
mov rax, rbp
jmp 0x14000f37b
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x77c880]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14001b4c4
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x77c880]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x14000f377
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000f377
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14001b4c4
test rax, rax
js 0x14000f377
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x14000f377
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x14000f369
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x14000f369
cmp byte [rcx], 0xd
jne 0x14000f34f
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14000f35e
cmp byte [rcx + 1], 0xa
jne 0x14000f35e
inc rcx
jmp 0x14000f35e
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x433d0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14000f331
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14000f37b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140008c30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140019074
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018e64
Function at 0x14001bc48
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14077c880]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x14001bca6
cmp word [rdx], r12w
jne 0x14001bca6
or byte [rax + r8*8 + 0x38], cl
jmp 0x14001bcac
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x14001be07
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x14001bde2
lea r9, [rcx + 2]
cmp ax, r13w
je 0x14001bce5
mov rcx, r9
jmp 0x14001bd08
cmp r9, rdx
jae 0x14001bd1f
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x14001bcc9
jmp 0x14001be07
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001bddc
cmp dword [rsp + 0x80], edi
je 0x14001bddc
mov rdx, r14
lea r11, [0x14077c880]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x14001bdb5
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x14001bd88
mov word [rbx], r12w
jmp 0x14001be03
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x14001bd91
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x14001be03
cmp word [rsp + 0x70], r12w
jne 0x14001bdc2
cmp rbx, rsi
je 0x14001bd82
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001b4cc
cmp word [rsp + 0x70], r12w
je 0x14001be07
mov word [rbx], r13w
jmp 0x14001be03
lea r11, [0x14077c880]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x14001bdff
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x14001be07
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001eff4
Capabilities:
Read file on windows

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, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14001ed16
call fcn.140013188
mov dword [rax], 0x16
call fcn.140011f78
jmp 0x14001ee66
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001ee66
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14001ee66
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14001ed45
lock or dword [rcx + 0x14], 0x10
jmp 0x14001ee66
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001ed59
call fcn.140020c2c
mov ebp, dword [rbx + 0x10]
cmp ebp, 1
jne 0x14001ed69
mov rax, qword [rbx]
mov r14b, byte [rax]
jmp 0x14001ed6c
xor r14b, r14b
mov rsi, qword [rbx + 8]
mov rcx, rbx
mov edi, dword [rbx + 0x20]
mov qword [rbx], rsi
call fcn.14001b22c
mov r8d, edi
mov rdx, rsi
mov ecx, eax
call fcn.14001c0f4
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14001ee54
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14001edff
mov rcx, rbx
call fcn.14001b22c
cmp eax, 0xffffffff
je 0x14001edea
mov rcx, rbx
call fcn.14001b22c
cmp eax, 0xfffffffe
je 0x14001edea
mov rcx, rbx
call fcn.14001b22c
movsxd rdi, eax
lea rsi, [0x14077c880]
mov rcx, rbx
sar rdi, 6
call fcn.14001b22c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [rsi + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14001edf1
lea rdx, [0x1400434d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001edff
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14001ee23
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14001ee23
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14001ee23
mov dword [rbx + 0x20], 0x1000
mov rdx, qword [rbx]
cmp ebp, 1
jne 0x14001ee41
movzx ecx, byte [rdx]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, r14b
or cx, ax
inc rdx
jmp 0x14001ee4c
movzx ecx, word [rdx]
add dword [rbx + 0x10], 0xfffffffe
add rdx, 2
mov qword [rbx], rdx
movzx eax, cx
jmp 0x14001ee6b
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14001ece0
Function at 0x1400247c8
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 0x1400247f8
xor eax, eax
jmp 0x1400248bb
mov rbp, rbx
cmp word [rax], si
je 0x14002481d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140024804
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140024800
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.140022df4
movsxd r14, eax
test eax, eax
jne 0x14002485b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400247f1
mov rcx, r14
call fcn.14001d88c
mov rdi, rax
test rax, rax
jne 0x140024874
xor ecx, ecx
call fcn.14001c948
jmp 0x140024850
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.140022df4
test eax, eax
jne 0x1400248a5
mov rcx, rdi
call fcn.14001c948
jmp 0x1400248af
xor ecx, ecx
call fcn.14001c948
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 0x14002ad0c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000f86c
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002ad96
cmp byte [rbp - 0x21], r15b
je 0x14002ad91
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002adcc
call fcn.14001cc4c
test eax, eax
jne 0x14002adb8
cmp byte [rbp - 0x21], r15b
je 0x14002adb0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002adcc
cmp byte [rbp - 0x21], r15b
je 0x14002adc9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400180c0
test eax, eax
jne 0x14002ae6c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000f86c
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002ae0b
cmp byte [rbp - 0x21], r15b
je 0x14002ae40
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002ae40
call fcn.14001cc4c
test eax, eax
jne 0x14002ae2c
cmp byte [rbp - 0x21], r15b
je 0x14002ae25
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002ae40
cmp byte [rbp - 0x21], r15b
je 0x14002ae3d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400180c0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002ae6c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002ae6f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002ae7d
mov rcx, rdi
call fcn.14001c948
cmp byte [rbp + 0x3f], r15b
je 0x14002ae8c
mov rcx, qword [rbp + 0x27]
call fcn.14001c948
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140012584
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x1400125de
mov r11b, 0x23
lea rbx, [0x140104350]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x1400125c8
cmp rdx, 2
jb 0x1400125c8
cmp byte [r10], r11b
jne 0x1400125c8
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x1400125a6
jmp 0x14001261f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x14001261f
mov r11b, 0x23
lea rbx, [0x140104350]
cmp dl, r11b
jne 0x140012603
cmp byte [r10], r11b
jne 0x140012603
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x1400125f1
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x140012754
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, r8
test r8, r8
je 0x140012774
and qword [r8], 0
lea rdx, [0x140103dc8]
call fcn.140012630
mov rbx, rax
test rax, rax
je 0x140012865
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x14001285c
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001285c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14001285c
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14001285c
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x14001285c
mov rax, qword [0x14015be20]
test rax, rax
je 0x1400127f9
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14001285c
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x140012849
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14015be20]
test rax, rax
je 0x14001283e
dec dword [rax + 0x3b0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140012865
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140012857
mov qword [rsi], rbp
mov rax, rdi
jmp 0x140012867
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
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 0x14001447c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x28
movsxd rdx, dword [rcx + 0x108]
mov r9d, 4
mov rax, qword [rcx + 0x110]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140104350]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x1400144a5
not r8d
mov ecx, r8d
call fcn.1400145dc
mov eax, r8d
add rsp, 0x28
ret

Function at 0x14001e418
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x38
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x14015be20]
mov r10d, 4
mov dword [rsp + 0x20], ecx
mov r9, qword [rax + 0x1b90]
movsxd rcx, dword [r9 + 0x108]
mov rax, qword [r9 + 0x110]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x140104350]
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14001e45e
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [r9 + 0x108]
mov dword [rsp + 0x20], r8d
call fcn.14002c4e8
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400feed0
add rsp, 0x38
ret

Function at 0x1400230ec
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, qword [0x14015be20]
cmp byte [rbx + 0x3000], 0
je 0x1400231ad
cmp qword [rbx + 0x3008], 0
lea rbp, [rax + 0x10]
lea rdi, [rbx + 0x3010]
je 0x14002319f
mov r9d, dword [rdi + 4]
test r9d, r9d
jns 0x140023157
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14002c828
mov rcx, qword [rsp + 0x40]
and dword [rdi], 0
mov rdx, rcx
mov rcx, rdi
mov r8, rbp
call fcn.140012c70
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x3008]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x14015be18]
movsxd r8, eax
mov rax, qword [rbx + 0x3018]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400231ad
mov rdx, rcx
mov r8, rbp
mov rcx, rdi
call fcn.140012c70
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret

Function at 0x140023808
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x14015be20]
mov rbx, rcx
and dword [rax + 0x2fbc], 0
test rcx, rcx
je 0x140023871
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14002387c
lea rdx, [0x140103dcc]
mov rcx, rbx
mov rdi, rax
call fcn.140012630
mov rbx, rax
test rax, rax
je 0x140023871
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400447f8
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [rcx]
lea rax, [rcx + 4]
xor r8d, r8d
mov r9, rcx
test edx, edx
je 0x14004481b
lea ecx, [r8 - 0x1b]
xor byte [r8 + rax], cl
inc r8d
mov edx, dword [r9]
cmp r8d, edx
jb 0x140044808
mov ecx, edx
mov byte [rcx + rax], 0
ret
Function at 0x14005e5c4
Capabilities:
Encode data using xor
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
movdqa xmm0, xmmword [0x1401531d0]
xor edx, edx
movdqa xmm1, xmmword [0x140152710]
mov eax, 0x35
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x1c], 0x37376274
mov dword [rbp - 0x18], 0x1a7f
movdqu xmmword [rbp - 0x4c], xmm0
movdqa xmm0, xmmword [0x140152ee0]
movdqu xmmword [rbp - 0x2c], xmm0
movdqu xmmword [rbp - 0x3c], xmm1
test eax, eax
je 0x14005e620
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x4c], al
inc edx
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x14005e610
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140152ef0]
xor edx, edx
movdqa xmm1, xmmword [0x140152f30]
mov eax, 0x3e
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [str.bNVufoVvmsXtx]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0xc8808397
mov dword [rbp - 0x48], 0x89878f8d
mov dword [rbp - 0x44], 0xb8cf8b99
movdqa xmmword [rbp - 0x30], xmm1
mov dword [rbp - 0x10], 0x23440e
test eax, eax
je 0x14005e690
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x4c], al
inc edx
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x14005e680
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movdqa xmm0, xmmword [0x140152ef0]
xor edx, edx
movdqa xmm1, xmmword [0x140152f30]
mov eax, 0x3a
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [str.bNQQFsenpy_2x]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x4c], 0xc8808397
mov dword [rbp - 0x48], 0x89878f8d
mov dword [rbp - 0x44], 0xb8cf8b99
movdqa xmmword [rbp - 0x30], xmm1
test eax, eax
je 0x14005e6f9
lea eax, [rdx - 0x1b]
xor byte [rbp + rdx - 0x4c], al
inc edx
mov eax, dword [rbp - 0x50]
cmp edx, eax
jb 0x14005e6e9
lea rcx, [rbp - 0x4c]
mov byte [rbp + rax - 0x4c], 0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add rsp, 0x70
pop rbp
ret

Function at 0x14005e710
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14015b040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov qword [rsp + 0x28], rcx
lea rdx, [rsp + 0x28]
mov rbx, rcx
mov dword [rsp + 0x28], 0x101
lea rcx, [rsp + 0x30]
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
or r8, 0xffffffffffffffff
mov qword [rbx + 0x18], rdi
inc r8
cmp word [rax + r8*2], di
jne 0x14005e768
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400f87a4
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400feed0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x1400f6eb4
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [rcx]
lea rax, [rcx + 4]
xor r11d, r11d
mov r9, rcx
mov r8d, r11d
test edx, edx
je 0x1400f6ee1
mov edx, r8d
mov ecx, 0xe5
add ecx, r8d
inc r8d
xor word [rax + rdx*2], cx
mov edx, dword [r9]
cmp r8d, edx
jb 0x1400f6ec7
mov ecx, edx
mov word [rax + rcx*2], r11w
ret
Function at 0x1400f840c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov r14, rdx
mov rsi, rcx
mov rdx, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x1400f8431
mov rdx, qword [r8]
movabs rbp, 0xcbf29ce484222325
xor ecx, ecx
cmp qword [r8 + 0x10], rcx
jbe 0x1400f8461
movzx eax, byte [rdx + rcx]
xor rbp, rax
movabs r8, 0x100000001b3
imul rbp, r8
inc rcx
cmp rcx, qword [rbx + 0x10]
jb 0x1400f8443
mov r9, rbp
mov r8, rbx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400f8364
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1400f848b
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1400f8648
movabs rax, 0x333333333333333
cmp qword [rsi + 0x10], rax
jne 0x1400f84a9
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea r12, [rsi + 8]
mov qword [rsp + 0x30], r12
and qword [rsp + 0x38], 0
mov ecx, 0x50
call fcn.1400ff51c
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.1400f7a20
xorps xmm0, xmm0
movups xmmword [rdi + 0x30], xmm0
and qword [rdi + 0x40], 0
and qword [rdi + 0x48], 0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdi + 0x30], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdi + 0x40], xmm1
and qword [rbx + 0x30], 0
mov qword [rbx + 0x38], 0xf
mov byte [rbx + 0x20], 0
mov rcx, qword [rsi + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x1400f851c
cvtsi2ss xmm0, rcx
jmp 0x1400f8531
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [rsi + 0x38]
xorps xmm2, xmm2
test rbx, rbx
js 0x1400f8544
cvtsi2ss xmm2, rbx
jmp 0x1400f855c
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, dword [rsi]
jbe 0x1400f85f0
divss xmm0, dword [rsi]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x140152460]
comiss xmm0, xmm1
jb 0x1400f859a
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400f859a
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x1400f85c8
cmp rbx, 0x200
jae 0x1400f85c5
shl rbx, 3
cmp rbx, rcx
jae 0x1400f85c8
mov rbx, rcx
mov rdx, rbx
mov rcx, rsi
call fcn.1400f8c34
mov r9, rbp
lea r8, [rdi + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1400f8364
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rsi + 0x10]
mov qword [rdi], rdx
mov qword [rdi + 8], r8
mov qword [r8], rdi
mov qword [rdx + 8], rdi
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x30]
and rax, rbp
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x1400f8629
mov qword [rcx + rax*8], rdi
jmp 0x1400f863b
cmp r9, rdx
jne 0x1400f8634
mov qword [rcx + rax*8], rdi
jmp 0x1400f8640
cmp qword [rcx + rax*8 + 8], r8
jne 0x1400f8640
mov qword [rcx + rax*8 + 8], rdi
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret