joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003750
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov rbp, qword [rsp + 0x1a8]
mov rax, r8
mov r8d, dword [rsp + 0x1a0]
mov edi, edx
mov r13, qword [rsp + 0x1b8]
mov rbx, rcx
mov rcx, rax
mov rdx, r9
xor esi, esi
call fcn.180003660
mov ecx, 0x400
mov r15d, eax
call fcn.180005300
mov r14, rax
test rax, rax
je 0x180003955
mov ecx, dword [rbx]
mov dword [rax + 4], ecx
mov ecx, dword [rbx + 4]
mov dword [rax + 8], ecx
lea rcx, [0x18001e5e0]
mov qword [rsp + 0x180], r12
mov dword [rax + 0xc], 2
mov dword [rax + 0x10], 5
mov dword [rax + 0x14], edi
test r15d, r15d
jne 0x1800037f1
lea rcx, [0x18001e5f0]
call fcn.1800063c0
or rdi, 0xffffffffffffffff
mov rbx, rax
mov r8, rdi
inc r8
cmp byte [rbx + r8], sil
jne 0x180003800
lea rcx, [r14 + 0x20]
mov rdx, rbx
call fcn.1800011e0
mov r15d, eax
test rbx, rbx
je 0x180003839
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
lea ebx, [r15 + 3]
mov dword [r14 + 0x18], 0x20
and ebx, 0xfffffffc
mov dword [r14 + 0x1c], r15d
add ebx, 0x20
lea rcx, [r14 + 4]
xor r8d, r8d
lea edx, [rbx - 4]
call fcn.180001e30
mov r12, qword [rsp + 0x180]
mov dword [r14], eax
nop dword [rax]
inc rdi
cmp byte [rdi + rbp], sil
jne 0x180003870
mov word [rsp + 0x20], si
mov rax, rsi
mov byte [rsp + rax + 0x22], al
inc rax
cmp rax, 0x100
jb 0x180003881
xor r9b, r9b
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rsp + rsi + 0x22]
lea rcx, [rsp + 0x22]
xor edx, edx
mov rax, rsi
div rdi
movzx eax, byte [rdx + rbp]
add al, r8b
add r9b, al
movzx eax, r9b
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + rsi + 0x22], al
inc rsi
mov byte [rcx], r8b
cmp rsi, 0x100
jb 0x1800038a0
mov r11d, ebx
test ebx, ebx
je 0x18000394c
movzx r9d, byte [rsp + 0x21]
mov r10, r14
movzx eax, byte [rsp + 0x20]
nop
inc al
lea r8, [rsp + 0x22]
mov byte [rsp + 0x20], al
lea rdx, [rsp + 0x22]
movzx eax, al
lea r10, [r10 + 1]
add r8, rax
add r9b, byte [r8]
mov byte [rsp + 0x21], r9b
movzx ecx, byte [r8]
movzx eax, r9b
add rdx, rax
movzx eax, byte [rdx]
mov byte [r8], al
mov byte [rdx], cl
movzx r9d, byte [rsp + 0x21]
movzx eax, byte [rsp + 0x20]
movzx edx, byte [rsp + r9 + 0x22]
add dl, byte [rsp + rax + 0x22]
movzx ecx, dl
movzx edx, byte [rsp + rcx + 0x22]
xor byte [r10 - 1], dl
sub r11, 1
jne 0x1800038f0
mov dword [r13], ebx
mov rax, r14
jmp 0x180003958
mov rax, rsi
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.180006d30
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180003980
Capabilities:
Read file on windows

Disassembly:
push rbx
push r12
push r15
sub rsp, 0x50
mov r12, rdx
xor ebx, ebx
call fcn.180002720
mov r15, rax
test rax, rax
je 0x180003aa6
mov rcx, rax
mov qword [rsp + 0x40], r14
call fcn.1800026a0
mov r14, rax
test rax, rax
je 0x180003a99
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 7]
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
mov rcx, rax
mov qword [rsp + 0x70], rbp
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180003a8c
lea r9d, [rbx + 2]
mov qword [rsp + 0x48], rdi
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, eax
cmp eax, 0x40000000
ja 0x180003a7e
mov ecx, edi
mov qword [rsp + 0x78], rsi
call fcn.180005300
mov rsi, rax
test rax, rax
je 0x180003a79
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rbx
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180003a71
cmp dword [rsp + 0x80], edi
jne 0x180003a71
test r12, r12
je 0x180003a6c
mov dword [r12], edi
mov rbx, rsi
jmp 0x180003a79
mov rcx, rsi
call fcn.180005370
mov rsi, qword [rsp + 0x78]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x48]
mov rcx, r14
call fcn.180005370
mov rbp, qword [rsp + 0x70]
mov rcx, r15
call fcn.180005370
mov r14, qword [rsp + 0x40]
mov rax, rbx
add rsp, 0x50
pop r15
pop r12
pop rbx
ret
Function at 0x180003d60
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x230], rax
movzx eax, word [rcx]
xor esi, esi
mov rbx, rcx
movabs r14, 0x100002600
test ax, ax
je 0x180003dbc
nop dword [rax]
cmp ax, 0x20
ja 0x180003dbc
movzx eax, ax
bt r14, rax
jae 0x180003dbc
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x180003da0
or rdi, 0xffffffffffffffff
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x180003dc3
mov qword [rsp + 0x268], rbp
cmp rax, 2
jb 0x180003f10
lea rcx, [0x18001e660]
call fcn.180006530
mov r8d, 2
mov rdx, rax
mov rcx, rbx
mov rbp, rax
call fcn.18000a1f4
test eax, eax
jne 0x180003eef
movzx eax, word [rbx + 4]
add rbx, 4
test ax, ax
je 0x180003e2f
cmp ax, 0x20
ja 0x180003e2f
movzx eax, ax
bt r14, rax
jae 0x180003e2f
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x180003e13
mov rax, rdi
inc rax
cmp word [rbx + rax*2], si
jne 0x180003e32
test rax, rax
je 0x180003eef
movzx ecx, word [rbx]
mov edx, esi
mov word [rsp + 0x20], si
cmp cx, 0x22
jne 0x180003e85
movzx eax, word [rbx + 2]
test ax, ax
je 0x180003eb8
mov rcx, rsi
mov r8, rsi
cmp ax, 0x22
je 0x180003eb8
inc rcx
mov word [rsp + r8 + 0x20], ax
inc edx
lea r8, [rcx + rcx]
movzx eax, word [r8 + rbx + 2]
test ax, ax
jne 0x180003e63
jmp 0x180003eb8
test cx, cx
je 0x180003eb8
mov r8, rsi
mov r9, rsi
cmp cx, 0x20
ja 0x180003e9f
movzx eax, cx
bt r14, rax
jb 0x180003eb8
inc r8
mov word [rsp + r9 + 0x20], cx
inc edx
lea r9, [r8 + r8]
movzx ecx, word [r9 + rbx]
test cx, cx
jne 0x180003e90
movsxd rax, edx
add rax, rax
cmp rax, 0x208
jae 0x180003f3e
mov word [rsp + rax + 0x20], si
lea rax, [rsp + 0x20]
inc rdi
cmp word [rax + rdi*2], si
jne 0x180003ed4
test rdi, rdi
je 0x180003eef
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov esi, eax
test rbp, rbp
je 0x180003f10
mov r8d, dword [rbp - 8]
lea rcx, [rbp - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbp - 8]
call fcn.180005370
mov eax, esi
mov rbp, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180006d30
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop r14
pop rdi
pop rsi
ret
call fcn.180006e5c
int3
Function at 0x180005210
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x20
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x40], r14
mov r14, rcx
lea rcx, [0x180022a90]
call fcn.180006530
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r8, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rbp, rax
test rax, rax
je 0x1800052c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1800052b7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0x89
jle 0x1800052b7
mov qword [rsp + 0x38], rsi
mov esi, eax
mov ebx, eax
nop word [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
sub rbx, 1
jne 0x180005280
test esi, esi
mov rsi, qword [rsp + 0x38]
je 0x1800052b7
call fcn.180001d60
test eax, eax
jne 0x1800052af
mov rcx, r14
call fcn.180005100
test eax, eax
jne 0x1800052b7
mov rdx, rdi
call fcn.180004520
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x30]
test rdi, rdi
je 0x1800052eb
mov r8d, dword [rdi - 8]
lea rcx, [rdi - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rdi - 8]
call fcn.180005370
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x180005790
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rdi, r8
mov word [rcx], 0
mov rsi, rdx
lea r9, [rcx + 2]
mov r10, rcx
xor eax, eax
nop dword [rax]
nop word [rax + rax]
mov byte [r9 + rax], al
inc rax
cmp rax, 0x100
jb 0x1800057c0
xor bl, bl
mov r11, 0xfffffffffffffffe
sub r11, rcx
nop dword [rax + rax]
movzx r8d, byte [r9]
lea rax, [r11 + r9]
xor edx, edx
lea r9, [r9 + 1]
div rdi
movzx eax, byte [rdx + rsi]
add al, r8b
add bl, al
movzx ecx, bl
movzx eax, byte [rcx + r10 + 2]
mov byte [r9 - 1], al
lea rax, [r11 + r9]
mov byte [rcx + r10 + 2], r8b
cmp rax, 0x100
jb 0x1800057e0
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, r9
mov r10, r8
mov r11, rdx
test r9, r9
je 0x1800058a5
sub r11, r8
nop word [rax + rax]
inc byte [rcx]
lea r10, [r10 + 1]
movzx r9d, byte [rcx]
movzx eax, byte [r9 + rcx + 2]
add byte [rcx + 1], al
movzx r8d, byte [rcx + 1]
movzx edx, byte [r9 + rcx + 2]
movzx eax, byte [r8 + rcx + 2]
mov byte [r9 + rcx + 2], al
mov byte [r8 + rcx + 2], dl
movzx eax, byte [rcx]
movzx edx, byte [rcx + 1]
movzx edx, byte [rdx + rcx + 2]
add dl, byte [rax + rcx + 2]
movzx eax, dl
movzx edx, byte [rax + rcx + 2]
xor dl, byte [r11 + r10 - 1]
mov byte [r10 - 1], dl
sub rbx, 1
jne 0x180005850
mov rbx, qword [rsp + 8]
ret
Function at 0x1800063c0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov ebp, dword [rcx + 4]
lea rdi, [rcx + 8]
mov esi, dword [rcx]
mov dword [rsp + 0x20], ebp
lea rcx, [rsi + 9]
call fcn.180005300
mov r9, rax
test rax, rax
je 0x1800064fc
xor r8d, r8d
mov dword [rax], esi
mov ecx, r8d
mov dword [rax + 4], ebp
mov word [rsp + 0x30], 0
nop dword [rax]
mov byte [rsp + rcx + 0x32], cl
inc rcx
cmp rcx, 0x100
jb 0x180006420
xor r10b, r10b
movzx edx, byte [rsp + r8 + 0x32]
mov rax, r8
and eax, 3
movzx ecx, byte [rsp + rax + 0x20]
add cl, dl
add r10b, cl
lea rcx, [rsp + 0x32]
movzx eax, r10b
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x32], al
inc r8
mov byte [rcx], dl
cmp r8, 0x100
jb 0x180006433
test esi, esi
je 0x1800064f2
movzx edx, byte [rsp + 0x31]
lea r10, [r9 + 8]
movzx r8d, byte [rsp + 0x30]
sub rdi, r9
mov r11, rsi
nop dword [rax + rax]
inc r8b
lea r10, [r10 + 1]
mov byte [rsp + 0x30], r8b
movzx eax, r8b
lea r8, [rsp + 0x32]
add r8, rax
add dl, byte [r8]
mov byte [rsp + 0x31], dl
movzx ecx, byte [r8]
movzx eax, dl
lea rdx, [rsp + 0x32]
add rdx, rax
movzx eax, byte [rdx]
mov byte [r8], al
mov byte [rdx], cl
movzx edx, byte [rsp + 0x31]
movzx r8d, byte [rsp + 0x30]
movzx ecx, byte [rsp + rdx + 0x32]
add cl, byte [rsp + r8 + 0x32]
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x32]
xor cl, byte [rdi + r10 - 9]
mov byte [r10 - 1], cl
sub r11, 1
jne 0x180006490
mov byte [rsi + r9 + 8], 0
lea rax, [r9 + 8]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180006d30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180006530
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov esi, dword [rcx]
lea rdi, [rcx + 8]
mov ebp, dword [rcx + 4]
mov ebx, esi
mov dword [rsp + 0x20], ebp
lea rcx, [rsi + 0xa]
call fcn.180005300
mov r9, rax
test rax, rax
je 0x18000667c
mov dword [rax], esi
xor esi, esi
mov ecx, esi
mov dword [rax + 4], ebp
mov word [rsp + 0x30], 0
nop dword [rax]
mov byte [rsp + rcx + 0x32], cl
inc rcx
cmp rcx, 0x100
jb 0x180006590
xor r10b, r10b
mov r8, rsi
nop word [rax + rax]
movzx edx, byte [rsp + r8 + 0x32]
mov rax, r8
and eax, 3
movzx ecx, byte [rsp + rax + 0x20]
add cl, dl
add r10b, cl
lea rcx, [rsp + 0x32]
movzx eax, r10b
add rcx, rax
movzx eax, byte [rcx]
mov byte [rsp + r8 + 0x32], al
inc r8
mov byte [rcx], dl
cmp r8, 0x100
jb 0x1800065b0
test rbx, rbx
je 0x180006672
movzx edx, byte [rsp + 0x31]
lea r10, [r9 + 8]
movzx r8d, byte [rsp + 0x30]
sub rdi, r9
mov r11, rbx
nop word [rax + rax]
inc r8b
lea r10, [r10 + 1]
mov byte [rsp + 0x30], r8b
movzx eax, r8b
lea r8, [rsp + 0x32]
add r8, rax
add dl, byte [r8]
mov byte [rsp + 0x31], dl
movzx ecx, byte [r8]
movzx eax, dl
lea rdx, [rsp + 0x32]
add rdx, rax
movzx eax, byte [rdx]
mov byte [r8], al
mov byte [rdx], cl
movzx edx, byte [rsp + 0x31]
movzx r8d, byte [rsp + 0x30]
movzx ecx, byte [rsp + rdx + 0x32]
add cl, byte [rsp + r8 + 0x32]
movzx eax, cl
movzx ecx, byte [rsp + rax + 0x32]
xor cl, byte [rdi + r10 - 9]
mov byte [r10 - 1], cl
sub r11, 1
jne 0x180006610
mov word [rbx + r9 + 8], si
lea rax, [r9 + 8]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180006d30
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1800066f0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x28
cmp dword [0x180023e28], 0
jne 0x180006984
cmp qword [0x180023e18], 0
mov qword [rsp + 0x20], rbx
jne 0x180006750
lea rcx, [0x18001e890]
call fcn.180006530
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180023e18], rax
test rbx, rbx
je 0x180006750
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e08], 0
jne 0x1800067a1
lea rcx, [0x18001ebc0]
call fcn.1800063c0
mov rcx, qword [0x180023e18]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023e08], rax
test rbx, rbx
je 0x1800067a1
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e20], 0
jne 0x1800067eb
lea rcx, [0x18001eb80]
call fcn.180006530
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180023e20], rax
test rbx, rbx
je 0x1800067eb
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e10], 0
jne 0x18000683c
lea rcx, [0x18001ebe0]
call fcn.1800063c0
mov rcx, qword [0x180023e20]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023e10], rax
test rbx, rbx
je 0x18000683c
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e00], 0
jne 0x18000688d
lea rcx, [0x18001ec00]
call fcn.1800063c0
mov rcx, qword [0x180023e20]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023e00], rax
test rbx, rbx
je 0x18000688d
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e40], 0
jne 0x1800068de
lea rcx, [0x18001ec20]
call fcn.1800063c0
mov rcx, qword [0x180023e20]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023e40], rax
test rbx, rbx
je 0x1800068de
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e30], 0
jne 0x180006928
lea rcx, [0x18001ec40]
call fcn.180006530
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x180023e30], rax
test rbx, rbx
je 0x180006928
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
cmp qword [0x180023e38], 0
jne 0x180006979
lea rcx, [0x18001ec60]
call fcn.1800063c0
mov rcx, qword [0x180023e30]
mov rdx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180023e38], rax
test rbx, rbx
je 0x180006979
mov r8d, dword [rbx - 8]
lea rcx, [rbx - 8]
add r8, 8
xor edx, edx
call fcn.180008180
lea rcx, [rbx - 8]
call fcn.180005370
inc dword [0x180023e28]
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x180007628
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x1800076b9
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x1800076b9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1800076b9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x18000769d
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180007697
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x18000769f
add rdx, 0x28
jmp 0x18000767c
xor edx, edx
test rdx, rdx
jne 0x1800076a8
xor al, al
jmp 0x1800076bf
test dword [rdx + 0x24], 0x80000000
je 0x1800076b5
xor al, al
jmp 0x1800076bf
mov al, 1
jmp 0x1800076bf
xor al, al
jmp 0x1800076bf
add rsp, 0x18
ret
Function at 0x1400721c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x140111080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x98]
mov ecx, eax
call fcn.1400c3234
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xb8]
xor r8d, r8d
lea rdx, str..Translated
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x38]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0
jmp 0x1400722c0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jae 0x140072352
mov rax, qword [rsp + 0x40]
add rax, 8
mov r9, rax
mov r8, qword [rsp + 0x40]
lea rdx, [rsp + 0xa8]
lea rcx, [0x1401150a8]
call fcn.1400977b0
lea rax, [0x1401150a8]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x88], rax
movzx eax, byte [rsp + 0xb0]
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0x40]
add rax, 0x14
mov qword [rsp + 0x40], rax
jmp 0x1400722b6
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.1400c2e90
cmp qword [rsp + 0x50], 0
jne 0x140072379
mov qword [rsp + 0x78], 0
jmp 0x14007238c
mov qword [rsp + 0x38], 0x8123
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400c2e70
add rsp, 0xd8
ret
Function at 0x140072420
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x140111080]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x78], 0
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x1400724c9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x78]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x78]
mov r8d, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov dword [rsp + 0x30], eax
jmp 0x14007246d
cmp dword [rsp + 0x30], 0
jge 0x1400724ea
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x140072652
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0
jmp 0x140072508
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x24], eax
jae 0x14007263d
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x128
mov rdx, qword [rsp + 0x38]
movzx ecx, word [rdx + rcx + 0x2e]
lea rax, [rax + rcx + 0x28]
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.14008aa80
lea rax, [rsp + 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x18], 0xf
jbe 0x140072585
mov dword [rsp + 0x34], 1
jmp 0x14007258d
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1400725b6
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x60]
call fcn.1400ce2ec
test eax, eax
jne 0x14007262b
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x68], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x80]
call fcn.14008d030
mov rax, qword [rsp + 0x70]
jmp 0x140072652
lea rcx, [rsp + 0x80]
call fcn.14008d030
jmp 0x1400724fe
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400c2e70
add rsp, 0xb8
ret