joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009faac
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 rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x18009fada
xor eax, eax
jmp 0x18009fbc0
cmp qword [rcx + 0x68], 0
je 0x18009faeb
call fcn.18009fbdc
jmp 0x18009fbc0
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18009fb02
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18009fb04
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18009fb36
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.1800ced20
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x18009fbba
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x18009fb6d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x18009fb96
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1800ae3c8
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x18009fbba
cmp rsi, rbx
ja 0x18009fb74
test rsi, rsi
je 0x18009fbba
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800ae3c8
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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

Function at 0x1800a8538
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1800a856f
call fcn.1800b55e8
mov dword [rax], 0x16
call fcn.1800ac588
xor eax, eax
jmp 0x1800a8601
mov rdx, r9
mov rcx, r8
call fcn.1800a84d4
mov rbx, rax
test rax, rax
je 0x1800a85fe
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x1800a8408]
mov eax, dword [rsp + 0x60]
mov rdx, rsi
mov r9, rbx
mov dword [rsp + 0x20], eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1800a85eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1800b5578
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1800a85d2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1800a85e1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1800b8370
jmp 0x1800a85fe
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1800a85fb
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800ac9c8
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.1800a2250
sub rsp, rax
mov rax, qword [0x180358080]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1800bacf8
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1800aca17
mov rax, rbp
jmp 0x1800acb23
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, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x35b490]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1800bd714
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0x35b490]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1800acb1f
mov dword [rsp + 0x30], edi
lea r9, [rsp + 0x30]
mov rcx, qword [rcx + r12*8 + 0x28]
lea rdx, [rsp + 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800acb1f
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1800bd714
test rax, rax
js 0x1800acb1f
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1800acb1f
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1800acb11
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x1800acb11
cmp byte [rcx], 0xd
jne 0x1800acaf7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1800acb06
cmp byte [rcx + 1], 0xa
jne 0x1800acb06
inc rcx
jmp 0x1800acb06
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x3584c0]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1800acad9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1800acb23
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1800a14e0
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 0x1800b8e2c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180369050]
mov ebx, r9d
mov rdi, r8
mov esi, edx
mov rbp, rcx
cmp rax, 0xffffffffffffffff
je 0x1800b8e91
test rax, rax
jne 0x1800b8e7f
lea r9, str.GetLocaleInfoEx
lea r8, [0x1802f0448]
lea rdx, str.GetLocaleInfoEx
lea ecx, [rax + 0xa]
call fcn.1800b8aa4
test rax, rax
je 0x1800b8e91
mov r9d, ebx
mov r8, rdi
mov edx, esi
mov rcx, rbp
call fcn.1800cece0
jmp 0x1800b8eab
xor edx, edx
mov rcx, rbp
call fcn.1800b911c
mov ecx, eax
mov r9d, ebx
mov r8, rdi
mov edx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800bd7c0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
xor edi, edi
mov rax, r15
lea rcx, [0x18035b490]
and eax, 0x3f
mov r12, r15
sar r12, 6
mov rsi, rdx
lea r9d, [rdi + 0xa]
mov r14, r15
lea rbp, [rax + rax*8]
mov rax, qword [rcx + r12*8]
mov r10, qword [rax + rbp*8 + 0x28]
test r8, r8
je 0x1800bd816
cmp word [rdx], r9w
jne 0x1800bd816
or byte [rax + rbp*8 + 0x38], 4
jmp 0x1800bd81b
and byte [rax + rbp*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rax, rsi
mov rbx, rsi
cmp rsi, r8
jae 0x1800bd99a
mov r11d, 0xd
lea r13d, [r11 - 0xb]
movzx edx, word [rax]
cmp dx, 0x1a
je 0x1800bd965
lea rcx, [rax + 2]
cmp dx, r11w
jne 0x1800bd863
cmp rcx, r8
jae 0x1800bd883
cmp word [rcx], r9w
jne 0x1800bd863
add rax, 4
mov edx, r9d
jmp 0x1800bd866
mov rax, rcx
mov word [rbx], dx
mov r9, r13
mov rcx, rbx
mov r9d, 0xa
lea rbx, [rbx + r13]
cmp rax, r8
jb 0x1800bd838
jmp 0x1800bd99a
lea r9, [rsp + 0x80]
mov word [rsp + 0x70], di
mov r8d, r13d
mov dword [rsp + 0x80], edi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdi
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800bd95e
cmp dword [rsp + 0x80], edi
je 0x1800bd95e
lea r9, [0x18035b490]
mov rax, qword [r9 + r12*8]
test byte [rax + rbp*8 + 0x38], 0x48
mov ebp, 0xa
je 0x1800bd938
movzx eax, word [rsp + 0x70]
cmp ax, bp
jne 0x1800bd8eb
mov word [rbx], bp
jmp 0x1800bd997
mov word [rsp + 0x78], ax
mov rdx, r14
mov rax, r14
sar rdx, 6
and eax, 0x3f
mov word [rbx], 0xd
lea r8, [rax + rax*8]
mov rax, qword [r9 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, r13
jl 0x1800bd906
mov rax, r14
sar rax, 6
and r14d, 0x3f
mov rax, qword [r9 + rax*8]
lea rcx, [r14 + r14*8]
mov byte [rax + rcx*8 + 0x3c], bpl
jmp 0x1800bd997
cmp word [rsp + 0x70], bp
jne 0x1800bd944
cmp rbx, rsi
je 0x1800bd8e3
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1800bd71c
cmp word [rsp + 0x70], bp
je 0x1800bd99a
mov word [rbx], 0xd
jmp 0x1800bd997
mov rcx, r15
lea r9, [0x18035b490]
and ecx, 0x3f
mov rax, r15
sar rax, 6
lea r8, [rcx + rcx*8]
mov rcx, qword [r9 + rax*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x1800bd994
or al, r13b
mov byte [rcx + r8*8 + 0x38], al
jmp 0x1800bd99a
mov word [rbx], dx
add rbx, r13
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800bf6ac
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1800bf6c2
mov al, 1
jmp 0x1800bf72e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1800bf6d3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1800bf72c
mov ecx, dword [rcx + 0x18]
nop
call fcn.1800c0d18
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800bf72c
and qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
mov r9d, 1
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1800bf72c
and qword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1800bf72c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1800bf72e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800c4418
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 0x1800c4448
xor eax, eax
jmp 0x1800c450b
mov rbp, rbx
cmp word [rax], si
je 0x1800c446d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1800c4454
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1800c4450
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.1800c2cfc
movsxd r14, eax
mov rcx, r14
test eax, eax
jne 0x1800c44ae
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1800c4441
call fcn.1800b9560
mov rdi, rax
test rax, rax
jne 0x1800c44c4
xor ecx, ecx
call fcn.1800b8370
jmp 0x1800c44a3
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.1800c2cfc
test eax, eax
jne 0x1800c44f5
mov rcx, rdi
call fcn.1800b8370
jmp 0x1800c44ff
xor ecx, ecx
call fcn.1800b8370
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 0x1800c8448
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov dword [rsp + 0x30], esi
mov rbx, rcx
test rcx, rcx
je 0x1800c84bb
cmp word [rcx], si
je 0x1800c84bb
lea rdx, [0x1802f5550]
call fcn.1800ca42c
test eax, eax
je 0x1800c84bb
lea rdx, [0x1802f5568]
mov rcx, rbx
call fcn.1800ca42c
test eax, eax
jne 0x1800c84b1
mov ecx, dword [rdi + 8]
lea r9d, [rsi + 2]
lea r8, [rsp + 0x30]
mov edx, 0x2000000b
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c84d8
mov eax, dword [rsp + 0x30]
jmp 0x1800c84ea
mov rcx, rbx
call fcn.1800b820c
jmp 0x1800c84ea
mov ecx, dword [rdi + 8]
lea r8, [rsp + 0x30]
mov r9d, 2
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x1800c84dc
xor eax, eax
jmp 0x1800c84ea
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1800c84ea
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1800c84fc
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov ebp, edx
mov dword [rax + 8], ebx
mov edi, ecx
call fcn.1800b8848
mov ecx, edi
lea r9d, [rbx + 2]
and ecx, 0x3ff
lea r8, [rsp + 0x30]
bts ecx, 0xa
mov edx, 0x20000001
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1800c859f
cmp edi, dword [rsp + 0x30]
je 0x1800c8598
test ebp, ebp
je 0x1800c8598
mov r9, qword [rsi + 0x98]
mov r8d, ebx
movzx edx, word [r9]
lea rcx, [r9 + 2]
lea eax, [rdx - 0x41]
cmp ax, 0x19
jbe 0x1800c8574
sub dx, 0x61
cmp dx, 0x19
ja 0x1800c8580
movzx edx, word [rcx]
inc r8d
add rcx, 2
jmp 0x1800c8561
or rax, 0xffffffffffffffff
inc rax
cmp word [r9 + rax*2], bx
jne 0x1800c8584
cmp r8d, eax
setne bl
mov eax, ebx
jmp 0x1800c85a1
mov eax, 1
jmp 0x1800c85a1
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x1800c91e0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1800bd71c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1800bd71c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1800c932d
cmp rax, 0xffffffffffffffff
je 0x1800c932d
xor edi, edi
test rbp, rbp
jle 0x1800c92db
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1800b82f0
mov rbx, rax
test rax, rax
jne 0x1800c9268
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1800c92d1
mov edx, 0x8000
mov ecx, r14d
call fcn.1800c9064
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1800bee68
cmp eax, 0xffffffff
je 0x1800c92b1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1800c9278
mov edx, r15d
mov ecx, r14d
call fcn.1800c9064
jmp 0x1800c92d1
cmp byte [rsi + 0x38], dil
je 0x1800c92c8
cmp dword [rsi + 0x34], 5
jne 0x1800c92c8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1800c92d1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1800b8370
jmp 0x1800c933f
jns 0x1800c933f
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1800bd71c
cmp rax, 0xffffffffffffffff
jne 0x1800c92f9
cmp byte [rsi + 0x30], dil
je 0x1800c933f
jmp 0x1800c9335
mov ecx, r14d
call fcn.1800c0d18
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1800c933f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1800c933f
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1800c933a
mov edi, dword [rsi + 0x2c]
jmp 0x1800c933f
mov edi, 0x16
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1800bd71c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1800caf40
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800caf68
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800caf68
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140006200
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x2b0
mov rbx, rcx
mov rdi, rdx
mov qword [rcx], 0
mov qword [rcx + 8], 0
mov qword [rcx + 0x10], 0
mov ecx, 0x410
call fcn.1400bbb00
mov rsi, rax
mov word [rsp + 0x2a0], 0x1c
mov word [rsp + 0x2a2], 0x4d
mov word [rsp + 0x2a4], 0x48
mov word [rsp + 0x2a6], 0x60
mov word [rsp + 0x2a8], 0x17
mov word [rsp + 0x2aa], 0x10
mov word [rsp + 0x2ac], 0x15
mov word [rsp + 0x2ae], 0x40
lea rcx, [rsp + 0x2a0]
mov edx, 0
movsxd rax, edx
imul rax, rax, 0xffffffff92492493
shr rax, 0x20
add eax, edx
sar eax, 5
mov r8d, edx
sar r8d, 0x1f
sub eax, r8d
imul eax, eax, 0x38
mov r8d, edx
sub r8d, eax
lea eax, [r8 + 0x39]
xor word [rcx], ax
add edx, 1
add rcx, 2
cmp edx, 8
jne 0x140006298
mov r9, rdi
lea r8, [rsp + 0x2a0]
mov edx, 0x208
mov rcx, rsi
call sub.msvcrt.dll_swprintf_s
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov rax, qword [0x1401c0f10]
call qword [rax + 0x180]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140006454
lea r12, [rsp + 0x40]
lea r13, [rsp + 0x7c]
mov rbp, qword [0x1401c0f10]
jmp 0x140006405
mov qword [rsp + 0x30], r12
mov rcx, r13
call sub.msvcrt.dll_wcslen
lea rdi, [rax + rax]
mov r14, rdi
sar r14, 1
mov qword [rsp + 0x28], r14
cmp rdi, 0xe
ja 0x140006397
mov rcx, qword [rsp + 0x30]
cmp r14, 1
jne 0x1400063bd
movzx eax, word [rsp + 0x7c]
mov word [rcx], ax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov word [rdx + rax*2], 0
mov rcx, qword [rbx + 8]
cmp rcx, qword [rbx + 0x10]
je 0x1400063ef
lea rax, [rcx + 0x10]
mov qword [rcx], rax
mov rdx, qword [rsp + 0x30]
mov r9d, 0
mov rax, qword [rsp + 0x38]
lea r8, [rdx + rax*2]
call fcn.1400aa9c0
jmp 0x1400063cf
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x30]
mov r8d, 0
call fcn.1400ac7b0
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
jmp 0x140006343
test r14, r14
je 0x140006356
mov r8, rdi
mov rdx, r13
call sub.msvcrt.dll_memcpy
jmp 0x140006356
add qword [rbx + 8], 0x20
mov rcx, qword [rsp + 0x30]
cmp rcx, r12
je 0x140006410
mov rax, qword [rsp + 0x40]
lea rdx, [rax + rax + 2]
call fcn.1400bbaf0
jmp 0x140006410
lea r8, [rsp + 0x30]
mov rdx, rcx
mov rcx, rbx
call fcn.1400a59b0
jmp 0x1400063d4
test eax, eax
je 0x140006420
test byte [rsp + 0x50], 0x10
je 0x140006321
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [rbp + 0x188]
jmp 0x140006401
mov rcx, rsi
mov rax, qword [0x1401c0f10]
call qword [rax + 0x190]
jmp 0x140006454
mov rax, rbx
add rsp, 0x2b0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x14000c6f0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov r8, rdx
mov rax, rdx
mov rdx, rcx
add r8, 0x10
movzx r9d, byte [rax]
mov byte [rcx], r9b
movzx r9d, byte [rax + 1]
mov byte [rcx + 1], r9b
movzx r9d, byte [rax + 2]
mov byte [rcx + 2], r9b
movzx r9d, byte [rax + 3]
mov byte [rcx + 3], r9b
add rax, 4
add rcx, 4
cmp rax, r8
jne 0x14000c700
mov r11d, 4
lea rbx, [0x1401bb680]
lea rsi, [0x1401bb560]
jmp 0x14000c770
xor r9b, byte [rax]
mov byte [rax + 0x10], r9b
xor r8b, byte [rax + 1]
mov byte [rax + 0x11], r8b
xor r10b, byte [rax + 2]
mov byte [rax + 0x12], r10b
xor cl, byte [rax + 3]
mov byte [rax + 0x13], cl
add r11d, 1
add rdx, 4
cmp r11d, 0x2c
je 0x14000c7c2
mov rax, rdx
movzx r9d, byte [rdx + 0xc]
movzx r8d, byte [rdx + 0xd]
movzx r10d, byte [rdx + 0xe]
movzx ecx, byte [rdx + 0xf]
test r11b, 3
jne 0x14000c745
movzx r8d, r8b
movzx edi, byte [rbx + r8]
movzx r10d, r10b
movzx r8d, byte [rbx + r10]
movzx ecx, cl
movzx r10d, byte [rbx + rcx]
movzx r9d, r9b
movzx ecx, byte [rbx + r9]
mov r9d, r11d
shr r9d, 2
mov r9d, r9d
xor dil, byte [rsi + r9]
mov r9d, edi
jmp 0x14000c745
pop rbx
pop rsi
pop rdi
ret

Function at 0x14000c7c6
Capabilities:
Encode data using xor

Disassembly:
shl rcx, 4
and ecx, 0xff0
add r8, rcx
lea rcx, [rdx + 4]
lea r10, [rdx + 0x14]
lea rax, [rcx - 4]
mov rdx, r8
movzx r9d, byte [rdx]
xor byte [rax], r9b
add rax, 1
add rdx, 1
cmp rax, rcx
jne 0x14000c7e2
add r8, 4
add rcx, 4
cmp rcx, r10
jne 0x14000c7db
ret

Function at 0x14000c804
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x1401bb680]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c817
add rdx, 1
cmp rdx, r9
jne 0x14000c813
ret

Function at 0x14000c845
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea rdx, [rcx + 0x10]
lea r9, [rcx + 0x14]
lea r8, [0x1401bb580]
lea rax, [rdx - 0x10]
movzx ecx, byte [rax]
movzx ecx, byte [r8 + rcx]
mov byte [rax], cl
add rax, 4
cmp rax, rdx
jne 0x14000c858
add rdx, 1
cmp rdx, r9
jne 0x14000c854
ret
Function at 0x14000cb2f
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov r13, rcx
mov qword [rsp + 0x88], rdx
mov r8, rdx
mov rdx, rcx
mov ecx, 0
call fcn.14000c7c6
mov dword [rsp + 0x2c], 1
lea rax, [r13 + 0x10]
mov qword [rsp + 0x20], rax
jmp 0x14000cb95
mov r8, qword [rsp + 0x88]
mov rdx, r13
mov esi, dword [rsp + 0x2c]
mov ecx, esi
call fcn.14000c7c6
mov eax, esi
add eax, 1
mov dword [rsp + 0x2c], eax
cmp eax, 0xa
je 0x14000cc89
mov rcx, r13
call fcn.14000c804
movzx eax, byte [r13 + 1]
movzx edx, byte [r13 + 5]
mov byte [r13 + 1], dl
movzx edx, byte [r13 + 9]
mov byte [r13 + 5], dl
movzx edx, byte [r13 + 0xd]
mov byte [r13 + 9], dl
mov byte [r13 + 0xd], al
movzx eax, byte [r13 + 2]
movzx edx, byte [r13 + 0xa]
mov byte [r13 + 2], dl
mov byte [r13 + 0xa], al
movzx eax, byte [r13 + 6]
movzx edx, byte [r13 + 0xe]
mov byte [r13 + 6], dl
mov byte [r13 + 0xe], al
movzx eax, byte [r13 + 3]
movzx edx, byte [r13 + 0xf]
mov byte [r13 + 3], dl
movzx edx, byte [r13 + 0xb]
mov byte [r13 + 0xf], dl
movzx edx, byte [r13 + 7]
mov byte [r13 + 0xb], dl
mov byte [r13 + 7], al
mov rbx, r13
movzx edi, byte [rbx]
movzx r12d, byte [rbx + 1]
mov ecx, edi
xor ecx, r12d
movzx ebp, byte [rbx + 2]
movzx esi, byte [rbx + 3]
mov r15d, ebp
xor r15d, esi
mov r14d, ecx
xor r14d, r15d
movzx ecx, cl
call fcn.14000c834
xor eax, edi
xor eax, r14d
mov byte [rbx], al
mov ecx, r12d
xor ecx, ebp
movzx ecx, cl
call fcn.14000c834
xor r12d, eax
xor r12d, r14d
mov byte [rbx + 1], r12b
movzx ecx, r15b
call fcn.14000c834
xor ebp, eax
xor ebp, r14d
mov byte [rbx + 2], bpl
xor edi, esi
movzx ecx, dil
call fcn.14000c834
xor esi, eax
xor r14d, esi
mov byte [rbx + 3], r14b
add rbx, 4
cmp rbx, qword [rsp + 0x20]
jne 0x14000cc0c
jmp 0x14000cb6d
mov rcx, r13
call fcn.14000c804
movzx eax, byte [r13 + 1]
movzx edx, byte [r13 + 5]
mov byte [r13 + 1], dl
movzx edx, byte [r13 + 9]
mov byte [r13 + 5], dl
movzx edx, byte [r13 + 0xd]
mov byte [r13 + 9], dl
mov byte [r13 + 0xd], al
movzx eax, byte [r13 + 2]
movzx edx, byte [r13 + 0xa]
mov byte [r13 + 2], dl
mov byte [r13 + 0xa], al
movzx eax, byte [r13 + 6]
movzx edx, byte [r13 + 0xe]
mov byte [r13 + 6], dl
mov byte [r13 + 0xe], al
movzx eax, byte [r13 + 3]
movzx edx, byte [r13 + 0xf]
mov byte [r13 + 3], dl
movzx edx, byte [r13 + 0xb]
mov byte [r13 + 0xf], dl
movzx edx, byte [r13 + 7]
mov byte [r13 + 0xb], dl
mov byte [r13 + 7], al
mov r8, qword [rsp + 0x88]
mov rdx, r13
mov ecx, 0xa
call fcn.14000c7c6
nop
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000ce24
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
movups xmmword [rsp + 0x20], xmm6
mov rsi, rcx
mov rbx, rdx
mov ebp, r8d
test rbp, rbp
je 0x14000ce81
mov edi, 0
movdqu xmm6, xmmword [rbx]
mov rdx, rsi
mov rcx, rbx
call fcn.14000c875
mov eax, 0
movzx edx, byte [rsi + rax + 0xb0]
xor byte [rbx + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x14000ce58
movups xmmword [rsi + 0xb0], xmm6
add rbx, 0x10
add rdi, 0x10
cmp rdi, rbp
jb 0x14000ce44
movups xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x140017850
Capabilities:
Write file on windows

Disassembly:
push r12
push rbx
sub rsp, 0x38
mov r12, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.1400239d0
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rsp + 0x28]
mov ecx, 2
call fcn.1400239d0
mov rdx, r12
mov rcx, rax
mov r8, rbx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop word [rax + rax]