joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006a390
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18006a3b8
xor eax, eax
lea r8, [0x18006a2f0]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x18006c760
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 0x18006c7bd
lea rbx, [0x1800c5610]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x18006c7a4
cmp r10, 2
jb 0x18006c7a4
cmp byte [r9], r8b
jne 0x18006c7a4
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 0x18006c780
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18006c7ff
lea rbx, [0x1800c5610]
cmp r8b, 0x23
jne 0x18006c7e3
cmp byte [r9], r8b
jne 0x18006c7e3
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 0x18006c7d0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x18006c940
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18006c95a
mov qword [r8], 0
lea rdx, [0x1800d1bdc]
call fcn.18006c810
mov rbx, rax
test rax, rax
jne 0x18006c97a
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 0x18006ca51
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 0x18006ca51
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x18006ca51
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 0x18006ca51
cmp rdi, 0xffffffffffffffff
je 0x18006ca51
mov rax, qword [0x1801b1738]
test rax, rax
je 0x18006c9ee
inc dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18006ca51
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 0x18006ca3e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1801b1738]
test rax, rax
je 0x18006ca33
dec dword [rax + 0xf0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18006ca5a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18006ca4c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18006ca5c
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
Function at 0x18006eee0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
lea r10, [0x1800c5610]
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dl
movzx r8d, bl
shr ebx, 8
xor r8, rax
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r10 + r8*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r10 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r10 + rcx*4]
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x18006ef6b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.180081380
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180072350
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1800723a0
lea r11, [0x1800c5610]
nop dword [rax]
cmp r9b, 0x23
jne 0x180072383
cmp byte [r8], r9b
jne 0x180072383
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180072370
mov rcx, qword [0x1801b1738]
not eax
movsxd rdx, dword [rcx + 0x3ee8]
mov r9, qword [rcx + 0x3ef0]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180072401
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x1800723f9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x1800723fc
mov rdx, r8
test rdx, rdx
jne 0x1800723d0
cmp r9, r10
je 0x180072410
cmp dword [r9], eax
jne 0x180072410
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x18007fae0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ce0], 0
lea rbx, [rcx + 0x5ce8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18007fb87
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x18007fb3a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180082510
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.18006ce50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ce0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cf0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1801b171f]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x18007fb8f
mov rcx, rbx
call fcn.18006ce50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180080010
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1801b1738]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x180080073
mov qword [rsp], rbx
lea rbx, [0x1800c5610]
nop dword [rax]
cmp r9b, 0x23
jne 0x180080053
cmp byte [r8], r9b
jne 0x180080053
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x180080040
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c50]
not eax
mov r8, qword [r10 + 0x5c58]
lea rdx, [rcx + rcx*8]
lea rcx, [r8 + rdx*8]
cmp r8, rcx
je 0x18008009f
cmp dword [r8 + 8], eax
je 0x1800800a6
add r8, 0x48
cmp r8, rcx
jne 0x180080090
xor eax, eax
add rsp, 8
ret
mov rax, r8
add rsp, 8
ret
Function at 0x18009dea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rbp, rdx
mov rdi, rcx
mov rbx, qword [0x1801b1748]
mov ecx, 0x40
call fcn.1800a5f90
mov rsi, rax
mov r8d, dword [rbx + 0x330]
mov dword [rax], r8d
mov r8d, dword [rbx + 0x340]
mov dword [rax + 4], r8d
mov r8d, dword [rbx + 0x350]
mov dword [rax + 8], r8d
mov edx, dword [rbx + 0x360]
mov dword [rax + 0xc], edx
mov ecx, dword [rbx + 0x334]
mov dword [rax + 0x10], ecx
mov ecx, dword [rbx + 0x344]
mov dword [rax + 0x14], ecx
mov ecx, dword [rbx + 0x354]
mov dword [rax + 0x18], ecx
mov eax, dword [rbx + 0x364]
mov dword [rsi + 0x1c], eax
mov eax, dword [rbx + 0x338]
mov dword [rsi + 0x20], eax
mov eax, dword [rbx + 0x348]
mov dword [rsi + 0x24], eax
mov eax, dword [rbx + 0x358]
mov dword [rsi + 0x28], eax
mov eax, dword [rbx + 0x368]
mov dword [rsi + 0x2c], eax
mov eax, dword [rbx + 0x33c]
mov dword [rsi + 0x30], eax
mov eax, dword [rbx + 0x34c]
mov dword [rsi + 0x34], eax
mov eax, dword [rbx + 0x35c]
mov dword [rsi + 0x38], eax
mov eax, dword [rbx + 0x36c]
mov dword [rsi + 0x3c], eax
mov qword [rsp + 0x90], rsi
mov ecx, 0x18
call fcn.1800a5f90
mov rbx, rax
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_struct_glmatrixf_.0
mov qword [rbx], rax
mov qword [rbx + 0x10], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rbx
mov edx, 0x40
xor ecx, ecx
call fcn.1800a6344
nop
mov rcx, qword [0x1801b1748]
mov rax, qword [rcx]
mov rdx, qword [rax + 0x630]
call rdx
mov rcx, qword [rax + 0x308]
movss xmm0, dword [rcx + 0x5f0]
movss dword [rsp + 0x40], xmm0
movss xmm1, dword [rcx + 0x5f4]
movss dword [rsp + 0x44], xmm1
movss xmm0, dword [rcx + 0x5f8]
movss dword [rsp + 0x48], xmm0
mov rax, qword [0x1801b1748]
movss xmm1, dword [rax + 0x6f8]
movss xmm0, dword [rax + 0x70c]
movss dword [rsp + 0x80], xmm1
movss dword [rsp + 0x84], xmm0
mov rax, qword [rax + 0x560]
mov rax, qword [rax + 0x30]
movss xmm0, dword [rdi]
movss dword [rsp + 0x30], xmm0
movss xmm1, dword [rdi + 4]
movss dword [rsp + 0x34], xmm1
movss xmm0, dword [rdi + 8]
movss dword [rsp + 0x38], xmm0
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbp
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.18009cc10
movzx esi, al
mov edi, 0xffffffff
mov ecx, edi
lock xadd dword [rbx + 8], ecx
cmp ecx, 1
jne 0x18009e0a3
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x18009e09f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
movzx eax, sil
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800a0f40
Capabilities:
Suspend thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
mov qword [rax], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 8], 0
mov rax, qword [rsp + 0x40]
mov dword [rax + 0xc], 0
mov rcx, qword [rsp + 0x40]
call fcn.1800a0d30
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800a1017
mov dword [rsp + 0x20], 0
jmp 0x1800a0fb4
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800a1017
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800a1015
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.1800a0b10
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800a0faa
add rsp, 0x30
pop rdi
ret

Function at 0x1800a1030
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rdi, rsp
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
je 0x1800a10d4
mov dword [rsp + 0x20], 0
jmp 0x1800a106d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0x20], eax
jae 0x1800a10bd
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
mov rcx, qword [rcx]
mov r8d, dword [rcx + rax*4]
xor edx, edx
mov ecx, 0x5a
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1800a10bb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800a1063
mov rax, qword [rsp + 0x40]
mov r8, qword [rax]
xor edx, edx
mov rcx, qword [0x1801b0f98]
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x30
pop rdi
ret
Function at 0x1800a10e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov rdi, rsp
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x80]
mov eax, dword [rsp + 0x80]
imul rax, rax, 0x38
mov rcx, qword [0x1801b23e0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], 5
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800a1164
mov rax, qword [rsp + 0x50]
sub rax, 5
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x48]
add rax, 2
mov qword [rsp + 0x48], rax
lea r9, [rsp + 0x34]
mov r8d, 0x40
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1800a118d
mov eax, 0xa
jmp 0x1800a12c7
cmp dword [rsp + 0x88], 0
je 0x1800a11fb
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov byte [rax], 0xe9
mov rax, qword [rsp + 0x50]
add rax, 5
mov rcx, qword [rsp + 0x20]
mov rcx, qword [rcx + 8]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov dword [rcx + 1], eax
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800a11f9
mov rax, qword [rsp + 0x20]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov byte [rax], 0xeb
mov rax, qword [rsp + 0x60]
mov byte [rax + 1], 0xf9
jmp 0x1800a1247
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0x20]
and al, 1
movzx eax, al
test eax, eax
je 0x1800a122b
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 7
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1800a1247
mov rax, qword [rsp + 0x20]
add rax, 0x18
mov r8d, 5
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
lea r9, [rsp + 0x34]
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 1
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfd
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
movzx eax, byte [rsp + 0x88]
and al, 1
shl al, 2
mov rcx, qword [rsp + 0x20]
movzx ecx, byte [rcx + 0x20]
and cl, 0xfb
or cl, al
movzx eax, cl
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x20], al
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.d2d1.dll_Ordinal_1
call fcn.1800a6920
mov rax, rdi
add rsp, 0x70
pop rdi
ret
Function at 0x1800a27b0
Capabilities:
Check for software breakpoints

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x10
mov rdi, rsp
mov ecx, 4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x20]
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x1800a281e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0x90
je 0x1800a281e
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
cmp eax, 0xcc
je 0x1800a281e
xor eax, eax
jmp 0x1800a2865
mov dword [rsp], 1
jmp 0x1800a282f
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp], eax
jae 0x1800a2860
mov eax, dword [rsp]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x1800a285e
xor eax, eax
jmp 0x1800a2865
jmp 0x1800a2827
mov eax, 1
add rsp, 0x10
pop rdi
ret
Function at 0x1800a3ea0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov eax, 0x5a4d
xor r12d, r12d
mov rbp, rdx
mov r14, rcx
cmp word [rdx], ax
jne 0x1800a3f24
movsxd rsi, dword [rdx + 0x3c]
add rsi, rdx
cmp dword [rsi], 0x4550
jne 0x1800a3f24
movzx ebx, word [rsi + 0x14]
mov edi, r12d
add rbx, 0x18
add rbx, rsi
cmp r12w, word [rsi + 6]
jae 0x1800a3f24
mov r15, qword [r8]
nop dword [rax + rax]
mov r8d, 8
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x1800a3f4d
movzx eax, word [rsi + 6]
inc edi
add rbx, 0x28
cmp edi, eax
jl 0x1800a3f00
mov qword [r14], r12
mov qword [r14 + 8], r12
mov rbx, qword [rsp + 0x40]
mov rax, r14
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
mov eax, dword [rbx + 0xc]
add rax, rbp
mov qword [r14], rax
mov eax, dword [rbx + 8]
mov qword [r14 + 8], rax
jmp 0x1800a3f2b

Function at 0x1800a5474
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 0x1800a54ae
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800a54b3
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 0x1800a54fc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.d2d1.dll_Ordinal_1
cmp byte [rcx + rax], 0
je 0x1800a54fc
dec r8
sub rdx, 1
jne 0x1800a54e2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140011343
Capabilities:
Terminate process

Disassembly:
jmp 0x140019a60
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret

Function at 0x140011410
Capabilities:
Create process on windows

Disassembly:
jmp 0x1400169f0
push rbp
push rdi
sub rsp, 0xf8
lea rbp, [rsp + 0x30]
lea rcx, [0x14002b0f7]
call fcn.1400115d2
nop
lea rdx, str.Input_Eingeben_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110af
nop
lea rdx, [0x1400254c0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64____ptr64]
nop
mov rdx, qword [0x1400254c0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_long_unsigned___int64_____ptr64]
nop
cmp qword [0x1400254c0], 1
jne 0x140016a7f
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x14002134c]
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
xor eax, eax
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret

Function at 0x140011424
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400188e0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140018900
xor al, al
jmp 0x140018981
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140018913
xor al, al
jmp 0x140018981
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001893d
xor al, al
jmp 0x140018981
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140018951
xor al, al
jmp 0x140018981
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140018963
xor al, al
jmp 0x140018981
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001897f
xor al, al
jmp 0x140018981
mov al, 1
add rsp, 0x38
ret
Function at 0x140017c10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.140011604
movzx eax, al
test eax, eax
jne 0x140017c30
mov ecx, 7
call fcn.1400114f6
nop
mov byte [rsp + 0x20], 0
call fcn.140011532
mov byte [rsp + 0x21], al
cmp dword [0x140025500], 1
jne 0x140017c54
mov ecx, 7
call fcn.1400114f6
nop
jmp 0x140017cac
cmp dword [0x140025500], 0
jne 0x140017ca7
mov dword [0x140025500], 1
lea rdx, [0x140020770]
lea rcx, [0x140020440]
call fcn.1400112b7
test eax, eax
je 0x140017c88
mov eax, 0xff
jmp 0x140017db1
lea rdx, [0x140020330]
lea rcx, [section..rdata]
call fcn.140011519
mov dword [0x140025500], 2
jmp 0x140017cac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.1400114dd
call fcn.140011447
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140017d09
mov rcx, qword [rsp + 0x30]
call fcn.140011230
movzx eax, al
test eax, eax
je 0x140017d09
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x14002c020]
nop
call fcn.140011488
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x140017d3d
mov rcx, qword [rsp + 0x38]
call fcn.140011230
movzx eax, al
test eax, eax
je 0x140017d3d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400115aa
nop
call fcn.140017e20
mov dword [rsp + 0x28], eax
call fcn.140011424
movzx eax, al
test eax, eax
jne 0x140017d5c
mov ecx, dword [rsp + 0x28]
call fcn.14001107d
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140017d6b
call fcn.1400115be
nop
xor edx, edx
mov cl, 1
call fcn.140011208
mov eax, dword [rsp + 0x28]
jmp 0x140017db1
add rsp, 0x68
ret