joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401350a8
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
jmp 0x14013510d
cmp ecx, 0x29
jne 0x140135122
cmp dword [rdi + 0x1c], 0
jne 0x140135117
test dword [rdi + 0x80], 0x10000000
je 0x140135255
cmp ecx, 0x5d
jne 0x1401350ec
test dword [rdi + 0x80], 0x10000000
je 0x140135263
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.14013462c
mov rcx, rdi
call fcn.1401375a8
mov rcx, rdi
call fcn.14013761c
mov ecx, dword [rdi + 0x7c]
mov al, 1
cmp ecx, 0xffffffff
je 0x140135117
cmp ecx, 0x7c
jne 0x1401350bc
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp ecx, 0x2e
jne 0x140135132
lea rcx, [rdi + 0x40]
call fcn.1401348cc
jmp 0x1401350f8
cmp ecx, 0x5c
jne 0x140135187
mov rcx, rdi
call fcn.1401375a8
test byte [rdi + 0x80], 0x80
je 0x14013517a
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x140135162
lea rcx, [rdi + 0x40]
call fcn.14013509c
mov rcx, rdi
call fcn.1401375a8
jmp 0x140135108
cmp al, 0x42
jne 0x14013517a
lea rcx, [rdi + 0x40]
call fcn.14013509c
lea rcx, [rdi + 0x40]
call fcn.140137538
jmp 0x140135158
mov rcx, rdi
call fcn.140135274
jmp 0x140135100
cmp ecx, 0x5b
jne 0x1401351b2
mov rcx, rdi
call fcn.1401375a8
mov rcx, rdi
call fcn.14013591c
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.140136ba8
jmp 0x140135100
cmp ecx, 0x28
jne 0x1401351e7
mov rcx, rdi
call fcn.1401375a8
mov rcx, rdi
call fcn.140137944
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.140136ba8
test bl, bl
je 0x140135108
jmp 0x140135100
cmp ecx, 0x5e
jne 0x1401351fa
lea rcx, [rdi + 0x40]
call fcn.140134620
jmp 0x140135158
cmp ecx, 0x24
jne 0x14013520d
lea rcx, [rdi + 0x40]
call fcn.1401349bc
jmp 0x140135158
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140135239
cmp ecx, 0x3f
je 0x140135239
cmp ecx, 0x7b
je 0x140135239
cmp ecx, 0x7d
jne 0x1401350d7
test dword [rdi + 0x80], 0x10000000
je 0x140135247
jmp 0x1401350ec
mov edx, 0xa
mov rcx, rdi
call fcn.140136b9c
int3
mov edx, 6
mov rcx, rdi
call fcn.140136b9c
int3
mov edx, 5
mov rcx, rdi
call fcn.140136b9c
int3
mov edx, 4
mov rcx, rdi
call fcn.140136b9c
int3
Function at 0x140141ee8
Capabilities:
Map section object

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x14033fc00]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [r11 - 0x28], rdx
mov qword [r11 - 0x20], r8
mov qword [r11 - 0x18], r9
mov eax, dword [rsp + 0xa0]
lea r8, [r11 - 0x28]
mov dword [rsp + 0x48], eax
xor r9d, r9d
mov dword [rsp + 0x40], 0x400000
lea rax, [r11 - 0x20]
mov dword [rsp + 0x38], 2
or rdx, 0xffffffffffffffff
mov qword [r11 - 0x48], rax
lea rax, [r11 - 0x18]
mov qword [r11 - 0x50], rax
and qword [r11 - 0x58], 0
call sub.ntdll.dll_NtMapViewOfSection
not eax
shr eax, 0x1f
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140142710
add rsp, 0x78
ret

Function at 0x1401421a4
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14033fc00]
xor rax, rsp
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
lea rdx, [rsp + 0x28]
xor ebx, ebx
mov rdi, rcx
movups xmmword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], ebx
movups xmmword [rsp + 0x38], xmm0
lea r8d, [rbx + 0x30]
movups xmmword [rsp + 0x48], xmm0
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140142213
mov rdx, qword [rsp + 0x40]
lea eax, [rbx + 0x40]
cmp dword [rsp + 0x4c], eax
lea r8d, [rbx + 1]
lea r9, [rsp + 0x20]
mov rcx, rdi
cmovne r8d, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140142710
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x140142230
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x14033fc00]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx r10d, word [rbx + 6]
lea rdx, [rbx + 0x30]
movzx eax, word [rbx + 0x14]
xor edi, edi
mov r9d, dword [rsp + 0x48]
movzx r8d, di
cmp di, r10w
jae 0x1401422b6
lea r11, [rax + rbx]
lea ebx, [r9 - 1]
movzx eax, r8w
lea rcx, [rax + rax*4]
mov eax, dword [r11 + rcx*8 + 0x24]
mov ecx, edi
add rax, qword [rdx]
test rbx, rax
sete cl
test rbx, rax
jne 0x1401422c2
inc r8w
cmp r8w, r10w
jb 0x14014228f
lea ecx, [r9 - 1]
test qword [rdx], rcx
mov ecx, edi
sete cl
mov eax, ecx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140142710
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x1401433bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140143406
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140143406
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140143406
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140143406
cmp dword [rcx + 0x84], 0xe
jbe 0x140143406
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140143408
xor al, al
add rsp, 0x28
ret
Function at 0x140144250
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, [0x14016e0d0]
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14014428a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14014428f
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 0x1401442d8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x1401442d8
dec r8
sub rdx, 1
jne 0x1401442be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001ce4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rcx + 0x18], 7
mov rsi, r8
mov rbx, rdx
jbe 0x140001d0f
mov rcx, qword [rcx]
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140001d44
xor al, al
jmp 0x140001d7b
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140001d78
mov eax, dword [rsp + 0x40]
cmp rax, rsi
jne 0x140001d78
mov dil, 1
mov al, dil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140005c60
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400049c4
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400049f2
xor eax, eax
jmp 0x140004ad8
cmp qword [rcx + 0x68], 0
je 0x140004a03
call fcn.140004af4
jmp 0x140004ad8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140004a1a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140004a1c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140004a4e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.14001d7c0
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x140004ad2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140004a85
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140004aae
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14000c7a4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x140004ad2
cmp rsi, rbx
ja 0x140004a8c
test rsi, rsi
je 0x140004ad2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14000c7a4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
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

Function at 0x140006604
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000664e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000664e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000664e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000664e
cmp dword [rcx + 0x84], 0xe
jbe 0x14000664e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140006650
xor al, al
add rsp, 0x28
ret
Function at 0x14000ede8
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 0x14000ee57
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000ee57
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000ee57
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000ee57
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000ee57
cmp dword [rcx + 0x84], 0xe
jbe 0x14000ee57
cmp dword [rcx + 0xf8], 0
je 0x14000ee57
mov ecx, ebx
call fcn.14000ef08
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.14000ece4
nop
cmp dword [rbp + 0x20], 0
je 0x14000eea5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000eeb0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14000ede8

Function at 0x14000efec
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14000ede8
Function at 0x140014130
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.140006050
sub rsp, rax
mov rax, qword [0x14002e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.140012d10
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14001417f
mov rax, rbp
jmp 0x140014287
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xe66d0]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140015250
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0xe66d0]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140014283
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014283
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140015250
test rax, rax
js 0x140014283
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140014283
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140014275
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140014275
cmp byte [rcx], 0xd
jne 0x14001425b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14001426a
cmp byte [rcx + 1], 0xa
jne 0x14001426a
inc rcx
jmp 0x14001426a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x2e480]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14001423d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140014287
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.140005c60
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400144a8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400144be
mov al, 1
jmp 0x14001451e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400144cf
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001451c
mov ecx, dword [rcx + 0x18]
nop
call fcn.140018c04
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001451c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001451c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001451c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001451e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400145f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1400e66d0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x140014647
cmp word [rdx], r13w
jne 0x140014647
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14001464c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x140014771
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x140014792
lea r9, [rdx + 2]
cmp cx, r11w
je 0x140014685
mov rdx, r9
mov word [rbx], cx
jmp 0x1400146ac
cmp r9, r8
jae 0x1400146bc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x140014666
jmp 0x140014771
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140014766
cmp dword [rsp + 0x80], esi
je 0x140014766
lea r8, [0x1400e66d0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14001473e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14001470e
mov word [rbx], r13w
jmp 0x14001476e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14001471b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14001476e
cmp word [rsp + 0x70], r13w
jne 0x14001474b
cmp rbx, r14
je 0x140014708
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140015258
cmp word [rsp + 0x70], r13w
je 0x140014771
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1400e66d0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14001476b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x140014771
Function at 0x140018858
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x1400188df
mov rsi, rbx
cmp word [rax], bp
je 0x14001889e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018888
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018884
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400154bc
mov rdi, rax
test rax, rax
je 0x1400188cc
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14001d7c0
mov rbp, rdi
xor ecx, ecx
call fcn.1400118fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001b158
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140011cb0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14001b1f9
cmp ebx, dword [rsp + 0x30]
je 0x14001b1f2
test esi, esi
je 0x14001b1f2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14001b1cd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14001b1da
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14001b1b7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14001b1de
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14001b1fb
mov eax, 1
jmp 0x14001b1fb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d520
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001d548
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001d548
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400014f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [rcx + 0x18], 7
mov rdi, rdx
mov rdx, rcx
mov rbx, rcx
jbe 0x140001521
mov rdx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test eax, eax
jne 0x14000158f
cmp qword [rdi + 0x18], 7
mov rcx, rdi
jbe 0x140001554
mov rcx, qword [rdi]
mov eax, dword [rdi + 0x10]
lea rdx, str.ProcessorNameString
mov r9d, 1
xor r8d, r8d
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400015e5
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
lea rdx, str.Failed_to_open_registry_key:
call fcn.140001cd0
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x1400015af
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400024e0
lea rdx, str.._Error_code:
mov rcx, rax
call fcn.140001cd0
mov rcx, rax
mov edx, esi
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___long_int____ptr64]
mov rcx, rax
lea rdx, [0x140001eb0]
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 rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140002700
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x140001610
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0xd0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor0
lea rcx, [rsp + 0x40]
call fcn.140001b20
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor1
lea rcx, [rsp + 0x60]
call fcn.140001b20
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor2
lea rcx, [rsp + 0x80]
call fcn.140001b20
nop
lea rdx, str.HARDWAREDESCRIPTIONSystemCentralProcessor3
lea rcx, [rsp + 0xa0]
call fcn.140001b20
nop
call fcn.1400011d0
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
lea rcx, [rsp + 0x20]
call fcn.1400012a0
nop
lea rbx, [rsp + 0x40]
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400014f0
add rbx, 0x20
lea rax, [rsp + 0xc0]
cmp rbx, rax
jne 0x1400016a0
mov ecx, 2
call fcn.140001480
lea rdx, str.Spoof_i
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140001cd0
mov rcx, rax
lea rdx, [0x140001eb0]
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 ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x140001970
Capabilities:
Get token membership

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140007040]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
lea rdx, str.Turkish
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_setlocale]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rsp + 0x78]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx edx, word [rsp + 0x80]
mov eax, 0xf0
and dx, ax
mov rcx, rbx
or dx, 4
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor ecx, ecx
mov word [rsp + 0x6c], 0x500
lea rax, [rsp + 0x60]
mov dword [rsp + 0x70], ecx
mov qword [rsp + 0x50], rax
mov r9d, 0x220
mov dword [rsp + 0x48], ecx
mov r8d, 0x20
mov dword [rsp + 0x40], ecx
mov dl, 2
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], ecx
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x68], ecx
lea rcx, [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140001a54
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140001a54
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_FreeSid]
cmp dword [rsp + 0x70], 1
je 0x140001a9d
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140002170
mov rcx, rax
lea rdx, [0x140002330]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140002700
add rsp, 0xa0
pop rbx
ret
call fcn.140001700
int3

Function at 0x140003150
Capabilities:
Parse pe header

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