joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000afec
Capabilities:
Accept command line arguments
Create process on windows
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x890
mov rax, qword [0x1400318e0]
xor rax, rsp
mov qword [rsp + 0x880], rax
mov rbx, rcx
mov cl, 1
call fcn.140007e70
xor r8d, r8d
lea rcx, [0x140034480]
mov rdx, rbx
call fcn.14000755c
lea rdx, str.uninstall.lng
lea rcx, [0x140034490]
call fcn.140006698
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, str.riched20.dll
call fcn.140007df8
mov rcx, qword [0x140034430]
lea rdx, str.RARICON
mov rbx, rax
call qword [sym.imp.USER32.dll_LoadIconW]
xor edi, edi
mov qword [0x1400386f0], rax
test rax, rax
jne 0x14000b097
mov rcx, qword [0x140034448]
cmp rcx, qword [0x140034430]
je 0x14000b097
lea rdx, str.RARICON
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [0x1400386f0], rax
mov ecx, 0xfffffff4
call fcn.140009b84
mov ecx, eax
xor r9d, r9d
lea rax, str.MS_Shell_Dlg
xor r8d, r8d
mov qword [rsp + 0x68], rax
xor edx, edx
mov dword [rsp + 0x60], edi
mov dword [rsp + 0x58], edi
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x2bc
call qword [sym.imp.GDI32.dll_CreateFontW]
mov r8d, 0x400
mov byte [rsp + 0x70], dil
lea rdx, [rsp + 0x80]
mov qword [0x1400386f8], rax
lea rcx, str.sfxcmd
mov byte [rsp + 0x71], dil
mov word [rsp + 0x80], di
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea r9, [rsp + 0x71]
mov cl, 1
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x80]
call fcn.14000a20c
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea r9, [rsp + 0x71]
xor ecx, ecx
mov rdx, rax
lea r8, [rsp + 0x70]
call fcn.14000a20c
cmp byte [rsp + 0x70], dil
je 0x14000b217
mov rcx, qword [0x140034430]
lea r9, [0x14000a49c]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.SETUPDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
test rax, rax
je 0x14000b217
call fcn.140009d58
mov al, byte [0x140039751]
test al, al
jne 0x14000b1bb
mov rcx, qword [0x140034430]
lea r9, [0x140009f64]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.DONEDLG
call qword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, byte [0x140039751]
cmp word [0x140038700], di
je 0x14000b217
cmp byte [0x140039750], dil
jne 0x14000b217
test al, al
jne 0x14000b217
cmp byte [0x140039752], dil
jne 0x14000b217
lea rcx, [0x140038700]
call fcn.140004c58
test al, al
je 0x14000b217
lea rax, [0x140022600]
mov dword [rsp + 0x28], 1
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x140038700]
xor ecx, ecx
lea rdx, str.open
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [rsp + 0x71], dil
je 0x14000b223
call fcn.14000a904
test rbx, rbx
je 0x14000b231
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call qword [sym.imp.ole32.dll_OleUninitialize]
mov rcx, qword [0x1400386f8]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [0x1400386f0]
call qword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [0x140039754]
mov rcx, qword [rsp + 0x880]
xor rcx, rsp
call fcn.14000b690
mov rbx, qword [rsp + 0x8a8]
add rsp, 0x890
pop rdi
ret
Function at 0x140018880
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x14001885d
call fcn.140015370
mov dword [rax], 0x16
call fcn.1400151dc
or eax, 0xffffffff
jmp 0x14001887a
sub dword [rcx + 0x10], 1
jns 0x14001886c
add rsp, 0x28
jmp 0x14001e4d4
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x14001883c
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x20
test rcx, rcx
jne 0x14001e374
call fcn.140015370
mov dword [rax], 0x16
call fcn.1400151dc
or eax, 0xffffffff
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rbp
ret
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14001e35c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 0xc
test cl, 1
jne 0x14001e35c
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
mov rax, qword [rbp + 0x10]
shr ecx, 1
test cl, 1
je 0x14001e3a6
lock or dword [rax + 0x14], 0x10
jmp 0x14001e35c
lock or dword [rax + 0x14], 1
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
test ecx, 0x4c0
jne 0x14001e3c3
mov rcx, qword [rbp + 0x10]
call fcn.14001d694
mov rax, qword [rbp + 0x10]
mov rcx, qword [rax + 8]
mov qword [rax], rcx
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400168dc
mov rdx, qword [rbp + 0x10]
mov ecx, eax
mov r8d, dword [rdx + 0x20]
mov rdx, qword [rdx + 8]
call fcn.14001ea0c
mov dword [rbx + 0x10], eax
mov rax, qword [rbp + 0x10]
mov edx, dword [rax + 0x10]
lea ecx, [rdx + 1]
cmp ecx, 1
ja 0x14001e41a
neg edx
sbb ecx, ecx
and ecx, 8
add ecx, 8
lock or dword [rax + 0x14], ecx
mov rax, qword [rbp + 0x10]
and dword [rax + 0x10], 0
jmp 0x14001e35c
mov ecx, dword [rax + 0x14]
test cl, 6
jne 0x14001e486
mov rcx, qword [rbp + 0x10]
call fcn.1400168dc
cmp eax, 0xffffffff
je 0x14001e46d
mov rcx, qword [rbp + 0x10]
call fcn.1400168dc
cmp eax, 0xfffffffe
je 0x14001e46d
mov rbx, qword [rbp + 0x10]
mov rcx, rbx
call fcn.1400168dc
movsxd rdi, eax
lea rsi, [0x14003a0c0]
mov rcx, rbx
sar rdi, 6
call fcn.1400168dc
and eax, 0x3f
shl rax, 6
add rax, qword [rsi + rdi*8]
jmp 0x14001e474
lea rax, [0x140031bb0]
mov al, byte [rax + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14001e486
mov rax, qword [rbp + 0x10]
lock or dword [rax + 0x14], 0x20
mov rax, qword [rbp + 0x10]
cmp dword [rax + 0x20], 0x200
jne 0x14001e4bc
mov ecx, dword [rax + 0x14]
shr ecx, 6
test cl, 1
je 0x14001e4b8
mov rax, qword [rbp + 0x10]
mov ecx, dword [rax + 0x14]
shr ecx, 8
test cl, 1
jne 0x14001e4b8
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x20], 0x1000
mov rax, qword [rbp + 0x10]
dec dword [rax + 0x10]
mov rcx, qword [rax]
movzx edx, byte [rcx]
inc rcx
mov qword [rax], rcx
mov eax, edx
jmp 0x14001e35f
jmp 0x14001e32c
Function at 0x140005930
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 0x140005958
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 0x14000597e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140005980
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1400059d9
test ecx, ecx
jle 0x1400059b9
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 0x1400059d9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1400059d9
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 0x140005a00
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 0x140005a22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140005a38
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 0x140005a54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140005a56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140005a92
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 0x140005b2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140005acd
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 0x140005b0e
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 0x140005b2e
cmp rbx, rax
ja 0x140005ae0
test rbx, rbx
je 0x140005b2e
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 0x140005f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14004c300]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140005fbd
xor eax, eax
jmp 0x140006129
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140005ff7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140005ff7
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 0x140006129
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000611c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000603a
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 0x140006065
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 0x140006121
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 0x1400060d4
sub eax, 1
je 0x1400060d4
cmp eax, 2
jne 0x14000611c
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 0x140006121
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140006102
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 0x14000611c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140006121
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400291e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140006b00
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14004c300]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140006bd3
cmp byte [rcx + 0x71], 0
je 0x140006bd3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140006bcf
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 0x140006b94
sub eax, 1
je 0x140006b98
cmp eax, 2
jne 0x140006bcf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400291e0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140006bc6
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 0x140006bcf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140006b7c
xor al, al
jmp 0x140006b7c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400291e0
add rsp, 0x60
pop rbx
ret
Function at 0x14000b820
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
mov r15, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r8, rdx
cmp r15, 0xf
jbe 0x14000b849
mov r8, qword [rdx]
xor ebp, ebp
movabs rdx, 0xcbf29ce484222325
mov ecx, ebp
test rsi, rsi
je 0x14000b884
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, rsi
jb 0x14000b870
mov rcx, qword [0x140052c80]
mov rax, qword [0x140052c68]
and rcx, rdx
add rcx, rcx
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [0x140052c58]
je 0x14000b8f2
mov qword [rsp + 0x40], r14
mov r14, qword [rax + rcx*8]
nop
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x14000b8c2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r15, 0xf
jbe 0x14000b8ce
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000b8df
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000b8ea
cmp rbx, r14
je 0x14000b8ed
mov rbx, qword [rbx + 8]
jmp 0x14000b8b0
mov rbp, rbx
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
test rbp, rbp
mov rbp, qword [rsp + 0x50]
setne al
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x14000cd00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, qword [rdx + 0x18]
mov rdi, rdx
mov rsi, qword [rdx + 0x10]
mov r10, rcx
mov r9, rdx
cmp r14, 0xf
jbe 0x14000cd2f
mov r9, qword [rdx]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test rsi, rsi
je 0x14000cd64
movabs rcx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, rsi
jb 0x14000cd50
mov rcx, qword [r10 + 0x30]
mov rax, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
mov qword [rsp + 0x30], rbp
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [r10 + 8]
je 0x14000cdee
mov rbp, qword [rax + rcx*8]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x14000cda2
mov rdx, qword [rdx]
mov rcx, rdi
cmp r14, 0xf
jbe 0x14000cdae
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14000cdbf
mov r8, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000cdca
cmp rbx, rbp
je 0x14000cdee
mov rbx, qword [rbx + 8]
jmp 0x14000cd90
test rbx, rbx
je 0x14000cdee
mov rbp, qword [rsp + 0x30]
lea rax, [rbx + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
Function at 0x14000d874
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp dword [0x14004c9b8], 0
mov rbp, r9
mov rdi, r8
mov ebx, edx
mov rsi, rcx
jne 0x14000d921
cmp dword [0x14004c98c], 0
jne 0x14000d921
cmp edx, 0x10
je 0x14000da46
cmp edx, 0x8000
je 0x14000da12
cmp dword [0x14004c9cc], 0
jne 0x14000d921
mov eax, 0x104
cmp edx, eax
ja 0x14000d947
je 0x14000d99e
cmp edx, 0x18
je 0x14000d915
cmp edx, 0x1c
je 0x14000d90d
cmp edx, 0x20
je 0x14000d8fe
cmp edx, 0x48
je 0x14000d8f5
cmp edx, 0x100
jmp 0x14000d99c
cmp rdi, 3
jmp 0x14000d99c
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x14000d932
test rdi, rdi
jmp 0x14000d99c
test edi, edi
je 0x14000d921
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov r9, rbp
mov r8, rdi
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.USER32.dll_DefWindowProcA]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, ebx
sub eax, 0x200
je 0x14000d9b3
sub eax, 1
je 0x14000d99e
sub eax, 3
je 0x14000d99e
sub eax, 3
je 0x14000d99e
cmp eax, 0x11
jne 0x14000d921
mov rax, rdi
test rdi, rdi
je 0x14000d906
sub rax, 6
je 0x14000d994
sub rax, 1
je 0x14000d994
sub rax, 1
je 0x14000d994
sub rax, 2
je 0x14000d921
sub rax, 8
je 0x14000d994
cmp rax, 0x8001
je 0x14000d921
jmp 0x14000d99e
mov eax, 1
test al, bpl
jne 0x14000d921
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageA]
jmp 0x14000d921
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x20]
sub ecx, dword [0x140052c90]
cmp ecx, 0xffffffff
jg 0x14000d9cf
neg ecx
mov eax, dword [rsp + 0x24]
sub eax, dword [0x140052c94]
cmp eax, 0xffffffff
jg 0x14000d9e0
neg eax
add eax, ecx
cmp eax, dword [0x140049054]
jbe 0x14000d921
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageA]
mov rax, qword [rsp + 0x20]
mov qword [0x140052c90], rax
jmp 0x14000d921
cmp dword [0x14004c9d4], 0
je 0x14000d921
mov rax, qword [0x14004c9a0]
test rax, rax
je 0x14000d906
movabs r10, 0xca208e0a765e4b70
call qword [0x14002b760]
cdqe
jmp 0x14000d932
cmp dword [0x14004c9d4], 0
je 0x14000d921
call fcn.14000daf8
test eax, eax
jne 0x14000d921
lea rcx, [0x140052c90]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
jmp 0x14000d932
Function at 0x140028b8c
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 0x140028bc6
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140028bcb
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 0x140028c14
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140042c70]
cmp byte [rcx + rax], 0
je 0x140028c14
dec r8
sub rdx, 1
jne 0x140028bfa
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140029f20
Capabilities:
Parse pe header

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

Disassembly:
stosd dword [rdi], eax
push rbx
invalid
xchg ebx, eax
js 0x1400232dc
mov ebp, 0x3645ea32
mov bl, 0x7a
adc dword [rax], 0x25
jmp 0x14002322b
xor bh, byte [rbx]
mov bl, 0x7b
adc dword [rax], 0x25
cmp al, 0xa4
invalid
Function at 0x14003f360
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x138
movabs rax, 0xc72e1e13064c52c
mov r9w, 0xa007
mov r10w, word [rsp + 0x126]
mov dword [rsp + 0x134], 0x3be0e9fa
mov r11b, byte [rsp + 0x125]
mov bl, r11b
add bl, bl
mov byte [rsp + 0x125], bl
mov qword [rsp + 0x118], 0x42977e56
mov rsi, qword [rsp + 0x128]
mov word [rsp + 0x116], 0xdb8c
add byte [rax], al
mov ebx, ds

Function at 0x140040470
Capabilities:
Identify system language via api

Disassembly:
add byte [rdx + 0x2484c766], ah
out 2, al
add byte [rax], al
or eax, 0x2484c628
fild word [rdx]
add byte [rax], al
xchg ebx, eax
mov dword [rsp + 0x2d8], 0x1c66adaf
mov qword [rsp + 0x2d0], 0x1d8ed1d3
mov rcx, qword [rsp + 0x2e8]
mov dl, byte [rsp + 0x2df]
mov r8d, dword [rsp + 0x2e0]
mov r9d, r8d
xor r9d, 0xffffffff
mov dword [rsp + 0x2e0], r9d
add dl, 0x28
mov byte [rsp + 0x24f], dl
imul r9d, r8d, 0x37d09c30
mov dword [rsp + 0x2e0], r9d
mov dl, byte [rsp + 0x2df]
mov r10b, byte [rsp + 0x24f]
add dl, 0x2d
mov byte [rsp + 0x2f5], al
imul r9d, r8d, 0x27102b09
mov dword [rsp + 0x2e0], r9d
mov r11, qword [rsp + 0x2d0]
mov r9d, r8d
xor r9d, 0x7ae789ca
mov dword [rsp + 0x2e0], r9d
xor r11, 0x3fe06be4
mov qword [rsp + 0x208], r11
add al, byte [rax]
add byte [rsi - 0x75], ah
mov ah, 0x24
test byte [rdx], 0
add byte [rsi - 0x77], ah
mul dword [rsi - 0x7f]
out dx, eax
insb byte [rdi], dx
frstor dword [rsi - 0x77]
mov esp, 0x2f624
add byte [rcx + 0x38], al
ror byte [rax + 0x1a72484], cl
add byte [rax], al
Function at 0x140001d04
Capabilities:
Parse pe header

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

Function at 0x140007b20
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140007b8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007b8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007b8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007b8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007b8f
cmp dword [rcx + 0x84], 0xe
jbe 0x140007b8f
cmp dword [rcx + 0xf8], 0
je 0x140007b8f
mov ecx, ebx
call fcn.140007c40
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140007a1c
nop
cmp dword [rbp + 0x20], 0
je 0x140007bdd
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140007be8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007b20

Function at 0x140007d24
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007b20