joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4266f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x0042b7e0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x42675e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x42675e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x42675e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x42675e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x426755
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x426765
add rcx, 0x28
cmp rcx, rax
jne 0x426740
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x426778
jmp 0x42675e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x426786
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x42675e
test r9d, r9d
jg 0x426770
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret

Function at 0x426a30
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x140017ef0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140018020
Function at 0x1400034f0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400035b9
cmp byte [rcx + 0x71], 0
je 0x1400035b9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400035ac
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
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 0x140003568
sub eax, 1
je 0x14000356c
cmp eax, 2
jne 0x1400035ac
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14000359a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400035ac
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140005300
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 0x14000535d
lea rbx, [0x14004a230]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140005344
cmp r10, 2
jb 0x140005344
cmp byte [r9], r8b
jne 0x140005344
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 0x140005320
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000539f
lea rbx, [0x14004a230]
cmp r8b, 0x23
jne 0x140005383
cmp byte [r9], r8b
jne 0x140005383
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 0x140005370
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140005560
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 0x14000558f
mov r8d, 0x627
lea rdx, str.C:UsersJUPDownloadsGaming_Lag_Switch_mainRAPE_THEM_ALL_USERImGuiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x14000559b
mov qword [rdi], 0
lea rdx, [0x140049e28]
mov rcx, rbx
call fcn.1400053b0
mov rbx, rax
test rax, rax
jne 0x1400055bd
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 0x140005694
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005694
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x140005694
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 0x140005694
cmp rsi, 0xffffffffffffffff
je 0x140005694
mov rax, qword [0x14005aa98]
test rax, rax
je 0x140005631
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x140005694
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 0x140005681
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14005aa98]
test rax, rax
je 0x140005676
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000569d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x14000568f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x14000569f
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 0x1400079b0
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 0x1400079e6
mov r8d, 0x695
lea rdx, str.C:UsersJUPDownloadsGaming_Lag_Switch_mainRAPE_THEM_ALL_USERImGuiimgui.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, [0x14004a230]
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 [0x14005aa98]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c5c], edx
jne 0x140007a60
mov dword [rax + 0x1c60], edx
cmp dword [rax + 0x1c98], edx
jne 0x140007a6f
mov byte [rax + 0x1c9c], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140012d20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x14005aa98]
mov rsi, rcx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xc8
cmp dword [rbx], 0
jg 0x140012d6b
mov r8d, 0x695
lea rdx, str.C:UsersJUPDownloadsGaming_Lag_Switch_mainRAPE_THEM_ALL_USERImGuiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x14004a230]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x34]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x35]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x36]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x37]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x140012e4a
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140012e36
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x140012e3b
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.14001b750
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400142a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14005aa98]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x1400142f1
cmp byte [rbx + 0x1f4e], 0
jne 0x1400142f1
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140005280
test dil, 1
je 0x140014416
jmp 0x140014379
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x140052888]
xor eax, eax
mulss xmm1, dword [0x14005287c]
addss xmm0, dword [rbx + 0x128]
lea edx, [rax + 0x10]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x140052808]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
mov r9d, dword [rbx + 0x2ff8]
call fcn.140005280
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400143d0
lea r11, [0x14004a230]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400143b3
cmp byte [r8], r9b
jne 0x1400143b3
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400143a0
not ecx
call fcn.14000cee0
test rax, rax
je 0x140014416
cmp byte [rax + 0x8e], 0
je 0x140014416
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.140005280
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000f530
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140044084
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400440ce
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400440ce
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400440ce
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400440ce
cmp dword [rcx + 0x84], 0xe
jbe 0x1400440ce
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400440d0
xor al, al
add rsp, 0x28
ret
Function at 0x140077d60
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140179c08]
mov ecx, dword [0x1401719a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140077e33
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140077dc1
movsxd rcx, dword [0x140179c00]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140179c04]
jne 0x140077dc1
mov rdi, qword [rax + rcx]
test rdi, rdi
jne 0x140077dc9
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov rax, qword [rdi]
test rax, rax
js 0x140077e76
cmp dword [rdi + 0x14], 1
jne 0x140077e80
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140077ebf
movabs rax, 0xbfffffffffffffff
lock and qword [rdi], rax
mov rsi, qword [rsi]
mov rcx, qword [rdi + 8]
test rcx, rcx
jne 0x140077edd
mov rax, qword [rdi]
movabs rcx, 0x6000000000000000
and rcx, rax
movabs rax, 0xffffffffffffff
and rsi, rax
or rsi, rcx
mov qword [rdi], rsi
add dword [rdi + 0x14], 0xffffffff
jmp 0x140077dc1
lea rcx, [0x140179c08]
call fcn.14007b4e8
cmp dword [0x140179c08], 0xffffffff
jne 0x140077d8f
mov qword [0x140179c00], 0
lea rcx, [0x140179c00]
xor edx, edx
call fcn.140050d20
lea rcx, [0x140179c08]
call fcn.14007ac34
jmp 0x140077d8f
call fcn.140128b20
jmp 0x140077dd5
cmp byte [rsi + 8], 0
je 0x140077dfa
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140077eac
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
movabs rax, 0x4000000000000000
lock or qword [rdi], rax
jmp 0x140077dfa
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140077dec
mov rbx, qword [rdi]
call qword [rcx + 8]
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi], rcx
jmp 0x140077e0a

Function at 0x140077f00
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140179c10]
cmp rsi, 1
jbe 0x140077f4c
mov ecx, dword [0x140171588]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rcx, rax
mov al, 2
and rcx, 0xfffffffffffffffc
je 0x140077f45
movsxd rdx, dword [rsi]
shl rdx, 4
mov edi, dword [rcx + rdx + 8]
cmp edi, dword [rsi + 4]
jne 0x140077f45
mov rcx, qword [rcx + rdx]
test rcx, rcx
je 0x140077f45
mov al, byte [rcx]
add rsp, 0x28
pop rdi
pop rsi
ret
lea rcx, [0x140179c10]
call fcn.14004bff0
test al, al
je 0x140077f92
mov qword [0x140179c18], 0
lea rdi, [0x140179c10]
lea rsi, [0x140179c18]
mov rcx, rsi
xor edx, edx
call fcn.140050d20
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.14004be50
jmp 0x140077f13
mov rsi, qword [0x140179c10]
jmp 0x140077f13

Function at 0x14008824c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140088370
Function at 0x1401339c0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
lea rcx, [0x1401742b0]
call sub.KERNEL32.dll_AcquireSRWLockExclusive
mov rax, qword [rsi]
mov qword [rsi], 0
mov rdi, qword [0x1401742c0]
mov qword [0x1401742c0], rax
test rdi, rdi
je 0x140133a1e
mov rcx, qword [rdi + 0x48]
call fcn.140028300
lea rcx, [rdi + 0x28]
call fcn.140028640
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140133a16
mov qword [rdi + 0x18], rcx
call fcn.140028970
mov rcx, rdi
call fcn.140028970
lea rcx, [0x1401742b0]
call sub.KERNEL32.dll_ReleaseSRWLockExclusive
lea rcx, [0x1401742b8]
call sub.KERNEL32.dll_WakeAllConditionVariable
mov rdi, qword [rsi]
mov qword [rsi], 0
test rdi, rdi
je 0x140133a77
mov rcx, qword [rdi + 0x48]
call fcn.140028300
lea rcx, [rdi + 0x28]
call fcn.140028640
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140133a69
mov qword [rdi + 0x18], rcx
call fcn.140028970
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140028970
nop
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400111e5
Capabilities:
Terminate process

Disassembly:
jmp 0x140012da0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001126c
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400140f0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014110
xor al, al
jmp 0x140014191
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014123
xor al, al
jmp 0x140014191
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001414d
xor al, al
jmp 0x140014191
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014161
xor al, al
jmp 0x140014191
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014173
xor al, al
jmp 0x140014191
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001418f
xor al, al
jmp 0x140014191
mov al, 1
add rsp, 0x38
ret
Function at 0x100138310
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10013831d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10013832d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x100138315
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x100138345
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x100138332
sub eax, 3
jb 0x10013835f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x100138396
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x100138386
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x100138384
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x100138373
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.1001382d2
jmp 0x10013831d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1a200
mov dl, 7
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1001383e2
cmp rsi, rcx
jae 0x1001383ea
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1001383c9
cmp al, 0x8f
ja 0x1001383c9
cmp byte [rsi - 2], 0xf
je 0x1001383cf
sub al, 0xe8
cmp al, 1
ja 0x1001383b3
cmp rsi, rcx
jae 0x1001383ea
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1001383b9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1001383ea
lodsb al, byte [rsi]
jmp 0x1001383c9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x136000]
mov eax, dword [rdi]
or eax, eax
je 0x100138447
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x138000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1001383f7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x100138441
mov qword [rbx], rax
add rbx, 8
jmp 0x100138417
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
mov byte [fcn.1001384ca], 0xfc
lea rcx, [rsi - 0x1000]
push 1
pop rdx
xor r8, r8
push rax
call fcn.1001384ca
pop rax
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1001384ba
sub rsp, 0xffffffffffffff80
jmp 0x1000016d0
Function at 0x140008ab4
Capabilities:
Hash data with crc32

Disassembly:
mov rax, qword [rcx + 0x1e8]
mov r10, r8
movsxd r9, dword [rcx + 0x1e0]
mov r11, rdx
mov rcx, r11
mov r8d, dword [rax + r9*4 - 4]
mov eax, r10d
sub eax, edx
neg r10
sbb edx, edx
and edx, eax
jmp fcn.140009498

Function at 0x140009128
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd r15, r9d
mov rsi, r8
test r8, r8
je 0x14000914f
and qword [r8], 0
call fcn.140009264
mov rbx, rax
test rax, rax
je 0x140009248
xor edx, edx
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000923f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14000923f
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000923f
mov rax, qword [0x1400d1380]
mov rbp, rdi
test rax, rax
je 0x1400091b7
inc dword [rax + 0x3c8]
mov rdx, qword [0x1400d1390]
lea rcx, [r15 + rdi]
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14000923f
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, rbp
je 0x140009216
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400d1380]
test rax, rax
je 0x140009204
dec dword [rax + 0x3c8]
mov rdx, qword [0x1400d1390]
mov rcx, rdi
call qword [0x1400cf008]
jmp 0x140009248
test r15d, r15d
jle 0x140009229
lea rcx, [rdi + rbp]
mov r8, r15
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x14000923a
mov qword [rsi], rbp
mov rax, rdi
jmp 0x14000924a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140009498
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
cmp dword [0x1400d13b4], 0
lea rsi, [0x1400d13b0]
mov ebx, r8d
mov edi, edx
mov r10, rcx
jne 0x1400094ff
xor r9d, r9d
mov r11, rsi
mov r8d, r9d
mov edx, 8
mov ecx, r8d
mov eax, r8d
and ecx, 1
shr eax, 1
neg ecx
and ecx, 0xedb88320
mov r8d, ecx
xor r8d, eax
sub rdx, 1
jne 0x1400094cd
mov dword [r11], r8d
inc r9d
add r11, 4
cmp r9d, 0x100
jb 0x1400094c5
not ebx
mov edx, ebx
test edi, edi
jle 0x140009521
movzx eax, byte [r10]
inc r10
movzx ecx, dl
xor rcx, rax
shr edx, 8
xor edx, dword [rsi + rcx*4]
sub edi, 1
jne 0x140009507
jmp 0x14000955b
mov r8b, byte [r10]
inc r10
test r8b, r8b
je 0x14000955b
mov r9b, reloc.WLDAP32.dll_Ordinal_35
cmp r8b, r9b
jne 0x140009540
cmp byte [r10], r9b
jne 0x140009540
cmp byte [r10 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r8b
mov r8b, byte [r10]
xor rcx, rax
shr edx, 8
inc r10
xor edx, dword [rsi + rcx*4]
test r8b, r8b
jne 0x14000952f
mov rbx, qword [rsp + 8]
not edx
mov rsi, qword [rsp + 0x10]
mov eax, edx
mov rdi, qword [rsp + 0x18]
ret
Function at 0x14000e7dc
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400d1380]
mov rbx, rcx
and dword [rax + 0x2d9c], 0
test rcx, rcx
je 0x14000e845
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14000e850
lea rdx, [0x1400ac284]
mov rcx, rbx
mov rdi, rax
call fcn.140009264
mov rbx, rax
test rax, rax
je 0x14000e845
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret