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

Disassembly:
cmp byte [rcx + 0x36], 0
mov rdx, rcx
je 0x1800992b5
movdqa xmm3, xmmword [0x18012fde0]
lea r8, [rcx + 8]
movdqa xmm4, xmmword [0x18012fe30]
xor eax, eax
mov r9d, 0x206f
nop dword [rax]
movd xmm1, dword [r8 - 8]
lea rcx, [r9 - 5]
xorps xmm0, xmm0
lea r8, [r8 + 0x10]
punpcklwd xmm1, xmm0
movq xmm2, rax
punpckldq xmm1, xmm0
add rax, 8
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 3]
movd dword [r8 - 0x18], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x14]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
lea rcx, [r9 - 1]
movd dword [r8 - 0x14], xmm1
xorps xmm0, xmm0
movd xmm1, dword [r8 - 0x10]
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
movq xmm2, rcx
pshuflw xmm1, xmm0, 0xd8
movq xmm0, r9
movd dword [r8 - 0x10], xmm1
add r9, 8
movd xmm1, dword [r8 - 0xc]
punpcklqdq xmm2, xmm0
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [r8 - 0xc], xmm1
cmp r9, 0x2087
jb 0x1800991a0
cmp rax, 0x1a
jae 0x1800992b1
mov r8d, 0x2068
nop word [rax + rax]
lea ecx, [r8 + rax]
xor word [rdx + rax*2], cx
inc rax
cmp rax, 0x1a
jb 0x1800992a0
mov byte [rdx + 0x36], 0
mov rax, rdx
ret
Function at 0x18009a500
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xd0
mov rax, qword [0x18014b040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, rcx
movdqa xmm0, xmmword [0x180130600]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm1, xmmword [str.CXMK_IHK]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmm0, xmmword [0x180130ca0]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x180130df0]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmm0, xmmword [0x180130be0]
movdqa xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x180130e20]
movdqa xmmword [r11 - 0x58], xmm1
mov dword [r11 - 0x48], 0x8ce9f8f7
mov dword [r11 - 0x44], 0x888bec8e
mov dword [r11 - 0x40], 0xf29796ef
mov dword [r11 - 0x3c], 0x1009295
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx + 0x67]
xor byte [rsp + rcx + 0x30], al
lea eax, [rcx + 0x68]
xor byte [rsp + rcx + 0x31], al
lea eax, [rcx + 0x69]
xor byte [rsp + rcx + 0x32], al
lea eax, [rcx + 0x6a]
xor byte [rsp + rcx + 0x33], al
lea eax, [rcx + 0x6b]
xor byte [rsp + rcx + 0x34], al
lea eax, [rcx + 0x6c]
xor byte [rsp + rcx + 0x35], al
lea eax, [rcx + 0x6d]
xor byte [rsp + rcx + 0x36], al
lea eax, [rcx + 0x6e]
xor byte [rsp + rcx + 0x37], al
lea eax, [rcx + 0x6f]
xor byte [rsp + rcx + 0x38], al
lea eax, [rcx + 0x70]
xor byte [rsp + rcx + 0x39], al
lea eax, [rcx + 0x71]
xor byte [rsp + rcx + 0x3a], al
add rcx, 0xb
cmp rcx, 0x6e
jb 0x18009a5a0
mov byte [rsp + 0x9f], 0
mov word [rsp + 0xb9], 0x6c
movdqa xmm0, xmmword [0x180130a70]
movdqu xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xb0], 0x6f632d67
mov dword [rsp + 0xb4], 0x642e6572
mov byte [rsp + 0xb8], 0x6c
mov byte [rsp + 0xbb], 0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xa0]
call fcn.1800676e0
cmp qword [rbx + 0x10], 0
je 0x18009a69d
lea rcx, section..text
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], rax
xor eax, eax
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.18009c2a0
nop
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18009cbe0
add rsp, 0xd0
pop rbx
ret

Function at 0x18009a880
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x90
mov rax, qword [0x18014b040]
xor rax, rsp
mov qword [rsp + 0x80], rax
movdqa xmm0, xmmword [0x1801300c0]
lea rax, section..text
movdqu xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rbx, rcx
movdqa xmm0, xmmword [0x180130910]
lea rcx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x60], 0x30
mov byte [rsp + 0x62], 0
mov word [rsp + 0x49], 0x6c
mov dword [rsp + 0x40], 0x6f632d73
mov dword [rsp + 0x44], 0x642e6572
mov byte [rsp + 0x48], 0x6c
mov byte [rsp + 0x4b], 0
mov qword [rsp + 0x68], rax
call fcn.1800676e0
mov qword [rsp + 0x70], rax
xor r9d, r9d
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov qword [rsp + 0x78], rax
mov rcx, rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call fcn.18009c2a0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18009cbe0
add rsp, 0x90
pop rbx
ret
Function at 0x18009a950
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x18014b040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movzx ebx, dl
mov rdi, rcx
mov qword [rbp + 0x2f], rcx
xor esi, esi
mov dword [0x18019e614], esi
lea rcx, [0x18014b170]
cmp rcx, rdi
je 0x18009a9ac
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18009a9a3
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.180018090
mov byte [0x18019e59d], bl
mov dword [0x18019e610], esi
test bl, bl
je 0x18009a9c3
mov byte [0x18019e59c], 1
mov word [rbp - 0x20], 0x6c
movdqa xmm0, xmmword [0x180130910]
movdqu xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x29], 0x6f632d73
mov dword [rbp - 0x25], 0x642e6572
mov byte [rbp - 0x21], 0x6c
mov byte [rbp - 0x1e], sil
lea rcx, [rbp - 0x39]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add rax, 0xae6e0
mov qword [0x18019e600], rax
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
cmp rcx, 1
jbe 0x18009aad0
xor r9d, r9d
lea r8, [rbp + 0x37]
xor edx, edx
lea r14, [0x18019e608]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x18009aa3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
cmp dword [rbp + 0x37], esi
je 0x18009aabd
mov qword [rbp - 0x39], r14
mov dword [rbp - 0x31], 4
lea rax, [0x18012fab0]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x19]
mov qword [rbp + 0x1f], rcx
mov rax, qword [0x18019e600]
mov rbx, qword [rax]
mov rsi, qword [rax + 8]
cmp rbx, rsi
je 0x18009aa95
mov rax, qword [rbx]
mov qword [rbp + 0x27], rax
test rcx, rcx
je 0x18009aac9
mov rax, qword [rcx]
lea rdx, [rbp + 0x27]
call qword [rax + 0x10]
add rbx, 8
mov rcx, qword [rbp + 0x1f]
cmp rbx, rsi
jne 0x18009aa72
test rcx, rcx
je 0x18009aaab
mov rax, qword [rcx]
lea rdx, [rbp - 0x19]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
nop
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x18009aafe
mov rcx, rdi
call fcn.180017e00
mov al, 1
jmp 0x18009aada
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
mov rcx, rdi
call fcn.180017e00
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.18009cbe0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18009cbc0
nop
int3
Function at 0x18009c484
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x18009c4be
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18009c4c3
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x18009c50c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180106cb0]
cmp byte [rcx + rax], 0
je 0x18009c50c
dec r8
sub rdx, 1
jne 0x18009c4f2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1800afd20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2d8]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.18009eb60
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1800afd76
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1800afdcd
mov ebp, 0x4b0000
jmp 0x1800afddb
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.1800a1140
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1800afdf1
mov eax, r12d
jmp 0x1800afdfa
mov edx, edi
mov ecx, ebp
call fcn.1800a1140
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x1800afe16
shl esi, 0x10
mov ecx, esi
jmp 0x1800aff05
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1800afe74
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.18009eb60
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x1800afe64
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.1800a0f30
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.18009eb60
add ebx, eax
jmp 0x1800aff0e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1800afe81
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1800afec0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.18009eb60
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1800afec5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.1800a0f30
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.18009eb60
add ebx, eax
jmp 0x1800aff0e
cmp eax, r12d
jge 0x1800afefe
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.18009eb60
sub ebp, eax
sub r15d, esi
je 0x1800afefe
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.1800a0f30
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.18009eb60
add ebx, eax
jmp 0x1800aff0e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.18009eb60
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
call fcn.18009eb60
mov r15, qword [rsp + 0x30]
add eax, 0x8000
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
shr eax, 0x10
cwde
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
Function at 0x1800e88e0
Capabilities:
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r14d, r14d
sub rax, 0x34
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x28], rax
mov ebp, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r14w
mov esi, r14d
mov dword [rcx + 0x3c], r14d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r14w
cmp r14w, word [rcx + 0xb8]
jge 0x1800e8a2b
movzx r10d, r14w
mov edi, r14d
mov rax, qword [rbx + 0xd0]
mov r9d, ebp
mov dword [rbx + 0x88], r14d
movzx edx, r10w
mov qword [rbx + 0x80], r14
mov rcx, rbx
movzx r8d, word [rdi + rax]
call fcn.1800e8da0
test al, al
jne 0x1800e8ac6
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
movzx r10d, word [rdi + rax]
lea eax, [r8 - 1]
test edx, eax
jne 0x1800e89bb
cmp edx, dword [rbx + 0x60]
jl 0x1800e89bb
cmp edx, dword [rbx + 0x64]
jg 0x1800e89bb
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1800e89bb
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1800e89bb
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x1800e89de
test byte [r9 + 0x18], 8
je 0x1800e89de
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x1800e89ef
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1800e9760
test al, al
jne 0x1800e8ac6
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x1800e8a12
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc esi
add rdi, 2
inc r10w
cmp esi, eax
jl 0x1800e8944
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1800e8aca
test rdx, rdx
je 0x1800e8aca
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x1800e8a68
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x1800e8a6b
mov r10, r14
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1800e8a86
dec r11d
add r11d, eax
jmp 0x1800e8a9d
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.1800e9a20
test al, al
jne 0x1800e8ac6
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.1800e9a20
test al, al
jne 0x1800e8ac6
mov rdx, qword [rsi]
add di, bp
jne 0x1800e8a50
jmp 0x1800e8ace
mov al, 1
jmp 0x1800e8ad9
mov qword [rbx + 0x78], r14
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
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 0x1400e2718
Capabilities:
Write file on windows

Disassembly:
jmp 0x1402793d0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x14032de40]
xor rax, rbp
mov qword [rbp + 0x170], rax
lea rcx, [0x14035365b]
call fcn.1400e2803
mov rax, qword [rbp + 0x1a0]
cmp qword [rax + 0x68], 0
je 0x140279436
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14027943d
mov al, 1
jmp 0x1402795ad
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rbp + 0x158], rax
call fcn.1400df36a
mov dword [rbp + 0x160], eax
mov edx, dword [rbp + 0x160]
mov rcx, qword [rbp + 0x1a0]
call qword [rbp + 0x158]
mov dword [rbp + 0x164], eax
call fcn.1400df36a
mov dword [rbp + 0x168], eax
mov edx, dword [rbp + 0x164]
mov ecx, dword [rbp + 0x168]
call fcn.1400e18f4
movzx eax, al
test eax, eax
je 0x1402794a0
xor al, al
jmp 0x1402795ad
mov qword [rbp + 8], 0x20
mov rax, qword [rbp + 0x1a0]
mov rax, qword [rax + 0x68]
mov qword [rbp + 0x158], rax
lea rax, [rbp + 0x48]
mov rcx, qword [rbp + 0x1a0]
add rcx, 0x74
lea rdx, [rbp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rbp + 0x28]
mov rdx, rcx
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.MSVCP140D.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rbp + 0x160], eax
cmp dword [rbp + 0x160], 0
je 0x140279513
cmp dword [rbp + 0x160], 1
je 0x14027951e
cmp dword [rbp + 0x160], 3
je 0x14027959c
jmp 0x1402795ab
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
lea rax, [rbp + 0x28]
mov rcx, qword [rbp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0
jbe 0x14027956e
mov rax, qword [rbp + 0x1a0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x88]
mov edx, 1
lea rcx, [rbp + 0x28]
call qword [sym.imp.ucrtbased.dll_fwrite]
cmp qword [rbp + 0x88], rax
je 0x14027956e
xor al, al
jmp 0x1402795ad
mov rax, qword [rbp + 0x1a0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140279589
mov dword [rbp + 0x154], 1
jmp 0x140279593
mov dword [rbp + 0x154], 0
movzx eax, byte [rbp + 0x154]
jmp 0x1402795ad
mov rax, qword [rbp + 0x1a0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x1402795ad
xor al, al
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x1403042d0]
call fcn.1400e1bec
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rbp
call fcn.1400e02a1
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400076fb
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
lea rcx, [0x140008e35]
call sub.msvcrt.dll_getenv
jmp 0x14000792d
lea rcx, [0x140008e39]
lea rdx, [0x140008e31]
mov r8, rax
mov rax, qword [0x1400098db]
call rax
mov rsi, rax
lea rdi, [0x140008e39]
lea r12, [0x140007bce]
push r12
push rbp
mov rbp, rsp
sub rsp, 0x30
mov edx, dword [0x140008003]
xor ecx, edx
push rdx
mov qword [rbp - 0x11], r10
movzx eax, al
mov dh, byte [0x140008002]
or ah, al
mov dx, cx
cmp rcx, 0xffffffffce95c66a
js 0x1400079c6
add qword [rbp - 0x19], r8
mov eax, eax
or qword [rbp - 0x1b], rcx
mov eax, dword [rbp - 8]
mov edx, 0x55d4
mov qword [rbp - 0xf], rcx
sub r10, qword [rbp - 0xa]
add edx, dword [rbp - 0x10]
movzx edx, byte [rbp - 0x16]
add ecx, dword [rbp - 0xd]
mov qword [rbp - 0x2c], r9
add eax, dword [rbp - 0x11]
mov ecx, eax
sub edx, 0x9723
xor qword [rbp - 0x25], rcx
mov ecx, edx
mov edx, dword [rbp - 0x1a]
mov r9, qword [rbp - 0x14]
mov r8, qword [rbp - 0xf]
mov word [rbp - 0xe], dx
mov qword [rbp - 8], r8
mov qword [rbp - 0x1c], r11
test dword [0x140008002], edx
jne 0x1400079ec
mov edx, dword [0x140008007]
sub eax, 0xe9cd
mov ecx, dword [rbp - 8]
mov r11, qword [rbp - 0x21]
cmp r8, rcx
jo 0x140007a12
mov r11, rdx
mov qword [rbp - 0x10], r8
mov qword [rbp - 0x26], rcx
mov eax, dword [rbp - 0x11]
mov eax, dword [rbp - 0x1c]
mov rcx, qword [rbp - 0x25]
mov r11, qword [rbp - 0xe]
mov qword [rbp - 0x2d], rax
mov edx, eax
test eax, ecx
jo 0x140007a20
mov eax, dword [rbp - 0x15]
call fcn.140007ad0
mov eax, ecx
mov rcx, 0x997b
cmp ecx, dword [0x14000800b]
jno 0x140007a34
movzx ecx, al
mov ecx, dword [rbp - 0x2e]
mov byte [rbp - 0x2c], cl
movzx eax, dl
mov rcx, qword [0x14000800f]
lea eax, [rbp - 9]
mov r8, qword [rbp - 0x29]
mov r9, qword [0x14000800d]
mov rax, qword [rbp - 4]
mov qword [rbp - 0x20], rcx
mov dword [0x14000800f], ecx
cmp eax, 0x3e1a4e80
jmp 0x140007ac6
mov dword [rbp - 0x23], ecx
mov word [rbp - 6], cx
pop rcx
leave
ret
Function at 0x1400029a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400029fd
lea rbx, [0x1400374a0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400029e4
cmp r10, 2
jb 0x1400029e4
cmp byte [r9], r8b
jne 0x1400029e4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400029c0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002a3f
lea rbx, [0x1400374a0]
cmp r8b, 0x23
jne 0x140002a23
cmp byte [r9], r8b
jne 0x140002a23
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002a10
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002bf0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002c1f
mov r8d, 0x5e8
lea rdx, str.C:Users_santosDownloads_sem_janela_sem_janelaimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x140002c2b
mov qword [rdi], 0
lea rdx, [0x1400371d0]
mov rcx, rbx
call fcn.140002a50
mov rbx, rax
test rax, rax
jne 0x140002c4d
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002d26
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002d26
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140002d26
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 0x140002d26
cmp rsi, 0xffffffffffffffff
je 0x140002d26
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140002cc3
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140002d26
mov r9, rbx
mov r8, rsi
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, rsi
je 0x140002d13
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a93a0]
test rax, rax
je 0x140002d08
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002d2f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140002d21
mov qword [rdi], rsi
mov rax, rbp
jmp 0x140002d31
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004580
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x1400045b6
mov r8d, 0x594
lea rdx, str.C:Users_santosDownloads_sem_janela_sem_janelaimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x1400374a0]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x1400a93a0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1b20], edx
jne 0x140004630
mov dword [rax + 0x1b24], edx
cmp dword [rax + 0x1b60], edx
jne 0x14000463f
mov byte [rax + 0x1b64], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret