joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048800
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400488d3
cmp byte [rcx + 0x71], 0
je 0x1400488d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400488cf
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 0x140048894
sub eax, 1
je 0x140048898
cmp eax, 2
jne 0x1400488cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400aca30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400488c6
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 0x1400488cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14004887c
xor al, al
jmp 0x14004887c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400aca30
add rsp, 0x60
pop rbx
ret

Function at 0x14004ab20
Capabilities:
Create thread

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, str.Oh_No_I_Got_Caught_Trying_To_Crack_Am_NOT_russian_pro_cracker_:sob:___
mov qword [rsp + 0x40], rax
lea rax, str.Krypton___Security
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], 0x10
mov dword [rsp + 0x54], 0x5dc
mov ecx, 0x18
call fcn.1400aca50
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rax + 0x10], xmm1
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14004c2a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14004abec
cmp dword [rsp + 0x38], 0
je 0x14004abe0
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14004abe0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400aca30
add rsp, 0x78
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x38], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x14004ac00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x40]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x1a
xor edi, edi
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
test eax, eax
js 0x14004ac74
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x14004ac64
lea rdx, [rsp + 0x40]
jmp 0x14004ac7e
xor r8d, r8d
lea rdx, [0x1400ce686]
mov rcx, rbx
call fcn.140004da0
mov rax, rbx
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400aca30
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret

Function at 0x14004c300
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14004c361
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14004c320
mov ecx, dword [r9]
jmp 0x14004c44b
cmp ecx, 0x4e0
jb 0x14004c44b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14004c380
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14004c3d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14004dbb0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1400e2040]
xor rax, rsp
mov qword [rbp + 0x17], rax
movss xmm6, dword [0x1400d04d8]
xor sil, sil
mov rdi, qword [rbp - 0x39]
xor r14d, r14d
movabs r12, 0x7ffffffffffffffe
movabs r15, 0x7fffffffffffffff
movabs r13, 0x7ffffffffff0bdbf
mov ecx, dword [0x14017e99c]
test ecx, ecx
je 0x14004dc49
sub ecx, 1
je 0x14004dc31
cmp ecx, 1
jne 0x14004dc67
mov byte [0x14017e9a8], cl
jmp 0x14004dc67
mov ecx, dword [0x14017e998]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne byte [0x14017e9a8]
jmp 0x14004dc67
mov ecx, dword [0x14017e998]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x14004dc67
cmp byte [0x14017e9a8], r14b
sete byte [0x14017e9a8]
lea rdx, [rbp - 0x48]
mov dword [rbp - 0x49], 0x626f5209
xor ecx, ecx
mov dword [rbp - 0x45], 0x786f6c
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, rbx
jne 0x14004ddd6
cmp byte [0x14017e9a8], r14b
je 0x14004dd8a
cmp byte [0x14017f4d4], r14b
je 0x14004dd8a
mov rax, qword [0x14017f500]
add rax, 0x110
mov dword [rbp + 0x10], r14d
mov qword [rbp - 9], rax
lea rax, [rbp - 0x19]
mov qword [rbp - 1], rax
mov eax, dword [0x14017f670]
mov word [rbp + 0x14], r14w
mov byte [rbp + 0x16], r14b
mov dword [rbp - 0x11], 0x12b2d92
mov qword [rbp + 7], 8
mov dword [rbp - 0xd], eax
mov byte [rbp + 0xf], r14b
test eax, eax
je 0x14004dd2f
mov rcx, qword [0x14017f668]
test rcx, rcx
je 0x14004dd2f
mov qword [rsp + 0x38], r14
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], r14
lea r8, [rbp - 0x11]
mov dword [rsp + 0x28], 0x28
mov r9d, 0x28
mov edx, 0x224a14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp byte [0x1400e3264], r14b
je 0x14004dd47
test sil, sil
je 0x14004dd47
test rdi, rdi
je 0x14004dd47
mov rbx, rdi
jmp 0x14004dd54
call fcn.14004c770
mov rbx, rax
test rax, rax
je 0x14004dd8a
lea rdx, [rbx + 0x158]
call fcn.1400489b0
lea rdx, [rbp - 0x29]
lea r8, [rax + 0x140]
call fcn.140048b50
movss xmm0, dword [rbp - 0x25]
comiss xmm0, xmm6
jbe 0x14004dd8a
mov rcx, rbx
call fcn.14004cec0
mov rdi, rbx
mov sil, 1
jmp 0x14004dd8d
xor sil, sil
cmp dword [0x14017f4e0], 1
je 0x14004dc15
lea rcx, [rbp - 0x31]
call fcn.140049d20
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x41], rax
cmp rax, r12
je 0x14004de15
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14004de15
inc rax
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
call fcn.14004c1b0
jmp 0x14004dc15
lea rcx, [rbp - 0x39]
call fcn.140049d20
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x41], rax
cmp rax, r13
je 0x14004de15
mov ecx, 1
mov edx, 0xff
cmovl ecx, edx
test cl, cl
jns 0x14004de15
add rax, 0xf4240
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], rax
call fcn.14004c1b0
jmp 0x14004dc15
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x41], r15
call fcn.14004c1b0
jmp 0x14004dc15
Function at 0x1400529b0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x140052bbb
mov rdx, qword [rcx + 0x18]
movabs r8, 0x100000001b3
mov qword [rax + 0x10], rbx
mov rbx, r14
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov r12, qword [rcx + 8]
movzx ecx, byte [r14 + 0x10]
mov qword [rax - 0x20], r13
mov r13, qword [r14 + 8]
mov qword [rax - 0x28], r15
movabs rax, 0xcbf29ce484222325
xor rcx, rax
mov qword [rsp + 0x30], rdx
movzx eax, byte [r14 + 0x11]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x12]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x13]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x14]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x15]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x16]
imul rcx, r8
xor rcx, rax
movzx eax, byte [r14 + 0x17]
imul rcx, r8
xor rcx, rax
mov rax, qword [rsi + 0x30]
imul rcx, r8
and rax, rcx
shl rax, 4
add rax, rdx
mov qword [rsp + 0x20], rax
mov rcx, qword [rax]
mov r15, qword [rax + 8]
mov qword [rsp + 0x28], rcx
nop dword [rax + rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400aca94
dec qword [rsi + 0x10]
cmp rdi, r15
je 0x140052ac9
cmp rbx, rbp
jne 0x140052a90
cmp qword [rsp + 0x28], r14
jne 0x140052b94
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rbx
jmp 0x140052b94
mov rcx, qword [rsp + 0x20]
cmp qword [rsp + 0x28], r14
jne 0x140052add
mov qword [rcx], r12
mov rax, r12
jmp 0x140052ae0
mov rax, r13
mov qword [rcx + 8], rax
cmp rbx, rbp
je 0x140052b94
nop dword [rax]
movzx r15d, byte [rbx + 0x10]
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r15, rax
movzx eax, byte [rbx + 0x11]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x12]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x13]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x14]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x15]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x16]
imul r15, rdx
xor r15, rax
movzx eax, byte [rbx + 0x17]
imul r15, rdx
xor r15, rax
imul r15, rdx
and r15, qword [rsi + 0x30]
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x18
call fcn.1400aca94
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x140052bc7
cmp rbx, rbp
jne 0x140052b70
mov qword [r15], rbx
mov r12, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x80]
mov r15, qword [rsp + 0x40]
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x78]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140052af0
jmp 0x140052b94
Function at 0x140053ac0
Capabilities:
Hash data using fnv

Disassembly:
push rbx
push rsi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov ebx, 1
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140053af5
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x58], rdi
mov rdi, qword [rsi + 8]
or rax, rbx
bsr rcx, rax
mov r8, rdi
mov qword [rsp + 0x20], r14
inc ecx
shl rbx, cl
lea rcx, [rsi + 0x18]
lea rdx, [rbx + rbx]
call fcn.140052be0
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov rcx, qword [rsi + 8]
mov rcx, qword [rcx]
cmp rcx, rdi
je 0x140053c64
mov qword [rsp + 0x50], rbp
mov rax, rcx
movabs rbp, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rbp
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rbx
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rbx
xor r11, rdx
imul r11, rbx
and r11, qword [rsi + 0x30]
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rdi
jne 0x140053bd9
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140053c53
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140053c16
mov r10, qword [rdx]
cmp r10, rax
je 0x140053c10
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140053c53
cmp r9, rdx
je 0x140053c2f
nop dword [rax + rax]
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140053c75
cmp r9, rdx
jne 0x140053c20
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rdi
jne 0x140053b60
mov rbp, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rsi
pop rbx
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140053c53
Function at 0x140053ca0
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x140053cd1
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x14017f618]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x14017f628]
lea rdx, [rdi + rdi]
call fcn.140052be0
mov rax, qword [0x14017f618]
lea r9, [rdi - 1]
mov qword [0x14017f640], r9
mov qword [0x14017f648], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140053e72
mov qword [rsp + 0x40], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x14017f628]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140053dbc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140053e33
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140053df9
mov r10, qword [rdx]
cmp r10, rax
je 0x140053df3
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x140053e33
cmp r9, rdx
je 0x140053e0f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140053e47
cmp r9, rdx
jne 0x140053e00
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x140053e6d
mov r9, qword [0x14017f640]
jmp 0x140053d41
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140053e33
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140097000
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 r14
sub rsp, 0x20
mov rax, qword [rcx + 0x28]
xor esi, esi
sub rax, 0x34
mov qword [rcx + 0x88], rsi
mov qword [rcx + 0x30], rax
mov r14d, edx
mov rax, qword [rcx + 0x38]
mov rbx, rcx
mov word [rcx + 0x7a], si
mov r10d, esi
mov dword [rcx + 0x44], esi
mov ebp, esi
mov qword [rcx + 0x80], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x78], si
cmp si, word [rcx + 0xc8]
jge 0x140097158
mov edi, esi
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rbx + 0xe0]
mov r9d, r14d
mov dword [rbx + 0x98], esi
movzx edx, r10w
mov qword [rbx + 0x90], rsi
mov rcx, rbx
movzx r8d, word [rax + rdi]
call fcn.140097450
test al, al
jne 0x14009718a
mov rax, qword [rbx + 0xe0]
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x6c]
movzx r10d, word [rax + rdi]
inc r10d
lea eax, [r8 - 1]
test edx, eax
jne 0x1400970ed
cmp edx, dword [rbx + 0x70]
jl 0x1400970ed
cmp edx, dword [rbx + 0x74]
jg 0x1400970ed
mov r9, qword [rbx + 0x90]
test r9, r9
je 0x1400970ed
mov rax, qword [rbx + 0x80]
movzx ecx, byte [rax + 0x18]
xor cl, byte [r9 + 0x18]
test cl, 8
jne 0x1400970ed
add qword [rbx + 0x38], 0xfffffffffffffffc
mov r9, qword [rbx + 0x80]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x38], rax
je 0x140097113
test byte [r9 + 0x18], 8
je 0x140097113
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140097124
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.140097ea0
test al, al
jne 0x14009718a
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x140097143
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xc8]
inc ebp
add rdi, 2
cmp ebp, eax
jl 0x140097070
mov rcx, rbx
call fcn.140097f50
test al, al
jne 0x14009718a
mov rcx, qword [rbx + 0x30]
cmp qword [rbx + 0x38], rcx
setae al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov al, 1
jmp 0x14009716f
Function at 0x1400ac14c
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 0x1400ac186
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400ac18b
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 0x1400ac1d4
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400c9090]
cmp byte [rcx + rax], 0
je 0x1400ac1d4
dec r8
sub rdx, 1
jne 0x1400ac1ba
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400ad8b8
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 0x10], rax
mov dword [rbp - 4], 0
jmp 0x1400015d9
mov eax, dword [rbp - 4]
cdqe
lea rdx, [rax*8]
lea rax, section..data
mov rax, qword [rdx + rax]
mov qword [rbp - 0x18], rax
mov dword [rbp - 8], 0
jmp 0x1400015c9
mov edx, dword [rbp - 0x18]
mov eax, dword [rbp - 8]
add eax, edx
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx ecx, byte [rbp - 0x14]
mov edx, dword [rbp - 0x18]
mov eax, dword [rbp - 8]
add eax, edx
mov edx, eax
mov rax, qword [rbp - 0x10]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add dword [rbp - 8], 1
movzx eax, byte [rbp - 0x13]
movzx eax, al
cmp dword [rbp - 8], eax
jl 0x140001594
add dword [rbp - 4], 1
cmp dword [rbp - 4], 0xbf1e
jle 0x14000156f
nop
add rsp, 0x20
pop rbp
ret
Function at 0x140001c50
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.140002ab0
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.140002ab0
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 0x140001cc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400790a4]
mov rbx, rcx
test esi, esi
jle 0x140001df0
mov rax, qword [0x1400790a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140001d0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001d95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001cf0
mov rcx, rbx
call fcn.140002740
mov rdi, rax
test rax, rax
je 0x140001e12
mov rax, qword [0x1400790a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002880
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400790a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001df7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x140001d8e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001da0
add dword [0x1400790a4], 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 [0x1400790a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140001d8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001c50
nop dword [rax]
xor esi, esi
jmp 0x140001d18
mov rax, qword [0x1400790a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001c50
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001c50
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400023b0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140079100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400790e0]
test rbx, rbx
je 0x14000240c
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 rsi, rsi
je 0x140002403
test eax, eax
jne 0x140002403
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400023e8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]