joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002f988
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002f9a9
and qword [r8], 0
lea rdx, [0x140083508]
call fcn.14002f8a8
mov rbx, rax
test rax, rax
je 0x14002fa83
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14002fa7a
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 0x14002fa7a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002fa7a
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 0x14002fa7a
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x14002fa7a
mov rcx, rdi
call fcn.140032c78
mov rdi, rax
test rax, rax
je 0x14002fa7a
mov r9, rbx
mov r8, rsi
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, rsi
je 0x14002fa67
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1400b3a50]
test rax, rax
je 0x14002fa5c
dec dword [rax + 0xf0]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14002fa83
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002fa75
mov qword [r14], rsi
mov rax, rdi
jmp 0x14002fa85
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x140032478
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x140077400]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x1400324a7
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x3f50], ebx
jne 0x1400324e1
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140043b24
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400324ec
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x140077400]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x14003255a
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140042854
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5db8], 0
lea rbx, [rcx + 0x5dc0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400428ed
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x1400428a5
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140044b48
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.140030310
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5db8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x1400b3a1e]
movsxd r8, eax
mov rax, qword [rdi + 0x5dc8]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x1400428f5
mov rcx, rbx
call fcn.140030310
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140042f7c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1400b3a50]
mov rbx, rcx
and dword [rax + 0x5d14], 0
test rcx, rcx
je 0x140042fe5
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140042ff0
lea rdx, [0x140083504]
mov rcx, rbx
mov rdi, rax
call fcn.14002f8a8
mov rbx, rax
test rax, rax
je 0x140042fe5
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140057540
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x1400b3a50]
test rax, rax
je 0x14005755b
mov rbx, qword [rax + 0x90]
jmp 0x14005755d
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140057588
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x140066edc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, r8
mov rsi, rdx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [r8 + rcx]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x140066f0b
mov rax, qword [0x1400b54b0]
and rax, r15
add rax, rax
mov rcx, qword [0x1400b5498]
mov rbx, qword [rcx + rax*8 + 8]
mov r14, qword [0x1400b5488]
cmp rbx, r14
jne 0x140066f57
mov rbx, r14
mov rbp, r14
jmp 0x140066f9d
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x140066f69
cmp rbx, rdx
je 0x140066f97
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x140066f60
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov r14, rbx
mov rbp, rbx
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [0x1400b5490], rax
jne 0x140066fbe
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1400b5488]
mov qword [rsp + 0x20], rax
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.14006f5b0
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, qword [r12]
mov qword [rax + 0x10], rcx
mov r8, qword [0x1400b5490]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x140067004
cvtsi2ss xmm0, rcx
jmp 0x140067019
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [0x1400b54b8]
xorps xmm1, xmm1
test rcx, rcx
js 0x14006702f
cvtsi2ss xmm1, rcx
jmp 0x140067044
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [0x1400b5480]
jbe 0x1400670ac
call fcn.14006711c
mov rcx, qword [0x1400b54b0]
and rcx, r15
add rcx, rcx
mov rdx, qword [0x1400b5498]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [0x1400b5488]
cmp rax, rbx
je 0x140067098
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x140067090
mov rbx, rax
cmp rax, r8
je 0x1400670ef
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x140067084
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov rbp, rbx
mov r14, qword [rsp + 0x20]
mov r8, qword [0x1400b5490]
mov rdx, qword [rbx + 8]
inc r8
mov qword [0x1400b5490], r8
mov qword [rdi], r14
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rax, qword [0x1400b54b0]
and rax, r15
add rax, rax
mov rcx, qword [0x1400b5498]
mov r8, qword [rcx + rax*8]
cmp r8, qword [0x1400b5488]
jne 0x1400670f6
mov qword [rcx + rax*8], rdi
jmp 0x140067108
mov qword [rsp + 0x20], rax
jmp 0x14006709d
cmp r8, rbp
jne 0x140067101
mov qword [rcx + rax*8], rdi
jmp 0x14006710d
cmp qword [rcx + rax*8 + 8], rdx
jne 0x14006710d
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x140066f75
Function at 0x14006711c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400b5490]
xorps xmm0, xmm0
add rcx, 1
js 0x14006713d
cvtsi2ss xmm0, rcx
jmp 0x140067152
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x1400b5480]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x140084bac]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140067184
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140067184
movabs rax, 0x8000000000000000
mov rcx, rax
mov rdx, qword [0x1400b54b8]
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdx, rcx
jae 0x1400671b9
cmp rdx, 0x200
jae 0x1400671b6
shl rdx, 3
cmp rdx, rcx
jae 0x1400671b9
mov rdx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x1400671e2
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [0x1400b5488]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1400b5498]
lea rdx, [rdi + rdi]
call fcn.140064a9c
mov rax, qword [0x1400b5488]
lea r9, [rdi - 1]
mov qword [0x1400b54b0], r9
mov qword [0x1400b54b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140067330
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [rax + r8 + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x14006724a
mov rdi, qword [0x1400b5498]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x140067288
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1400672f6
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x1400672cb
mov r10, qword [r10]
cmp r10, rax
je 0x140067281
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x140067281
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x14006730a
cmp qword [rdi + r11*8], r10
jne 0x1400672c1
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x140067330
mov r9, qword [0x1400b54b0]
jmp 0x14006723a
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400672f6
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14006e8a8
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14006e8e2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14006e8e7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14006e930
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140074d40]
cmp byte [rcx + rax], 0
je 0x14006e930
dec r8
sub rdx, 1
jne 0x14006e916
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14006e9c0
mov ebx, eax
test eax, eax
jne 0x14006f124
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14006f187
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006f17e
test al, 0x10
je 0x14006f17e
bt eax, 0xa
jae 0x14006f177
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14006f198
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14006f173
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14006f173
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14006f17e
and dword [rsp + 0x3c], 0
jmp 0x14006f183
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140070344
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007038e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007038e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007038e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007038e
cmp dword [rcx + 0x84], 0xe
jbe 0x14007038e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140070390
xor al, al
add rsp, 0x28
ret

Function at 0x14001196c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [0x140018098]
test rax, rax
je 0x1400119b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400119b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400119b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400119b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400119b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400119b8
xor al, al
add rsp, 0x28
ret

Function at 0x1400160a0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400160c8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400160c8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140775058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1407751df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140775089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x14077506f
add dl, dl
jne 0x140775096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407750f6
xor eax, eax
add dl, dl
jne 0x1407750a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407751ad
add dl, dl
jne 0x1407750b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407750c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407750d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407750dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407750ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x14077507e
mov eax, 1
add dl, dl
jne 0x140775106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140775113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407750fb
sub eax, ebx
mov ebx, 1
jne 0x14077514c
mov ecx, 1
add dl, dl
jne 0x14077512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14077513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140775123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14077507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140775168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140775175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x14077515d
cmp eax, 0x7d00
jae 0x14077519b
cmp eax, 0x500
jb 0x140775196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14077507e
cmp eax, 0x7f
ja 0x14077519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x14077507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407751d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x14077507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14018a7fc
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1402fa290
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1405db5df]
call fcn.140191bdd
nop
mov qword [rbp + 8], 0
jmp 0x1402fa2cf
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1402fa325
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1402fa2c4
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x14018ab85
Capabilities:
Get common file path

Disassembly:
jmp 0x1401cb220
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x1405a8cc0]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x1405db050]
call fcn.140191bdd
nop
lea r9, [rbp + 8]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1405376b0]
call fcn.14018c9b2
test eax, eax
jl 0x1401cb2be
mov rax, qword [rbp + 0x3b0]
lea rdx, [rbp + 8]
mov rcx, rax
call fcn.14019166a
nop
mov rax, qword [rbp + 0x3b0]
mov rdx, qword [rbp + 0x3b8]
mov rcx, rax
call fcn.14018f603
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
mov rax, qword [rbp + 0x3b0]
mov rcx, rax
call fcn.140189adc
movzx eax, al
test eax, eax
je 0x1401cb405
lea rax, [rbp + 0x1a4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx eax, byte [rbp + 0x1a4]
mov byte [rbp + 0x2c4], al
movzx eax, byte [rbp + 0x2c4]
mov byte [rbp + 0x304], al
movzx eax, byte [rbp + 0x304]
mov byte [rbp + 0x344], al
mov rax, qword [rbp + 0x3b0]
add rax, 0x28
mov rdx, rax
lea rcx, [rbp + 0x1c8]
call fcn.14018d105
mov rax, qword [rax]
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov qword [rbp + 0x2e8], rax
mov rax, qword [rbp + 0x2e8]
mov qword [rbp + 0x328], rax
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x218], rax
mov rdi, qword [rbp + 0x218]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rcx, qword [rbp + 0x218]
call fcn.14018907d
mov qword [rbp + 0x358], rax
mov rax, qword [rbp + 0x358]
mov qword [rbp + 0x360], rax
mov rax, qword [rbp + 0x360]
mov qword [rbp + 0x368], rax
lea rax, [rbp + 0x238]
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x3b0]
mov rdx, rax
mov rcx, qword [rbp + 0x268]
call fcn.140191b97
mov qword [rbp + 0x370], rax
mov rax, qword [rbp + 0x370]
mov qword [rbp + 0x378], rax
movzx eax, byte [rbp + 0x344]
mov byte [rsp + 0x20], al
mov r9, qword [rbp + 0x328]
mov r8, qword [rbp + 0x368]
mov rdx, qword [rbp + 0x378]
lea rcx, [rbp + 0x288]
call fcn.1401b8aa0
nop
mov rcx, qword [rbp + 0x3b8]
call fcn.14018a9aa
nop
lea rcx, [rbp - 0x30]
lea rdx, [0x1404c1830]
call fcn.14019033c
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.14018d2e5
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret
Function at 0x1401914ad
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1403a6f90
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1403a68e0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1403a6fd9
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x1405dd020]
jmp 0x1403a6fe8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140191633
Capabilities:
Get graphical window text

Disassembly:
jmp 0x140301580
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x408
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, ILFree
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x428]
mov rax, qword [0x1405a8cc0]
xor rax, rbp
mov qword [rbp + 0x3d8], rax
mov dword [rbp + 0x3c4], 0
lea rcx, [0x1405db609]
call fcn.140191bdd
nop
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140301609
mov rcx, qword [rbp + 0x400]
call fcn.14018fbc1
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
jmp 0x140301644
mov r8d, 0x80
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
nop
lea rdx, [rbp + 0x30]
mov rcx, qword [rbp + 0x400]
call fcn.14018bef9
mov eax, dword [rbp + 0x3c4]
or eax, 1
mov dword [rbp + 0x3c4], eax
mov rax, qword [rbp + 0x400]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1405351e0]
call fcn.14019033c
mov rax, rdi
mov rcx, qword [rbp + 0x3d8]
xor rcx, rbp
call fcn.14018d2e5
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x140191ade
Capabilities:
Create thread

Disassembly:
jmp 0x140436150
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x14043617c
mov dword [rsp + 0x30], 1
jmp 0x140436184
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1404361cd
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x14053a540]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.140189faf
cmp eax, 1
jne 0x1404361cd
int3
cmp dword [rsp + 0x34], 0
jne 0x14043620f
call fcn.14018c20a
mov dword [rax], 0x16
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.14019077e
xor eax, eax
jmp 0x14043630f
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.140435c40
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140435a40
lea rcx, [rsp + 0x40]
call fcn.140435ab0
movzx eax, al
test eax, eax
jne 0x14043625f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x50]
jmp 0x14043630f
lea rcx, [rsp + 0x40]
call fcn.140435df0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x1404357f0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1404362d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14018b8aa
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x58]
jmp 0x14043630f
cmp qword [rsp + 0xa8], 0
je 0x1404362ec
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.140435db0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.140435a90
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret

Function at 0x1401925d8
Capabilities:
Move file

Disassembly:
jmp 0x14030a4e0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r8d, 3
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x14030a50c
xor eax, eax
jmp 0x14030a512
call qword [sym.imp.KERNEL32.dll_GetLastError]
add rsp, 0x28
ret
Function at 0x100401100
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x80]
lea rcx, section..rdata
call sub.msys_intl_8.dll_libintl_gettext
mov rbx, rax
call sub.msys_2.0.dll___errno
mov r8, rbx
mov ecx, 1
mov edx, dword [rax]
call sub.msys_2.0.dll_error
nop
nop word cs:[rax + rax]
nop dword [rax]