joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b444
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov eax, dword [0x140022fe8]
test eax, eax
je 0x14000b64e
or ebp, 0xffffffff
add eax, ebp
mov dword [0x140022fe8], eax
jne 0x14000b64e
mov rsi, qword [0x140023000]
lea rbx, [0x14000ade0]
and qword [0x140023000], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop dword [rax + rax]
cmp rbx, rax
cmove rax, qword [0x140022ff0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
nop dword [rax + rax]
mov ecx, dword [0x140022350]
and qword [0x140022ff0], 0
call qword [sym.imp.KERNEL32.dll_TlsFree]
nop dword [rax + rax]
mov ecx, dword [0x140022358]
mov dword [0x140022350], ebp
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000b55f
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14000b52f
mov rax, qword [rax]
jmp 0x14000b51a
mov rcx, rdi
call fcn.14000a3b4
mov rcx, rdi
call sub.msvcrt.dll_free
mov rdx, qword [rbx + 8]
test rdx, rdx
je 0x14000b52f
mov rax, qword [rbx]
mov rdi, qword [rax + rdx*8 - 8]
mov rcx, rbx
dec rdx
call fcn.14000cc74
test rdi, rdi
jne 0x14000b4fe
mov rdi, qword [rbx]
test rdi, rdi
je 0x14000b557
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov rcx, rbx
call sub.msvcrt.dll_free
mov ecx, dword [0x140022358]
call qword [sym.imp.KERNEL32.dll_TlsFree]
nop dword [rax + rax]
lea rcx, [0x140022f38]
mov dword [0x140022358], ebp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov rdi, qword [0x140022fe0]
test rdi, rdi
je 0x14000b614
mov ecx, dword [0x140023008]
xor ebx, ebx
test ecx, ecx
je 0x14000b5de
mov rbp, qword [rdi + rbx*8]
test rbp, rbp
je 0x14000b5d8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rbp
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
mov ecx, dword [0x140023008]
mov rdi, qword [0x140022fe0]
inc ebx
cmp ebx, ecx
jb 0x14000b5a2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
and qword [0x140022fe0], 0
and dword [0x140023008], 0
and dword [0x140023010], 0
lea rcx, [0x140022f38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
je 0x14000b63c
mov rcx, rsi
call fcn.14000f0a0
mov rcx, rsi
call sub.msvcrt.dll_free
and dword [0x140022ff8], 0
call fcn.14000d750
mov eax, dword [0x140022fe8]
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14000b89c
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140022338]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, 0x208
lea rcx, [rsp + 0x40]
mov r8d, ebx
xor edx, edx
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebx
lea rdx, str.SYSTEMSetupPanther
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x14000b957
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.TelemetryAssertList
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
xor ebx, ebx
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test ebx, ebx
jne 0x14000b979
mov r8d, 0x104
lea rdx, [rsp + 0x40]
lea rcx, str.PANTHER_ENABLE_TELASSERT
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
nop dword [rax + rax]
test eax, eax
je 0x14000b983
lea rcx, [rsp + 0x40]
call fcn.14000b7c4
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140015d30
add rsp, 0x260
pop rbx
ret
Function at 0x14000c678
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x30
xor r14d, r14d
mov ecx, dword [0x140022350]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
jne 0x14000c851
lea rcx, [0x140022f38]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
cmp qword [0x140022fe0], rsi
jne 0x14000c70f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
lea r8d, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [0x140022fe0], rax
lea ebx, [rsi + 1]
test rax, rax
je 0x14000c7e5
xor eax, eax
mov dword [0x140023010], eax
mov dword [0x140023008], ebx
jmp 0x14000c778
mov eax, dword [0x140023010]
mov ecx, dword [0x140023008]
cmp eax, ecx
jne 0x14000c773
lea edi, [rcx + 1]
shl rdi, 3
mov rbx, qword [0x140022fe0]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov r9, rdi
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
nop dword [rax + rax]
mov ebx, 1
test rax, rax
je 0x14000c7e5
mov qword [0x140022fe0], rax
add dword [0x140023008], ebx
mov eax, dword [0x140023010]
jmp 0x14000c778
mov ebx, 1
mov ecx, eax
mov rax, qword [0x140022fe0]
and qword [rax + rcx*8], 0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
xor edx, edx
mov r8d, 0x8020
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x14000c7e5
add rax, 0x20
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 0x8000
mov byte [rsi + 0x18], 0
mov rdx, rsi
mov ecx, dword [0x140022350]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
test eax, eax
cmovne r14d, ebx
test r14d, r14d
je 0x14000c805
mov edx, dword [0x140023010]
mov rax, qword [0x140022fe0]
mov qword [rax + rdx*8], rsi
add edx, ebx
mov dword [0x140023010], edx
jmp 0x14000c83b
xor edx, edx
mov ecx, dword [0x140022350]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
mov r8, rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop dword [rax + rax]
xor esi, esi
lea rcx, [0x140022f38]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
Function at 0x14000e854
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x248
mov rax, qword [0x140022338]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [0x1400230a0], 0
jne 0x14000eabd
cmp dword [0x140022678], 0
mov dword [0x1400230a0], 1
mov dword [0x140023060], ecx
je 0x14000e8b8
and dword [0x140022678], 0
call qword [sym.imp.KERNEL32.dll_GetVersion]
nop dword [rax + rax]
xor ecx, ecx
cmp eax, 0x80000000
setb cl
mov dword [0x140023078], ecx
jmp 0x14000e8be
mov ecx, dword [0x140023078]
test ecx, ecx
je 0x14000e958
lea rax, [0x14000e5c0]
mov qword [0x140023030], rax
lea rcx, str.kernel32
lea rax, [0x14000e670]
mov qword [0x1400230a8], rax
lea rax, [0x14000e740]
mov qword [0x140023068], rax
lea rax, [0x14000e2f0]
mov qword [0x140023058], rax
lea rax, [0x14000e800]
mov qword [0x140023040], rax
lea rax, [0x14000e820]
mov qword [0x140023028], rax
lea rax, [0x14000e840]
mov qword [0x140023050], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x14000e9ba
lea rdx, str.AddVectoredExceptionHandler
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
jmp 0x14000e9ba
lea rax, [0x14000df20]
mov qword [0x140023030], rax
lea rax, [0x14000e050]
mov qword [0x1400230a8], rax
lea rax, [0x14000e1b0]
mov qword [0x140023068], rax
lea rax, [0x14000e2f0]
mov qword [0x140023058], rax
lea rax, [0x14000e310]
mov qword [0x140023040], rax
lea rax, [0x14000e3f0]
mov qword [0x140023028], rax
lea rax, [0x14000e500]
mov qword [0x140023050], rax
lea rax, [0x14000dd90]
xor edx, edx
mov qword [0x140023020], rax
lea rcx, [rsp + 0x20]
lea rax, [0x14000ddc0]
mov r8d, 0x208
mov qword [0x140023088], rax
lea rax, [0x14000dde0]
mov qword [0x140023038], rax
lea rax, [0x14000de10]
mov qword [0x140023090], rax
lea rax, [0x14000de40]
mov qword [0x1400230b0], rax
lea rax, [0x14000de60]
mov qword [0x140023080], rax
lea rax, [0x14000dec0]
mov qword [0x140023098], rax
lea rax, [0x14000dee0]
mov qword [0x140023070], rax
call sub.msvcrt.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
lea rcx, str._windir__system32dbghelp.dll
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
je 0x14000eaaf
xor r8d, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
jne 0x14000ea97
lea rax, [0x14000df10]
xor ecx, ecx
mov qword [0x140023048], rax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
jmp 0x14000eabd
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
jmp 0x14000eab6
lea rax, [0x14000df10]
mov qword [0x140023048], rax
mov eax, 1
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140015d30
add rsp, 0x248
ret
Function at 0x140015ab8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.140016474
add rsp, 0x28
jmp 0x140015ab8
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x1400230c0], rbx
je 0x140015b02
cmp rax, rbx
jne 0x140015b1a
mov edi, 1
mov eax, dword [0x1400230c8]
cmp eax, 1
jne 0x140015b27
lea ecx, [rax + 0x1e]
call fcn.14013c000
jmp 0x140015b9e
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140015aeb
mov eax, dword [0x1400230c8]
test eax, eax
jne 0x140015b94
mov dword [0x1400230c8], 1
lea r14, [0x140018c98]
lea rbx, [0x140018c80]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x140015b86
test eax, eax
jne 0x140015b8a
cmp qword [rbx], 0
je 0x140015b7b
movabs r10, 0xd30527475e523070
mov rax, qword [rbx]
mov rcx, qword [vtable.H_MA8HI.0]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x140015b52
test eax, eax
je 0x140015b9e
mov eax, 0xff
jmp 0x140015cfb
mov dword [0x140022704], 1
mov eax, dword [0x1400230c8]
cmp eax, 1
jne 0x140015bc6
lea rdx, [0x140018c78]
lea rcx, [0x140018c28]
call sub.msvcrt.dll__initterm
mov dword [0x1400230c8], 2
test edi, edi
jne 0x140015bd3
xor eax, eax
xchg qword [0x1400230c0], rax
cmp qword [0x1400230e0], 0
je 0x140015c11
lea rcx, [0x1400230e0]
call fcn.1400163e0
test eax, eax
je 0x140015c11
movabs r10, 0x99012e4578d92870
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400230e0]
mov r9, qword [vtable.H_MA8HI.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x140015c9d
test cl, cl
je 0x140015c34
test edi, edi
jne 0x140015c9d
dec cl
cmp cl, 0x1f
ja 0x140015c47
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x140015c34
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400015ec
mov dword [0x140022700], eax
cmp dword [0x140022720], 0
jne 0x140015c86
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140022704], 0
jne 0x140015c9b
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140022700]
jmp 0x140015cfb
cmp cl, 0x22
jne 0x140015caf
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x140015cc1
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x140015c24
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x1400162cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140016318
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140016310
cmp dword [rcx + 0x3c], edx
jl 0x140016310
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140016310
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140016318
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140003f50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x1400e1494], 0
lea rdi, [0x1400e1490]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140004028
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140003f80
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000405e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140004040
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000409f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140004083
cmp byte [r8], r9b
jne 0x140004083
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 [rdi + rdx*4]
test r9b, r9b
jne 0x140004070
not eax
pop rdi
ret
Function at 0x140004280
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
test r8, r8
je 0x140004299
mov qword [r8], 0
lea rdx, [0x140047a28]
call fcn.1400040b0
mov rbx, rax
test rax, rax
jne 0x1400042b8
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
xor edx, edx
mov r8d, 2
mov qword [rsp + 0x38], rsi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000437a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x14000437a
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14000437a
mov rax, qword [0x1400e0e50]
mov rbp, rsi
test rax, rax
je 0x140004317
inc dword [rax + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14000437a
mov r9, rbx
mov r8, rbp
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, rbp
je 0x140004367
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400e0e50]
test rax, rax
je 0x14000435c
dec dword [rax + 0x3c8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140004383
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x140004375
mov qword [rdi], rbp
mov rax, rsi
jmp 0x140004385
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140014940
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x1400e0e50]
xor esi, esi
mov r15, rcx
mov dword [rdi + 0x2d9c], esi
test rcx, rcx
je 0x140014a5a
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2da0]
mov dword [rdi + 0x2d9c], esi
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rbp
test ecx, ecx
jns 0x14001499a
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140015a40
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x1400149ae
mov edx, 8
mov rcx, rbx
call fcn.140015a40
movsxd rcx, dword [rbx]
mov ebp, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], sil
inc dword [rbx]
cmp dword [rdi + 0x2db0], esi
jle 0x1400149fa
mov qword [rsp + 0x50], r14
mov r14, rsi
nop dword [rax]
mov r9, qword [rdi + 0x2db8]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
inc ebp
add r14, 0x30
cmp ebp, dword [rdi + 0x2db0]
jl 0x1400149d0
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
cmp qword [rbx + 8], rsi
je 0x140014a09
mov esi, dword [rbx]
dec esi
mov rax, qword [rdi + 0x2da8]
lea rdx, [0x140047a2c]
test rax, rax
movsxd rsi, esi
lea rdi, [0x1400e0e48]
mov rcx, r15
cmovne rdi, rax
call fcn.1400040b0
mov rbx, rax
test rax, rax
je 0x140014a55
mov r9, rax
mov r8, rsi
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret
Function at 0x1400207b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140020969
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140020846
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140020120
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.14001f730
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140020837
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.1400155e0
mov dword [rbx + 0x80], 0
jmp 0x140020955
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
mov r8d, 4
call fcn.14001e650
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14003aa60
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x260
mov rdi, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14003aac4
nop word [rax + rax]
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov rcx, rbx
test eax, eax
je 0x14003aae4
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003aaa0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1400e0e80]
mov rbx, qword [rsp + 0x270]
add rsp, 0x260
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
mov rbx, qword [rsp + 0x270]
mov dword [0x1400e0e80], eax
add rsp, 0x260
pop rdi
ret

Function at 0x14003ab10
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
mov rsi, rcx
mov ebx, r8d
mov rcx, qword [0x1400e0f88]
mov rdi, rdx
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14003ab45
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400e0e80]
lea r8, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x38], rcx
mov r9d, 0x28
mov qword [rsp + 0x30], rcx
mov edx, 0x3b2c22c
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x44], ecx
mov dword [rsp + 0x61], ecx
mov word [rsp + 0x65], cx
mov byte [rsp + 0x67], cl
mov byte [rsp + 0x60], cl
mov rcx, qword [0x1400e0e88]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rbx
mov dword [rsp + 0x40], eax
call qword [0x1400e12e8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret