joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b250
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov dword [rax + 0x18], r8d
push rsi
push rdi
push r14
sub rsp, 0x40
and dword [rax + 0x18], 0
mov r14d, edx
xor edi, edi
mov rbx, rcx
mov ebp, 0xff
mov eax, 0x3ff
shr eax, 1
lea edi, [rdi*2 + 2]
jne 0x14000b27d
shr edi, 1
xor esi, esi
mov dword [rsp + 0x68], esi
mov edx, 4
lea rcx, [rsp + 0x70]
call qword [sym.imp.CRYPTBASE.dll_SystemFunction036]
nop dword [rax + rax]
cmp al, 1
jne 0x14000b2c8
mov eax, dword [rsp + 0x70]
and eax, edi
mov dword [rsp + 0x70], eax
cmp eax, 0x3ff
jbe 0x14000b2c2
add ebp, 0xffffffff
je 0x14000b2c8
jmp 0x14000b290
mov esi, eax
mov dword [rsp + 0x68], eax
test r14d, r14d
je 0x14000b2e5
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14000b306
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140010b48]
jmp 0x14000b306
mov rcx, qword [rbx]
lea r8d, [rsi + 0x400]
mov qword [rsp + 0x30], 1
mov qword [rsp + 0x28], rbx
call fcn.14000cfac
test eax, eax
je 0x14000b310
mov rcx, rbx
call fcn.14000b364
jmp 0x14000b34a
lock inc dword [rbx + 0x64]
mov rcx, qword [rbx + 0x10]
lea r8d, [rsi + 0x400]
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x28], rbx
call fcn.14000cfac
test eax, eax
je 0x14000b34a
mov rcx, rbx
call fcn.14000b364
test eax, eax
je 0x14000b34a
mov rcx, rbx
call fcn.14000b4fc
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x14000b4fc
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push r12
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
cmp rcx, 0xffffffffffffffff
je 0x14000b578
lea r9, [rax + 8]
mov dword [rax + 8], 1
mov edx, 0xffff
mov dword [rax - 0x18], 4
mov r8d, 0x80
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
test eax, eax
je 0x14000b553
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
test eax, eax
je 0x14000b573
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
or qword [rbx + 0x10], 0xffffffffffffffff
cmp qword [rbx], 0xffffffffffffffff
je 0x14000b5e0
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov dword [rsp + 0x40], 1
mov r8d, 0x80
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
test eax, eax
je 0x14000b5bd
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
test eax, eax
je 0x14000b5dc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
or qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret
Function at 0x14000b5f8
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rdi, r9
mov rbx, rcx
test edx, edx
jne 0x14000b77c
test r8d, r8d
je 0x14000b77c
mov r15, qword [r9 + 0x28]
lea rsi, [rcx + 0x10]
cmp r15, 1
mov r14, rsi
cmove r14, rcx
cmovne rsi, rcx
xor ebp, ebp
cmp r15, 1
sete bpl
inc rbp
cmp r15, 1
jne 0x14000b654
cmp dword [rcx + 0x38], 2
je 0x14000b660
cmp r15, 2
jne 0x14000b6a2
cmp dword [rcx + 0x38], 1
jne 0x14000b6a2
xor eax, eax
cmp dword [r9 + 0x68], r8d
jne 0x14000b66d
lea ecx, [rax + 2]
jmp 0x14000b67a
cmp dword [r14 + 8], 2
mov ecx, 1
setne al
mov dword [r14 + 8], ecx
test eax, eax
je 0x14000b6a2
lea rdx, [r9 + 0x78]
mov rcx, rbx
mov r9d, dword [r9 + 0x68]
lea r8, [rsp + 0x80]
call fcn.14000b820
mov r8d, dword [rsp + 0x80]
test r8d, r8d
je 0x14000b6fb
cmp qword [rsi], 0xffffffffffffffff
je 0x14000b6fb
lock inc dword [rbx + 0x64]
mov r8d, dword [rsp + 0x80]
mov rdx, rdi
mov rcx, qword [rsi]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbx
call fcn.14000d0c8
test eax, eax
je 0x14000b703
mov rcx, rbx
call fcn.14000b364
mov rcx, rbx
call fcn.14000b364
test eax, eax
je 0x14000b6ee
mov rcx, rbx
call fcn.14000b4fc
mov rcx, rdi
call fcn.14000af08
jmp 0x14000b798
mov rcx, rdi
call fcn.14000af08
cmp qword [r14], 0xffffffffffffffff
je 0x14000b784
and dword [rsp + 0x78], 0
mov ebp, 0xff
xor edi, edi
mov eax, 0x3ff
shr eax, 1
lea edi, [rdi*2 + 2]
jne 0x14000b71a
shr edi, 1
xor esi, esi
mov edx, 4
lea rcx, [rsp + 0x78]
call qword [sym.imp.CRYPTBASE.dll_SystemFunction036]
nop dword [rax + rax]
cmp al, 1
jne 0x14000b75d
mov eax, dword [rsp + 0x78]
and eax, edi
mov dword [rsp + 0x78], eax
cmp eax, 0x3ff
jbe 0x14000b75b
add ebp, 0xffffffff
je 0x14000b75d
jmp 0x14000b729
mov esi, eax
mov rcx, qword [r14]
lea r8d, [rsi + 0x400]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rbx
call fcn.14000cfac
test eax, eax
je 0x14000b798
jmp 0x14000b784
mov rcx, rdi
call fcn.14000af08
mov rcx, rbx
call fcn.14000b364
test eax, eax
je 0x14000b798
mov rcx, rbx
call fcn.14000b4fc
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c710
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rbp
mov dword [rax + 0x18], r8d
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov r15, r9
mov dword [rax + 0x10], r12d
mov rbp, rcx
mov word [rax + 0x18], r12w
cmp edx, 0xc0000120
je 0x14000c8e2
cmp dword [rcx + 0x2c], r12d
jne 0x14000c8e2
mov rdi, qword [r9 + 0x10]
or rsi, 0xffffffffffffffff
test edx, edx
je 0x14000c7a6
add edx, 0xffffd8ca
cmp edx, 0x3f
ja 0x14000c8c5
movabs rcx, 0x8000000000519001
bt rcx, rdx
jae 0x14000c8c5
or rsi, rsi
cmp rdi, rsi
je 0x14000c799
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
mov rcx, rbp
call fcn.14000c2e8
jmp 0x14000c8ff
lea rdx, [r9 + 0x78]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x78]
call fcn.14000c49c
test eax, eax
js 0x14000c8ae
cmp dword [rsp + 0x78], r12d
je 0x14000c8ae
lea r9, [rbp + 0x10]
mov dword [rsp + 0x20], 8
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
mov ecx, 0xa0
call fcn.14000d1f8
mov r14, rax
test rax, rax
je 0x14000c863
mov qword [rax], rsi
lea rcx, [rax + 0x68]
mov dword [rax + 8], 1
mov qword [rax + 0x10], rsi
mov dword [rax + 0x18], 1
mov qword [rax + 0x90], r12
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_InitializeCriticalSection]
nop dword [rax + rax]
mov dword [r14 + 0x98], r12d
mov qword [r14], rsi
mov qword [r14 + 0x10], rsi
mov dword [r14 + 0x3c], r12d
mov word [r14 + 0x44], r12w
mov word [r14 + 0x20], r12w
mov dword [r14 + 0x64], r12d
mov qword [r14 + 0x30], r12
jmp 0x14000c866
mov r14, r12
test r14, r14
je 0x14000c8ae
mov eax, dword [rsp + 0x30]
mov rdx, rdi
movzx r9d, word [rsp + 0x80]
mov rcx, r14
mov r8d, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.14000b02c
test eax, eax
js 0x14000c8c2
xor r8d, r8d
lea rcx, [0x140016b70]
mov rdx, r14
call fcn.14000c00c
test eax, eax
je 0x14000c8c2
inc dword [0x140016ba0]
jmp 0x14000c8c2
cmp rdi, rsi
je 0x14000c8c2
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
mov rdi, rsi
mov rcx, qword [rbp + 0x10]
mov r8, r15
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call fcn.14000c988
test eax, eax
je 0x14000c907
jmp 0x14000c785
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14000c8f7
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
mov rcx, rbp
call fcn.14000c928
mov rcx, r15
call fcn.14000af08
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000cc98
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r13
push r15
sub rsp, 0xd0
mov rax, qword [0x1400163a0]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov esi, ecx
mov rdi, r8
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_ntohs]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x80
call sub.msvcrt.dll_memset
mov edx, 1
xor r15d, r15d
mov dword [rsp + 0x28], edx
xor r9d, r9d
mov dword [rsp + 0x20], r15d
lea r13d, [rdx + 1]
mov ecx, r13d
lea r8d, [rdx + 5]
call qword [sym.imp.WS2_32.dll_WSASocketW]
nop dword [rax + rax]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000cd2c
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x14000cdee
xor r8d, r8d
lea rdx, [0x14000ce30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_BindIoCompletionCallback]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0x1002
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
nop dword [rax + rax]
cmp esi, 0xffffffff
je 0x14000cdf2
xor eax, eax
mov dword [rsp + 0x40], r13d
mov r8d, 0x80
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], esi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000cdf2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
mov eax, edi
jmp 0x14000cdf7
mov qword [rdi], rbx
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000d8d0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r13
pop rdi
ret

Function at 0x14000ce50
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400163a0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x80
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x80
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x14000cebc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
jmp 0x14000cee1
test rsi, rsi
je 0x14000ced2
cmp word [rsp + 0x30], 0x17
mov eax, dword [rsp + 0x34]
cmove eax, dword [rsp + 0x38]
mov dword [rsi], eax
test rdi, rdi
je 0x14000cedf
movzx eax, word [rsp + 0x32]
mov word [rdi], ax
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000d8d0
add rsp, 0xc0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000cfac
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140016c30], 0
mov rbp, rcx
movsxd rsi, r8d
je 0x14000cfd9
mov eax, 0x3eb
jmp 0x14000d0aa
cmp esi, 0x240
ja 0x14000cfeb
call fcn.14000aecc
mov rdi, rax
jmp 0x14000d01d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
nop dword [rax + rax]
lea r8, [rsi + 0x78]
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x14000d01d
mov dword [rax], 1
mov dword [rax + 0x68], esi
test rdi, rdi
jne 0x14000d02a
lea eax, [rdi + 8]
jmp 0x14000d0aa
xor edx, edx
lea rbx, [rdi + 0x30]
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
and dword [rdi + 0x50], 0
lea rax, [0x14000beb0]
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140016a04]
mov qword [rdi + 0x20], rax
mov r8d, esi
mov rax, qword [rsp + 0x70]
mov rcx, rbp
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x10], rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000d0a6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x3e5
je 0x14000d0a6
mov rcx, rdi
call fcn.14000af08
jmp 0x14000d0a8
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x14000d0c8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
cmp byte [0x140016c30], 0
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
je 0x14000d0f5
mov eax, 0x3eb
jmp 0x14000d163
lea rbx, [rdx + 0x30]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
lea rax, [0x14000bf20]
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rax
lea rdx, [rdi + 0x78]
mov rax, qword [rsp + 0x68]
lea r9, [0x140016a04]
mov qword [rdi + 0x20], rax
mov r8d, ebp
mov rax, qword [rsp + 0x70]
mov rcx, rsi
mov qword [rdi + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14000d161
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 0x3e5
jne 0x14000d163
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14000d630
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d697
cmp rax, rbx
jne 0x14000d68a
mov ebx, 1
mov esi, ebx
jmp 0x14000d69c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d66f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d6b4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x14000d720
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d715
mov dword [0x140016c68], ebx
lea r15, [0x140010ba8]
lea rdi, [0x140010b90]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d707
test eax, eax
jne 0x14000d70b
cmp qword [rdi], r14
je 0x14000d6fc
mov rax, qword [rdi]
mov rcx, qword [0x140010b48]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d6de
test eax, eax
je 0x14000d71b
mov eax, 0xff
jmp 0x14000d876
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d747
lea rdx, [0x140010b88]
lea rcx, [0x140010b50]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000d755
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000d788
lea rcx, [0x140016c80]
call fcn.14000dce0
test eax, eax
je 0x14000d788
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b48]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000d7a1
mov eax, 0xff
jmp 0x14000d876
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000d827
test ax, ax
je 0x14000d7bc
test edx, edx
jne 0x14000d827
sub ax, bx
cmp ax, di
ja 0x14000d7d2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000d7bc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001a68
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000d810
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000d825
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000d876
cmp ax, 0x22
jne 0x14000d83b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d7aa
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400a8000
add rsp, 0x28
jmp 0x14000d630
Function at 0x14000dbdc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000dc28
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000dc20
cmp dword [rcx + 0x3c], edx
jl 0x14000dc20
cmp dword [rcx + 0x3c], 0x10000000
jae 0x14000dc20
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 0x14000dc28
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140003a30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x58], rdx
mov rbx, r8
xor edx, edx
test rcx, rcx
je 0x140003a64
cmp word [rcx], 0x5a4d
jne 0x140003a64
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003a64
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003a64
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003970
test eax, eax
jne 0x140003a80
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.1400039e0
test rax, rax
je 0x140003a75
lea rdx, [rax + 0x10]
lea rax, [rsp + 0x38]
mov rcx, qword [rbx]
mov r9d, 8
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x58]
mov qword [rsp + 0x38], 0
call fcn.140004229
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004130
Capabilities:
Execute syscall

Disassembly:
pop rax
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
sub rsp, 0x28
mov rcx, r10
call fcn.1400040d0
add rsp, 0x28
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x10]
mov r8, qword [rsp + 0x18]
mov r9, qword [rsp + 0x20]
mov r10, rcx
syscall
ret

Function at 0x140004ce0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140004d03
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
jne 0x140004d03
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret

Function at 0x140004db1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140535370]
mov r8, rcx
mov rcx, r9
call fcn.140004ce0
test eax, eax
je 0x140004ddd
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004d04
xor eax, eax
add rsp, 0x28
ret
Function at 0x140009038
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov r9, rcx
xor ecx, ecx
movabs r8, 0xcbf29ce484222325
mov rsi, rdx
movzx eax, byte [rbx + rcx + 0x10]
movabs rdx, 0x100000001b3
xor r8, rax
inc rcx
imul r8, rdx
cmp rcx, 4
jb 0x14000905c
mov rdx, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x18]
and rdx, r8
add rdx, rdx
cmp qword [rcx + rdx*8 + 8], rbx
jne 0x1400090b3
cmp qword [rcx + rdx*8], rbx
jne 0x1400090a8
mov rax, qword [r9 + 8]
mov qword [rcx + rdx*8], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
jmp 0x1400090ac
mov rax, qword [rbx + 8]
mov qword [rcx + rdx*8 + 8], rax
jmp 0x1400090c0
cmp qword [rcx + rdx*8], rbx
jne 0x1400090c0
mov rax, qword [rbx]
mov qword [rcx + rdx*8], rax
mov rax, qword [rbx + 8]
mov rdi, qword [rbx]
mov qword [rax], rdi
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov rdx, qword [rbx + 0x30]
cmp rdx, 8
jb 0x1400090f5
mov rcx, qword [rbx + 0x18]
inc rdx
mov r8d, 2
call fcn.1400020a4
mov edx, 1
mov rcx, rbx
lea r8d, [rdx + 0x37]
call fcn.1400020a4
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000b51c
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400148a0], eax
call fcn.14000b2a4
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_UnhandledExceptionFilter]
cmp dword [0x1400148a0], 0
jne case.default.0x14000b572
mov ecx, 1
call fcn.14000b2a4
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_TerminateProcess]
invalid
Function at 0x180003b80
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
push r13
push r15
mov eax, 0x1070
call fcn.1800728c0
sub rsp, rax
mov rax, qword [0x1800d5100]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdx, qword [rsp + 0x10b0]
xor ebp, ebp
mov qword [rsp + 0x38], r9
mov r15, r8
mov qword [rsp + 0x30], rdx
mov r13, rcx
test r8, r8
jne 0x180003bcc
mov rdx, rbp
jmp 0x180003cda
mov r9d, 0x1000
lea rdx, [rsp + 0x40]
call fcn.1800029b0
test al, al
je 0x180003bc4
mov qword [rsp + 0x1068], rsi
lea rdx, [0x1800c76f8]
mov qword [rsp + 0x1060], rdi
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x1058], r12
mov qword [rsp + 0x1050], r14
nop
inc rdi
cmp byte [rdx + rdi], bpl
jne 0x180003c10
movsxd rax, dword [rsp + 0x7c]
lea rcx, [rsp + 0x40]
add rcx, rax
mov qword [rsp + 0x1098], rbx
mov esi, ebp
movzx eax, word [rcx + 0x14]
lea r12, [rcx + 0x18]
movzx r14d, word [rcx + 6]
add r12, rax
test r14d, r14d
je 0x180003caf
nop word [rax + rax]
mov eax, esi
mov r8, rdi
lea rcx, [rax + rax*4]
lea rbx, [r12 + rcx*8]
mov rcx, rbx
call fcn.180074b50
test eax, eax
jne 0x180003c7e
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], bpl
jne 0x180003c70
cmp rdi, rax
je 0x180003c8e
inc esi
cmp esi, r14d
jae 0x180003caf
lea rdx, [0x1800c76f8]
jmp 0x180003c50
mov eax, dword [rbx + 0xc]
test eax, eax
je 0x180003caf
mov ecx, dword [rbx + 8]
mov edx, eax
lea rax, [rsp + 0x40]
add rax, rdx
je 0x180003caf
test ecx, ecx
je 0x180003caf
mov ebp, ecx
add rdx, r15
jmp 0x180003cb2
mov rdx, rbp
mov rbx, qword [rsp + 0x1098]
mov rdi, qword [rsp + 0x1060]
mov rsi, qword [rsp + 0x1068]
mov r12, qword [rsp + 0x1058]
mov r14, qword [rsp + 0x1050]
mov rax, qword [rsp + 0x30]
mov rcx, r13
mov r9, qword [rsp + 0x38]
mov r8d, ebp
mov qword [rsp + 0x20], rax
call fcn.180003a70
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180071b80
add rsp, 0x1070
pop r15
pop r13
pop rbp
ret
Function at 0x180008930
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1800d5100]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov eax, 0x5a4d
cmp word [rdx], ax
jne 0x180008a43
movsxd rax, dword [rdx + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x180008a43
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
xor edx, edx
mov qword [rsp + 0x50], rdx
mov ecx, dword [rax + rsi + 0xb0]
test ecx, ecx
jne 0x1800089a8
mov qword [rdi], rdx
mov qword [rdi + 8], rdx
mov qword [rdi + 0x10], rdx
jmp 0x180008a50
lea rbx, [rsi + rcx]
mov ebp, dword [rax + rsi + 0xb4]
add rbp, rbx
mov rcx, qword [rsp + 0x48]
cmp rbx, rbp
jae 0x180008a31
mov r8d, dword [rbx + 4]
test r8d, r8d
je 0x180008a31
mov eax, dword [rbx]
add rax, rsi
mov qword [rsp + 0x20], rax
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
lea rax, [r8 - 8]
shr rax, 1
mov dword [rsp + 0x30], eax
cmp rcx, rdx
je 0x180008a0a
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rcx], xmm0
movsd xmm1, qword [rsp + 0x30]
movsd qword [rcx + 0x10], xmm1
add rcx, 0x18
mov qword [rsp + 0x48], rcx
jmp 0x180008a26
lea r8, [rsp + 0x20]
mov rdx, rcx
lea rcx, [rsp + 0x40]
call fcn.180009100
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, rbp
jb 0x1800089c0
mov rax, qword [rsp + 0x40]
mov qword [rdi], rax
mov qword [rdi + 8], rcx
mov qword [rdi + 0x10], rdx
jmp 0x180008a50
xor edx, edx
mov qword [rcx], rdx
mov qword [rcx + 8], rdx
mov qword [rcx + 0x10], rdx
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180071b80
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret