joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402093a0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
and qword [rcx + 8], 0
mov rdi, rcx
call fcn.14023a9e8
mov edx, 0xa0
mov rcx, rdi
mov dword [rsp + 0x38], eax
call fcn.14023a9d8
mov rbx, rax
test rax, rax
jne 0x1402093f0
mov rcx, rdi
call fcn.14019c590
mov rcx, qword [rdi]
mov dword [rcx + 0x28], 0x36
mov rcx, qword [rdi]
and dword [rcx + 0x2c], ebx
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
lea rax, [fcn.140208fa4]
mov dword [rbx + 0x5c], 0x3b9aca00
mov ecx, 1
mov qword [rbx], rax
lea rax, [fcn.140208e0c]
mov qword [rbx + 8], rax
lea rax, [fcn.140208ed4]
mov qword [rbx + 0x10], rax
lea rax, [fcn.140208d2c]
mov qword [rbx + 0x18], rax
lea rax, [0x14020979c]
mov qword [rbx + 0x20], rax
lea rax, [0x140209700]
mov qword [rbx + 0x28], rax
lea rax, [0x14020952c]
mov qword [rbx + 0x30], rax
lea rax, [0x140208bd8]
mov qword [rbx + 0x38], rax
lea rax, [0x140208a80]
mov qword [rbx + 0x40], rax
lea rax, [fcn.14020926c]
mov qword [rbx + 0x48], rax
lea rax, [0x140209838]
mov qword [rbx + 0x50], rax
mov eax, dword [rsp + 0x38]
mov dword [rbx + 0x58], eax
lea rax, [rbx + 0x78]
and qword [rax - 0x10], 0
and qword [rax], 0
dec rcx
lea rax, [rax - 8]
jns 0x14020947f
and qword [rbx + 0x80], 0
and qword [rbx + 0x88], 0
mov qword [rbx + 0x90], 0xa0
lea rcx, str.JPEGMEM
mov qword [rdi + 8], rbx
call qword [sym.imp.MSVCR120.dll_getenv]
test rax, rax
je 0x140209506
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str._ld_c
mov rcx, rax
mov byte [rsp + 0x30], 0x78
call qword [sym.imp.MSVCR120.dll_sscanf]
test eax, eax
jle 0x140209506
mov al, byte [rsp + 0x30]
sub al, 0x4d
test al, 0xdf
jne 0x1402094f9
imul eax, dword [rsp + 0x38], 0x3e8
jmp 0x1402094fd
mov eax, dword [rsp + 0x38]
imul eax, eax, 0x3e8
mov dword [rbx + 0x58], eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140222b70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov ebx, dword [rcx + 0x44]
mov rdi, rcx
mov qword [rsp + 0x30], rbp
nop word [rax + rax]
mov edx, dword [rdi + 0x94]
mov esi, dword [rdi + 0x58]
mov ecx, dword [rdi + 0x44]
sub esi, dword [rdi + 0x9c]
add ecx, 0xfffffefa
add ecx, ebx
sub esi, edx
cmp edx, ecx
jb 0x140222c1f
mov rcx, qword [rdi + 0x50]
mov r8, rbx
lea rdx, [rcx + rbx]
call sub.MSVCR120.dll_memcpy
mov r8d, dword [rdi + 0x74]
mov rax, qword [rdi + 0x68]
sub dword [rdi + 0x98], ebx
sub dword [rdi + 0x94], ebx
sub dword [rdi + 0x84], ebx
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
lea rdx, [rdx - 2]
cmp eax, ebx
jb 0x140222bf0
sub eax, ebx
jmp 0x140222bf2
xor eax, eax
mov word [rdx], ax
dec r8d
jne 0x140222be0
mov rax, qword [rdi + 0x60]
mov edx, ebx
lea rcx, [rax + rbx*2]
movzx eax, word [rcx - 2]
lea rcx, [rcx - 2]
cmp eax, ebx
jb 0x140222c14
sub eax, ebx
jmp 0x140222c16
xor eax, eax
mov word [rcx], ax
dec edx
jne 0x140222c04
add esi, ebx
mov rcx, qword [rdi]
cmp dword [rcx + 8], 0
je 0x140222c99
mov edx, dword [rdi + 0x9c]
mov eax, dword [rdi + 0x94]
mov r8d, esi
add rdx, rax
add rdx, qword [rdi + 0x50]
call fcn.1402230b0
add dword [rdi + 0x9c], eax
mov r9d, dword [rdi + 0x9c]
cmp r9d, 3
jb 0x140222c83
mov eax, dword [rdi + 0x94]
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x80]
movzx r8d, byte [rax + rdx]
mov dword [rdi + 0x70], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rdi + 0x7c]
mov dword [rdi + 0x70], r8d
cmp r9d, 0x106
jae 0x140222c99
mov rax, qword [rdi]
cmp dword [rax + 8], 0
jne 0x140222b90
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1402458d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, qword [rdx]
movzx eax, word [rcx]
cmp dword [rbx + 4], eax
movzx eax, word [rcx]
mov dword [rbx + 4], eax
mov edi, dword [rcx + 4]
jb 0x1402458fe
mov rax, qword [rcx + 0x10]
xor edi, 1
jmp 0x140245902
mov rax, qword [rcx + 8]
mov qword [rdx], rax
cmp dword [rbx + 8], 0
jne 0x1402459b0
cmp dword [rbx + 0x34], 0
jne 0x1402459a3
mov rax, qword [rbx + 0x28]
mov ecx, dword [rax + 8]
test cl, 7
jne 0x14024596f
mov edx, dword [rax + 0x5c]
test edx, edx
js 0x140245939
cmp dword [rax + 0x58], edx
jl 0x140245939
or ecx, 4
mov dword [rax + 8], ecx
jmp 0x14024596f
dec dword [rax + 0x30]
jns 0x140245950
mov rcx, qword [rbx + 0x28]
mov edx, 1
call fcn.140202cc0
mov edx, eax
jmp 0x14024596a
mov rax, qword [rbx + 0x28]
inc dword [rax + 0x58]
mov rcx, qword [rbx + 0x28]
mov rax, qword [rcx + 0x28]
inc rax
movzx edx, byte [rax - 1]
mov qword [rcx + 0x28], rax
cmp edx, 0xffffffff
jne 0x14024597b
mov dword [rbx + 0x34], 1
mov edx, 0xff
movzx eax, byte [rbx + 0x30]
mov byte [rbx + 0x30], dl
cmp al, 0xff
jne 0x14024599c
cmp edx, 0x8f
jg 0x1402459a3
shl edx, 9
mov dword [rbx + 8], 7
add dword [rbx], edx
jmp 0x1402459b0
shl edx, 8
add dword [rbx], edx
jmp 0x1402459a9
add dword [rbx], 0xff00
mov dword [rbx + 8], 8
shl dword [rbx + 4], 1
shl dword [rbx], 1
dec dword [rbx + 8]
test dword [rbx + 4], 0x8000
je 0x140245905
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14024bd60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rax, qword [rcx + 0x18]
mov r10, rcx
mov rdx, qword [rax + 0x40]
movsxd rax, dword [rax + 0x38]
mov qword [rsp + 0x98], rdx
imul rax, rax, 0x218
add rax, rdx
mov qword [rsp + 0x38], rax
cmp rdx, rax
je 0x14024bfb2
mov rdi, qword [rdx + 8]
movsxd rax, dword [rdx]
lea rcx, [rax + rax*8]
mov qword [rsp + 0xa0], rdi
lea r8, [rdi + rcx*8]
mov qword [rsp + 0x30], r8
cmp rdi, r8
je 0x14024bf98
nop dword [rax]
mov r15, qword [rdi + 0x38]
test r15, r15
je 0x14024bf83
movsxd rax, dword [rdi + 0x30]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r15
mov qword [rsp + 0xa8], rcx
cmp r15, rcx
je 0x14024bf83
nop dword [rax]
cmp qword [r15 + 8], 0
je 0x14024bf71
mov rax, qword [r15]
xor r13d, r13d
cmp dword [rdi + 0x20], r13d
jbe 0x14024bf71
lea r12, [rax + 0x20]
nop
mov rbx, qword [r12]
test rbx, rbx
je 0x14024bf48
movsxd rax, dword [r12 - 8]
xor ebp, ebp
imul rsi, rax, 0x68
add rsi, rbx
cmp rbx, rsi
je 0x14024bee4
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x30]
xor edi, edi
mov eax, dword [rcx + 0x14]
test eax, eax
jle 0x14024be9f
mov r10d, dword [rcx + 0x18]
xor r8d, r8d
mov r9d, eax
test r10d, r10d
jle 0x14024be96
mov rax, qword [rcx + 0x20]
mov r14, r10
mov r11, qword [r8 + rax]
nop word [rax + rax]
mov eax, dword [r11]
lea r11, [r11 + 4]
cdq
xor eax, edx
sub eax, edx
cmp eax, edi
cmovg edi, eax
dec r14
jne 0x14024be80
add r8, 8
dec r9
jne 0x14024be67
cmp edi, ebp
mov ecx, edi
cmovg ebp, edi
call fcn.140250600
sub eax, 5
test eax, eax
jle 0x14024bebe
mov ecx, edi
call fcn.140250600
sub eax, 5
jmp 0x14024bec0
xor eax, eax
mov dword [rbx + 0x40], eax
add rbx, 0x68
cmp rbx, rsi
jne 0x14024be50
mov rdx, qword [rsp + 0x98]
mov r10, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xa0]
mov rax, qword [r12]
cmp rax, rsi
je 0x14024bf03
nop dword [rax]
mov ecx, dword [r15 + 0x14]
add rax, 0x68
sub ecx, dword [rax - 0x28]
mov dword [rax - 0x54], ecx
cmp rax, rsi
jne 0x14024bef0
mov rbx, qword [r12]
cmp rbx, rsi
je 0x14024bf48
nop dword [rax]
mov r8, rdx
mov rdx, qword [rbx + 0x20]
mov r9, r15
mov rcx, r10
mov qword [rsp + 0x20], rbx
call fcn.14024b7c0
test eax, eax
jne 0x14024bfc5
mov rdx, qword [rsp + 0x98]
mov r10, qword [rsp + 0x90]
add rbx, 0x68
cmp rbx, rsi
jne 0x14024bf10
mov rdx, qword [rsp + 0x98]
mov r10, qword [rsp + 0x90]
inc r13d
add r12, 0x50
cmp r13d, dword [rdi + 0x20]
jb 0x14024be20
mov rcx, qword [rsp + 0xa8]
add r15, 0x30
cmp r15, rcx
jne 0x14024be00
mov r8, qword [rsp + 0x30]
add rdi, 0x48
mov qword [rsp + 0xa0], rdi
cmp rdi, r8
jne 0x14024bdd0
add rdx, 0x218
mov qword [rsp + 0x98], rdx
cmp rdx, qword [rsp + 0x38]
jne 0x14024bda4
xor eax, eax
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
or eax, 0xffffffff
jmp 0x14024bfb4
Function at 0x14026a9e0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r8, rdx
mov r10, rcx
mov r9d, eax
nop dword [rax + rax]
movzx edx, byte [r8]
test dl, dl
je 0x14026aa44
shl eax, 8
movsx edx, dl
inc r9d
or eax, edx
inc r8
cmp r9d, 4
jl 0x14026a9f0
movzx r9d, byte [r8]
test r9b, r9b
je 0x14026aa44
nop word [rax + rax]
mov edx, eax
mov ecx, eax
lea r8, [r8 + 1]
shl ecx, 5
sar edx, 0x1b
and edx, 0x1f
mov eax, edx
or eax, ecx
movsx ecx, r9b
movzx r9d, byte [r8]
xor eax, ecx
test r9b, r9b
jne 0x14026aa20
xor edx, edx
div dword [r10]
mov eax, edx
ret

Function at 0x14027f170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r13
push r14
push r15
sub rsp, 0x208
mov rax, qword [0x140462840]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov ebx, r9d
mov r15, rdx
mov r11, rcx
mov qword [rsp + 0x30], rcx
or r13, 0xffffffffffffffff
inc r13
cmp byte [r8 + r13], 0
jne 0x14027f1a3
lea rcx, [rsp + 0x40]
sub rcx, r8
nop word [rax + rax]
movzx eax, byte [r8]
lea r8, [r8 + 1]
mov byte [rcx + r8 - 1], al
test al, al
jne 0x14027f1c0
movzx eax, byte [rsp + 0x40]
mov qword [rsp + 0x200], rbp
mov qword [rsp + 0x1f8], rsi
mov qword [rsp + 0x1f0], rdi
lea r14, [rsp + 0x40]
mov qword [rsp + reloc.mfc120u.dll_Ordinal_488], r12
test al, al
je 0x14027f301
xor ebp, ebp
nop word [rax + rax]
lea rdi, [rsp + 0x40]
test al, al
je 0x14027f2f5
nop dword [rax]
mov eax, r14d
sub eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x14027f2e4
movzx eax, byte [rdi]
movzx r12d, byte [r14]
mov r10d, 1
mov byte [r14], al
mov eax, dword [r11 + 0x38]
mov byte [rdi], r12b
cmp ebx, eax
jne 0x14027f255
mov ebx, eax
jmp 0x14027f2d6
mov r9, rbp
movsxd rsi, ebx
test ebx, ebx
jle 0x14027f296
nop
mov r8, qword [r15 + r9*8]
lea rax, [rsp + 0x40]
sub r8, rax
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14027f283
inc rax
test ecx, ecx
jne 0x14027f270
test edx, edx
cmove r10d, ebp
inc r9
cmp r9, rsi
jl 0x14027f260
test r10d, r10d
je 0x14027f2d6
mov r9d, dword [rsp + 0x250]
lea rdx, [rsp + 0x40]
mov r8d, r13d
mov rcx, r11
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
call fcn.14027e050
test eax, eax
je 0x14027f2d1
lea rcx, [rsp + 0x40]
call fcn.1402833a0
mov qword [r15 + rsi*8], rax
test rax, rax
je 0x14027f342
inc ebx
mov r11, qword [rsp + 0x30]
cmp ebx, 0xffffffff
je 0x14027f358
movzx eax, byte [r14]
mov byte [rdi], al
mov byte [r14], r12b
inc rdi
cmp byte [rdi], bpl
jne 0x14027f220
movzx eax, byte [rsp + 0x40]
inc r14
cmp byte [r14], bpl
jne 0x14027f210
mov eax, ebx
mov r12, qword [rsp + reloc.mfc120u.dll_Ordinal_488]
mov rdi, qword [rsp + 0x1f0]
mov rsi, qword [rsp + 0x1f8]
mov rbp, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140289bf0
add rsp, 0x208
pop r15
pop r14
pop r13
pop rbx
ret
test ebx, ebx
jle 0x14027f358
mov rcx, qword [r15 + rbp*8]
call qword [sym.imp.MSVCR120.dll_free]
inc rbp
cmp rbp, rsi
jl 0x14027f346
or eax, 0xffffffff
jmp 0x14027f303
Function at 0x140282f70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
movsxd rax, edx
mov rbp, r8
mov r15, rcx
lea r14, [rcx + rax*2]
mov rsi, r8
mov rbx, rcx
cmp rcx, r14
jae 0x1402830d9
lea r12, [0x140000000]
movzx edx, byte [rsi]
test dl, dl
je 0x1402830d9
movzx eax, dl
and eax, 0xf0
cmp eax, 0xf0
ja case.0x140282fe5.5
cdqe
movzx eax, byte [r12 + rax + 0x28313c]
mov ecx, dword [r12 + rax*4 + 0x283124]
add rcx, r12
jmp rcx
mov byte [rbx + 1], 0
movzx eax, byte [rsi]
mov byte [rbx], al
jmp case.0x140282fe5.5
mov edi, esi
sub edi, ebp
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, str.UTF_8_encoding_error._Unexpected_continuation_bytes_in__ld._character_position_n_s_n
jmp 0x1402830b4
movzx eax, byte [rsi + 1]
and al, 0xc0
cmp al, 0x80
jne 0x140283037
sar dl, 2
and dl, 7
mov byte [rbx + 1], dl
movzx ecx, byte [rsi + 1]
movzx eax, byte [rsi]
and cl, 0x3f
shl al, 6
add cl, al
inc rsi
mov byte [rbx], cl
jmp case.0x140282fe5.5
mov edi, esi
sub edi, ebp
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, [0x14038c960]
jmp 0x1402830b4
movzx ecx, byte [rsi + 1]
lea r8, [rsi + 1]
movzx eax, cl
and al, 0xc0
cmp al, 0x80
jne 0x1402830a3
sar cl, 2
shl dl, 4
mov rsi, r8
and cl, 0xf
xor cl, dl
lea rdx, [r8 + 1]
mov byte [rbx + 1], cl
movzx ecx, byte [rdx]
movzx eax, cl
and al, 0xc0
cmp al, 0x80
jne 0x14028308f
movzx eax, byte [r8]
and cl, 0x3f
mov rsi, rdx
shl al, 6
add al, cl
mov byte [rbx], al
jmp case.0x140282fe5.5
mov edi, r8d
sub edi, ebp
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, [0x14038c9b0]
jmp 0x1402830b4
mov edi, esi
sub edi, ebp
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, str.UTF_8_encoding_error._Missing_continuation_byte_in__ld._character_position:_n_s_n
lea rcx, [rax + 0x60]
mov r9, rbp
mov r8d, edi
call qword [sym.imp.MSVCR120.dll_fprintf]
mov word [rbx], 0xfffd
add rbx, 2
inc rsi
cmp rbx, r14
jb 0x140282fb1
sub rbx, r15
sar rbx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, str.This_UTF_8_encoding_cant_convert_to_UTF_16:_n_s_n
mov r8, rbp
lea rcx, [rax + 0x60]
call qword [sym.imp.MSVCR120.dll_fprintf]
mov word [rbx], 0xfffd
or eax, 0xffffffff
jmp 0x1402830e1
Function at 0x140288250
Capabilities:
Read file on windows

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
xor r14d, r14d
mov rbx, rcx
mov ebp, r14d
mov esi, r14d
mov edi, r14d
nop dword [rax]
cmp dword [rbx + 0x18], r14d
jne 0x1402882a5
mov r9, qword [rbx + 8]
lea rcx, [rbx + 0x30]
mov edx, 1
mov r8d, 0x10000
call qword [sym.imp.MSVCR120.dll_fread]
shl eax, 3
mov dword [rbx + 0x1c], eax
mov eax, dword [rbx + 0x1c]
cmp dword [rbx + 0x18], eax
jge 0x14028836b
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rbx + 0x18]
mov r10, qword [rbx + 0x28]
mov ecx, 7
cdq
mov r9d, ebp
and edx, 7
add eax, edx
mov r8d, eax
and eax, 7
sub eax, edx
sar r8d, 3
sub ecx, eax
movsxd rax, r8d
movzx edx, cl
movsx ecx, byte [rax + rbx + 0x30]
mov eax, r14d
bt ecx, edx
movsxd rdx, ebp
setb al
movsxd r8, eax
lea rcx, [r8 + rdx*2]
add rcx, rdx
mov ebp, dword [r10 + rcx*4 + 4]
test ebp, ebp
jne 0x14028835c
cmp r9d, dword [rbx + 0x14]
je 0x1402883b7
lea rax, [rdx + rdx*2]
add rdi, 2
add esi, 2
lea rcx, [rax*4]
movzx eax, byte [rcx + r10]
mov byte [rdi + rbx + 0x1002e], al
mov rax, qword [rbx + 0x28]
movzx ecx, byte [rax + rcx + 1]
mov byte [rdi + rbx + 0x1002f], cl
cmp rdi, 0x10000
je 0x1402883eb
mov rax, qword [rbx + 0x28]
mov ebp, dword [rax + r8*4 + 4]
inc dword [rbx + 0x18]
mov eax, dword [rbx + 0x18]
cmp eax, dword [rbx + 0x1c]
jl 0x1402882c0
cmp dword [rbx + 0x1c], 0x80000
mov dword [rbx + 0x18], r14d
je 0x140288280
mov rbx, qword [rbx]
call qword [sym.imp.MSVCR120.dll___iob_func]
lea rdx, str.error:__s:_not_in_hzip_format_n
lea rcx, [rax + 0x60]
mov r8, rbx
call qword [sym.imp.MSVCR120.dll_fprintf]
or eax, 0xffffffff
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
mov rcx, qword [rbx + 8]
call qword [sym.imp.MSVCR120.dll_fclose]
movsxd rax, dword [rbx + 0x14]
mov qword [rbx + 8], r14
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x28]
cmp byte [rax + rcx*4], r14b
lea rdx, [rax + rcx*4]
je 0x1402883eb
movzx eax, byte [rdx + 1]
movsxd rcx, esi
inc esi
mov byte [rcx + rbx + 0x10030], al
mov eax, esi
jmp 0x14028839c
Function at 0x14000f050
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov rax, qword [0x1400ac1b0]
mov r12, rcx
mov rbx, rdx
test rax, rax
je 0x14000f100
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000f0e0
call sym.strlen
lea r13, [rsp + 0x20]
mov rdx, r12
mov rcx, r13
mov r8, rax
call sym.toNimStr
mov r12, qword [rsp + 0x28]
mov rcx, r13
call qword [0x1400ac1b0]
test r12, r12
je 0x14000f0b9
test byte [r12 + 7], 0x40
je 0x14000f138
lea rcx, [0x140091480]
call sym.__emutls_get_address
cmp byte [rax], 0
jne 0x14000f158
add rsp, 0x40
pop rbx
pop r12
pop r13
ret
mov qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x28], 0
call rax
jmp 0x14000f0b9
mov ecx, 2
call qword [sym.__acrt_iob_func]
mov rcx, r12
mov r8, rbx
mov edx, 1
mov r13, rax
mov r9, rax
call sym.fwrite
mov rcx, r13
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.fflush
lea rcx, [0x1400914a0]
call sym.__emutls_get_address
mov rdx, r12
mov rcx, rax
call sym.rawDealloc__system_u6951
jmp 0x14000f0b9
mov byte [rax], 0
lea rcx, [0x1400913c0]
call sym.__emutls_get_address
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x40
pop rbx
pop r12
pop r13
jmp sym.eqcopy___stdZtypedthreads_u169

Function at 0x140010360
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx]
mov rdx, qword [rcx + 8]
test rax, rax
jle 0x1400103c0
lea r8, [rax + rdx + 8]
lea rcx, [rdx + 8]
xor eax, eax
nop word [rax + rax]
movzx edx, byte [rcx]
add rcx, 1
add rdx, rax
mov rax, rdx
shl rax, 0xa
add rax, rdx
mov rdx, rax
shr rdx, 6
xor rax, rdx
cmp r8, rcx
jne 0x140010380
lea rax, [rax + rax*8]
mov rdx, rax
shr rdx, 0xb
xor rdx, rax
mov rax, rdx
shl rax, 0xf
add rax, rdx
ret
xor eax, eax
ret

Function at 0x140011eb0
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r13, [0x1400ac180]
mov rsi, rdx
mov rbx, rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test rsi, rsi
jle 0x140011f3f
lea rcx, [0x140091480]
xor r14d, r14d
lea r12, [rsp + 0x20]
call sym.__emutls_get_address
mov rbp, qword [sym.__acrt_iob_func]
mov rdi, rax
jmp 0x140011f0d
add r14, 1
add rbx, 0x10
cmp rsi, r14
je 0x140011f46
mov ecx, 1
call rbp
movdqu xmm0, xmmword [rbx]
xor r8d, r8d
mov rdx, r12
mov rcx, rax
movaps xmmword [rsp + 0x20], xmm0
call sym.writeWindows__system_u8909
cmp byte [rdi], 0
je 0x140011f00
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rbp, qword [sym.__acrt_iob_func]
mov ecx, 1
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x1400926c1]
mov r9, rax
call sym.fwrite
mov ecx, 1
call rbp
mov rcx, rax
call sym.fflush
mov rcx, r13
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140001c73
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x14000184a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001846
repz ret
ror rcx, 0x10
jmp 0x140001bcc
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14001b0c0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14001b1b8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140001c51
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14001b0c0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140001c73
mov rax, qword [rsp + 0x88]
mov qword [0x14001b1b8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14001b158], rax
mov rax, qword [0x14001b1b8]
mov qword [0x14001b030], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14001b140], rax
mov dword [0x14001b020], 0xc0000409
mov dword [0x14001b024], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14001a008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14001b0b8], eax
mov ecx, 1
call fcn.140003f14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400146c8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14001b0b8], 0
jne 0x140001cfa
mov ecx, 1
call fcn.140003f14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14000214c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.140001fbc
Function at 0x1400051a8
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.140003124
xor ebx, ebx
cmp qword [0x14001c0c0], rbx
mov rdi, rax
jne 0x1400052bb
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140005392
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005392
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14001c0c0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14001c0c8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x14001c0d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x14001c0e0], rax
test rax, rax
je 0x1400052b2
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x14001c0d8], rax
jmp 0x1400052c2
mov rax, qword [0x14001c0d8]
jmp 0x1400052c9
mov rax, qword [0x14001c0d8]
mov r11, qword [0x14001c0e0]
cmp rax, rdi
je 0x140005330
cmp r11, rdi
je 0x140005330
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x14001c0e0]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x140005330
test rax, rax
je 0x140005330
call rsi
test rax, rax
je 0x14000532a
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000532a
test byte [rsp + 0x40], 1
jne 0x140005330
bts ebp, 0x15
jmp 0x140005370
mov rcx, qword [0x14001c0c8]
cmp rcx, rdi
je 0x140005370
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005370
call rax
mov rbx, rax
test rax, rax
je 0x140005370
mov rcx, qword [0x14001c0d0]
cmp rcx, rdi
je 0x140005370
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005370
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14001c0c0]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140005392
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140005394
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001830
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret