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

Disassembly:
push r14w
cld
push rbp
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
movaps xmmword [rsp + 0x10], xmm6
pmuludq mm7, qword [rbp + rcx*8 + 0x20]
movaps xmmword [rsp + 0x30], xmm8
pxor xmm4, xmmword [rdi + 0x4c]
invalid

Function at 0x5c44f0
Capabilities:
Encode data using xor

Disassembly:
dec byte [rax + 1]
jns 0x5c44f8
shl edx, 0x20
movabs rcx, 0xa46dc528fd865192
add rbp, rbp
sbb al, 0xd0
invalid
nop dword [rcx + rsi*8]
nop dword [rax]
xor dl, byte [rbp + rdx*2 + 0x57]
push rsi
push rbx
jrcxz 0x5c44e5
in al, dx
lea eax, [rdx - 1]
outsd dx, dword [rsi]
mov edi, ecx
fld st(7)
and al, 0xd0
add byte [rax], al
add byte [r11 + 0x77fdf8], al
mov ah, 0x8d
insb byte [rdi], dx
and al, 0x38
mov dword [rsi + 0x24], ebp
mov edx, 0xf3e98948
wait
adc al, 0xff
jns 0x5c44ab
je 0x5c4546
imul ecx, dword [rbx + rcx*4 + 0x17], 0xfc2d3b56
sbb ecx, dword [rcx - 0x39feb707]
jmp 0x5c4543
mov rbx, rcx
call dbg._pthread_get_tick_count
test rax, 0xffffffff8924e7c6
bnd retf
mov ecx, edi
push r8
cmp eax, 0x40d102
mov ebx, eax
je 0x5c4532
mov eax, ebx
add rsp, 0x40
pop rbx
invalid

Function at 0x5c534e
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov r8, rdi
movsxd r8, r8d
cmpsb byte [rsi], byte [rdi]
sar dword [rdx - 0x79ffffff], 1
call sym.fread
add rsp, 0xffffffffffffffcf
ret

Function at 0x616930
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x616960
Capabilities:
Read file on windows

Disassembly:
fist word [rdi + 0x56]
push rbx
sub rsp, 0x48
mov rbp, rcx
mov ecx, 0x10
mov rdi, rdx
mov rsi, r8
call 0xbcc920
mov rbx, rax
mov eax, 0x3902
call qword [rcx - 0x25]
je 0x6169d9
ficom word [rdx + 0x24]
cmp al, 0x4c
lea eax, [0x006167a0]
xor ecx, ecx
mov qword [rbx], rdi
mov qword [0x22eab2a8], rsp
mov qword [rsp + 0x77], rax
mov dword [rsp - 0x30], 0xe2000000
lodsd eax, dword [rsi]
add byte [rcx + 0x15ff009b], ch
adc al, 0x28
add byte [rax - 0x7b], cl
ror byte [rcx - 0x77], 0xc0
je 0x6169e2
mov esi, dword [rcx + 0x4a]
mov bh, 0x99
lea ecx, [0x006a1100]
call 0x9070c0
mov ebx, dword [rbx + 0x45893c1c]
cmp esi, dword [rcx]
ror byte [rax - 0x7d], 0xc4
sbb qword [rsi + 0x5f], rbx
add rsp, 0x48
sbb dword [rsi + 0x5f], ebx
pop rbp
ret
mov qword [rcx], rcx
call sym.fread
mov eax, 1
jmp 0x6169d9

Function at 0x623930
Capabilities:
Read file on windows

Disassembly:
add byte [rdx - 0x39], bl
invalid
sbb byte [rdx - 0x5fd0452f], al
xchg dword [rcx - 0x17], esp
movabs eax, dword [0x8948001f0ffffb31]
mov rcx, rdx
mov edx, 0xc6a030
jmp 0x5d6a66
Function at 0x62ebd9
Capabilities:
Encode data using xor

Disassembly:
pop rsi
enter 0xf66, 0x7e
enter 0x3c4, 0x77
adc byte [rcx + 0xd780fe], cl
add byte [rdx - 0x75], dh
loope sym.TimeToFrequency
mov dword [rax - 0x6e9528c0], 0xe7000000
xlatb
push 0xffffffffffffff91
xchg ecx, eax
add byte [rax], al
add bh, ah
add rsp, 0xffffffffffffffae
pop rbp
ret
push rbp
xor rsp, rbp
jne 0x62ebcc
mov esi, 0x104d89a6
jb 0x62ec3d
sbb byte [rcx + rcx*4 + 0x15], al
loop 0x62ebb5
sub al, 0
add byte [rax], al
add byte [rbx + 0xf00207d], al
test bl, al
add byte [rax], al
add bh, al
cld
add byte [rax], al
add byte [rax], al
jmp 0xffffffff8863eadb
or al, 0x85
add byte [rbx - 0x72b80000], dh
clc
jbe 0x62ebce
or al, 0x1e
jg 0x62ec5b
adc byte [rcx + rax], al
xchg edi, eax
pop rcx
enter 0xff9, 0x3a
enter 0x208, 0xffffffffffffff8b
xchg ecx, eax
sub al, 0x83
rol byte [rax + 0x48], 0x98
invalid

Function at 0x63f737
Capabilities:
Write file on windows

Disassembly:
jne 0x63f781
retf
add al, cl
mov eax, dword [rdi]
clc
pop rcx
or al, 0x48
xchg ebp, eax
lea rbx, [rax + 0x85]
add cl, byte [rax - 0x75]
invalid
mov r8, rdx
mov edx, 0x7b
mov rcx, rax
call sym.fwrite
mov rax, qword [rbp - 8]
mov dword [rax + 8], 0x620000
mov eax, 0x810000
jbe 0x63f768
jg 0x63f803
ret
mov dword [rbp - 9], ecx
call 0xfffffffffaac1060
fst dword [rax]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
cdq
invalid

Function at 0x651740
Capabilities:
Get common file path

Disassembly:
nop
nop
movabs dword [0x8a60488d48000a70], eax
mov ecx, esi
int1
test r8b, bl
jg 0x6517a6
and al, 0x20
call 0x8697998
call fcn.00699a08
nop
invalid
sub rsp, 0x28
cmp ecx, 0x3ee8
je 0x651719
jg 0x6516de
stc
invalid
add esp, 0x28
Function at 0x663240
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
jge 0x663287
push rbp
push r12
push rdi
push rsi
push rbx
mov ebp, 0xa8ec81
add byte [rax], al
lea rbp, [rsp + 0xf280]
retf
mov esi, ebx
loopne 0x6632d3
xor dword [rsi - 0x1f7cb7ee], 0xfffffff0
imul ebx, dword [rcx - 0x6bfffd12], 0xffffffcc
mov al, 0
add byte [rax], al
nop
sub al, ah
mov bpl, 0x44
and al, 0xbf
mov qword [rbp - 0x18], rax
mov eax, 1
movsd dword [rdi], dword [rsi]
cmp dword [rbp + 0x180f89d2], eax
mov eax, dword [rbx + 0x28]
je 0x663404
add dword [rdi - 0x58], 0xffffffe6
add byte [rax], al
add cl, byte [rcx + 0xd751c45]
or dword [rax + riz*4 + 0x1ec0000], 0x5d
test byte [rsi + 1], dl
add byte [rax], al
push 0xffffffff83181d94
mov ebp, 0x61a8
xchg edx, eax
sub eax, 0xa0bd830d
add byte [rax], al
add byte [rcx + 0xf], bh
test byte [rax + 0x4a00008e], bl
lea esp, [rdx]
xchg ebp, eax
add byte [r8], r8b
add byte [rbx + 0x48f87589], bl
mov dword [rbp + 0x75], edi
test byte [r8 - 0x77], 0x57
fcomp st(5)
push 0xffffffffffffffc7
cmpsb byte [rsi], byte [rdi]
shl eax, 2
mov rbx, rdx
adc byte [rcx - 0x73], al
and al, 0xff
call 0x4eb37a9
add byte [rax], al
xchg esi, eax
invalid
push rsi
add dword [rax], eax
add byte [rax - 0x6c], ch
sbb eax, 0xa8bd8318
invalid
mov eax, dword [rbp + 0x380038]
mov r8, rbx
add r13, qword [r10 + 0x648944f6]
and al, 0x30
and al, 0x30
mov edi, r11d
and al, 0x20
mov rdx, rdi
cwde
mov ecx, dword [rbp]
test dil, 0x9b
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x1c]
mov dword [rsp + 0x28], eax
mov r9, qword [r15 + 4]
call sym.clt_mdct_backward_c
pop rbp
pop rbp
adc byte [rax + 0x3b], cl
jge 0x6633d6
jne 0x663390
mov rax, r11
add rsi, 1
mov rdx, qword [rdx]
loopne 0x6633c8
add dword [rax - 0x75], ecx
adc ah, al
in al, dx
mov edx, dword [rbp - 0x80]
add qword [rbp - 0x10], rcx
push 0x3139f855
test al, 0
add byte [rax], al
leave
invalid
sub eax, edx
mov ebp, 0xa8
add cl, byte [rcx - 0x7536e3bb]
cmp dword [rbp + 0xfa], 0xffffffca
loop 0x66339f
invalid
Function at 0x668550
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
sti
push rbp
push r12
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rbx + rdi*2 + 0x5080]
movaps xmmword [rbp - 0x30], xmm6
test r8d, r8d
pop rbp
mov edi, ebp
fcmovbe st(0), st(7)
mov dword [rbp + 0x40], r8d
mov dword [rbp + 0x56], 0
mov dword [rbp + 0x1c], 0xce
clc
xor al, 0x10
add al, byte [rax]
fiadd word [rbp - 0x7b]
leave
jle 0xe5ec84
mov ebx, dword [rbp + 0x40]
sar ebx, 2
movsxd rax, ebx
lea rax, [rax*4 + 0x12]
sub qword [rax], 0x75
call fcn.00692130
mov edx, dword [rbp - 0x4c]
or rsp, rax
lea rcx, [rsp + 0x30]
add edx, r13d
sar edx, 2
mov dl, 0xc2
lea rax, [rax*4 + 0x4f000012]
jle 0x668551
add cl, byte [rax - 0x4e]
ret 0x8d48
loopne 0x6685c0
call 0x689630
xor byte [rcx - 0x3c0fb732], cl
sar esi, 1
lea rdi, [rsp + 0x30]
sbb rsi, rax
in eax, dx
add al, 0x85
adc al, byte [rax]
add byte [rax], al
mov dword [rbx + 0x3ae81ce0], 0x48760295
sub esp, eax
sub rsp, rax
xor eax, eax
test ebx, ebx
lea r13, [rsp + 0x69]
je 0x668617
movss xmm0, dword [r14 + rax*8]
out 0x11, eax
add al, 0x81
cmp qword [rax + 1], 0x39
ret
xor eax, eax
test edx, edx
jle 0x668633
invalid
mov edx, dword [rbp + 0x58]
xchg r10d, eax
stc
add cl, byte [rbp - 0x77]
call 0x45330f86
or byte [rsp + 0x20], 0x41
mov ecx, ebx
mov edx, ebx
and al, 0x28
mov rdx, rdi
call sym.celt_pitch_xcorr_c
lea rax, [rbp - 0x40]
mov r9d, r12d
xor al, 0x89
fmul dword [rax - 0x29]
cli
mov qword [rsi], r14
xor ebx, ebx
and rsp, rcx
jnp 0x66868b
jo 0x6685f6
mov r8d, 0xd8fc894d
test eax, 0x9cfffff8
jge 0x6686ba
movss xmm2, dword [rcx + 0x60]
ja 0x66868a
add cl, dl
inc dword [rbp + 0xf8561f6]
invalid
nop dword [rax + rax - 0x1000000]
test byte [rax], al
add byte [rax], al
add bh, bh
add byte [rax], al
add byte [rax], al
dec dword [rbx - 0x38be3ffc]
mov eax, dword [rax + rax*8]
invalid
invalid
xor bl, byte [rbp + 0xb40000]
add bh, dh
xchg ebp, eax
lea eax, [rbx + rax*2]
push rbx
xor eax, edx
sub eax, edx
pop rax
sub dword [rdx], eax
jle 0x6686bd
mov eax, dword [rbp - 0x3c]
loopne 0x668688
lea eax, [rbx + rax*2]
cdq
xor eax, edx
sub eax, edx
adc eax, edi
add bh, byte [rdi + 0x1c]
invalid

Function at 0x66ba40
Capabilities:
Encode data using xor

Disassembly:
wait
sub esp, 0x18
sbb eax, 0xa8243429
movups xmm4, xmmword [0x00790370]
sub edx, r8d
jnp 0x66ba64
adc byte [rsp + 0x40], ch
test edx, edx
xorps xmm4, xmm5
jle 0x66babe
lea eax, [rdx + 0x6d]
movsxd r13, dword [r15]
shr qword [r8 + 0x14884c02], 0x85
add al, 0x58
mov edi, 0xc88948da
sub eax, 0x1f0fca01
cmp eax, dword [rax]
add byte [rax], al
add byte [rax], al
add al, 0x28
invalid
invalid
ret 0x635b

Function at 0x68d6c8
Capabilities:
Encode data using xor

Disassembly:
push rdi
push rsi
test al, 0x48
and dword [rbx + 0x59290f40], 0x24
xor byte [rax - 0x75], cl
add eax, 0x79d55
mov dword [rax], ebp
mov ecx, dword [rax]
jp 0x68d6cc
js 0x68d74d
iretd
invalid
Function at 0x69def0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
movabs rax, 0xfc582a44b2ec38ec
sbb cl, bl
mov ecx, 0xce000002
test byte [rbp - 0x76b3a7dc], bl
and dword [rax + rax*8], 0x4c
mov dword [rsp - 0xe], ecx
mov qword [rax + 0x24], rdx
sub al, ch
xor al, 0x77
dec dword [rsi + 0x7d6c3148]
test dword [rsi], eax
add byte [rcx - 0x77], cl
jge 0x69df68
xor byte [rax + rax], 0x26
mov edx, 1
call sym.fwrite
mov rbx, qword [rbx]
and al, 0x28
mov ecx, 0xac
call 0xffffffffff95d137
mov rdx, rbx
mov rcx, rax
add al, 0x89
invalid
nop
nop
nop
nop
nop
xchg dword [rax - 0x70], edx
invalid
Function at 0x1400436c0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14009e240], rbx
je 0x14004370c
cmp rax, rbx
jne 0x1400436ff
mov ebx, 1
mov esi, ebx
jmp 0x140043711
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400436e4
mov ebx, 1
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x140043727
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14004378c
mov eax, dword [0x14009e248]
test eax, eax
jne 0x140043786
mov dword [0x14009e248], ebx
lea r15, [0x140053f60]
lea rdi, [0x140053f48]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x140043778
test eax, eax
jne 0x14004377c
cmp qword [rdi], 0
je 0x14004376d
mov rax, qword [rdi]
mov rcx, qword [0x140053f18]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x14004374e
test eax, eax
je 0x14004378c
mov eax, 0xff
jmp 0x140043868
mov dword [0x14007c4b4], ebx
mov eax, dword [0x14009e248]
cmp eax, ebx
jne 0x1400437b3
lea rdx, [0x140053f40]
lea rcx, [0x140053f20]
call sub.msvcrt.dll__initterm
mov dword [0x14009e248], 2
test esi, esi
jne 0x1400437c0
xor eax, eax
xchg qword [0x14009e240], rax
cmp qword [0x14009e260], 0
je 0x1400437f4
lea rcx, [0x14009e260]
call fcn.140044300
test eax, eax
je 0x1400437f4
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14009e260]
mov r9, qword [0x140053f18]
call r9
mov r8, qword [0x14007c4c8]
mov rdx, qword [0x14007c4c0]
mov ecx, dword [0x14007c4b8]
call fcn.1400012fc
mov dword [0x14007c4b0], eax
cmp dword [0x14007c4d0], 0
jne 0x140043824
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14007c4b4], 0
jne 0x140043839
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14007c4b0]
jmp 0x140043868
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401c4000
add rsp, 0x28
jmp 0x1400436c0

Function at 0x140043ea8
Capabilities:
Print debug messages

Disassembly:
jmp 0x140043eb4
push rbx
sub rsp, 0x540
mov rax, qword [0x14007c478]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x140043f31
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x140043f51
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400438c0
add rsp, 0x540
pop rbx
ret
Function at 0x140004e80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140004ead
xor eax, eax
jmp 0x140005019
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140004ee7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140004ee7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140005019
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000500c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140004f2a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140004f55
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005011
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140004fc4
sub eax, 1
je 0x140004fc4
cmp eax, 2
jne 0x14000500c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140005011
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140004ff2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000500c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005011
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400088e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005530
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005603
cmp byte [rcx + 0x71], 0
je 0x140005603
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400055ff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400055c4
sub eax, 1
je 0x1400055c8
cmp eax, 2
jne 0x1400055ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400088e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400055f6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400055ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400055ac
xor al, al
jmp 0x1400055ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400088e0
add rsp, 0x60
pop rbx
ret

Function at 0x140007eb4
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 0x140007eee
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140007ef3
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 0x140007f3c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14000a5a0]
cmp byte [rcx + rax], 0
je 0x140007f3c
dec r8
sub rdx, 1
jne 0x140007f22
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140009484
Capabilities:
Parse pe header

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

Disassembly:
pop rbx
invalid
xor byte [rax], dh
push rax
xor byte [rax], dh
xor byte [rdx + 5], al
jrcxz 0x4052eb
call 0x427157ec
add eax, 0x8fe893e3
add al, 0x31
shr dword [rsi + 0x73], cl
invalid
Function at 0x140027db0
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.14001b754
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b754
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f00
cmp rax, 0xffffffffffffffff
je 0x140027f00
xor edi, edi
test rbp, rbp
jle 0x140027eab
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd40
mov rbx, rax
test rax, rax
jne 0x140027e38
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ea1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400158f8
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.14001c430
cmp eax, 0xffffffff
je 0x140027e81
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e48
mov edx, r15d
mov ecx, r14d
call fcn.1400158f8
jmp 0x140027ea1
cmp byte [rsi + 0x38], dil
je 0x140027e98
cmp dword [rsi + 0x34], 5
jne 0x140027e98
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ea1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e18
jmp 0x140027f14
jns 0x140027f14
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b754
cmp rax, 0xffffffffffffffff
jne 0x140027ecc
cmp byte [rsi + 0x30], dil
je 0x140027f14
mov edi, dword [rsi + 0x2c]
jmp 0x140027f14
mov ecx, r14d
call fcn.140016ef8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f14
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 0x140027f14
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f0d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f12
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b754
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 0x140008524
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008320
Function at 0x140001750
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, 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.140007400
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140007400
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x1400017c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14000c0a4]
mov rbx, rcx
test esi, esi
jle 0x1400018f0
mov rax, qword [0x14000c0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000180b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001895
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400017f0
mov rcx, rbx
call fcn.140002210
mov rdi, rax
test rax, rax
je 0x140001912
mov rax, qword [0x14000c0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002350
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14000c0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400018f7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000188e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400018a0
add dword [0x14000c0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14000c0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000188e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001750
nop dword [rax]
xor esi, esi
jmp 0x140001818
mov rax, qword [0x14000c0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001750
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001750
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001e80
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14000c100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14000c0e0]
test rbx, rbx
je 0x140001edc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140001ed3
test rsi, rsi
je 0x140001ed3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001eb8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]