joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400be180
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1b8]
sub rsp, 0x2b0
mov qword [rbp - 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rdi, rcx
mov qword [rbp - 0x68], rcx
xor esi, esi
mov dword [rsp + 0x70], esi
lea rax, [0x141385fd0]
mov qword [rcx], rax
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x68], rsi
or r8d, 0xffffffff
lea rdx, [0x141472db8]
lea rcx, [rsp + 0x78]
call fcn.1400015b0
nop
mov rcx, rax
call fcn.14001a740
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400be23b
cmp eax, 0xffffffff
je 0x1400be249
lock dec dword [rcx]
jne 0x1400be249
mov rcx, qword [rsp + 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
test bl, bl
je 0x1400be375
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x1400be36a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x1400be36a
mov ebx, esi
nop dword [rax + rax]
mov dword [rsp + 0x74], 0xff
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x74]
lea r8, [rbp - 0x60]
mov edx, ebx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400be35e
or r8d, 0xffffffff
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x78]
call fcn.14000da20
nop
lea rdx, [rbp - 0x80]
mov rcx, rax
call fcn.140041600
nop
mov rdx, rax
mov rcx, rdi
call fcn.140029310
nop
mov rcx, qword [rbp - 0x80]
mov eax, dword [rcx]
test eax, eax
je 0x1400be329
cmp eax, 0xffffffff
je 0x1400be338
lock dec dword [rcx]
jne 0x1400be338
mov rcx, qword [rbp - 0x80]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400112a0
nop
mov rcx, qword [rbp - 0x78]
mov eax, dword [rcx]
test eax, eax
je 0x1400be350
cmp eax, 0xffffffff
je 0x1400be35e
lock dec dword [rcx]
jne 0x1400be35e
mov rcx, qword [rbp - 0x78]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400be2b0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rdi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400bfed0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x260
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor eax, eax
mov rsi, rcx
mov rdi, r8
mov rbx, rdx
lea rcx, [rsp + 0x42]
mov r8d, 0x206
xor edx, edx
mov dword [rsp + 0x34], eax
mov word [rsp + 0x40], ax
call fcn.1400fad10
mov rcx, qword [rbx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov dword [rsp + 0x30], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x40]
or r8d, 0xffffffff
mov rcx, rsi
call fcn.14000da20
mov rax, rsi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400face0
add rsp, 0x260
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400c02a0
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor esi, esi
mov dword [rsp + 0x30], esi
lea ecx, [rsi + 0x10]
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov word [rsp + 0x20], si
lea r9d, [rsi + 3]
lea r8, [rsp + 0x48]
lea edx, [rsi + 4]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
or edi, 0xffffffff
cmp eax, 3
jne 0x1400c0320
mov r8d, edi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14000da20
nop
mov esi, 1
mov dword [rsp + 0x30], esi
mov rcx, rax
call fcn.140047730
mov ebx, eax
jmp 0x1400c0322
mov ebx, esi
test sil, 1
je 0x1400c0350
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x1400c0342
cmp eax, 0xffffffff
je 0x1400c0350
lock dec dword [rcx]
jne 0x1400c0350
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov eax, ebx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400face0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400c0f60
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x118
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r10d, r8d
mov r11d, edx
mov r9d, ecx
test r8d, r8d
jle 0x1400c1100
mov ecx, 1
mov dword [rsp], 0xedb88320
mov eax, ecx
nop dword [rax]
mov dword [rsp + rax*4], ecx
inc rax
add ecx, ecx
cmp rax, 0x20
jl 0x1400c0fa0
xor r8d, r8d
mov eax, dword [rsp + r8]
xor edx, edx
lea rcx, [rsp]
test eax, eax
je 0x1400c0fce
nop
test al, 1
je 0x1400c0fc6
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c0fc0
mov dword [rsp + r8 + 0x80], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c0fb1
xor r8d, r8d
mov eax, dword [rsp + r8 + 0x80]
xor edx, edx
lea rcx, [rsp + 0x80]
test eax, eax
je 0x1400c100e
nop dword [rax]
test al, 1
je 0x1400c1006
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c1000
mov dword [rsp + r8], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c0fe6
nop
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + r8]
xor edx, edx
lea rcx, [rsp]
test eax, eax
je 0x1400c104e
nop
test al, 1
je 0x1400c1046
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c1040
mov dword [rsp + r8 + 0x80], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c1030
test r10b, 1
je 0x1400c108c
xor ecx, ecx
lea rax, [rsp + 0x80]
test r9d, r9d
je 0x1400c1089
test r9b, 1
je 0x1400c1080
xor ecx, dword [rax]
add rax, 4
shr r9d, 1
jne 0x1400c1078
mov r9d, ecx
sar r10d, 1
je 0x1400c10fd
xor r8d, r8d
mov eax, dword [rsp + r8 + 0x80]
xor edx, edx
lea rcx, [rsp + 0x80]
test eax, eax
je 0x1400c10be
nop word [rax + rax]
test al, 1
je 0x1400c10b6
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c10b0
mov dword [rsp + r8], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c1094
test r10b, 1
je 0x1400c10f4
xor ecx, ecx
lea rax, [rsp]
test r9d, r9d
je 0x1400c10f1
test r9b, 1
je 0x1400c10e8
xor ecx, dword [rax]
add rax, 4
shr r9d, 1
jne 0x1400c10e0
mov r9d, ecx
sar r10d, 1
jne 0x1400c1020
xor r9d, r11d
mov eax, r9d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400face0
add rsp, 0x118
ret
jmp 0x1400c0f60
Function at 0x1400c1430
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x118
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r10d, r8d
mov r11d, edx
mov r9d, ecx
test r8d, r8d
jle 0x1400c1100
mov ecx, 1
mov dword [rsp], 0xedb88320
mov eax, ecx
nop dword [rax]
mov dword [rsp + rax*4], ecx
inc rax
add ecx, ecx
cmp rax, 0x20
jl 0x1400c0fa0
xor r8d, r8d
mov eax, dword [rsp + r8]
xor edx, edx
lea rcx, [rsp]
test eax, eax
je 0x1400c0fce
nop
test al, 1
je 0x1400c0fc6
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c0fc0
mov dword [rsp + r8 + 0x80], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c0fb1
xor r8d, r8d
mov eax, dword [rsp + r8 + 0x80]
xor edx, edx
lea rcx, [rsp + 0x80]
test eax, eax
je 0x1400c100e
nop dword [rax]
test al, 1
je 0x1400c1006
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c1000
mov dword [rsp + r8], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c0fe6
nop
xor r8d, r8d
nop dword [rax]
nop word [rax + rax]
mov eax, dword [rsp + r8]
xor edx, edx
lea rcx, [rsp]
test eax, eax
je 0x1400c104e
nop
test al, 1
je 0x1400c1046
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c1040
mov dword [rsp + r8 + 0x80], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c1030
test r10b, 1
je 0x1400c108c
xor ecx, ecx
lea rax, [rsp + 0x80]
test r9d, r9d
je 0x1400c1089
test r9b, 1
je 0x1400c1080
xor ecx, dword [rax]
add rax, 4
shr r9d, 1
jne 0x1400c1078
mov r9d, ecx
sar r10d, 1
je 0x1400c10fd
xor r8d, r8d
mov eax, dword [rsp + r8 + 0x80]
xor edx, edx
lea rcx, [rsp + 0x80]
test eax, eax
je 0x1400c10be
nop word [rax + rax]
test al, 1
je 0x1400c10b6
xor edx, dword [rcx]
add rcx, 4
shr eax, 1
jne 0x1400c10b0
mov dword [rsp + r8], edx
add r8, 4
cmp r8, 0x80
jl 0x1400c1094
test r10b, 1
je 0x1400c10f4
xor ecx, ecx
lea rax, [rsp]
test r9d, r9d
je 0x1400c10f1
test r9b, 1
je 0x1400c10e8
xor ecx, dword [rax]
add rax, 4
shr r9d, 1
jne 0x1400c10e0
mov r9d, ecx
sar r10d, 1
jne 0x1400c1020
xor r9d, r11d
mov eax, r9d
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400face0
add rsp, 0x118
ret
jmp 0x1400c0f60
Function at 0x1400c5e80
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rbp, rdx
mov rdi, rcx
mov ecx, 0x90
call fcn.1400f8c88
mov rbx, rax
mov qword [rsp + 0x70], rax
xor esi, esi
test rax, rax
je 0x1400c5ee8
mov edx, 0x50302
mov rcx, rax
call fcn.140050d70
lea rax, vtable.QWinOverlappedIoNotifierPrivate.0
mov qword [rbx], rax
mov qword [rbx + 0x70], 0xffffffffffffffff
lea rax, [0x141385fd0]
mov qword [rbx + 0x88], rax
jmp 0x1400c5eeb
mov rbx, rsi
mov r8, rbp
mov rdx, rbx
mov rcx, rdi
call fcn.140050ba0
nop
lea rax, vtable.QWinOverlappedIoNotifier.0
mov qword [rdi], rax
mov rbx, qword [rdi + 8]
or edx, 0xffffffff
mov rcx, qword [0x1414d1850]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [0x1414d1840], 0
jne 0x1400c5f48
mov ecx, 0x48
call fcn.1400f8c88
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400c5f41
mov rcx, rax
call fcn.1400c5d80
mov rsi, rax
mov qword [0x1414d1840], rsi
inc dword [0x1414d1848]
mov rcx, qword [0x1414d1850]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov r8d, 0xff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rbx + 0x78], rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rbx + 0x80], rax
mov dword [rsp + 0x28], 2
lea rax, [0x1413d69b0]
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x141477050]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140052ef0
lea rcx, [rsp + 0x70]
call fcn.140050f50
nop
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400fb78c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.1400fb5f4
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140005590]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x1400055a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x1400055a0]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x1400055a0]
mov dword [rax], 1
mov rax, qword [0x1400055e0]
mov rdx, rax
mov rax, qword [0x1400055d0]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14000a024], 1
mov rax, qword [0x1400055a0]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x1400055c0]
mov rdx, rax
mov rax, qword [0x1400055b0]
mov rcx, rax
call sym._initterm
mov rax, qword [0x1400055a0]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140005590]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x1400054f0]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x1400054f0]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140005580]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14000a004]
lea rdx, [0x14000a008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140005510]
mov rax, qword [rax]
mov rdx, qword [0x14000a010]
mov qword [rax], rdx
mov rcx, qword [0x14000a010]
mov rdx, qword [0x14000a008]
mov eax, dword [0x14000a004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000a01c], eax
mov eax, dword [0x14000a020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000a01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14000a024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000a01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140005540]
mov dword [rax], 1
mov rax, qword [0x140005550]
mov dword [rax], 1
mov rax, qword [0x140005560]
mov dword [rax], 1
mov rax, qword [0x1400054c0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400021a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002e72
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000a168]
test eax, eax
je 0x140002f0a
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000a170]
mov qword [rbp - 8], rax
jmp 0x140002eee
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002ee2
cmp qword [rbp - 0x10], 0
je 0x140002ee2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002ea8
lea rax, [0x14000a140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002f0b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140003010
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140003038
mov eax, 0
jmp 0x140003086
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003061
mov eax, 0
jmp 0x140003086
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003081
mov eax, 0
jmp 0x140003086
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000308c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14000310a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140003101
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140003101
mov rax, qword [rbp - 8]
jmp 0x14000311f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x1400030d4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400550c0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1400550cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1400550dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1400550c5
lea eax, [rcx + 1]
jmp 0x1400550eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x1400550fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1400550e4
sub eax, 3
jb 0x14005511e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14005516d
sar eax, 1
movsxd rbp, eax
jb 0x140055154
jmp 0x14005512c
add ebx, ebx
jne 0x14005512a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140055154
inc ecx
add ebx, ebx
jne 0x14005513a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140055154
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14005514d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14005513c
add ecx, 2
jmp 0x140055159
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140055082
jmp 0x1400550cd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0xae00
mov dl, 5
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1400551b9
cmp rsi, rcx
jae 0x1400551c1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1400551a0
cmp al, 0x8f
ja 0x1400551a0
cmp byte [rsi - 2], 0xf
je 0x1400551a6
sub al, 0xe8
cmp al, 1
ja 0x14005518a
cmp rsi, rcx
jae 0x1400551c1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140055190
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1400551c1
lodsb al, byte [rsi]
jmp 0x1400551a0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x52000]
mov eax, dword [rdi]
or eax, eax
je 0x14005521e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x55224]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1400551ce
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140055218
mov qword [rbx], rax
add rbx, 8
jmp 0x1400551ee
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140055258
cmp al, 0xef
ja 0x14005524a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14005522a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140055239
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x1400552ac
sub rsp, 0xffffffffffffff80
jmp 0x140001258
Function at 0x180015200
Capabilities:
Enumerate processes

Disassembly:
push rsi
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x180232200]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
xor edx, edx
mov ecx, 2
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18001525e
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x180015265
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800153c7
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2e8], rbp
mov qword [rsp + 0x2f0], rdi
nop dword [rax]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
mov qword [rsp + 0x30], r15
mov r9d, 0xffffffff
mov dword [rsp + 0x28], r15d
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.180015c20
cmp qword [rsp + 0x60], 0xf
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x38], r15
lea r8, [rsp + 0x9c]
cmova rcx, qword [rsp + 0x48]
mov r9d, 0xffffffff
mov qword [rsp + 0x30], r15
xor edx, edx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rbp, qword [rsp + 0x60]
lea rdx, [rsp + 0x48]
mov rbx, qword [rsp + 0x48]
cmp rbp, 0xf
mov r8, qword [r14 + 0x10]
mov rcx, r14
cmova rdx, rbx
cmp qword [r14 + 0x18], 0xf
jbe 0x180015329
mov rcx, qword [r14]
cmp r8, qword [rsp + 0x58]
jne 0x18001533e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18001533e
mov dil, 1
jmp 0x180015341
xor dil, dil
cmp rbp, 0xf
jbe 0x180015374
lea rdx, [rbp + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x18001536c
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18001539c
mov rcx, rbx
call fcn.180187890
mov rcx, rsi
test dil, dil
jne 0x1800153a3
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180015280
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800153af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov ebx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x2f0]
mov rbx, qword [rsp + 0x2e0]
mov rbp, qword [rsp + 0x2e8]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180187870
add rsp, 0x2c0
pop r15
pop r14
pop rsi
ret