joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001b470
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x1b0
and dword [rsp + 0x20], 0
mov rbx, rdx
xor edx, edx
mov rsi, r8
mov rdi, rcx
lea r8d, [rdx + 0x3c]
lea rcx, [rsp + 0x24]
mov rbp, r9
call sub.ntdll.dll_memset
and dword [rsp + 0x60], 0
lea rcx, [rsp + 0x64]
xor edx, edx
mov r8d, 0x144
call sub.ntdll.dll_memset
xor r9d, r9d
lea rdx, [rsp + 0x20]
lea r8d, [r9 + 0x40]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x10001b4db
xor al, al
jmp 0x10001b537
xor r9d, r9d
lea rdx, [rsp + 0x60]
mov r8d, 0x148
lea ecx, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x10001b4d7
mov ecx, dword [rsp + 0x28]
test rdi, rdi
je 0x10001b502
mov dword [rdi], ecx
test rsi, rsi
je 0x10001b511
mov eax, dword [rsp + 0x8c]
mov qword [rsi], rax
test rbx, rbx
je 0x10001b51d
mov eax, dword [rsp + 0x2c]
mov qword [rbx], rax
test rbp, rbp
je 0x10001b535
mov rax, qword [rsp + 0x48]
xor edx, edx
sub rax, qword [rsp + 0x40]
div rcx
mov qword [rbp], rax
mov al, 1
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x10001ba38
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rsi
sub rsp, 0x1b0
or dword [rax + 0x14], 0xffffffff
mov ebx, ecx
mov dword [rax + 0x10], 0xffffd8f0
mov esi, 1
jmp 0x10001ba6b
lea rdx, [rsp + 0x1c8]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtDelayExecution]
xor eax, eax
lock cmpxchg dword [0x1000845fc], esi
jne 0x10001ba5b
mov r8, qword [0x100081128]
cmp r8, 0xffffffffffffffff
jne 0x10001bb24
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x40]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
jns 0x10001baaf
lock add dword [0x1000845fc], 0xffffffff
xor eax, eax
jmp 0x10001bb5d
xor r9d, r9d
lea rdx, [rsp + 0x60]
mov r8d, 0x148
lea ecx, [r9 + 2]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
test eax, eax
js 0x10001baa0
mov eax, dword [rsp + 0x28]
mov r8d, dword [rsp + 0x8c]
mov rcx, qword [rsp + 0x48]
imul r8, rax
sub rcx, qword [rsp + 0x40]
mov rax, 0xfffffffffffffffe
cmp rcx, r8
cmovb r8, rcx
cmp r8, 0xffffffffffffffff
cmove r8, rax
cmp r8, 0x19000
ja 0x10001bb09
xor r8d, r8d
jmp 0x10001bb1d
movabs rax, 0xcccccccccccccccd
mul r8
shr rdx, 3
sub r8, rdx
mov qword [0x100081128], r8
cmp rbx, r8
ja 0x10001baa0
mov rax, qword gs:[0x30]
mov r8, rbx
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
test rax, rax
je 0x10001bb55
sub qword [0x100081128], rbx
lock add dword [0x1000845fc], 0xffffffff
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1b0
pop rsi
ret
Function at 0x10001bb74
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x20
or dword [rax + 0x14], 0xffffffff
mov dword [rax + 0x10], 0xffffd8f0
mov rax, qword gs:[0x30]
mov rdi, rcx
mov rcx, qword [rax + 0x60]
xor edx, edx
mov rcx, qword [rcx + 0x30]
mov r8, rdi
call qword [sym.imp.ntdll.dll_RtlSizeHeap]
mov esi, 1
mov rbx, rax
jmp 0x10001bbc5
lea rdx, [rsp + 0x38]
xor ecx, ecx
call qword [sym.imp.ntdll.dll_NtDelayExecution]
xor eax, eax
lock cmpxchg dword [0x1000845fc], esi
jne 0x10001bbb8
mov rcx, qword [0x100081128]
cmp rcx, 0xffffffffffffffff
je 0x10001bbea
mov eax, ebx
add rcx, rax
mov qword [0x100081128], rcx
mov rax, qword gs:[0x30]
mov r8, rdi
xor edx, edx
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
lock add dword [0x1000845fc], 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x10001c15c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xb0
xor ebx, ebx
mov eax, 0x2000
lea r8, [r11 - 0x78]
mov word [rsp + 0x32], ax
mov qword [r11 - 0x78], rbx
mov dword [rsp + 0x48], 0x30
lea rax, [0x10000b9a8]
mov word [rsp + 0x30], bx
mov qword [r11 - 0x80], rcx
mov qword [r11 - 0x68], rax
lea rax, [rsp + 0x30]
lea rdx, [0x10000b9c0]
mov qword [r11 - 0x60], rax
mov dword [rsp + 0x60], ebx
mov qword [r11 - 0x50], rbx
mov dword [rsp + 0x70], ebx
lea ecx, [rbx + 2]
xor r9d, r9d
mov qword [r11 - 0x40], rbx
mov dword [r11 - 0x38], ebx
mov qword [r11 - 0x30], rbx
mov qword [r11 - 0x28], rbx
mov dword [r11 - 0x20], ebx
mov qword [r11 - 0x18], rbx
mov dword [r11 - 0x10], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ntdll.dll_RtlQueryRegistryValues]
cmp eax, ebx
setge al
add rsp, 0xb0
pop rbx
ret

Function at 0x10001c1f4
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
movzx r8d, word [rcx]
xor ebx, ebx
mov rax, rcx
mov edx, ebx
jmp 0x10001c21c
add rax, 2
inc edx
cmp word [rax], bx
jne 0x10001c207
add rax, 2
inc edx
mov r8w, word [rax]
cmp r8w, bx
jne 0x10001c207
lea eax, [rdx + rdx + 2]
mov r9d, 7
lea r8, [0x10000b9a8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea ecx, [r9 - 5]
lea rdx, [0x10000b9c0]
call qword [sym.imp.ntdll.dll_RtlWriteRegistryValue]
cmp eax, ebx
setge al
add rsp, 0x30
pop rbx
ret
Function at 0x100034c6c
Capabilities:
Print debug messages

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], r8
push rbp
push rsi
push rdi
sub rsp, 0xd0
xor ebx, ebx
lea rax, [0x10000baf0]
mov dil, dl
mov qword [rsp + 0x50], rax
mov qword [r11 - 0x68], rbx
mov dword [r11 - 0x60], ebx
mov qword [r11 - 0x58], rbx
mov dword [r11 - 0x50], ebx
lea rax, [0x10000b3c8]
mov qword [r11 - 0x78], rax
mov rax, qword [0x100084260]
lea r8, [r11 + 0x20]
mov qword [r11 - 0x70], rax
mov rax, qword [0x100084308]
mov dword [rsp + 0x6c], ebx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov r9d, 0x80
mov word [r11 - 0x48], bx
mov byte [r11 - 0x45], bl
mov qword [r11 - 0x40], rbx
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x30], rbx
mov qword [r11 - 0x28], rbx
mov byte [r11 - 0x1f], bl
mov qword [rsp + 0x20], rbx
call fcn.100028f48
cmp al, bl
je 0x100034e47
cmp qword [rsp + 0xb8], rbx
je 0x100034d1c
lea rcx, [0x10000bee0]
jmp 0x100034e42
lea rax, [rsp + 0x108]
mov esi, 4
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov r8, rbx
mov r9d, esi
mov qword [rsp + 0x20], rax
call fcn.10001ed9c
cmp al, bl
je 0x100034e3b
cmp dword [rsp + 0x108], esi
jne 0x100034e3b
cmp dil, bl
jne 0x100034da6
lea rax, [rsp + 0x108]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
mov r9d, esi
mov r8, rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x444b4843
call fcn.10001f3f4
cmp al, bl
je 0x100034e47
cmp dword [rsp + 0x108], esi
je 0x100034e2d
jmp 0x100034e47
call fcn.10001ae88
mov edi, eax
cmp eax, ebx
je 0x100034e47
lea rcx, [rdi + 0x10]
cmp qword [rsp + 0xb0], rcx
jb 0x100034e47
xor eax, eax
mov esi, ebx
mov ebp, ebx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], 0x444b4843
lea rax, [rsp + 0x108]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
mov r8d, ebp
mov r9d, 0x10
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
call fcn.10001f3f4
cmp al, bl
je 0x100034e47
cmp dword [rsp + 0x108], 0x10
jne 0x100034e47
inc esi
add ebp, edi
cmp esi, 2
jb 0x100034dec
lea rcx, [rsp + 0x50]
call fcn.10001d4f4
mov al, 1
jmp 0x100034e53
lea rcx, [0x10000bf10]
call sub.ntdll.dll_DbgPrint
lea rcx, [rsp + 0x50]
call fcn.10001d4f4
xor al, al
mov rbx, qword [rsp + 0xf0]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1000377e4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rsi, r8
mov rdi, rdx
xor ecx, ecx
mov r8d, 1
add rdx, 0x40
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
lea rdx, [rdi + 0x41]
mov r8d, 1
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
lea rdx, [rsp + 0x30]
mov r8d, 4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov r8d, 8
mov rdx, rdi
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
movzx r8d, byte [rdi + 0x40]
lea rdx, [rdi + 0x42]
add r8d, r8d
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov rbx, qword [rsp + 0x38]
mov dword [rsi], eax
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x100037874
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rdx, rcx
mov ebx, 0x18
xor ecx, ecx
mov r8d, ebx
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
cmp byte [0x1000845f9], 2
jb 0x1000378ac
bt dword [rdi + 0x30], 0xa
jb 0x1000378b1
mov ebx, 0x16
lea rdx, [rdi + 0x20]
mov r8d, ebx
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
mov rbx, qword [rsp + 0x30]
mov dword [rsi], eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1000455b8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

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
sub rsp, 0x20
xor r12d, r12d
mov rdi, rcx
movzx ecx, word [rcx + 0x1c]
mov rsi, r9
mov ebp, r8d
mov r11d, 0x20
movzx r10d, r12w
movzx eax, word [rdi + 0x1a]
sub r11w, cx
and ax, dx
shr edx, cl
xor r10w, ax
cmp r11w, r12w
jg 0x1000455eb
movzx ebx, r10w
shl rbx, 4
add rbx, qword [rdi + 0x10]
cmp qword [rbx + 8], r12
jne 0x100045637
movzx ecx, word [rdi + 0x1e]
shl ecx, 2
call fcn.10001ba38
mov qword [rbx + 8], rax
cmp rax, r12
jne 0x10004562d
xor al, al
jmp 0x10004567d
mov dword [rbx], r12d
movzx eax, word [rdi + 0x1e]
mov dword [rbx + 4], eax
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x100045660
movzx edx, word [rdi + 0x1e]
mov rcx, qword [rbx + 8]
add edx, eax
shl edx, 2
call fcn.10001bc24
cmp rax, r12
je 0x100045629
mov qword [rbx + 8], rax
movzx eax, word [rdi + 0x1e]
add dword [rbx + 4], eax
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], ebp
mov rcx, qword [rbx + 8]
inc dword [rbx]
mov edx, dword [rbx]
mov qword [rsi], rcx
mov rcx, qword [rsp + 0x50]
mov dword [rcx], edx
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret
Function at 0x140003120
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140003151
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x1400031cb
mov rdi, r14
mov rcx, rbx
call fcn.140004c90
test rax, rax
jle 0x1400031a3
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400031bb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400031c3
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140003165
sub r14, rdi
jmp 0x1400032b1
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400031e2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400031e4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140003216
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400032ae
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003251
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
cmp rbp, 0xfff
jbe 0x14000328e
nop word [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400032ae
cmp rbp, rax
ja 0x140003260
test rbp, rbp
je 0x1400032ae
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fread]
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008060
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x40
mov rbp, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
call fcn.140008de0
mov rdi, qword [rsp + 0x70]
mov qword [rax + 0x138], rbx
mov rbx, qword [rdi + 8]
call fcn.140008de0
mov qword [rax + 0x128], rbx
mov rax, qword [rsi]
mov rbx, qword [rax + 0x38]
call fcn.140008de0
mov ecx, dword [0x1400162f0]
mov r9, rdi
mov byte [rsp + 0x38], 1
mov r8, rbp
mov edx, 0x10
mov qword [rax + 0x130], rbx
xor ebx, ebx
mov rax, qword gs:[0x58]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov rcx, qword [rax + rcx*8]
mov eax, dword [rsp + 0x80]
mov dword [rdx + rcx], eax
mov rdx, r14
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsi]
mov qword [rsp + 0x20], rax
call fcn.14000a270
call fcn.140008de0
mov rcx, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov qword [rax + 0x138], rbx
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x50]
mov dword [rcx], 1
add rsp, 0x40
pop r14
ret
Function at 0x14000b920
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14000b95c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.140007f08
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x14000ba18
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x14000ba7e
test ebx, ebx
jne 0x14000ba7e
lea ecx, [rax + 2]
call fcn.140007f08
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140007bb0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x14000bb90
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x530
mov rax, qword [0x140015080]
xor rax, rsp
mov qword [rsp + 0x520], rax
xor ebx, ebx
mov rdi, rdx
mov esi, ecx
test rdx, rdx
je 0x14000bbfc
lea edx, [rbx + 0x2d]
mov rcx, rdi
call sub.msvcrt.dll_strchr
test rax, rax
je 0x14000bbfc
mov ecx, ebx
lea r8, [rsp + 0x120]
mov rdx, rdi
nop dword [rax]
movsx eax, byte [rdx]
test al, al
je 0x14000bc4f
mov word [r8], ax
inc ecx
add r8, 2
inc rdx
cmp ecx, 0x100
jne 0x14000bbe0
mov rcx, qword [0x140016228]
test rcx, rcx
jne 0x14000bc32
call fcn.14000cb30
mov rcx, rax
lea rdx, str.setlocale
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov rcx, 0xffffffffffffffff
cmovne rcx, rax
mov qword [0x140016228], rcx
cmp rcx, 0xffffffffffffffff
cmovne rbx, rcx
test rbx, rbx
je 0x14000bd33
mov rdx, rdi
mov ecx, esi
call rbx
jmp 0x14000bd35
movsxd rax, ecx
add rax, rax
cmp rax, 0x200
jae 0x14000bd5a
mov edx, 0x2d
mov word [rsp + rax + 0x120], bx
lea rcx, [rsp + 0x120]
call sub.msvcrt.dll_wcsrchr
test rax, rax
je 0x14000bbfc
mov r9d, 0xff
lea r8, [rsp + 0x320]
mov edx, 0x1001
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000bbfc
lea ecx, [rax - 1]
mov r9d, 0x100
movsxd rdx, ecx
lea r8, [rsp + 0x320]
sub r9d, eax
mov ecx, 0x5f
cdqe
mov word [rsp + rdx*2 + 0x320], cx
mov edx, 0x1002
lea rcx, [rsp + 0x120]
lea r8, [r8 + rax*2]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x14000bbfc
lea rcx, [rsp + 0x320]
mov eax, ebx
lea rdx, [rsp + 0x20]
movzx r8d, word [rcx]
test r8w, r8w
je 0x14000bd23
mov byte [rdx], r8b
inc eax
inc rdx
add rcx, 2
cmp eax, 0x100
jne 0x14000bd01
jmp 0x14000bbfc
cdqe
lea rdi, [rsp + 0x20]
mov byte [rsp + rax + 0x20], bl
jmp 0x14000bbfc
xor eax, eax
mov rcx, qword [rsp + 0x520]
xor rcx, rsp
call fcn.140007bb0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400082ac
int3

Function at 0x14000c2b0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov ebx, ecx
mov dword [rsp + 0x60], 0
xor ecx, ecx
mov dword [rsp + 0x68], 2
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c312
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c312
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
jne 0x14000c312
mov eax, 0x20b
cmp word [rdx + 0x18], ax
jne 0x14000c312
cmp dword [rdx + 0x84], 0xe
jbe 0x14000c312
cmp dword [rdx + 0xf8], 0
je 0x14000c312
mov ecx, ebx
call fcn.14000c170
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140016258]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000bff0
cmp dword [rsp + 0x60], 0
jne 0x14000c355
mov ecx, ebx
call fcn.14000c120
int3
add rsp, 0x40
pop rbx
ret
Function at 0x14000c3a0
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000c3fc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000c3fc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000c3fc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000c3fc
cmp dword [rcx + 0x84], 0xe
jbe 0x14000c3fc
cmp dword [rcx + 0xf8], 0
je 0x14000c3fc
mov ecx, ebx
call fcn.14000c170
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x140016258]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.14000bff0
cmp dword [rsp + 0x60], 0
jne 0x14000c43f
mov ecx, ebx
call fcn.14000c120
int3
add rsp, 0x40
pop rbx
ret
Function at 0x18003ed20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x18003ed7d
lea rbx, [0x1801af770]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18003ed64
cmp r10, 2
jb 0x18003ed64
cmp byte [r9], r8b
jne 0x18003ed64
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x18003ed40
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18003edbf
lea rbx, [0x1801af770]
cmp r8b, 0x23
jne 0x18003eda3
cmp byte [r9], r8b
jne 0x18003eda3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x18003ed90
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18003ef00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18003ef1a
mov qword [r8], 0
lea rdx, [0x1801af290]
call fcn.18003edd0
mov rbx, rax
test rax, rax
jne 0x18003ef3a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x18003f011
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18003f011
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18003f011
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18003f011
cmp rdi, 0xffffffffffffffff
je 0x18003f011
mov rax, qword [0x18022a710]
test rax, rax
je 0x18003efae
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18003f011
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18003effe
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18022a710]
test rax, rax
je 0x18003eff3
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18003f01a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18003f00c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18003f01c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret