joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4cbc50
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00943b00]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x00943ae0]
test rbx, rbx
je 0x4cbca4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4cbc9b
test r12, r12
je 0x4cbc9b
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4cbc80
lea rcx, [0x00943b00]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x4cbfe0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x00930990]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x4cc059
mov rcx, r10
call fcn.004cbeb0
test eax, eax
je 0x4cc059
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x4cc056
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
nop dword [rax]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x4cc04d
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x4cc059
add r8, 0x28
cmp r8, r9
jne 0x4cc038
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret
Function at 0x1400042f0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push r13
push r14
mov eax, 0x1078
call fcn.140010d20
sub rsp, rax
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x1050], rax
mov rbp, rdx
mov qword [rsp + 0x38], r9
mov rdx, qword [rsp + 0x10c0]
xor r14d, r14d
mov qword [rsp + 0x30], rdx
mov r13, r8
mov qword [rsp + 0x40], rcx
test r8, r8
je 0x140004372
mov r9d, 0x1000
lea rdx, [rsp + 0x50]
call fcn.1400027e0
test al, al
jne 0x14000437a
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str._Mechware__Cant_read_module_headers
call fcn.1400060b0
lea rdx, [0x140006290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, r14
jmp 0x140004462
mov qword [rsp + 0x10a8], rsi
mov qword [rsp + 0x1070], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1068], r12
mov qword [rsp + 0x1060], r15
inc rdi
cmp byte [rdi + rbp], r14b
jne 0x1400043a1
movsxd rax, dword [rsp + 0x8c]
lea rcx, [rsp + 0x50]
add rcx, rax
mov esi, r14d
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r15d, word [rcx + 6]
add r12, rax
cmp r14w, r15w
jae 0x14000441c
nop dword [rax]
nop word [rax + rax]
mov eax, esi
mov r8, rdi
mov rdx, rbp
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140004415
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r14b
jne 0x140004403
cmp rdi, rax
je 0x14000449c
inc esi
cmp esi, r15d
jb 0x1400043e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
lea rdx, str._Mechware__Cant_find_section
call fcn.1400060b0
lea rdx, [0x140006290]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rdx, r14
mov r12, qword [rsp + 0x1068]
mov rdi, qword [rsp + 0x1070]
mov rsi, qword [rsp + 0x10a8]
mov r15, qword [rsp + 0x1060]
mov rax, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov r8d, r14d
mov qword [rsp + 0x20], rax
call fcn.140004170
mov rcx, qword [rsp + 0x1050]
xor rcx, rsp
call fcn.14000fb60
add rsp, 0x1078
pop r14
pop r13
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x14000441c
mov edx, dword [rbx + 8]
lea rcx, [rsp + 0x50]
add rcx, rax
je 0x14000441c
test edx, edx
je 0x14000441c
lea rax, [rsp + 0x50]
mov r14d, edx
sub rcx, rax
lea rdx, [rcx + r13]
jmp 0x140004442
Function at 0x140005190
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400051b1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400051de
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400051e0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140005239
test ecx, ecx
jle 0x140005219
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140005239
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140005239
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x140005260
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 0x140005282
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140005291
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 0x1400052b4
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400052b6
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400052f2
mov qword [rsp + 0x20], rdi
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]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000538e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000532d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000536e
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]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000538e
cmp rbx, rax
ja 0x140005340
test rbx, rbx
je 0x14000538e
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]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x1400057f0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000581d
xor eax, eax
jmp 0x140005989
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005857
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005857
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 0x140005989
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000597c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000589a
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 0x1400058c5
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 0x140005981
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 0x140005934
sub eax, 1
je 0x140005934
cmp eax, 2
jne 0x14000597c
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 0x140005981
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140005962
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 0x14000597c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140005981
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000fb60
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140005d90
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140005e63
cmp byte [rcx + 0x71], 0
je 0x140005e63
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140005e5f
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 0x140005e24
sub eax, 1
je 0x140005e28
cmp eax, 2
jne 0x140005e5f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fb60
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140005e56
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 0x140005e5f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140005e0c
xor al, al
jmp 0x140005e0c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000fb60
add rsp, 0x60
pop rbx
ret
Function at 0x14000d2c0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x14000d3e1
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000d3e1
test rax, rax
je 0x14000d3e1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov qword [rsp + 0x58], r8
mov ecx, dword [rax + 0xb0]
test ecx, ecx
jne 0x14000d343
mov qword [rdi], r8
mov qword [rdi + 8], r8
mov qword [rdi + 0x10], r8
jmp 0x14000d3ec
lea rbx, [rdx + rcx]
mov ebp, dword [rax + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x50]
cmp rbx, rbp
jae 0x14000d3cf
nop word [rax + rax]
mov edx, dword [rbx + 4]
test edx, edx
je 0x14000d3cf
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x28], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x30], rax
lea rax, [rdx - 8]
shr rax, 1
mov dword [rsp + 0x38], eax
cmp rcx, r8
je 0x14000d3a8
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x38]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x50], rcx
jmp 0x14000d3c4
lea r8, [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.14000dc70
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x14000d360
mov rax, qword [rsp + 0x48]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], r8
jmp 0x14000d3ec
mov qword [rcx], r8
mov qword [rcx + 8], r8
mov qword [rcx + 0x10], r8
mov rax, rdi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14000fb60
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000eda0
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x50
mov rax, qword [0x140024040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rcx
lea r9, [rsp + 0x20]
xor r14d, r14d
mov ecx, 0xb
xor r8d, r8d
mov dword [rsp + 0x20], r14d
xor edx, edx
mov ebx, r14d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000ee32
test rbx, rbx
je 0x14000edf8
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r9d, 4
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, 0xb
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x14000ede2
test eax, eax
jns 0x14000ee53
test rbx, rbx
je 0x14000ee58
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000ef57
test rbx, rbx
jne 0x14000ee5f
xor eax, eax
jmp 0x14000ef57
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rdi
mov edi, r14d
cmp dword [rbx], r14d
jbe 0x14000ef37
nop dword [rax + rax]
mov eax, edi
xorps xmm0, xmm0
imul rcx, rax, 0x128
movups xmmword [rsp + 0x28], xmm0
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rdx, 0x30
mov qword [rsp + 0x38], r14
add rdx, rcx
mov qword [rsp + 0x40], r14
add rdx, rbx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r14b
jne 0x14000eeb5
lea rcx, [rsp + 0x28]
call fcn.1400086e0
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000eed5
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000ef6d
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000ef2d
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ef28
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000efb6
call fcn.14000fb80
inc edi
cmp edi, dword [rbx]
jb 0x14000ee80
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000fb60
add rsp, 0x50
pop r14
pop rsi
pop rbx
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000efc2
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000efbd
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000efbd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000fb80
mov rax, rdi
jmp 0x14000ef4a
Function at 0x14000f3f0
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 0x14000f42a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14000f42f
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 0x14000f478
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140012660]
cmp byte [rcx + rax], 0
je 0x14000f478
dec r8
sub rdx, 1
jne 0x14000f45e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140010a74
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rbx
mov r8, rdx
imul eax, dword [0x1402945f4], 0xa58d6d37
imul edx, dword [0x1402945f8], 0xf6621ae4
lea eax, [rax + rdx + 0x2cb5071f]
cmp dword [0x1402beb8c], eax
je 0x140003b84
lea r10, [r8 + 0x1a]
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
mov eax, dword [0x1402945fc]
mov edx, dword [0x140294600]
shrd edx, eax, 7
mov esi, edx
xor esi, 0x83400993
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
imul eax, dword [0x140294604], 0x3544eeb9
imul edx, dword [0x140294608], 0x2c664afc
add edx, eax
mov eax, r11d
lea eax, [rax + rdx + 0x3a505843]
mov edx, dword [0x14029460c]
mov r9d, dword [0x140294610]
shrd r9d, edx, 0xc
xor r9d, 0xa2ee2829
cmp eax, r9d
jne 0x140003af0
imul eax, dword [0x140294614], 0x83dd697d
imul ecx, dword [0x140294618], 0x7644ee9d
lea eax, [rax + rcx + 0x1da247f2]
mov dword [0x1402beb8c], eax
imul eax, dword [0x14029461c], 0x711ab2ea
imul ecx, dword [0x140294620], 0x49e6916f
lea eax, [rax + rcx + 0x3eb49aae]
pop rbx
pop rsi
ret

Function at 0x140003bb0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
imul eax, dword [0x140294624], 0x9e45c54b
imul edx, dword [0x140294628], 0xea4303ea
lea eax, [rax + rdx - 0x4d2a4d76]
cmp dword [0x1402beba0], eax
je 0x140003c85
lea r10, [r8 + 0x1b]
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
imul eax, dword [0x14029462c], 0xd358f24a
imul edx, dword [0x140294630], 0x875c3734
lea esi, [rax + rdx - 0x1f72d7f5]
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
imul eax, dword [0x140294634], 0x5c8f908c
imul edx, dword [0x140294638], 0xd00119da
add edx, eax
mov eax, r11d
lea eax, [rax + rdx + 0x204a056f]
imul edx, dword [0x14029463c], 0x902a35c2
imul r9d, dword [0x140294640], 0xe9eca9bf
lea edx, [rdx + r9 - 0x5ee5054e]
cmp eax, edx
jne 0x140003bf0
mov eax, dword [0x140294644]
mov ecx, dword [0x140294648]
shrd ecx, eax, 0x10
xor ecx, 0x5744d274
mov dword [0x1402beba0], ecx
mov eax, dword [0x14029464c]
mov ecx, dword [0x140294650]
shrd ecx, eax, 0x12
mov eax, ecx
xor eax, 0x1d2a307a
pop rbx
pop rsi
ret
Function at 0x140003ca0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
imul eax, dword [0x140294654], 0xd44ed8b6
imul edx, dword [0x140294658], 0x36a46f9f
lea eax, [rax + rdx - 0x6ab75131]
cmp dword [0x1402bebbc], eax
je 0x140003d75
lea r10, [r8 + 0x1f]
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
imul eax, dword [0x14029465c], 0x64099337
imul edx, dword [0x140294660], 0x7ba135cb
lea esi, [rax + rdx - 0x2d83628c]
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
imul eax, dword [str.Ofj_.], 0xb7cc7372
imul edx, dword [0x140294668], 0x1678db21
add edx, eax
mov eax, r11d
lea eax, [rax + rdx + 0x4d5aeae5]
imul edx, dword [0x14029466c], 0x40207e6f
imul r9d, dword [0x140294670], 0x6341ca29
lea edx, [rdx + r9 - 0x40107454]
cmp eax, edx
jne 0x140003ce0
mov eax, dword [0x140294674]
mov ecx, dword [0x140294678]
shrd ecx, eax, 0xb
xor ecx, 0x1a71186c
mov dword [0x1402bebbc], ecx
imul eax, dword [0x14029467c], 0x8531de1f
imul ecx, dword [0x140294680], 0x14ebb4d8
lea eax, [rax + rcx - 0x42fdf67d]
pop rbx
pop rsi
ret

Function at 0x140003da0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
mov r8, rdx
imul eax, dword [0x140294684], 0xf836f7e2
imul edx, dword [0x140294688], 0x83cc2959
lea eax, [rax + rdx - 0x5521c9a2]
cmp dword [0x1402bebd4], eax
je 0x140003e6f
lea r10, [r8 + 0x13]
xor eax, eax
nop word cs:[rax + rax]
nop dword [rax]
movsxd r11, eax
movzx ebx, byte [r10 + r11]
mov eax, dword [0x14029468c]
mov edx, dword [0x140294690]
shrd edx, eax, 0x13
mov esi, edx
xor esi, 0x485e27b6
mov r9d, r11d
mov eax, r11d
xor edx, edx
div esi
movsxd rax, edx
xor bl, byte [r8 + rax]
mov byte [rcx + r11], bl
mov eax, dword [0x140294694]
mov edx, dword [0x140294698]
shrd edx, eax, 6
xor edx, 0x9aecf677
add edx, r11d
mov eax, dword [0x14029469c]
mov r9d, dword [0x1402946a0]
shrd r9d, eax, 3
xor r9d, 0xf3640873
cmp edx, r9d
mov eax, edx
jne 0x140003de0
imul eax, dword [0x1402946a4], 0xd18401b
imul ecx, dword [0x1402946a8], 0xa4bd1523
lea eax, [rax + rcx + 0x16d0e704]
mov dword [0x1402bebd4], eax
mov eax, dword [0x1402946ac]
mov ecx, dword [0x1402946b0]
shrd ecx, eax, 0xc
mov eax, ecx
xor eax, 0xda567ece
pop rbx
pop rsi
ret