joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006c02c
Capabilities:
Extract resource via kernel32 functions

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
sub rsp, 0x20
xor edi, edi
xor ebx, ebx
mov rsi, rdx
mov rbp, rcx
test rdx, rdx
je 0x14006c094
call fcn.1400638e0
mov r8d, 0xf0
mov rdx, rsi
mov r12, qword [rax + 0x18]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14006c094
mov rdx, rax
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14006c0b6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
mov rdx, rdi
mov rcx, rbp
call fcn.14006ba44
mov esi, eax
test rdi, rdi
je 0x14006c0b4
test rbx, rbx
je 0x14006c0b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r12
ret

Function at 0x14006d3d4
Capabilities:
Get graphical window text

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movsxd rsi, r8d
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0xa0], 0
jne 0x14006d412
mov r8d, esi
mov rcx, qword [rcx + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x14006d4c6
call fcn.14006d8f8
mov r11, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14006d431
mov ecx, 0x80004005
call fcn.140001074
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov rcx, qword [rbx + 0xa0]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + 0x118]
mov rdx, rsi
or rsi, 0xffffffffffffffff
mov r9, rsi
mov r8, qword [rsp + 0x40]
mov rcx, rdi
call fcn.140097ed0
test eax, eax
je 0x14006d499
cmp eax, 0xc
je 0x14006d493
cmp eax, 0x16
je 0x14006d48d
cmp eax, 0x22
je 0x14006d48d
cmp eax, 0x50
je 0x14006d499
call fcn.140061b80
int3
call fcn.140061b80
int3
call fcn.140061b38
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x14006d4c4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.oledlg.dll_OleUIBusyA + 8]
mov eax, ebx
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14007c6ec
Capabilities:
Extract resource via kernel32 functions

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 r13
push r14
sub rsp, 0x20
xor esi, esi
xor ebx, ebx
mov r12, r9
mov rdi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
je 0x14007c75e
call fcn.1400638e0
mov r8d, 0xf0
mov rdx, rdi
mov r13, qword [rax + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindResourceA]
test rax, rax
je 0x14007c75e
mov rdx, rax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
test rax, rax
je 0x14007c7ab
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov edi, 1
test rsi, rsi
je 0x14007c78b
mov r10, qword [r14]
mov r9, r12
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call qword [r10 + 0x40]
mov edi, eax
test rbx, rbx
je 0x14007c78b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
cmp qword [rbp + 0x98], 0
je 0x14007c7a9
mov rcx, qword [rbp + 0x98]
mov rdx, r12
mov r8, qword [rcx]
call qword [r8 + 0x140]
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop r13
pop r12
ret
Function at 0x140084c94
Capabilities:
Get geographical location

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14010bfc0]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov eax, r8d
mov rsi, rdx
mov rbx, rcx
cmp r8d, 0x800
jne 0x140084d03
lea r8, [0x1400def0c]
lea rcx, [rsp + 0x30]
mov edx, 4
call fcn.1400986e0
test eax, eax
je 0x140084d22
cmp eax, 0xc
je 0x140084cfd
cmp eax, 0x16
je 0x140084cf7
cmp eax, 0x22
je 0x140084cf7
cmp eax, 0x50
je 0x140084d22
call fcn.140061b80
int3
call fcn.140061b80
int3
call fcn.140061b38
int3
mov r9d, 4
lea r8, [rsp + 0x30]
mov ecx, eax
lea edx, [r9 - 1]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x140084e42
call fcn.14009d8cc
mov edi, dword [rax]
call fcn.14009d8cc
lea rcx, [rsp + 0xb0]
and dword [rax], 0
lea rax, [rsp + 0x30]
mov r9, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
mov esi, 0x112
lea r8d, [rsi - 1]
mov rdx, rsi
call fcn.140098440
mov ebx, eax
call fcn.14009d8cc
cmp dword [rax], 0
je 0x140084da7
call fcn.14009d8cc
cmp dword [rax], 0
je 0x140084dae
cmp dword [rax], 0xc
je 0x140084d9c
cmp dword [rax], 0x16
je 0x140084d91
cmp dword [rax], 0x22
je 0x140084d91
cmp dword [rax], 0x50
je 0x140084dae
mov ecx, 0x80004005
call fcn.140001074
int3
mov ecx, 0x80070057
call fcn.140001074
int3
mov ecx, 0x8007000e
call fcn.140001074
int3
call fcn.14009d8cc
mov dword [rax], edi
cmp ebx, 0xffffffff
je 0x140084e42
cmp ebx, esi
jae 0x140084e42
lea rcx, [rsp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
xor edx, edx
lea rcx, [rsp + 0x44]
lea r8d, [rdx + 0x6c]
mov rbx, rax
mov dword [rsp + 0x40], 0x70
call fcn.1400988d0
lea rcx, str.KERNEL32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x140084e2d
lea rdx, str.FindActCtxSectionStringA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140084e2d
lea rcx, [rsp + 0x40]
xor edx, edx
mov r9, rbx
mov qword [rsp + 0x20], rcx
lea r8d, [rdx + 2]
xor ecx, ecx
call rax
mov rcx, rbx
test eax, eax
jne 0x140084e35
lea rcx, [rsp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExA]
jmp 0x140084e44
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.140061100
add rsp, 0x1e0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14009a55c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1400a6af0
nop
cmp dword [0x140124410], 1
je 0x14009a508
mov dword [0x14012440c], 1
mov byte [0x140124408], r12b
test ebx, ebx
jne 0x14009a4f4
mov rcx, qword [0x140126020]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14009a4e1
mov rcx, qword [0x140126018]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14009a480
call fcn.14009fe98
cmp qword [rdi], rax
jne 0x14009a480
jmp 0x14009a466
cmp rdi, rsi
jb 0x14009a4e1
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14009fe98
mov qword [rdi], rax
call rbx
mov rcx, qword [0x140126020]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x140126018]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14009a4bf
cmp r13, rax
je 0x14009a4df
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14009a466
lea rdx, [0x1400c3160]
lea rcx, [0x1400c3140]
call fcn.14009a2b0
lea rdx, [0x1400c3170]
lea rcx, [0x1400c3168]
call fcn.14009a2b0
nop
test r12d, r12d
je 0x14009a517
mov ecx, 8
call fcn.1400a69f0
test r12d, r12d
jne 0x14009a542
mov dword [0x140124410], 1
lea ecx, [r12 + 8]
call fcn.1400a69f0
mov ecx, r15d
call fcn.14009a244
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14009a3d0

Function at 0x14009a568
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14009a3d0
Function at 0x14009bb34
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xa0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14009bbbd
movsxd rax, dword [0x14000003c]
lea rdi, [0x140000000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x14009bb7f
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14009bbcd
mov ecx, 0x20b
cmp word [rax + 0x18], cx
je 0x14009bb95
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14009bbcd
cmp dword [rax + 0x84], 0xe
ja 0x14009bba9
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
jmp 0x14009bbcd
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xb0], ebx
jmp 0x14009bbcd
xor ebx, ebx
mov dword [rsp + 0xb0], ebx
lea rdi, [0x140000000]
mov ecx, 1
call fcn.1400a61a4
test eax, eax
jne 0x14009bbfd
cmp dword [0x140124428], 1
jne 0x14009bbe9
call fcn.1400a6160
mov ecx, 0x1c
call fcn.1400a5f38
mov ecx, 0xff
call fcn.14009a280
call fcn.1400a01c0
test eax, eax
jne 0x14009bc28
cmp dword [0x140124428], 1
jne 0x14009bc14
call fcn.1400a6160
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1400a5f38
mov ecx, 0xff
call fcn.14009a280
call fcn.1400a6b34
nop
call fcn.1400a90a4
test eax, eax
jns 0x14009bc41
mov ecx, 0x1b
call fcn.14009a214
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x140126008], rax
call fcn.1400a8ef0
mov qword [0x140124418], rax
call fcn.1400a8df8
test eax, eax
jns 0x14009bc6d
mov ecx, 8
call fcn.14009a214
call fcn.1400a8af8
test eax, eax
jns 0x14009bc80
mov ecx, 9
call fcn.14009a214
mov ecx, 1
call fcn.14009a320
test eax, eax
je 0x14009bc95
mov ecx, eax
call fcn.14009a214
call fcn.1400a8a7c
test byte [rsp + 0x6c], 1
movzx edx, word [rsp + 0x70]
mov r9d, 0xa
cmovne r9d, edx
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400b2e60
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x14009bccc
mov ecx, eax
call fcn.14009a55c
call fcn.14009a574
jmp 0x14009bced
mov eax, edi
jmp 0x14009bcf6
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.140061048
add rsp, 0x28
jmp 0x14009bb34

Function at 0x1400aa5f8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
test rcx, rcx
jne 0x1400aa632
call fcn.14009d8ec
and dword [rax], 0
call fcn.14009d8cc
and qword [rsp + 0x20], 0
mov ebx, SafeArrayGetElement
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov dword [rax], ebx
call fcn.140098594
mov eax, ebx
jmp 0x1400aa682
test edx, 0xfffffff9
jne 0x1400aa605
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1400aa65b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14009d90c
call fcn.14009d8cc
mov eax, dword [rax]
jmp 0x1400aa682
test al, 0x10
jne 0x1400aa680
test al, 1
je 0x1400aa680
test bl, 2
je 0x1400aa680
call fcn.14009d8ec
mov dword [rax], 5
call fcn.14009d8cc
mov dword [rax], SafeArrayGetUBound
jmp 0x1400aa652
xor eax, eax
add rsp, 0x30
pop rbx
ret
Function at 0x1400ae574
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14009fe98
xor ebx, ebx
mov rdi, rax
cmp qword [0x140124d00], rbx
jne 0x1400ae67a
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x1400ae74f
lea rdx, [0x1400e4020]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400ae74f
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400e4010]
mov rcx, rsi
mov qword [0x140124d00], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x1400e3ff8]
mov rcx, rsi
mov qword [0x140124d08], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140124d10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140124d20], rax
test rax, rax
je 0x1400ae671
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140124d18], rax
jmp 0x1400ae681
mov rax, qword [0x140124d18]
jmp 0x1400ae688
mov rax, qword [0x140124d18]
mov r11, qword [0x140124d20]
cmp rax, rdi
je 0x1400ae6f0
cmp r11, rdi
je 0x1400ae6f0
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140124d20]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400ae6f0
test rax, rax
je 0x1400ae6f0
call rsi
test rax, rax
je 0x1400ae6ea
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400ae6ea
test byte [rsp + 0x38], 1
jne 0x1400ae6f0
bts ebp, 0x15
jmp 0x1400ae72e
mov rcx, qword [0x140124d08]
cmp rcx, rdi
je 0x1400ae72e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ae72e
call rax
mov rbx, rax
test rax, rax
je 0x1400ae72e
mov rcx, qword [0x140124d10]
cmp rcx, rdi
je 0x1400ae72e
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ae72e
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140124d00]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x1400ae74f
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x1400ae751
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140001b30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rdx
mov rsi, rdx
sub rdi, rcx
mov rbx, rcx
sar rdi, 1
cmp rdi, 2
jl 0x140001c46
call fcn.1400b5180
and eax, 0xffffffdf
sub eax, 0x3a0041
cmp eax, 0x1a
jae 0x140001b7e
lea rax, [rbx + 4]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, word [rbx]
cmp ax, 0x5c
je 0x140001b91
cmp ax, 0x2f
jne 0x140001c46
cmp rdi, 4
jl 0x140001bfd
movzx eax, word [rbx + 6]
cmp ax, 0x5c
je 0x140001ba7
cmp ax, 0x2f
jne 0x140001c03
cmp rdi, 4
je 0x140001bbd
movzx eax, word [rbx + 8]
cmp ax, 0x5c
je 0x140001c03
cmp ax, 0x2f
je 0x140001c03
movzx eax, word [rbx + 2]
cmp ax, 0x5c
je 0x140001bcd
cmp ax, 0x2f
jne 0x140001bdd
movzx ecx, word [rbx + 4]
cmp cx, 0x3f
je 0x140001be9
cmp cx, 0x2e
je 0x140001be9
cmp ax, 0x3f
jne 0x140001c03
cmp word [rbx + 4], ax
jne 0x140001c03
lea rax, [rbx + 6]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp rdi, 3
jl 0x140001c46
movzx eax, word [rbx + 2]
cmp ax, 0x5c
je 0x140001c13
cmp ax, 0x2f
jne 0x140001c46
movzx eax, word [rbx + 4]
cmp ax, 0x5c
je 0x140001c46
cmp ax, 0x2f
je 0x140001c46
movzx r8d, byte [0x1400bedf0]
lea rcx, [rbx + 6]
mov rdx, rsi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x1400b51c0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x1400c4040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
jmp 0x1400b521a
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
je 0x1400b5243
mov rax, qword [rsp + 0x38]
movzx edx, word [rax]
lea rcx, [rsp + 0x70]
call fcn.140001b10
movzx eax, al
test eax, eax
je 0x1400b5241
jmp 0x1400b5243
jmp 0x1400b520c
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400bb630
add rsp, 0x58
ret
Function at 0x140003210
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rbp, rdx
mov r15, rcx
mov r8, qword [rax + 0x18]
mov rax, qword [r8 + 0x10]
mov rsi, qword [rax]
mov r11, rsi
mov r9, qword [r11 + 0x30]
xor r14d, r14d
movsxd rax, dword [r9 + 0x3c]
mov ebx, dword [rax + r9 + 0x88]
add rbx, r9
cmp rbx, r9
je 0x1400032b8
mov r8d, dword [rbx + 0x18]
test r8d, r8d
je 0x1400032b8
mov edi, dword [rbx + 0x20]
nop dword [rax]
dec r8d
mov edx, 0xd7762084
lea rax, [rdi + r8*4]
mov ecx, dword [rax + r9]
add rcx, r9
movzx eax, byte [rcx]
inc rcx
test al, al
je 0x1400032b3
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
imul edx, eax, 0x1000193
movzx eax, byte [rcx - 1]
test al, al
jne 0x140003290
cmp edx, 0x3dd5a1a6
je 0x14000338b
test r8d, r8d
jne 0x140003270
mov rax, qword [r11]
mov r11, rax
cmp rax, rsi
je 0x1400032cd
cmp qword [rax + 0x30], r14
jne 0x140003245
mov rcx, r14
mov rdx, rbp
call fcn.1400b5ca0
mov rcx, qword gs:[0x60]
mov rbp, rax
mov rdx, qword [rcx + 0x18]
mov rcx, qword [rdx + 0x10]
mov rsi, qword [rcx]
mov rbx, rsi
nop dword [rax]
nop word [rax + rax]
mov r9, qword [rbx + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r11d, dword [rcx + r9 + 0x88]
add r11, r9
cmp r11, r9
je 0x140003374
mov r8d, dword [r11 + 0x18]
test r8d, r8d
je 0x140003374
mov edi, dword [r11 + 0x20]
nop word [rax + rax]
dec r8d
mov edx, 0xdc7866fa
lea rax, [rdi + r8*4]
mov eax, dword [rax + r9]
add rax, r9
movzx ecx, byte [rax]
inc rax
test cl, cl
je 0x14000336f
nop dword [rax]
movsx ecx, cl
lea rax, [rax + 1]
xor ecx, edx
imul edx, ecx, 0x1000193
movzx ecx, byte [rax - 1]
test cl, cl
jne 0x140003350
cmp edx, 0xbcbba712
je 0x1400033a7
test r8d, r8d
jne 0x140003330
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
je 0x1400033c1
cmp qword [rax + 0x30], r14
jne 0x140003300
jmp 0x1400033c1
mov ecx, dword [rbx + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r9
mov ecx, dword [rcx + rdx*4]
add rcx, r9
jmp 0x1400032d0
mov ecx, dword [r11 + 0x24]
add rcx, r9
movzx edx, word [rcx + r8*2]
mov ecx, dword [r11 + 0x1c]
add rcx, r9
mov r14d, dword [rcx + rdx*4]
add r14, r9
mov r8, r15
mov rdx, rbp
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp 0x1400b5cd0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x28]
add rsp, 0x38
ret
Function at 0x140018050
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rdx
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c9780], eax
jle 0x1400181f5
lea rcx, [0x1400c9780]
call fcn.1400bb6bc
cmp dword [0x1400c9780], 0xffffffff
jne 0x1400181f5
xor eax, eax
xor ecx, ecx
cmp dword [0x1400c4098], 2
mov qword [0x1400c9a50], rax
mov dword [0x1400c9a58], eax
mov word [0x1400c9a5c], ax
mov byte [0x1400c9a5e], al
jl 0x1400181a0
movdqa xmm2, xmmword [0x1400bee80]
mov ecx, 8
movdqa xmm4, xmmword [0x1400beef0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400beeb0]
psubd xmm2, xmm0
movd xmm0, dword [str.cx22wxc2wxcwxc]
andps xmm2, xmmword [0x1400beec0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
xorps xmm2, xmm0
movd dword [0x1400c9a50], xmm2
movdqa xmm2, xmmword [0x1400bee90]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400beeb0]
psubd xmm2, xmm0
movd xmm0, dword [0x1400be90c]
andps xmm2, xmmword [0x1400beec0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
xorps xmm2, xmm0
movd dword [0x1400c9a54], xmm2
movsxd r8, ecx
lea r9, [0x140000000]
nop word [rax + rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
xor al, byte [r8 + r9 + 0xbe907]
mov byte [r8 + r9 + 0xc9a4f], al
cmp ecx, 0xf
jl 0x1400181b0
lea rcx, [0x1400c9780]
call fcn.1400bb650
mov eax, dword [0x1400c9a58]
movsd xmm0, qword [0x1400c9a50]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
movzx eax, word [0x1400c9a5c]
mov word [rbx + 0xc], ax
movzx eax, byte [0x1400c9a5e]
mov byte [rbx + 0xe], al
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1400182d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rbx, rdx
mov edx, 4
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400c4d4c], eax
jle 0x140018475
lea rcx, [0x1400c4d4c]
call fcn.1400bb6bc
cmp dword [0x1400c4d4c], 0xffffffff
jne 0x140018475
xor eax, eax
xor ecx, ecx
cmp dword [0x1400c4098], 2
mov qword [0x1400c6908], rax
mov dword [0x1400c6910], eax
mov word [0x1400c6914], ax
jl 0x140018422
movdqa xmm2, xmmword [0x1400bee80]
mov ecx, 8
movdqa xmm4, xmmword [0x1400beee0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400beea0]
psubd xmm2, xmm0
movd xmm0, dword [str.EncodePointer]
andps xmm2, xmmword [0x1400beec0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400beed0]
xorps xmm2, xmm0
movd dword [0x1400c6908], xmm2
movdqa xmm2, xmmword [0x1400bee90]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400beea0]
psubd xmm2, xmm0
movd xmm0, dword [0x1400be92c]
andps xmm2, xmmword [0x1400beec0]
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400beed0]
xorps xmm2, xmm0
movd dword [0x1400c690c], xmm2
movsxd r8, ecx
lea r9, [0x140000000]
nop dword [rax]
mov eax, 0x4ec4ec4f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x34
movzx eax, cl
inc ecx
sub al, dl
add al, 0x38
xor al, byte [r8 + r9 + 0xbe927]
mov byte [r8 + r9 + 0xc6907], al
cmp ecx, 0xe
jl 0x140018430
lea rcx, [0x1400c4d4c]
call fcn.1400bb650
mov eax, dword [0x1400c6910]
movsd xmm0, qword [0x1400c6908]
movsd qword [rbx], xmm0
mov dword [rbx + 8], eax
movzx eax, word [0x1400c6914]
mov word [rbx + 0xc], ax
mov rax, rbx
add rsp, 0x20
pop rbx
ret