joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016804
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x300
lea rbp, [rsp + 0x40]
mov dword [rbp + 0x80], 0x238
xor edx, edx
mov ecx, 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0x20], rax
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
mov dword [rbp + 0x28], 3
mov eax, dword [rbp + 0x28]
mov dword [rbp + 0x2c], eax
lea rax, [rbp + 0xac]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140016871
mov qword [rbp + 0x50], 0
jmp 0x14001696d
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x58], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x140016881
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x1400168b3
mov qword [rbp + 0x48], 0
jmp 0x140016965
movsxd rax, dword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1400168d0
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c1700
sub rsp, rax
lea rax, [rsp + 0x40]
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x18], 0
je 0x1400168f6
cmp qword [rbp + 0x10], 0
jne 0x140016900
mov qword [rbp + 0x40], 0
jmp 0x14001695d
mov rax, qword [rbp + 0x18]
mov byte [rax], 0
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x10]
xor edx, edx
mov ecx, dword [rbp + 0x2c]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 0
jne 0x140016955
mov qword [rbp + 0x40], 0
jmp 0x14001695d
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x48]
mov qword [rbp + 0x50], rax
mov rax, qword [rbp + 0x2d8]
mov rcx, rax
call fcn.14001a4ac
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov rcx, qword [rbp + 0x50]
sub rax, rcx
mov dl, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14001699d
inc rcx
test dl, dl
jne 0x14001698b
xor eax, eax
jmp 0x1400169a2
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1400169d7
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0x88]
mov dword [rbp + 0x34], eax
mov rcx, qword [rbp + 0x2d8]
call fcn.14001b3a0
nop
mov rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp + 0x34]
jmp 0x140016a1c
lea rdx, [rbp + 0x80]
mov rcx, qword [rbp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140016852
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov dword [rbp + 0x38], 0
mov rcx, qword [rbp + 0x2d8]
call fcn.14001b3a0
nop
mov rax, qword [rbp + 0x2d8]
mov qword [rbp + 0x70], rax
mov eax, dword [rbp + 0x38]
lea rsp, [rbp + 0x2c0]
pop rbp
ret
Function at 0x1400186a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x1400186cb
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400186d2
mov al, 1
jmp 0x140018874
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x40], 0xffffffff
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov edx, dword [rsp + 0x44]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x68]
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x48], 0xffffffff
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x50], eax
jne 0x14001872e
mov dword [rsp + 0x38], 1
jmp 0x140018736
mov dword [rsp + 0x38], 0
mov al, byte [rsp + 0x38]
mov byte [rsp + 0x30], al
mov al, byte [rsp + 0x30]
movzx eax, al
test eax, eax
je 0x140018750
xor al, al
jmp 0x140018874
mov qword [rsp + 0x80], 0x20
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xa8]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x74
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x88]
mov rdx, rcx
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x70]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x1400187dd
cmp dword [rsp + 0x34], 1
je 0x1400187e9
cmp dword [rsp + 0x34], 3
je 0x140018862
jmp 0x140018872
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x14001883a
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x88]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
cmp qword [rsp + 0x58], rax
je 0x14001883a
xor al, al
jmp 0x140018874
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140018854
mov dword [rsp + 0x3c], 1
jmp 0x14001885c
mov dword [rsp + 0x3c], 0
mov al, byte [rsp + 0x3c]
jmp 0x140018874
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140018874
xor al, al
add rsp, 0xb8
ret
Function at 0x140020ec8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x98
cmp qword [rsp + 0xc0], 0
jg 0x140020ef2
xor eax, eax
jmp 0x14002115b
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140020f23
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
call fcn.140021168
jmp 0x14002115b
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
cmp qword [rax], 0
je 0x140020f63
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x50]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
jmp 0x140020f6b
mov dword [rsp + 0x28], 0
movsxd rax, dword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jbe 0x14002103b
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x38], rax
jae 0x140020fa3
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
jmp 0x140020fad
lea rax, [rsp + 0x20]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xb8]
mov rsi, rax
mov rcx, qword [rsp + 0x30]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
call fcn.14001d710
nop
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x80], 0
je 0x14002114b
mov rcx, qword [rsp + 0xb0]
call fcn.14001ac10
mov qword [rsp + 0x88], 0xfff
cmp qword [rsp + 0x20], 0xfff
jbe 0x1400210f3
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0xb8]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x40], 0xfff
je 0x1400210ee
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
jmp 0x14002115b
jmp 0x14002106a
cmp qword [rsp + 0x20], 0
jbe 0x14002114b
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x20]
mov edx, 1
mov rcx, qword [rsp + 0xb8]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
add rsp, 0x98
pop rdi
pop rsi
ret
Function at 0x14002132c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x68], 0
je 0x140021369
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400214c4
jmp 0x1400214ba
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x140021396
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14002139e
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x80], 0
jle 0x140021454
cmp qword [rsp + 0x28], 0
jle 0x140021454
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x80], rax
jge 0x1400213e9
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.14001e760
nop
cmp qword [rsp + 0x80], 0
jle 0x1400214a7
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x80], 0
je 0x1400214a7
mov rax, qword [rsp + 0x70]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x80]
mov edx, 1
mov rcx, qword [rsp + 0x78]
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x140086100
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
movsxd rbp, r9d
mov r14, r8
mov rbx, rdx
mov rdi, rcx
test rcx, rcx
je 0x14008612e
test rdx, rdx
jne 0x140086147
mov r8d, 0x799
lea rdx, str.C:Users_adminDesktopCS2_External_masterCS2_ExternalOS_ImGuiimguiimgui.cpp
lea rcx, str.filename__mode
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
test r14, r14
je 0x140086150
and qword [r14], 0
mov rdx, rbx
mov rcx, rdi
call fcn.140086238
mov rbx, rax
test rax, rax
je 0x14008621a
mov rcx, rax
call fcn.14008608c
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140086212
mov rax, qword [0x1401a8fb0]
test rax, rax
je 0x14008618e
inc dword [rax + 0xf4]
mov rdx, qword [0x1401a8fc0]
lea rcx, [rdi + rbp]
call qword [0x140156188]
mov rsi, rax
test rax, rax
je 0x140086212
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fread
cmp rax, rdi
je 0x1400861eb
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rax, qword [0x1401a8fb0]
test rax, rax
je 0x1400861d9
dec dword [rax + 0xf4]
mov rdx, qword [0x1401a8fc0]
mov rcx, rsi
call qword [0x140156190]
jmp 0x14008621a
test ebp, ebp
jle 0x1400861fd
lea rcx, [rsi + rdi]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
test r14, r14
je 0x14008620d
mov qword [r14], rdi
mov rax, rsi
jmp 0x14008621c
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x1400865ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rcx
not r8d
test rdx, rdx
je 0x14008661a
movzx eax, byte [r9]
inc r9
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x140125550]
xor r8d, dword [rax + rcx*4]
sub rdx, 1
jne 0x1400865f7
not r8d
mov eax, r8d
ret

Function at 0x140086624
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x14008667e
mov r11b, 0x23
lea rbx, [0x140125550]
movzx edi, byte [r10]
dec rdx
inc r10
cmp dil, r11b
jne 0x140086668
cmp rdx, 2
jb 0x140086668
cmp byte [r10], r11b
jne 0x140086668
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rdi
shr r9d, 8
xor r9d, dword [rbx + rcx*4]
test rdx, rdx
jne 0x140086646
jmp 0x1400866bf
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x1400866bf
mov r11b, 0x23
lea rbx, [0x140125550]
cmp dl, r11b
jne 0x1400866a3
cmp byte [r10], r11b
jne 0x1400866a3
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rbx + rcx*4]
test dl, dl
jne 0x140086691
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x140088304
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c10], 0
lea rbx, [rcx + 0x5c18]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14008839c
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x140088355
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140095b08
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140094f90
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c10]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1401a8fb8]
movsxd r8, eax
mov rax, qword [rdi + 0x5c20]
test rax, rax
cmovne rcx, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
jmp 0x1400883a4
mov rcx, rbx
call fcn.140094f90
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14008fdf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1401a8fb0]
mov rbx, rcx
and dword [rax + 0x5b74], 0
test rcx, rcx
je 0x14008fe57
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.14008fe64
lea rdx, [0x14012b4bc]
mov rcx, rbx
mov rdi, rax
call fcn.140086238
mov rbx, rax
test rax, rax
je 0x14008fe57
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fclose
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bc20c
Capabilities:
Hide graphical window

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
and dword [rbp + 0x17], 0
lea rax, [0x1400bcca8]
and dword [rbp + 0x1b], 0
mov rbx, rcx
xor ecx, ecx
mov qword [rbp + 0xf], rax
mov dword [rbp + 7], 0x50
mov dword [rbp + 0xb], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdi, [rbx + 0xc0]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov qword [rbp + 0x1f], rax
cmp qword [rdi + 0x18], 7
mov rax, rdi
movdqa xmmword [rbp + 0x27], xmm0
movdqa xmmword [rbp + 0x37], xmm1
jbe 0x1400bc27b
mov rax, qword [rdi]
and qword [rbp + 0x4f], 0
lea rcx, [rbp + 7]
mov qword [rbp + 0x47], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp dword [rbx + 0x1b0], 1
lea rsi, [rbx + 0x80]
jne 0x1400bc31c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rsi + 0x18], 7
jbe 0x1400bc2b0
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400bc2ba
mov rdi, qword [rdi]
and qword [rsp + 0x58], 0
mov r9d, 0x80000000
mov qword [rsp + 0x50], rax
mov r8, rsi
and qword [rsp + 0x48], 0
mov eax, 0x64
and qword [rsp + 0x40], 0
mov rdx, rdi
mov dword [rsp + 0x38], eax
mov ecx, 0xa8
mov dword [rsp + 0x30], eax
mov eax, 0x80000000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r9d, 2
mov r8b, 0xff
mov rcx, rax
mov qword [rbx + 0x50], rax
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
jmp 0x1400bc397
cmp qword [rsi + 0x18], 7
cvttss2si ecx, dword [rbx + 0xec]
cvttss2si edx, dword [rbx + 0xe8]
cvttss2si r8d, dword [rbx + 0xe4]
cvttss2si r9d, dword [rbx + 0xe0]
jbe 0x1400bc348
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 7
jbe 0x1400bc352
mov rdi, qword [rdi]
and qword [rsp + 0x58], 0
mov rax, qword [rbp + 0x1f]
mov qword [rsp + 0x50], rax
and qword [rsp + 0x48], 0
and qword [rsp + 0x40], 0
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], edx
mov rdx, rdi
mov dword [rsp + 0x28], r8d
mov r8, rsi
mov dword [rsp + 0x20], r9d
mov r9d, 0xa0000
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x50], rax
mov rax, qword [rbp + 0x1f]
lea rcx, [0x1401a93a8]
mov rdx, qword [rbx + 0x50]
mov qword [rbx + 0x58], rax
call fcn.1400bc8f0
test al, al
jne 0x1400bc3d1
lea rcx, [0x1401a93a8]
call fcn.1400bc87c
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0x47]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor al, al
jmp 0x1400bc3f2
mov rcx, qword [rbx + 0x50]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x50]
call qword [sym.imp.USER32.dll_UpdateWindow]
cmp qword [rbx + 0x50], 0
setne al
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400c1ea4
Capabilities:
Parse pe header

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

Function at 0x1400c2620
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 0x1400c265a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c265f
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 0x1400c26a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140133560]
cmp byte [rcx + rax], 0
je 0x1400c26a8
dec r8
sub rdx, 1
jne 0x1400c268e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400da9b4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400c7046
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400c7029
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400c7014

Function at 0x1400e4300
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x28
call sub.api_ms_win_crt_locale_l1_1_0.dll____lc_locale_name_func
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x1400e4352
and dword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
mov r9d, 2
lea edx, [r9 + 0x20]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx ecx, word [rsp + 0x30]
sub ecx, 0x30
je 0x1400e4352
sub ecx, 1
je 0x1400e434b
cmp ecx, 1
je 0x1400e4344
xor eax, eax
jmp 0x1400e4357
mov eax, 3
jmp 0x1400e4357
mov eax, 1
jmp 0x1400e4357
mov eax, 2
add rsp, 0x28
ret
Function at 0x416600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4167ab
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432e00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41666e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x416681
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4166a5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4166b9
cmp rbx, 0x1000
jae 0x416678
nop
jmp 0x416729
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4166cd
xor edx, edx
jmp 0x416720
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00432e00
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4166af
jmp 0x416695
call fcn.004612c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00437460
lea rax, [0x004e4d4a]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00437d60
mov rax, qword [rsp + 0x38]
call fcn.00437a60
lea rax, [0x004e4e0a]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00437d60
mov rax, qword [rsp + 0x30]
call fcn.00437a60
call fcn.004376c0
call fcn.004374e0
lea rax, [0x004e7204]
mov ebx, 0x21
call fcn.00435ba0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045d700
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00416600