joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004fb0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400390e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400083b0
nop
mov rcx, rdi
call fcn.1400077a0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
test eax, eax
je 0x140005053
mov edx, ebx
add rdx, rdx
mov r8d, 2
lea rcx, [rsp + 0x28]
call fcn.140008600
mov rcx, qword [rsp + 0x40]
shr rcx, 1
call fcn.140004f70
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
je 0x140005053
mov rdx, rdi
lea rcx, [rsp + 0x28]
call fcn.140008560
test al, al
jne 0x14000504d
mov edx, 0x23d
lea rcx, str.WIN32WzWin32.c
call fcn.140002c30
nop
jmp 0x140005053
lea rcx, [rsp + 0x28]
call fcn.1400084f0
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ec70
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x140005080
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400390e0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400083b0
nop
mov rcx, rsi
call fcn.1400077a0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, eax
xor ebx, ebx
test eax, eax
je 0x140005141
mov edx, edi
add rdx, rdx
lea r8d, [rbx + 2]
lea rcx, [rsp + 0x28]
call fcn.140008600
mov rcx, qword [rsp + 0x40]
shr rcx, 1
call fcn.140004f70
mov edx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
je 0x140005141
inc eax
cmp eax, edi
jae 0x140005118
mov edx, eax
add rdx, rdx
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140008600
nop
mov rdx, rsi
lea rcx, [rsp + 0x28]
call fcn.140008560
test al, al
jne 0x14000513b
mov edx, 0x256
lea rcx, str.WIN32WzWin32.c
call fcn.140002c30
nop
jmp 0x140005141
lea rcx, [rsp + 0x28]
call fcn.1400084f0
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14000ec70
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400087d0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [rcx]
mov r9, rdx
mov dword [rdx], eax
xor r10d, r10d
mov rax, qword [rcx + 4]
mov r8d, r10d
mov qword [rdx + 4], rax
mov rax, qword [rcx + 0xc]
mov qword [rdx + 0xc], rax
mov rax, qword [rcx + 0x14]
mov qword [rdx + 0x14], rax
mov eax, dword [rcx + 0x1c]
mov dword [rdx + 0x1c], eax
mov eax, dword [rcx + 0x20]
mov dword [rdx + 0x20], eax
mov eax, dword [rcx + 0x24]
mov dword [rdx + 0x24], eax
mov eax, dword [rcx + 0x28]
mov dword [rdx + 0x28], eax
add rdx, 0x2c
sub rcx, r9
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + rdx]
inc r8d
mov word [rdx], ax
lea rdx, [rdx + 2]
cmp r8d, 0x104
jb 0x140008820
lea rdx, [r9 + 0x234]
nop
movzx eax, word [rcx + rdx]
add r10d, 0xe
mov word [rdx], ax
movzx eax, word [rcx + rdx + 2]
mov word [rdx + 2], ax
movzx eax, word [rcx + rdx + 4]
mov word [rdx + 4], ax
movzx eax, word [rcx + rdx + 6]
mov word [rdx + 6], ax
movzx eax, word [rcx + rdx + 8]
mov word [rdx + 8], ax
movzx eax, word [rcx + rdx + 0xa]
mov word [rdx + 0xa], ax
movzx eax, word [rcx + rdx + 0xc]
mov word [rdx + 0xc], ax
movzx eax, word [rcx + rdx + 0xe]
mov word [rdx + 0xe], ax
movzx eax, word [rcx + rdx + 0x10]
mov word [rdx + 0x10], ax
movzx eax, word [rcx + rdx + 0x12]
mov word [rdx + 0x12], ax
movzx eax, word [rcx + rdx + 0x14]
mov word [rdx + 0x14], ax
movzx eax, word [rcx + rdx + 0x16]
mov word [rdx + 0x16], ax
movzx eax, word [rcx + rdx + 0x18]
mov word [rdx + 0x18], ax
movzx eax, word [rcx + rdx + 0x1a]
mov word [rdx + 0x1a], ax
lea rdx, [rdx + 0x1c]
cmp r10d, 0xe
jb 0x140008840
ret
Function at 0x140001cb0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
cmp qword [rsp + 0x70], 0
jne 0x140001ccd
xor eax, eax
jmp 0x140001ddf
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x20], 0
jmp 0x140001d35
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x20], eax
jae 0x140001ddd
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call fcn.1400439e0
test eax, eax
jne 0x140001dd8
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x30], ax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x30]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x140001ddf
jmp 0x140001d2b
xor eax, eax
add rsp, 0x68
ret
Function at 0x140009c90
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14007bb40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov eax, 4
mov eax, eax
mov ecx, dword [0x14007d4d8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x14007ce50], eax
jle 0x140009d57
lea rcx, [0x14007ce50]
call fcn.14003cd94
cmp dword [0x14007ce50], 0xffffffff
jne 0x140009d57
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x22]
lea rcx, [rsp + 0x40]
call fcn.140007df0
mov rcx, rax
call fcn.14000c820
mov rdx, rax
lea rcx, [0x14007ce30]
call fcn.1400080a0
lea rcx, [0x1400606f0]
call fcn.14003ccd4
nop
lea rcx, [0x14007ce50]
call fcn.14003cd28
mov qword [rsp + 0x70], 0
lea rcx, [0x14007ce30]
call fcn.140002880
lea r8, [rsp + 0x70]
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140009d90
xor al, al
jmp 0x140009df1
mov rcx, qword [rsp + 0x90]
call fcn.140002880
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140009dcb
xor al, al
jmp 0x140009df1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x140009de4
mov dword [rsp + 0x28], 1
jmp 0x140009dec
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14003ca50
add rsp, 0x80
pop rdi
ret
Function at 0x140009e10
Capabilities:
Unload driver

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1a0
mov rax, qword [0x14007bb40]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0x110]
call fcn.140007e20
mov rcx, rax
call fcn.14000c860
mov qword [rsp + 0x38], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x170]
call fcn.140006580
nop
lea rcx, [rsp + 0x170]
call fcn.140002880
mov rdx, rax
lea rcx, [rsp + 0x150]
call sub.ntdll.dll_RtlInitAnsiString
mov r8b, 1
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x160]
call sub.ntdll.dll_RtlAnsiStringToUnicodeString
lea rcx, [rsp + 0x160]
call sub.ntdll.dll_NtUnloadDriver
mov dword [rsp + 0x2c], eax
mov rcx, qword [rsp + 0x1b0]
call fcn.140009c90
nop
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xf0]
call fcn.14000d4d0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x50]
call fcn.14000d380
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0xb0]
call fcn.1400064c0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
lea rcx, [rsp + 0x90]
call fcn.140006470
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x90]
call fcn.14000d1e0
nop
lea rcx, [rsp + 0x90]
call fcn.140008d80
nop
lea rcx, [rsp + 0xb0]
call fcn.140001420
nop
lea rcx, [rsp + 0xd0]
call fcn.140001420
nop
lea rcx, [rsp + 0xf0]
call fcn.140008d80
nop
jmp 0x14000a006
cmp dword [rsp + 0x2c], 0
jl 0x14000a017
mov dword [rsp + 0x28], 1
jmp 0x14000a01f
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0x170]
call fcn.140001420
nop
mov rcx, qword [rsp + 0x1b0]
call fcn.140001420
movzx eax, byte [rsp + 0x23]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14003ca50
add rsp, 0x1a0
pop rdi
ret
Function at 0x140013ef0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x50]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x140013f30
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x20], rax
jae 0x140013ffe
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x10], 0
jne 0x140013f60
jmp 0x140013f22
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
jne 0x140013f89
mov rax, qword [rsp + 0x20]
lea rdx, str..rsrc
mov rcx, rax
call fcn.1400439e0
test eax, eax
jne 0x140013ff9
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rdx
mov r9d, eax
mov r8, qword [rsp + 0x28]
mov rdx, rcx
mov rcx, qword [0x14007ce68]
call fcn.140012170
cmp qword [rsp + 0x28], 0
je 0x140013ff9
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x140013f22
add rsp, 0x48
ret

Function at 0x140014090
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x30]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
mov qword [rsp], rax
jmp 0x1400140cd
mov rax, qword [rsp]
add rax, 0x28
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x10]
add rcx, rax
mov rax, rcx
cmp qword [rsp], rax
jae 0x140014134
mov rax, qword [rsp]
mov eax, dword [rax + 8]
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0
jne 0x14001410b
mov rax, qword [rsp]
mov eax, dword [rax + 0x10]
mov qword [rsp + 8], rax
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x140014132
mov rax, qword [rsp]
mov eax, dword [rax + 0xc]
add rax, qword [rsp + 8]
cmp qword [rsp + 0x38], rax
jae 0x140014132
mov rax, qword [rsp]
jmp 0x140014136
jmp 0x1400140c1
xor eax, eax
add rsp, 0x28
ret
Function at 0x140014140
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x150
mov rax, qword [0x14007bb40]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdx, qword [rsp + 0x160]
lea rcx, [rsp + 0x88]
call fcn.1400080a0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r8d, 0xfde9
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x120]
call fcn.140015620
nop
lea rcx, [rsp + 0x88]
call fcn.140001420
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x48]
call fcn.1400083a0
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [0x14007ce68]
call fcn.140012000
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140014288
lea rcx, [rsp + 0x120]
call fcn.14000be80
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x20]
movzx r8d, byte [rsp + 0x21]
movzx edx, byte [rsp + 0x24]
lea rcx, [rsp + 0xf0]
call fcn.140013570
mov rcx, rax
call fcn.140018d60
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call fcn.1400063b0
mov ecx, 0x834
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400142e9
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x168]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x120]
call fcn.140001450
mov rax, qword [rsp + 0x78]
jmp 0x140014362
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x23]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x22]
movzx r8d, byte [rsp + 0x23]
movzx edx, byte [rsp + 0x25]
lea rcx, [rsp + 0xd0]
call fcn.1400135d0
mov rcx, rax
call fcn.140018d40
mov rdx, qword [rsp + 0x160]
mov rcx, rax
call fcn.1400063b0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x120]
call fcn.140001450
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14003ca50
add rsp, 0x150
pop rdi
ret
Function at 0x140014a90
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x140014ad9
xor eax, eax
jmp 0x140014b3a
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x140014ec0
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x140014f05
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x40]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x20], rax
jae 0x140014f9f
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x24]
and eax, 0xe0000000
test eax, eax
je 0x140014f58
mov rax, qword [rsp + 0x20]
cmp dword [rax + 0x10], 0
je 0x140014f58
mov rax, qword [rsp + 0x20]
lea rdx, [0x140062180]
mov rcx, rax
call fcn.1400439e0
test eax, eax
jne 0x140014f5a
jmp 0x140014ef7
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x20]
mov edx, dword [rdx + 0xc]
mov r8, qword [rsp + 0x48]
add r8, rdx
mov rdx, r8
mov r9d, eax
mov r8, rcx
mov rcx, qword [0x14007ce68]
call fcn.140012170
jmp 0x140014ef7
add rsp, 0x38
ret
Function at 0x14001dc20
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x50]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x58]
call fcn.140046190
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
jmp 0x14001dc8d
mov rax, qword [rsp + 0x20]
add rax, 0x28
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 6]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x20], rax
jae 0x14001dd0c
mov rax, qword [rsp + 0x20]
mov r8, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x58]
mov rcx, rax
call fcn.14005ee30
test eax, eax
jne 0x14001dd07
mov rax, qword [rsp + 0x20]
mov rcx, rax
call fcn.140046190
cmp rax, qword [rsp + 0x38]
jne 0x14001dd07
cmp qword [rsp + 0x60], 0
je 0x14001dcf2
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
jmp 0x14001dd0e
jmp 0x14001dc7f
xor eax, eax
add rsp, 0x48
ret
Function at 0x14001dd20
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [0x14007bb40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x28], 0
lea r9, [rsp + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc0000004
jne 0x14001ddc4
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [rsp + 0x50]
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 + 0x50]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov ecx, 0xb
call sub.ntdll.dll_NtQuerySystemInformation
mov dword [rsp + 0x30], eax
jmp 0x14001dd69
cmp dword [rsp + 0x30], 0
jge 0x14001dde5
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14001deda
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14001de03
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
cmp dword [rsp + 0x20], eax
jae 0x14001dec5
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 8]
mov ecx, dword [rsp + 0x20]
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 + 0x58]
call fcn.1400080a0
lea rcx, [rsp + 0x58]
call fcn.140002880
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1400460a4
test eax, eax
jne 0x14001deb6
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x128
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + rax + 0x18]
mov qword [rsp + 0x40], rax
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x58]
call fcn.140001420
mov rax, qword [rsp + 0x48]
jmp 0x14001deda
lea rcx, [rsp + 0x58]
call fcn.140001420
jmp 0x14001ddf9
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 + 0x78]
xor rcx, rsp
call fcn.14003ca50
add rsp, 0x88
ret

Function at 0x140028c80
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.140028be0
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret
Function at 0x140029730
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140029752
mov rcx, qword [rsp + 0x40]
call fcn.14002cd00
jmp 0x140029769
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140029769
mov rcx, qword [rsp + 0x40]
call fcn.14002c8b0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140029800
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x138
jne 0x140029822
mov rcx, qword [rsp + 0x40]
call fcn.14002cdb0
jmp 0x140029839
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jb 0x140029839
mov rcx, qword [rsp + 0x40]
call fcn.14002cab0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx + rax*8 + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x1d
mov rcx, qword [rsp + 0x40]
and rax, qword [rcx + 0x1388]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x11
movabs rcx, 0x71d67fffeda60000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shl rax, 0x25
movabs rcx, 0xfff7eee000000000
and rax, rcx
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
shr rax, 0x2b
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
add rsp, 0x38
ret