joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140040ce0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov ecx, 3
call fcn.14004dfd0
cmp eax, 1
je 0x140040d12
mov ecx, 3
call fcn.14004dfd0
test eax, eax
jne 0x140040dc6
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140040dc6
mov qword [rsp + 0x48], rbx
lea rbx, reloc.OLEAUT32.dll_SysReAllocString
mov qword [rsp + 0x30], rdi
mov rax, rbx
xor edi, edi
cmp dword [rax], 0xfc
je 0x140040d3e
add edi, 1
add rax, 0x10
cmp edi, 0x17
jb 0x140040d28
jmp 0x140040db2
cmp edi, 0x17
jae 0x140040db2
mov ecx, 3
call fcn.14004dfd0
cmp eax, 1
je 0x140040d69
mov ecx, 3
call fcn.14004dfd0
test eax, eax
jne 0x140040db2
cmp dword [reloc.OLEAUT32.dll_SysReAllocString], 1
jne 0x140040db2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x140040db2
cmp rax, 0xffffffffffffffff
je 0x140040db2
movsxd rcx, edi
xor eax, eax
lea r9, [rsp + 0x40]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [rbx + rcx*8 + 8]
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, 0xff
call fcn.140040aa0
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
add rsp, 0x38
ret

Function at 0x140040f30
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x5b0
mov rbp, rcx
mov rcx, qword [0x14007c400]
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
call fcn.140041610
test rax, rax
je 0x140040f84
mov r10, qword [rsp + 0x5e0]
mov r9d, ebx
mov r8, rdi
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r10
call rax
jmp 0x140041019
mov ecx, 2
call fcn.14004e030
lea rcx, [rsp + 0xe0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x98
call fcn.14003d6c0
mov rax, qword [rsp + 0x5b8]
mov dword [rsp + 0x40], 0xc000000d
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x140041005
test ebx, ebx
jne 0x140041005
lea ecx, [rax + 2]
call fcn.14004e030
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc000000d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400410e7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140076bc8]
jne 0x14003bc8a
rol rcx, 0x10
test cx, 0xffff
jne 0x14003bc86
repz ret
ror rcx, 0x10
jmp 0x140041040
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14007c4b0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x14007c5a8]
mov qword [rsp + 0x58], rax
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 0x1400410c5
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, [0x14007c4b0]
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 0x1400410e7
mov rax, qword [rsp + 0x88]
mov qword [0x14007c5a8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14007c548], rax
mov rax, qword [0x14007c5a8]
mov qword [0x14007c420], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14007c530], rax
mov dword [0x14007c410], 0xc0000409
mov dword [0x14007c414], 1
mov rax, qword [0x140076bc8]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140076bd0]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14007c4a8], eax
mov ecx, 1
call fcn.14004e030
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140060240]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14007c4a8], 0
jne 0x14004116e
mov ecx, 1
call fcn.14004e030
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 0x140048fa0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov eax, dword [0x14007cd68]
test eax, eax
jne 0x140048ff3
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140048fd3
mov dword [0x14007cd68], 1
jmp 0x14004900e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x140048fed
mov dword [0x14007cd68], 2
jmp 0x1400490e9
mov eax, dword [0x14007cd68]
cmp eax, 1
jne 0x1400490e0
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test rax, rax
mov rdi, rax
je 0x140049133
cmp word [rdi], 0
mov qword [rsp + 0x50], rbp
mov rbx, rdi
mov qword [rsp + 0x58], r12
je 0x140049035
add rbx, 2
cmp word [rbx], 0
jne 0x140049021
add rbx, 2
cmp word [rbx], 0
jne 0x140049021
xor r12d, r12d
sub rbx, rdi
mov r8, rdi
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
sar rbx, 1
lea r9d, [rbx + 1]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
movsxd rbp, eax
je 0x1400490d3
mov rcx, rbp
call fcn.1400433f0
test rax, rax
mov rsi, rax
je 0x1400490d3
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea r9d, [rbx + 1]
mov r8, rdi
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400490ad
mov rcx, rsi
call fcn.14003b5d0
mov rsi, r12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbp, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1400490b9
cmp eax, 2
je 0x1400490e9
test eax, eax
jne 0x140049133
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
test rax, rax
mov rbx, rax
je 0x140049133
cmp byte [rax], 0
je 0x140049112
nop
add rax, 1
cmp byte [rax], 0
jne 0x140049100
add rax, 1
cmp byte [rax], 0
jne 0x140049100
sub eax, ebx
add eax, 1
movsxd rsi, eax
mov rcx, rsi
call fcn.1400433f0
test rax, rax
mov rdi, rax
jne 0x140049145
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003ec80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rdi
add rsp, 0x40
pop rdi
ret
Function at 0x14004dd70
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x50
mov edi, r8d
mov r13, rdx
mov r14, rcx
call fcn.140041520
xor ebx, ebx
cmp qword [0x14007cea0], rbx
mov rbp, rax
mov dword [rsp + 0x98], ebx
mov dword [rsp + 0x30], ebx
jne 0x14004de9c
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rsi, rax
je 0x14004dfaf
lea rdx, [0x140060e40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14004dfaf
mov rcx, rax
call fcn.140041450
lea rdx, [0x140060e30]
mov rcx, rsi
mov qword [0x14007cea0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140041450
lea rdx, [0x140060e18]
mov rcx, rsi
mov qword [0x14007cea8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140041450
lea rcx, [rsp + 0x98]
mov qword [0x14007ceb0], rax
call fcn.14003e030
test eax, eax
je 0x14004de4f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140040e90
cmp dword [rsp + 0x98], 2
jne 0x14004de9c
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140041450
test rax, rax
mov qword [0x14007cec0], rax
je 0x14004de9c
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call fcn.140041450
mov qword [0x14007ceb8], rax
mov rcx, qword [0x14007ceb8]
mov qword [rsp + 0x80], r12
cmp rcx, rbp
je 0x14004df48
cmp qword [0x14007cec0], rbp
je 0x14004df48
call fcn.140041610
mov rcx, qword [0x14007cec0]
mov rsi, rax
call fcn.140041610
test rsi, rsi
mov r12, rax
je 0x14004df48
test rax, rax
je 0x14004df48
call rsi
test rax, rax
je 0x14004df13
lea rcx, [rsp + 0x34]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14004df13
test byte [rsp + 0x40], 1
jne 0x14004df48
lea rcx, [rsp + 0x30]
call fcn.14003e080
test eax, eax
je 0x14004df35
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call fcn.140040e90
cmp dword [rsp + 0x30], 4
jb 0x14004df42
bts edi, 0x15
jmp 0x14004df86
bts edi, 0x12
jmp 0x14004df86
mov rcx, qword [0x14007cea8]
cmp rcx, rbp
je 0x14004df86
call fcn.140041610
test rax, rax
je 0x14004df86
call rax
test rax, rax
mov rbx, rax
je 0x14004df86
mov rcx, qword [0x14007ceb0]
cmp rcx, rbp
je 0x14004df86
call fcn.140041610
test rax, rax
je 0x14004df86
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14007cea0]
call fcn.140041610
mov r12, qword [rsp + 0x80]
test rax, rax
je 0x14004dfaf
mov r9d, edi
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14004dfb1
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004e560
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x140076bc8]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x14004e5a7
or eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14003bc70
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.14003f780
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14003bc70
add rsp, 0x38
ret
Function at 0x140055638
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x140076bc8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.14003d6c0
and qword [rbx + 0x50], 0
and dword [rbx + 0x58], 0
and dword [rbx + 0x5c], 0
lea rax, [0x140000000]
mov esi, DllRegisterServer
lea rcx, [rsp + 0x20]
mov r8, rsi
xor edx, edx
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rax
mov dword [rbx], 0x60
mov byte [rbx + 0x18], 0
call fcn.14003d6c0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [rsp + 0x30], 2
mov esi, 1
jne 0x1400556cb
cmp dword [rsp + 0x24], 5
jb 0x1400556e5
jmp 0x1400556e1
cmp dword [rsp + 0x30], esi
jne 0x1400556e5
cmp dword [rsp + 0x24], 4
ja 0x1400556e1
jne 0x1400556e5
cmp dword [rsp + 0x28], 0
jbe 0x1400556e5
mov byte [rbx + 0x18], sil
lea rax, [0x140062088]
lea rcx, [rbx + 0x28]
mov dword [rbx + 0x1c], 0x800
mov qword [rbx + 0x20], rax
call fcn.1400554f8
movzx ecx, byte [0x140078500]
test eax, eax
mov rax, rbx
cmovs ecx, esi
mov byte [0x140078500], cl
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14003bc70
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400011b0
Capabilities:
Get memory capacity

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor eax, eax
xor ecx, ecx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
cpuid
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x64], ebx
mov dword [rsp + 0x6c], edx
xor ecx, ecx
mov eax, 1
cpuid
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x64], ebx
xor ecx, ecx
lea edi, [rdx + rax]
mov eax, 3
cpuid
mov dword [rsp + 0x60], eax
xor eax, eax
mov dword [rsp + 0x64], ebx
lea r8d, [rcx + rdx]
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
lea rdx, str._08X
lea rcx, [r11 - 0x28]
add r8d, edi
mov dword [rsp + 0x70], eax
call fcn.140001a00
lea rsi, [rsp + 0x60]
lea rdi, str.178F02CO
mov ecx, 9
repe cmpsb byte [rsi], byte [rdi]
lea rcx, [0x140003348]
je 0x14000125d
lea rcx, [0x140003354]
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xor al, al
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140001a40
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140001e4b
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x140001a5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140001a56
repz ret
ror rcx, 0x10
jmp 0x140001da4
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140194370]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140194468]
mov qword [rsp + 0x58], rax
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 0x140001e29
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, [0x140194370]
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 0x140001e4b
mov rax, qword [rsp + 0x88]
mov qword [0x140194468], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140194408], rax
mov rax, qword [0x140194468]
mov qword [0x1401942e0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1401943f0], rax
mov dword [0x1401942d0], 0xc0000409
mov dword [0x1401942d4], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140005008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140194368], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400032d0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140194368], 0
jne 0x140001ed2
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
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 0x140003d40
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 0x140003d9d
lea rbx, [0x1400d8d10]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140003d84
cmp r10, 2
jb 0x140003d84
cmp byte [r9], r8b
jne 0x140003d84
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 0x140003d60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140003ddf
lea rbx, [0x1400d8d10]
cmp r8b, 0x23
jne 0x140003dc3
cmp byte [r9], r8b
jne 0x140003dc3
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 0x140003db0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140003f20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140003f3a
mov qword [r8], 0
lea rdx, [0x1400d8850]
call fcn.140003df0
mov rbx, rax
test rax, rax
jne 0x140003f5a
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 0x140004033
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140004033
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140004033
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 0x140004033
cmp rdi, 0xffffffffffffffff
je 0x140004033
mov rax, qword [0x14010f120]
test rax, rax
je 0x140003fd0
inc dword [rax + 0xec]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140004033
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 0x140004020
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14010f120]
test rax, rax
je 0x140004015
dec dword [rax + 0xec]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000403c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000402e
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000403e
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 0x140007690
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov r11, rcx
lea rdi, [0x1400d8d10]
movsxd rcx, dword [rcx + 0xf0]
mov r10d, edx
shr r10d, 0x18
mov r8d, edx
shr r8d, 8
mov r9d, edx
mov rax, qword [r11 + 0xf8]
shr r9d, 0x10
mov ebx, dword [rax + rcx*4 - 4]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r8b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, r9b
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
movzx ecx, bl
xor rcx, r10
shr ebx, 8
xor ebx, dword [rdi + rcx*4]
mov rcx, qword [r11]
not ebx
cmp dword [rcx + 0x3f20], ebx
jne 0x140007724
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.14001bbd0
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140007740
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0x110]
lea r10, [0x1400d8d10]
mov rax, qword [rcx + 0xf8]
movss xmm1, dword [rcx + 0x114]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xf0]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
shr r8, 0x18
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx edx, r9b
shr r9d, 8
xor r8, rdx
xor r9d, dword [r10 + r8*4]
not r9d
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000b020
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rdi, qword [0x14010f120]
mov r15d, edx
mov r12d, dword [rsp + 0x90]
movaps xmmword [rsp + 0x30], xmm6
mov rbx, qword [rdi + 0x3ed8]
mov eax, dword [rbx + 0x14]
movss xmm2, dword [rbx + 0x250]
and eax, 4
movss xmm3, dword [rbx + 0x254]
or eax, 0x1000103
or r12d, eax
cmp qword [rbx + 0x1a8], 0
jne 0x14000b086
cmp qword [rdi + 0x4b30], 0
je 0x14000b08e
movss xmm2, dword [rbx + 0x220]
cvttss2si eax, dword [r8]
xor r14d, r14d
subss xmm2, dword [rbx + 0x100]
subss xmm3, dword [rbx + 0x104]
xorps xmm5, xmm5
movd xmm1, eax
cvttss2si eax, dword [r8 + 4]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
ucomiss xmm1, xmm5
cvtdq2ps xmm0, xmm0
jp 0x14000b0c9
mov eax, 1
je 0x14000b0cc
mov eax, r14d
ucomiss xmm0, xmm5
jp 0x14000b0d9
jne 0x14000b0d9
mov r14d, 2
movss xmm4, dword [0x1400df8d8]
or r14d, eax
comiss xmm5, xmm1
jb 0x14000b0f4
addss xmm2, xmm1
movaps xmm1, xmm2
maxss xmm1, xmm4
comiss xmm5, xmm0
jb 0x14000b104
addss xmm3, xmm0
movaps xmm0, xmm3
maxss xmm0, xmm4
or dword [rdi + 0x47b0], 2
xor edx, edx
movss dword [rdi + 0x47d0], xmm1
movss dword [rdi + 0x47d4], xmm0
mov dword [rdi + 0x47b8], 1
mov r9, qword [rbx + 8]
test rcx, rcx
je 0x14000b14d
mov dword [rsp + 0x28], r15d
lea r8, str._s__s__08X
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140003c20
jmp 0x14000b163
lea r8, str._s__08X
mov dword [rsp + 0x20], r15d
lea rcx, [rsp + 0x70]
call fcn.140003c20
mov rcx, qword [rsp + 0x70]
mov r8d, r12d
movss xmm6, dword [rdi + 0x37f8]
xor edx, edx
call fcn.14000dd00
mov rsi, qword [rdi + 0x3ed8]
movzx ebp, al
movss dword [rdi + 0x37f8], xmm6
cmp word [rsi + 0xc2], 1
mov dword [rsi + 0x80], r15d
mov byte [rsi + 0xd2], r14b
jne 0x14000b1b1
movsd xmm0, qword [rsi + 0x20]
movsd qword [rbx + 0x100], xmm0
mov r9d, r15d
lea rdx, [0x1400d7d01]
not r9d
lea r10, [0x1400d8d10]
mov ebx, r9d
mov r8b, reloc.WLDAP32.dll_Ordinal_35
nop dword [rax + rax]
cmp r8b, 0x23
jne 0x14000b1e3
cmp byte [rdx], r8b
jne 0x14000b1e3
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14000b1d0
not ebx
cmp dword [rdi + 0x3f38], ebx
jne 0x14000b213
xor edx, edx
xor ecx, ecx
call fcn.140007930
cmp dword [rdi + 0x48c8], r15d
jne 0x14000b260
bt r12d, 0x17
jb 0x14000b260
cmp word [rsi + 0x15c], 0
jne 0x14000b236
cmp byte [rsi + 0x162], 0
je 0x14000b260
xor edx, edx
mov rcx, rsi
call fcn.140010130
xor edx, edx
mov rcx, rsi
call fcn.1400167e0
mov rdx, rsi
mov ecx, ebx
call fcn.140007930
mov eax, dword [rdi + 0x48ec]
mov dword [rdi + 0x3f60], eax
mov rbx, qword [rsp + 0x78]
movzx eax, bpl
mov rbp, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x30]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret