joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000b390
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140013130]
xor rax, rsp
mov qword [rsp + 0x38], rax
or r14, 0xffffffffffffffff
mov r12, rcx
xor r13d, r13d
lea ecx, [r14 + 3]
lea r8d, [r14 + 7]
mov rdi, r14
lea edx, [rcx - 1]
mov qword [r11 - 0x40], rcx
call qword [sym.imp.WS2_32.dll_socket]
lea r15d, [r14 + 0x11]
mov rsi, rax
cmp rax, r14
je 0x14000b40f
lea rdx, [rsp + 0x28]
mov r8d, r15d
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
mov ebx, eax
cmp eax, r14d
je 0x14000b406
mov rdi, rsi
jmp 0x14000b417
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
test ebx, ebx
jne 0x14000b462
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WS2_32.dll_getsockname]
movzx ebp, r13w
cmp eax, r14d
mov ebx, eax
cmovne bp, word [rsp + 0x2a]
test eax, eax
jne 0x14000b459
mov rcx, r15
call fcn.14000de44
mov rsi, rax
test rax, rax
jne 0x14000b49a
lea ebx, [rax + 0xe]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
movzx eax, bx
or eax, 0x80070000
test ebx, ebx
cmovle eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14000e510
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov qword [rax], rdi
mov word [rax + 8], bp
movsxd rdi, dword [0x140013e08]
mov ecx, dword [0x140013e0c]
lea r15d, [rdi + 1]
test r15d, r15d
jle 0x14000b527
cmp edi, ecx
jne 0x14000b50d
cmp edi, 0x3fffffff
jg 0x14000b527
movabs rdx, 0xfffffffffffffff
cmp rdi, rdx
ja 0x14000b527
test ecx, ecx
mov rcx, qword [0x140013e00]
mov eax, 1
lea r14d, [rdi + rdi]
cmove r14d, eax
movsxd rdx, r14d
shl rdx, 3
call qword [sym.imp.msvcrt.dll_realloc]
mov r11, rax
test rax, rax
je 0x14000b527
mov dword [0x140013e0c], r14d
mov qword [0x140013e00], rax
jmp 0x14000b514
mov r11, qword [0x140013e00]
lea rcx, [r11 + rdi*8]
mov dword [0x140013e08], r15d
test rcx, rcx
je 0x14000b527
mov qword [rcx], rsi
mov word [r12], bp
jmp 0x14000b462

Function at 0x14000bd64
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
and dword [rsp + 0x38], 0
mov rsi, rcx
mov edi, 0xff
xor ebx, ebx
mov eax, 0x3ff
shr eax, 1
lea ebx, [rbx*2 + 2]
jne 0x14000bd87
shr ebx, 1
and dword [rcx], 0
lea rcx, [rsp + 0x38]
mov edx, 4
call qword [sym.imp.CRYPTBASE.dll_SystemFunction036]
cmp al, 1
jne 0x14000bdc4
mov eax, dword [rsp + 0x38]
and eax, ebx
mov dword [rsp + 0x38], eax
cmp eax, 0x3ff
jbe 0x14000bdc2
dec edi
je 0x14000bdc4
jmp 0x14000bd97
mov dword [rsi], eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14000c1f4
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push r12
sub rsp, 0x30
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rbx, rcx
je 0x14000c259
mov rcx, qword [rcx + 0x10]
lea r9, [rax + 8]
mov edx, 0xffff
mov r8d, 0x80
mov dword [rax + 8], 1
mov dword [rax - 0x18], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000c240
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000c254
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
or qword [rbx + 0x10], 0xffffffffffffffff
cmp qword [rbx], 0xffffffffffffffff
je 0x14000c2a9
mov rcx, qword [rbx]
lea r9, [rsp + 0x40]
mov edx, 0xffff
mov r8d, 0x80
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x14000c292
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x14000c2a5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
or qword [rbx], 0xffffffffffffffff
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r12
ret
Function at 0x14000d41c
Capabilities:
Set socket configuration

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov r15, r8
mov r14, rcx
mov dword [rax + 0x20], r12d
mov word [rax + 0x10], r12w
cmp edx, 0xc0000120
je 0x14000d5f9
cmp dword [rcx + 0x2c], r12d
jne 0x14000d5f9
mov rdi, qword [r8 + 0x10]
or rbp, 0xffffffffffffffff
test edx, edx
je 0x14000d4ce
cmp edx, 0x3e3
je 0x14000d5de
cmp edx, 0x2775
je 0x14000d4af
cmp edx, 0x2746
je 0x14000d4af
cmp edx, 0x274c
je 0x14000d4af
cmp edx, 0x2742
je 0x14000d4af
cmp edx, 0x2736
je 0x14000d4af
cmp edx, 0x274a
je 0x14000d4af
cmp edx, 0x2745
jne 0x14000d5de
or rbp, 0xffffffffffffffff
cmp rdi, rbp
je 0x14000d4c1
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, r14
call fcn.14000cf54
jmp 0x14000d610
lea rdx, [r8 + 0x78]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x20], rax
call fcn.14000d1ec
test eax, eax
js 0x14000d5cd
cmp dword [rsp + 0x88], r12d
je 0x14000d5cd
lea r9, [r14 + 0x10]
mov edx, 0xffff
mov r8d, 0x700b
mov rcx, rdi
mov dword [rsp + 0x20], 8
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, 0xa0
call fcn.14000de44
mov rsi, rax
test rax, rax
je 0x14000d582
mov qword [rax], rbp
mov dword [rax + 8], 1
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], 1
lea rcx, [rax + 0x68]
mov qword [rax + 0x90], r12
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_InitializeCriticalSection]
mov dword [rsi + 0x98], r12d
mov qword [rsi], rbp
mov qword [rsi + 0x10], rbp
mov dword [rsi + 0x3c], r12d
mov word [rsi + 0x44], r12w
mov word [rsi + 0x20], r12w
mov qword [rsi + 0x30], r12
mov dword [rsi + 0x64], r12d
jmp 0x14000d585
mov rsi, r12
test rsi, rsi
je 0x14000d5cd
mov eax, dword [rsp + 0x30]
movzx r9d, word [rsp + 0x78]
mov r8d, dword [rsp + 0x88]
mov rdx, rdi
mov rcx, rsi
mov dword [rsp + 0x20], eax
call fcn.14000beac
test eax, eax
js 0x14000d5db
lea rcx, [0x140013e10]
xor r8d, r8d
mov rdx, rsi
call fcn.14000ccdc
test eax, eax
je 0x14000d5db
inc dword [0x140013e40]
jmp 0x14000d5db
cmp rdi, rbp
je 0x14000d5db
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rdi, rbp
mov rcx, qword [r14 + 0x10]
mov r9, r14
mov r8, r15
mov rdx, rdi
call fcn.14000d690
test eax, eax
je 0x14000d618
jmp 0x14000d4b3
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14000d608
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_SetEvent]
mov rcx, r14
call fcn.14000d638
mov rcx, r15
call fcn.14000bd34
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000d990
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r15
sub rsp, 0xd0
mov rax, qword [0x140013130]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov esi, ecx
xor ecx, ecx
mov rdi, rdx
call qword [sym.imp.WS2_32.dll_ntohs]
xor r15d, r15d
lea rcx, [rsp + 0x42]
lea r8d, [r15 + 0x7e]
xor edx, edx
mov word [rsp + 0x40], r15w
call sub.msvcrt.dll_memset
lea edx, [r15 + 1]
lea r12d, [r15 + 2]
mov dword [rsp + 0x28], edx
lea r8d, [r15 + 6]
mov ecx, r12d
xor r9d, r9d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14000da15
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
jmp 0x14000dab3
lea rdx, [0x14000daec]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_BindIoCompletionCallback]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1002
mov rcx, rbx
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
cmp esi, reloc.msvcrt.dll___C_specific_handler
je 0x14000dab7
xor eax, eax
lea rdx, [rsp + 0x40]
mov r8d, 0x80
mov rcx, rbx
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], esi
mov qword [rsp + 0x48], rax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, reloc.msvcrt.dll___C_specific_handler
jne 0x14000dab7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbx
mov edi, eax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
jmp 0x14000dabc
mov qword [rdi], rbx
xor eax, eax
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14000e510
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r12
pop rdi
ret

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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
mov rax, qword [0x140013130]
xor rax, rsp
mov qword [rsp + 0xb0], rax
xor ebp, ebp
mov rdi, r8
mov rbx, rcx
mov rsi, rdx
lea rcx, [rsp + 0x32]
lea r8d, [rbp + 0x7e]
xor edx, edx
mov word [rsp + 0x30], bp
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov dword [rsp + 0x20], 0x80
call qword [sym.imp.WS2_32.dll_getsockname]
cmp eax, reloc.msvcrt.dll___C_specific_handler
jne 0x14000db6d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14000db99
test rsi, rsi
je 0x14000db8a
cmp word [rsp + 0x30], 0x17
lea rax, [rsp + 0x38]
lea rcx, [rsp + 0x34]
cmovne rax, rcx
mov eax, dword [rax]
mov dword [rsi], eax
test rdi, rdi
je 0x14000db97
movzx eax, word [rsp + 0x32]
mov word [rdi], ax
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.14000e510
mov rbx, qword [rsp + 0xf8]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000dc70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
cmp byte [0x140013c35], 0
mov r14, r9
mov r15, r8
mov esi, edx
mov rbp, rcx
je 0x14000dca6
mov eax, 0x3eb
jmp 0x14000dd71
cmp edx, 0x240
ja 0x14000dcd2
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x2b8
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000dcfd
and dword [rax], 0
jmp 0x14000dcfd
lea eax, [rdx + 0x78]
movsxd rbx, eax
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_GetProcessHeap]
mov r8, rbx
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_core_heap_l1_2_0.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x14000dcfd
mov dword [rax], 1
mov dword [rax + 0x68], esi
test rdi, rdi
jne 0x14000dd07
lea eax, [rdi + 8]
jmp 0x14000dd71
xor edx, edx
lea rbx, [rdi + 0x30]
lea r8d, [rdx + 0x20]
mov rcx, rbx
call sub.msvcrt.dll_memset
and dword [rdi + 0x50], 0
lea rax, [0x14000cc24]
lea rdx, [rdi + 0x78]
lea r9, [0x140013dd0]
mov r8d, esi
mov rcx, rbp
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_ReadFile]
test eax, eax
jne 0x14000dd6d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
cmp eax, 0x3e5
je 0x14000dd6d
mov rcx, rdi
call fcn.14000bd34
jmp 0x14000dd6f
xor ebx, ebx
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14000dd90
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
cmp byte [0x140013c35], 0
mov rbp, r9
mov r14d, r8d
mov rdi, rdx
mov rsi, rcx
je 0x14000ddc5
mov eax, 0x3eb
jmp 0x14000de22
lea rbx, [rdx + 0x30]
xor edx, edx
lea r8d, [rdx + 0x20]
mov rcx, rbx
call sub.msvcrt.dll_memset
lea rax, [0x14000cc80]
lea rdx, [rdi + 0x78]
mov qword [rdi + 0x18], rax
mov rax, qword [rsp + 0x60]
lea r9, [0x140013dd0]
mov r8d, r14d
mov rcx, rsi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x20], rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_WriteFile]
test eax, eax
jne 0x14000de20
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14000de22
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14000e290
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_1.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140013f08], rbx
je 0x14000e2f7
cmp rax, rbx
jne 0x14000e2ea
mov ebx, 1
mov esi, ebx
jmp 0x14000e2fc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000e2cf
mov ebx, 1
mov eax, dword [0x140013f10]
cmp eax, ebx
jne 0x14000e312
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x14000e372
mov eax, dword [0x140013f10]
test eax, eax
jne 0x14000e36c
mov dword [0x140013f10], ebx
lea r15, [0x140001058]
lea rdi, [0x140001040]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000e35e
test eax, eax
jne 0x14000e362
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000e353
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000e33c
test eax, eax
je 0x14000e372
mov eax, 0xff
jmp 0x14000e4bf
mov dword [0x140013654], ebx
mov eax, dword [0x140013f10]
cmp eax, ebx
jne 0x14000e399
lea rdx, [0x140001038]
lea rcx, [section..text]
call sub.msvcrt.dll__initterm
mov dword [0x140013f10], 2
test esi, esi
jne 0x14000e3a7
mov rax, r14
xchg qword [0x140013f08], rax
cmp qword [0x140013f28], r14
je 0x14000e3d2
lea rcx, [0x140013f28]
call fcn.14000e960
test eax, eax
je 0x14000e3d2
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140013f28]
call rax
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], r14
jne 0x14000e3e8
mov eax, 0xff
jmp 0x14000e4bf
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x14000e470
cmp word [rcx], r14w
je 0x14000e41b
test edx, edx
jne 0x14000e470
cmp word [rcx], r14w
je 0x14000e41b
cmp word [rcx], 0x20
ja 0x14000e41b
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000e404
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.140002fa4
mov dword [0x140013650], eax
cmp dword [0x140013670], r14d
jne 0x14000e459
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140013654], r14d
jne 0x14000e46e
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140013650]
jmp 0x14000e4bf
cmp word [rcx], 0x22
jne 0x14000e484
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 0x14000e3f4
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.1400a6000
add rsp, 0x28
jmp 0x14000e290
Function at 0x14000e818
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
test rcx, rcx
je 0x14000e865
cmp rcx, 0xffffffffffffffff
je 0x14000e865
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e85d
cmp dword [rcx + 0x3c], edx
jl 0x14000e85d
cmp dword [rcx + 0x3c], reloc.msvcrt.dll___C_specific_handler
jae 0x14000e85d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], reloc.msvcrt.dll___C_specific_handler
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x14000e865
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14000ebe8
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
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]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_1.dll_TerminateProcess]
Function at 0x140003950
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 0x140003984
cmp word [rcx], 0x5a4d
jne 0x140003984
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x140003984
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003984
mov edx, dword [rcx + 0x28]
add rdx, qword [rsp + 0x58]
mov rcx, rbx
call fcn.140003890
test eax, eax
jne 0x1400039a0
xor eax, eax
add rsp, 0x40
pop rbx
ret
mov rcx, rbx
call fcn.140003900
test rax, rax
je 0x140003995
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.140004152
not eax
shr eax, 0x1f
add rsp, 0x40
pop rbx
ret

Function at 0x140004050
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.140003ff0
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 0x1400044b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
mov rax, qword [0x140529a38]
xor ebx, ebx
add rax, 0x18
mov r12, rcx
mov ecx, dword [0x140529a34]
mov rsi, rdx
mov rdi, r8
cmp ebx, ecx
jge 0x140004502
mov rdx, qword [rax]
cmp r12, rdx
jb 0x1400044fa
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp r12, rdx
jb 0x1400045e9
inc ebx
add rax, 0x28
jmp 0x1400044da
mov rcx, r12
call fcn.140004ce1
mov rbp, rax
test rax, rax
jne 0x140004521
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call fcn.140004450
movsxd rbx, ebx
mov rax, qword [0x140529a38]
xor edx, edx
imul rbx, rbx, 0x28
add rax, rbx
mov dword [rax], edx
mov qword [rax + 0x20], rbp
call fcn.140004d8f
mov edx, dword [rbp + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140529a38]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
jne 0x140004583
mov rax, qword [0x140529a38]
mov edx, dword [rbp + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140004450
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400045e3
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400045e3
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x140529a38]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400045e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140004450
inc dword [0x140529a34]
mov ecx, edi
mov rdi, r12
rep movsb byte [rdi], byte [rsi]
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004a10
Capabilities:
Get thread local storage value

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
lea rdi, [0x140529aa0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140529a80]
test rbx, rbx
je 0x140004a5c
mov ecx, dword [rbx]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rsi, rsi
je 0x140004a56
test eax, eax
jne 0x140004a56
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
jmp 0x140004a2e
mov rcx, rdi
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140004c10
Capabilities:
Parse pe header

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

Function at 0x140004c34
Capabilities:
Enumerate pe sections

Disassembly:
xor r8d, r8d
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r9d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
cmp r8d, r9d
jae 0x140004c6e
mov r10d, dword [rax + 0xc]
mov rcx, r10
cmp rdx, r10
jb 0x140004c65
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140004c70
inc r8d
add rax, 0x28
jmp 0x140004c4c
xor eax, eax
ret

Function at 0x140004ce1
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x140525c50]
mov r8, rcx
mov rcx, r9
call fcn.140004c10
test eax, eax
je 0x140004d0d
mov rdx, r8
mov rcx, r9
sub rdx, r9
add rsp, 0x28
jmp fcn.140004c34
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400060f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400a43c0]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400a4500]
mov edi, edx
mov esi, ecx
cmp byte [rbx + 0x4a85], 0
jne 0x140006158
cmp byte [rbx + 0x4a86], 0
jne 0x140006158
movsx r9d, word [rbx + 0x5baa]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000bb50
test sil, 1
je 0x140006290
jmp 0x1400061f1
movss xmm1, dword [rbx + 0x389c]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
mulss xmm0, dword [0x14005121c]
xor eax, eax
mov edx, 0x10
mulss xmm1, dword [0x14005120c]
addss xmm0, dword [rbx + 0xe08]
addss xmm1, dword [rbx + 0xe0c]
or dword [rbx + 0x47b8], 1
mov qword [rbx + 0x47d0], rax
movss dword [rbx + 0x47c8], xmm0
mov dword [rbx + 0x47bc], 1
movss dword [rbx + 0x47cc], xmm1
movss xmm0, dword [rbx + 0x38f8]
mov rax, qword [0x1400a4500]
mulss xmm0, dword [0x1400511c0]
or dword [rax + 0x47b8], 0x40
movss dword [rax + 0x4818], xmm0
movsx r9d, word [rbx + 0x5baa]
call fcn.14000bb50
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140006241
lea r11, [0x14004f940]
cmp r9b, 0x23
jne 0x140006224
cmp byte [r8], r9b
jne 0x140006224
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140006211
not ecx
call fcn.14000a1f0
test rax, rax
je 0x140006290
cmp byte [rax + 0xb6], 0
je 0x140006290
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5baa]
movsx r9d, word [rbx + 0x5baa]
call fcn.14000bb50
or edi, 0x20c0347
lea rcx, [rsp + 0x20]
mov r8d, edi
xor edx, edx
call fcn.140003a80
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14004c3e0
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14000a140
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400a4500]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x14000a1a3
mov qword [rsp], rbx
lea rbx, [0x14004f940]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000a183
cmp byte [r8], r9b
jne 0x14000a183
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 [rbx + rdx*4]
test r9b, r9b
jne 0x14000a170
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c08]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x14000a1d7
mov r10, qword [r10 + 0x5c10]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14000a1de
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x14000a1c4
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret