joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014ae0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140014b02
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140014b11
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140014b34
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140014b36
xor ecx, ecx
mov qword [rsp + 0x20], rdi
movsxd rax, ecx
test ecx, ecx
je 0x140014b70
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
sub rbx, rdi
add r14, rdi
mov r8, rbx
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140014c17
mov r9, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r9], rax
jne 0x140014bab
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140014bf1
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add r14, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x140014c30
cmp rbx, rax
ja 0x140014bc0
mov r8, rdi
test rdi, rdi
je 0x140014c17
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov r8, rdi
sub r8, rax
sub rbp, r8
mov rdi, qword [rsp + 0x20]
mov rax, rbp
mov rbx, qword [rsp + 0x28]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rbp, rbx
jmp 0x140014c1a
mov bl, 0x5f
invalid
mov ss, word [rdx + 0x5a]
loopne 0x140068763
cmp edx, edx
jno 0x140068726
jrcxz 0x1400687b8
invalid
jae 0x140068763
lodsd eax, dword [rsi]
push rbx
test dword [0xebee1074], esp
jge 0x140068794
Function at 0x140015030
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14001505d
xor eax, eax
jmp 0x1400151b2
mov rdx, qword [rcx + 0x40]
mov rax, qword [rdx]
test rax, rax
je 0x140015088
mov rdx, qword [rcx + 0x58]
movsxd r8, dword [rdx]
add r8, rax
cmp rax, r8
jae 0x140015088
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], dil
mov eax, edi
jmp 0x1400151b2
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1400151a5
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400150cb
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x1400150f6
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 0x1400151aa
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 0x140015165
sub eax, 1
je 0x140015165
cmp eax, 2
jne 0x1400151a5
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 0x1400151aa
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140015193
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 0x1400151a5
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x1400151aa
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140015a30
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140015300
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400153d3
cmp byte [rcx + 0x71], 0
je 0x1400153d3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400153cf
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 0x140015394
sub eax, 1
je 0x140015398
cmp eax, 2
jne 0x1400153cf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015a30
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400153c6
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 0x1400153cf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001537c
xor al, al
jmp 0x14001537c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140015a30
add rsp, 0x60
pop rbx
ret

Function at 0x140015938
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x140015951
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
add rsp, 0x28
ret
Function at 0x7ff60af71c00
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
lea r10d, [rdx + 2]
mov r11d, edx
mov edi, 0xaaaaaaab
mov rsi, r8
mov eax, edi
mov rbx, rcx
mul r10d
shr edx, 1
lea edx, [rdx*4 + 1]
cmp dword [r9], edx
jae 0x7ff60af71c45
mov dword [r9], edx
mov eax, 6
jmp 0x7ff60af71d2d
mov eax, edi
lea rbp, [0x7ff60afb3650]
mul r11d
shr edx, 1
lea ecx, [rdx + rdx*2]
xor edx, edx
test ecx, ecx
je 0x7ff60af71cc6
dec ecx
mov eax, edi
mul ecx
shr edx, 1
inc edx
mov r10d, edx
lea edx, [rdx + rdx*2]
movzx eax, byte [rbx]
shr rax, 2
mov al, byte [rax + rbp]
mov byte [r8], al
movzx eax, byte [rbx + 1]
movzx ecx, byte [rbx]
shr eax, 4
and ecx, 3
shl ecx, 4
add ecx, eax
mov al, byte [rcx + rbp]
mov byte [r8 + 1], al
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
shr eax, 6
and ecx, 0xf
lea eax, [rax + rcx*4]
mov al, byte [rax + rbp]
mov byte [r8 + 2], al
movzx eax, byte [rbx + 2]
add rbx, 3
and eax, 0x3f
mov al, byte [rax + rbp]
mov byte [r8 + 3], al
add r8, 4
sub r10, 1
jne 0x7ff60af71c6c
cmp edx, r11d
jae 0x7ff60af71d21
movzx r10d, byte [rbx]
lea edi, [rdx + 1]
cmp edi, r11d
jae 0x7ff60af71cdd
movzx edx, byte [rbx + 1]
jmp 0x7ff60af71cdf
xor edx, edx
mov ecx, edx
mov rax, r10
shr ecx, 4
shr rax, 2
shl r10d, 4
add ecx, r10d
and ecx, 0x3f
mov al, byte [rax + rbp]
mov byte [r8], al
mov al, byte [rcx + rbp]
mov byte [r8 + 1], al
cmp edi, r11d
jae 0x7ff60af71d12
and edx, 0xf
shl edx, 2
mov cl, byte [rdx + rbp]
jmp 0x7ff60af71d14
mov cl, 0x3d
mov byte [r8 + 2], cl
mov byte [r8 + 3], 0x3d
add r8, 4
mov byte [r8], 0
sub r8d, esi
mov dword [r9], r8d
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x7ff60af71eb8
Capabilities:
Encode data using xor

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, 0x30
mov rbp, rcx
mov rbx, r9
mov ecx, dword [r9]
mov esi, r8d
mov rdi, rdx
call fcn.7ff60af74c8c
test eax, eax
jne 0x7ff60af71fe6
mov r8d, dword [r9 + 4]
lea eax, [r8 - 1]
cmp eax, 0x7f
ja 0x7ff60af71fe1
xor edx, edx
mov eax, esi
div r8d
mov r11d, eax
test edx, edx
jne 0x7ff60af71fe1
test r8b, 3
jne 0x7ff60af71fe1
movsxd rcx, dword [r9]
lea r12, [0x7ff60afbf060]
imul rdx, rcx, 0xb0
mov r10, qword [rdx + r12 + 0x60]
test r10, r10
je 0x7ff60af71f5a
lea rax, [r9 + 0x88]
mov r8d, r11d
add r9, 8
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbp
call r10
jmp 0x7ff60af71fe6
test esi, esi
je 0x7ff60af71fdd
xor edx, edx
test r8d, r8d
jle 0x7ff60af71f82
mov r8, rbp
lea rcx, [rbx + 8]
sub r8, rbx
mov eax, dword [r8 + rcx - 8]
add edx, 4
xor dword [rcx], eax
lea rcx, [rcx + 4]
cmp edx, dword [rbx + 4]
jl 0x7ff60af71f6f
movsxd rax, dword [rbx]
lea r8, [rbx + 0x88]
imul r9, rax, 0xb0
mov rdx, rdi
lea rcx, [rbx + 8]
call qword [r9 + r12 + 0x28]
test eax, eax
jne 0x7ff60af71fe6
mov r8d, dword [rbx + 4]
xor r9d, r9d
test r8d, r8d
jle 0x7ff60af71fcf
mov rdx, rbx
mov rcx, rdi
sub rdx, rdi
mov eax, dword [rcx]
add r9d, 4
mov dword [rdx + rcx + 8], eax
lea rcx, [rcx + 4]
mov r8d, dword [rbx + 4]
cmp r9d, r8d
jl 0x7ff60af71fb8
movsxd rax, r8d
add rdi, rax
add rbp, rax
sub esi, r8d
jne 0x7ff60af71f5e
xor eax, eax
jmp 0x7ff60af71fe6
mov eax, 0x10
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
Function at 0x7ff60af74d08
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, rcx
movsxd rbp, edx
mov ecx, ebp
mov edi, r9d
mov r12, r8
call fcn.7ff60af74cb4
test eax, eax
jne 0x7ff60af74e6d
mov rbx, rbp
mov dword [rsi + 0x70], ebp
shl rbx, 7
lea r13, [0x7ff60afc0660]
mov r15d, dword [rbx + r13 + 0xc]
test r9d, r9d
jne 0x7ff60af74d63
lea eax, [r9 + 3]
jmp 0x7ff60af74e6d
mov ecx, dword [rbx + r13 + 0x10]
call fcn.7ff60af91da0
mov r14, rax
test rax, rax
jne 0x7ff60af74d7e
lea eax, [r14 + 0xd]
jmp 0x7ff60af74e6d
mov ecx, dword [rbx + r13 + 0x10]
call fcn.7ff60af91da0
mov qword [rsi + 0xe8], rax
test rax, rax
jne 0x7ff60af74d9c
lea edi, [rax + 0xd]
jmp 0x7ff60af74e63
mov ecx, dword [rbx + r13 + 0x10]
mov rdx, r12
cmp edi, ecx
jbe 0x7ff60af74de6
mov dword [rsp + 0x30], ecx
mov r9, rax
lea rcx, [rsp + 0x30]
mov r8d, edi
mov qword [rsp + 0x20], rcx
mov ecx, ebp
call fcn.7ff60af7233c
mov edi, eax
test eax, eax
jne 0x7ff60af74e57
mov eax, dword [rbx + r13 + 0x10]
cmp r15d, eax
jae 0x7ff60af74e0d
sub eax, r15d
mov rcx, r15
add rcx, qword [rsi + 0xe8]
jmp 0x7ff60af74e06
mov r8, rdi
mov rcx, rax
call fcn.7ff60af910c0
mov eax, dword [rbx + r13 + 0x10]
cmp edi, eax
jae 0x7ff60af74e0d
mov rcx, qword [rsi + 0xe8]
sub eax, edi
add rcx, rdi
mov edx, eax
call fcn.7ff60af74c74
xor r8d, r8d
cmp dword [rbx + r13 + 0x10], r8d
jbe 0x7ff60af74e33
mov rax, qword [rsi + 0xe8]
mov cl, byte [r8 + rax]
xor cl, 0x36
mov byte [r8 + r14], cl
inc r8d
cmp r8d, dword [rbx + r13 + 0x10]
jb 0x7ff60af74e17
mov rcx, rsi
call qword [rbx + r13 + 0x58]
mov edi, eax
test eax, eax
jne 0x7ff60af74e57
mov r8d, dword [rbx + r13 + 0x10]
mov rdx, r14
mov rcx, rsi
call qword [rbx + r13 + 0x60]
mov edi, eax
test eax, eax
je 0x7ff60af74e63
mov rcx, qword [rsi + 0xe8]
call fcn.7ff60af91d98
mov rcx, r14
call fcn.7ff60af91d98
mov eax, edi
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x7ff60af74e8c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r13, r8
mov ecx, dword [rcx + 0x70]
mov r15, rdx
call fcn.7ff60af74cb4
test eax, eax
jne 0x7ff60af74ffb
movsxd rdi, dword [rbp + 0x70]
lea rbx, [0x7ff60afc0660]
shl rdi, 7
mov ecx, dword [rdi + rbx + 0x10]
mov r12d, dword [rdi + rbx + 0xc]
call fcn.7ff60af91da0
mov ecx, r12d
mov r14, rax
call fcn.7ff60af91da0
mov rsi, rax
test r14, r14
je 0x7ff60af74fe9
test rax, rax
je 0x7ff60af74fe4
mov rdx, rax
mov rcx, rbp
call qword [rdi + rbx + 0x68]
mov ebx, eax
test eax, eax
jne 0x7ff60af74fc4
xor r8d, r8d
lea r9, [0x7ff60afc0660]
cmp dword [rdi + r9 + 0x10], r8d
jbe 0x7ff60af74f3f
mov rax, qword [rbp + 0xe8]
mov cl, byte [rax + r8]
xor cl, 0x5c
mov byte [r8 + r14], cl
inc r8d
cmp r8d, dword [rdi + r9 + 0x10]
jb 0x7ff60af74f23
mov rcx, rbp
call qword [rdi + r9 + 0x58]
mov ebx, eax
test eax, eax
jne 0x7ff60af74fc4
lea rax, [0x7ff60afc0660]
mov rdx, r14
mov r8d, dword [rdi + rax + 0x10]
mov rcx, rbp
call qword [rdi + rax + 0x60]
mov ebx, eax
test eax, eax
jne 0x7ff60af74fc4
mov r8d, r12d
lea rax, [0x7ff60afc0660]
mov rdx, rsi
mov rcx, rbp
call qword [rdi + rax + 0x60]
mov ebx, eax
test eax, eax
jne 0x7ff60af74fc4
mov rdx, r14
lea rax, [0x7ff60afc0660]
mov rcx, rbp
call qword [rdi + rax + 0x68]
mov ebx, eax
test eax, eax
jne 0x7ff60af74fc4
xor ecx, ecx
test r12d, r12d
je 0x7ff60af74fbe
mov rdx, r14
sub rdx, r15
cmp ecx, dword [r13]
jae 0x7ff60af74fbe
mov al, byte [rdx + r15]
inc ecx
mov byte [r15], al
inc r15
cmp ecx, r12d
jb 0x7ff60af74fa7
mov dword [r13], ecx
xor ebx, ebx
mov rcx, qword [rbp + 0xe8]
call fcn.7ff60af91d98
mov rcx, rsi
call fcn.7ff60af91d98
mov rcx, r14
call fcn.7ff60af91d98
mov eax, ebx
jmp 0x7ff60af74ffb
mov rcx, r14
jmp 0x7ff60af74ff1
test rsi, rsi
je 0x7ff60af74ff6
mov rcx, rsi
call fcn.7ff60af91d98
mov eax, 0xd
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x7ff60af7f418
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov dword [rsp + 0x30], 0x100
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 0x13
mov rcx, qword [rsp + 0x150]
call qword [0x7ff60afa6128]
test eax, eax
jne 0x7ff60af7f45a
xor eax, eax
jmp 0x7ff60af7f47b
lea rcx, [rsp + 0x40]
call fcn.7ff60af95230
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xc8
je 0x7ff60af7f476
xor eax, eax
jmp 0x7ff60af7f47b
mov eax, 1
add rsp, 0x148
ret
Function at 0x7ff60af95504
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x7ff60af952d8
xor ecx, ecx
call qword [0x7ff60afa6048]
test rax, rax
je 0x7ff60af952d8
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x7ff60af952d8
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x7ff60af952d8
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x7ff60af952d8
cmp dword [rcx + 0x84], 0xe
jbe 0x7ff60af952d8
cmp dword [rcx + 0xf8], esi
je 0x7ff60af952d8
mov ecx, r14d
call fcn.7ff60af95420
mov ecx, 2
call fcn.7ff60af9a65c
nop
cmp byte [0x7ff60afbdf80], 0
jne 0x7ff60af953a2
mov r15d, 1
mov eax, r15d
xchg dword [0x7ff60afbdf70], eax
test ebx, ebx
jne 0x7ff60af9534b
mov rdi, qword [0x7ff60afb8378]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x7ff60afbdf78]
cmp rcx, rax
je 0x7ff60af95342
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [0x7ff60afa6220]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x7ff60afbe1f0]
jmp 0x7ff60af95357
cmp ebx, r15d
jne 0x7ff60af9535d
lea rcx, [0x7ff60afbe208]
call fcn.7ff60af97994
nop
test ebx, ebx
jne 0x7ff60af95374
lea rdx, [0x7ff60afa62c0]
lea rcx, [0x7ff60afa62a0]
call fcn.7ff60af972bc
lea rdx, [0x7ff60afa62d0]
lea rcx, [0x7ff60afa62c8]
call fcn.7ff60af972bc
movzx eax, byte [0x7ff60afbdf80]
test esi, esi
cmove eax, r15d
mov byte [0x7ff60afbdf80], al
jmp 0x7ff60af953a2
mov ecx, 2
call fcn.7ff60af9a6b0
test esi, esi
jne 0x7ff60af953b9
mov ecx, r14d
call fcn.7ff60af953d4
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x7ff60af95268
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
add edi, dword [rcx + 0x6d]
out dx, eax
je 0x14001ad05
cli
invalid
movabs rdi, 0xfbbe7019468a9877
fadd qword [rdi + 0x7af033bd]
jg 0x14001acdd
xchg dword [rbp + 0x7f7af033], edi
shl dword [rbx], 1
adc eax, 0x19c7cf39
and edx, dword [0x159c97c4b]
xchg ebx, eax
or ecx, eax
lodsb al, byte [rsi]
invalid
Function at 0x14003f620
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003f62d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003f63d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003f625
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003f655
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003f642
sub eax, 3
jb 0x14003f66f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003f6a6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003f696
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003f694
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003f683
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003f5e2
jmp 0x14003f62d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23400
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003f6f6
cmp rsi, rcx
jae 0x14003f6fe
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003f6dd
cmp al, 0x8f
ja 0x14003f6dd
cmp byte [rsi - 2], 0xf
je 0x14003f6e3
sub al, 0xe8
cmp al, 1
ja 0x14003f6c7
cmp rsi, rcx
jae 0x14003f6fe
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003f6cd
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003f6fe
lodsb al, byte [rsi]
jmp 0x14003f6dd
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x3d000]
mov eax, dword [rdi]
or eax, eax
je 0x14003f75b
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3fb2c]
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 0x14003f70b
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 0x14003f755
mov qword [rbx], rax
add rbx, 8
jmp 0x14003f72b
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14003f795
cmp al, 0xef
ja 0x14003f787
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003f767
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003f776
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 + 0x24f]
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
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14003f7e9
sub rsp, 0xffffffffffffff80
jmp 0x140006f10