joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004cf58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14004cfa2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14004cfa2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14004cfa2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14004cfa2
cmp dword [rcx + 0x84], 0xe
jbe 0x14004cfa2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14004cfa4
xor al, al
add rsp, 0x28
ret

Function at 0x140001000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.MSVCR100.dll_getenv]
test rax, rax
je 0x140001066
lea rcx, str.Windows_original_main_args:_n
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
xor ebx, ebx
cmp dword [rax], ebx
jle 0x140001066
xor edi, edi
mov rax, qword [sym.imp.MSVCR100.dll___argv]
lea rcx, str.wwwd_args__d____s_n
mov edx, ebx
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call qword [sym.imp.MSVCR100.dll_printf]
mov rax, qword [sym.imp.MSVCR100.dll___argc]
inc ebx
add rdi, 8
cmp ebx, dword [rax]
jl 0x140001038
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
xor edx, edx
test edi, edi
jle 0x1400010b2
mov r9d, edi
mov rcx, qword [rax]
add rax, 0x10
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x14000109f
mov rcx, qword [str.java]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010c9
mov rcx, qword [rbx]
mov rax, qword [str.java]
test rax, rax
jne 0x1400010d8
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
mov byte [rsp + 0x60], 0
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [0x140002240]
mov r8d, 2
lea r9, str._J_ms8m
mov qword [rsp + 0x38], rax
lea rax, [0x140002230]
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, str._lib_tools.jar
mov ecx, edi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r8d
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x14015c6e4
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.14016143c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14016143c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14015c834
cmp rax, 0xffffffffffffffff
je 0x14015c834
xor edi, edi
test rbp, rbp
jle 0x14015c7df
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14010f350
mov rbx, rax
test rax, rax
jne 0x14015c76c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14015c7d5
mov edx, 0x8000
mov ecx, r14d
call fcn.140162548
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.140165d7c
cmp eax, 0xffffffff
je 0x14015c7b5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14015c77c
mov edx, r15d
mov ecx, r14d
call fcn.140162548
jmp 0x14015c7d5
cmp byte [rsi + 0x38], dil
je 0x14015c7cc
cmp dword [rsi + 0x34], 5
jne 0x14015c7cc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
cmp byte [rsi + 0x30], dil
je 0x14015c7d5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14010f2b0
jmp 0x14015c848
jns 0x14015c848
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14016143c
cmp rax, 0xffffffffffffffff
jne 0x14015c800
cmp byte [rsi + 0x30], dil
je 0x14015c848
mov edi, dword [rsi + 0x2c]
jmp 0x14015c848
mov ecx, r14d
call fcn.14015f98c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14015c848
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, SafeArrayDestroy
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], SafeArrayDestroy
jmp 0x14015c848
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14015c841
mov eax, dword [rsi + 0x2c]
jmp 0x14015c846
mov eax, reloc.WS2_32.dll_shutdown
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14016143c
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 0x18001eb10
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x1800c33b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov eax, 8
imul rax, rax, 0
lea rcx, [0x1800c33e0]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov byte [rsp + 0x60], 0x48
mov byte [rsp + 0x61], 0xb8
mov byte [rsp + 0x62], 0x76
mov byte [rsp + 0x63], 0x7a
mov byte [rsp + 0x64], 0x50
mov byte [rsp + 0x65], 0x4e
mov byte [rsp + 0x66], 0x88
mov byte [rsp + 0x67], 0x53
mov byte [rsp + 0x68], 0xe9
mov byte [rsp + 0x69], 0x8a
mov byte [rsp + 0x70], 0x48
mov byte [rsp + 0x71], 0xb8
mov byte [rsp + 0x72], __WSAFDIsSet
mov byte [rsp + 0x73], 0xcd
mov byte [rsp + 0x74], 0xe3
mov byte [rsp + 0x75], 0xca
mov byte [rsp + 0x76], 0x5e
mov byte [rsp + 0x77], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x78], WSAGetLastError
mov byte [rsp + 0x79], 0x28
movabs rax, 0x837f312283c94544
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x20], 0
mov r8d, 0xa
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec11
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x18001ebe9
mov r8d, 0xa
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18001ec39
mov rax, qword [rsp + 0x40]
inc rax
mov qword [rsp + 0x40], rax
jmp 0x18001ec11
mov rax, qword [rsp + 0x28]
add rax, 0x11
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x38]
mov r8d, dword [rsp + 0x34]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x18001eca7
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], rax
je 0x18001ece9
mov eax, dword [rsp + 0x20]
movzx eax, byte [rsp + rax + 0x80]
mov rcx, qword [rsp + 0x48]
movzx ecx, byte [rcx]
xor ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov byte [rcx], al
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 7
mov dword [rsp + 0x20], eax
jmp 0x18001ec9a
mov eax, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x38]
mov edx, eax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180084a40
add rsp, 0x98
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call sub.MSVCR80.dll__amsg_exit
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10156000
add rsp, 0x28
jmp 0x10007510
Function at 0x1000d580
Capabilities:
Delete registry key

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xc8
mov rax, qword [0x10014030]
xor rax, rsp
mov qword [rsp + 0xb0], rax
movdqu xmm0, xmmword [rcx]
mov rbp, rdx
mov rsi, r8
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
mov r8d, 0x40
movdqu xmmword [rsp + 0x20], xmm0
mov rbx, r9
call fcn.1000abf0
xor eax, eax
lea rcx, [rax - 1]
lea rdi, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
add rcx, 6
cmp rcx, 0x40
jbe 0x1000d5eb
mov eax, 0x80070057
jmp 0x1000d69a
lea r8, [0x10003ed8]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.MSVCR80.dll_wcscpy_s]
lea r8, [rsp + 0x30]
mov edx, 0x40
mov rcx, rbx
call qword [sym.imp.MSVCR80.dll_wcscat_s]
lea rdx, [0x10003ef8]
mov rcx, rsi
call fcn.1000cef0
lea rdx, [0x10003ee8]
mov rcx, rsi
call fcn.1000cef0
mov rdi, 0xffffffff80000000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x10003ee8]
mov rcx, rbp
call fcn.1000cef0
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea rdx, [0x10003f08]
mov rcx, rbx
call fcn.1000cef0
lea rdx, [0x10003f18]
mov rcx, rbx
call fcn.1000cef0
lea rdx, [0x10003f50]
mov rcx, rbx
call fcn.1000cef0
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.10007870
add rsp, 0xc8
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1015413e
Capabilities:
Encode data using xor

Disassembly:
invalid
jge 0x101540f0
lodsd eax, dword [rsi]
xor byte [rsi + 0x6e], bh
sbb eax, 0x9a3317a7
mov ch, 0x3d
pop rcx
stosd dword [rdi], eax
xor ebx, dword [rdx - 0x54a6c24b]
push 0xffffffffda92440e
xchg edx, eax
je 0x10154147
mov ah, 0x9a
nop
sbb eax, 0x97698ec7
hlt
Function at 0x140040bd8
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x14005af80]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14002ac20
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, 0x94
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.14002ac20
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x140040c6b
cmp dword [rsp + 0x24], 5
jb 0x140040c85
jmp 0x140040c81
cmp dword [rsp + 0x30], esi
jne 0x140040c85
cmp dword [rsp + 0x24], 4
ja 0x140040c81
jne 0x140040c85
cmp dword [rsp + 0x28], 0
jbe 0x140040c85
mov byte [rbx + 0x18], sil
lea rax, [0x14004a120]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.140040a98
movzx ecx, byte [0x140061f88]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140061f88], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.140029b40
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x14011c93e
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xbea9bea8
stosb byte [rdi], al
adc ebp, ebp
test eax, 0xed13aabe
xor dword [rcx], edi
push rbx
jp 0x14011c941
cmp al, 0x6b
xor dword [rcx + rax], edx
test al, 0x21
sbb byte [rsi], dl
test dword [rdi], esi
jge 0x14011c9ba
mov esp, 0xd7d832c4
cmp dword [rdx], edi
add edi, dword [rdx + 0x15d22562]
pop rdx
xchg esp, eax
sub edx, dword [rbx]
sbb byte [rdx - 2], 0x1f
lahf
adc dword [rax - 0x8ac05af], esp
test byte [rdi - 0x3bef3adf], cl
invalid
invalid
Function at 0x1400057b0
Capabilities:
Parse pe header

Disassembly:
test rcx, rcx
je 0x1400057e0
mov eax, 0
cmp word [rcx], 0x5a4d
jne 0x1400057df
mov eax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400057e5
cdqe
add rax, rcx
cmp dword [rax], 0x4550
mov edx, 0
cmovne rax, rdx
ret
mov rax, rcx
jmp 0x1400057df
mov eax, 0
jmp 0x1400057df

Function at 0x140005e60
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.140005e10
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140010040
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x143883150]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400100af
mov rcx, r9
call fcn.14000ff10
test eax, eax
je 0x1400100af
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400100ad
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400100a4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400100af
add rdx, 0x28
cmp rdx, r9
jne 0x140010090
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x1c281c3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movabs r14, 0x5c5221af4f71514d
mov qword [rsp + 0x10], 0xffffffffe1091ddd
pushfq
add r14d, 0x593f0c13
call fcn.01c5a5bd
cdq
fmul dword [rdi]
mov al, 0x82
mov edi, 0x99016bc7
scasd eax, dword [rdi]
mov eax, dword [rcx - 0x7f]
add r9d, 0x343b4943
mov r9, qword [rsp + 0x10]
movabs rcx, 0x17844ec1541f27ef
call fcn.01c67c1a
call rax
mov r11, rax
cmc
stc
cmp ebp, 0x12054135
test rax, rax
jne 0x1fa066c
lea rcx, [rsp + 0x40]
mov rax, qword [sym.imp.kernel32.dll_LoadLibraryA]
jmp 0x1c29586
call rax
mov r11, rax
test rax, rax
jmp 0x1fa0666
call rax
jmp 0x1fa07b4
sub eax, eax
jmp 0x1fa05e6
jmp 0x1fa07b4
je 0x1fa05df
cmp r11, rsi
jmp 0x1fa0674
jne 0x1fa071d
cmp byte [rsp + 0x180], dil
jmp 0x1fa0687
je 0x1fa0704
lea rax, [rsp + 0x40]
sar ch, cl
sub dx, r13w
sub rbp, rax
btc ax, 0xaa
nop
movsx rax, r15w
xchg cx, ax
lea rdx, [rsp + rdi + 0x40]
rcl eax, 0x18
movsxd rax, r12d
mov ecx, edi
movsx ax, r15b
mov eax, 0x700b21de
rol eax, cl
add al, dil
cmp al, 0x85
clc
cmc
xor al, byte [rdx + rbp]
mov byte [rdx], al
jmp 0x1fa06d1
je 0x1fa06f9
inc rdi
test r10b, r13b
jmp 0x1fa06e7
cmp rdi, 0x104
jmp 0x1fa06f3
jb 0x1fa06a7
lea rbp, [rsp + 0x40]
not ch
movzx eax, r11w
mov rdx, rbp
movzx eax, r14w
lahf
mov rcx, rsi
bswap eax
mov rax, qword [sym.imp.kernel32.dll_GetProcAddress]
jmp 0x1ea6500
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jne 0x1fa0793
movzx edx, byte [rbx + 2]
clc
jmp 0x1fa0735
add rbx, 2
test r12b, r12b
test dl, dl
jmp 0x1fa0743
je 0x1fa078d
nop
cbw
movzx rax, r12w
lea eax, [rdx - 0x30]
inc rbx
stc
cmp al, 9
ja 0x1fa078d
movsx eax, dl
rcl cx, cl
adc cx, cx
movzx edx, byte [rbx]
xchg ch, cl
sar ch, cl
not cl
lea ecx, [rdi + rdi*4]
cmp r11b, cl
btr di, 0x7a
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jmp 0x1fa0787
jne 0x1fa0750
movsxd rdx, edi
movsxd rcx, ebp
xor r8d, r8d
movzx ecx, bx
mov rcx, r11
call fcn.01fa023c
jmp 0x1fa07b4
mov rbx, qword [rsp + 0x178]
xchg sil, dil
test r12w, r10w
movsx rbp, r9w
mov rdi, qword [rsp + 0x150]
and rsi, r13
neg esi
add rsp, 0x158
mov sil, 0x6e
pop rsi
pop rbp
jmp 0x1fa07e5
ret
Function at 0x140001ff0
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rbx
sub rsp, 0x40
mov r13, qword [rcx]
mov rbx, qword [rcx + 8]
mov qword [rsp + 0x30], 0
lea r12, [rsp + 0x30]
mov qword [rsp + 0x38], 0
call fcn.140006e80
lea rcx, [rsp + 0x20]
mov edx, 0xc8
call fcn.1400047b0
movdqu xmm0, xmmword [rsp + 0x20]
mov edx, 0x1c
mov rcx, r12
movaps xmmword [rsp + 0x30], xmm0
call fcn.140004860
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
movabs rcx, 0x64656c646e61686e
lea rax, [rdx + rax + 8]
movabs rdx, 0x75203a726f727245
mov qword [rax], rdx
movabs rdx, 0x6974706563786520
mov qword [rax + 8], rcx
mov rcx, r12
mov qword [rax + 0x10], rdx
mov rdx, r13
mov dword [rax + 0x18], 0x203a6e6f
mov byte [rax + 0x1c], 0
add qword [rsp + 0x30], 0x1c
call fcn.140004860
test r13, r13
jle 0x1400020bd
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea r8, [r13 + 1]
lea rcx, [rdx + rax + 8]
lea rdx, [rbx + 8]
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x30], r13
movabs rbx, 0x7463656665446e
xor edx, edx
mov rcx, r12
call fcn.140004860
mov rcx, r12
mov edx, 2
call fcn.140004860
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, r12
lea rax, [rdx + rax + 8]
mov edx, 0x5b20
mov word [rax], dx
mov edx, 0xf
mov byte [rax + 2], 0
add qword [rsp + 0x30], 2
call fcn.140004860
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
movabs rcx, 0x6f69747265737341
mov qword [rdx + rax + 8], rcx
mov rcx, r12
mov qword [rdx + rax + 0x10], rbx
mov edx, 2
add qword [rsp + 0x30], 0xf
call fcn.140004860
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov ecx, 0xa5d
lea rax, [rdx + rax + 8]
mov word [rax], cx
mov ecx, 2
mov byte [rax + 2], 0
mov rbx, qword [rsp + 0x38]
lea rax, [0x140023140]
add qword [rsp + 0x30], 2
lea r12, [rbx + 8]
cmove r12, rax
call qword [fcn.1400214f0]
mov rcx, r12
mov r13, rax
call sub.msvcrt.dll_strlen
mov r9, r13
mov edx, 1
mov rcx, r12
mov r8, rax
call sub.msvcrt.dll_fwrite
mov rcx, r13
call sub.msvcrt.dll_fflush
mov ecx, 1
call sub.msvcrt.dll_exit
nop
nop
Function at 0x1400031c0
Capabilities:
Read file on windows

Disassembly:
push r14
push r13
push r12
push rsi
push rbx
sub rsp, 0x50
lea rax, [0x1400231a0]
mov r14, rcx
mov r13, rdx
lea rcx, [rsp + 0x20]
mov edx, 0xfa0
mov qword [rsp + 0x30], 0
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], rax
call fcn.140005b40
movdqu xmm0, xmmword [rsp + 0x20]
mov rbx, qword [0x140028130]
movaps xmmword [rsp + 0x40], xmm0
mov rcx, qword [rsp + 0x48]
add rcx, 8
mov r9, r13
mov r8d, 0xfa0
mov edx, 1
call sub.msvcrt.dll_fread
mov r12, rax
cmp rax, 0xfa0
je 0x140003290
mov rcx, r13
call sub.msvcrt.dll_ferror
test eax, eax
je 0x14000325a
mov rcx, r13
call fcn.140002c10
cmp byte [rbx], 0
lea r13, [rsp + 0x40]
je 0x1400032e8
mov rcx, r13
call fcn.140003ee0
movdqa xmm1, xmmword [rsp + 0x30]
mov rax, r14
movups xmmword [r14], xmm1
add rsp, 0x50
pop rbx
pop rsi
pop r12
pop r13
pop r14
ret
cmp byte [rbx], 0
jne 0x14000333b
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140004860
mov r12, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test r12, r12
jle 0x140003224
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
lea r8, [r12 + 1]
lea r9, [rdx + rax + 8]
lea rdx, [rcx + 8]
mov rcx, r9
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x30], r12
jmp 0x14000321f
mov rdx, r12
mov rcx, r13
call fcn.140004fe0
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140004860
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x140003268
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea r8, [rbx + 1]
lea rcx, [rcx + rax + 8]
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x30], rbx
jmp 0x140003268
lea r13, [rsp + 0x40]
jmp 0x140003268
Function at 0x140003350
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x50
lea r15, [rsp + 0x20]
mov r12, rdx
mov r13, rcx
mov rdx, r8
mov qword [rsp + 0x30], 0
mov rcx, r15
mov rbx, r8
mov qword [rsp + 0x38], 0
call fcn.140005b40
mov r9, r12
mov r8, rbx
mov edx, 1
movdqu xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm0
mov rax, qword [rsp + 0x38]
lea rcx, [rax + 8]
call sub.msvcrt.dll_fread
mov r14, rax
cmp rbx, rax
je 0x1400033c2
mov rcx, r12
call sub.msvcrt.dll_ferror
test eax, eax
jne 0x140003410
mov rdi, qword [0x140028130]
cmp byte [rdi], 0
jne 0x1400033eb
mov rcx, r12
call sub.msvcrt.dll_fgetc
mov rdx, r12
mov esi, eax
mov ecx, eax
call sub.msvcrt.dll_ungetc
test esi, esi
jns 0x140003430
cmp rbx, r14
jg 0x140003420
movdqa xmm1, xmmword [rsp + 0x30]
mov rax, r13
movups xmmword [r13], xmm1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
call fcn.140002c10
jmp 0x1400033c2
lea rcx, [rsp + 0x30]
mov rdx, r14
call fcn.140004fe0
jmp 0x1400033eb
mov qword [rsp + 0x40], 0
mov rdx, r12
mov rcx, r15
mov qword [rsp + 0x48], 0
call fcn.1400031c0
movdqu xmm2, xmmword [rsp + 0x20]
cmp byte [rdi], 0
movaps xmmword [rsp + 0x40], xmm2
jne 0x14000349c
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140004860
mov rbx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
test rbx, rbx
jle 0x14000349c
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
add rdx, 8
lea r8, [rbx + 1]
lea rcx, [rcx + rax + 8]
call sub.msvcrt.dll_memcpy
add qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x40]
call fcn.140003ee0
jmp 0x1400033eb

Function at 0x140003780
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
sub rsp, 0x28
xor r8d, r8d
mov r13, rcx
mov r12, rdx
test rdx, rdx
je 0x1400037a1
mov rcx, rdx
call sub.msvcrt.dll_strlen
mov r8, rax
mov rcx, r12
mov r9, r13
mov edx, 1
call sub.msvcrt.dll_fwrite
mov rcx, r13
add rsp, 0x28
pop r12
pop r13
jmp sub.msvcrt.dll_fflush

Function at 0x14000c200
Capabilities:
Query environment variable

Disassembly:
push r12
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [rdx + 8]
cmp qword [rdx], 0
movdqu xmm6, xmmword [r8]
mov qword [rsp + 0x30], 0
mov r12, rcx
lea rcx, [rax + 8]
lea rax, [0x140023c5f]
mov qword [rsp + 0x38], 0
cmove rcx, rax
call sub.msvcrt.dll_getenv
mov rdx, rax
test rax, rax
je 0x14000c280
lea rcx, [rsp + 0x20]
call fcn.140003e10
movdqu xmm1, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x30], xmm1
movdqa xmm0, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov rax, r12
movups xmmword [r12], xmm0
add rsp, 0x50
pop r12
ret
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm6
call fcn.140005d60
jmp 0x14000c25e