joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001d170
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140084010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1400853a0]
mov edi, ecx
cmp byte [rbx + 0x4a9d], 0
jne 0x14001d1d1
cmp byte [rbx + 0x4a9e], 0
jne 0x14001d1d1
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.14000bdb0
test dil, 1
je 0x14001d2ff
jmp 0x14001d259
vmovss xmm1, dword [rbx + 0x389c]
vmovss xmm0, dword [0x140076818]
vfmadd213ss xmm0, xmm1, dword [rbx + 0xe0c]
vmovss xmm2, dword [0x140076838]
vfmadd213ss xmm2, xmm1, dword [rbx + 0xe08]
movsx r9d, word [rbx + 0x5bc2]
lea r8, str.Tooltip__02d
xor eax, eax
mov dword [rbx + 0x47d4], 1
vmovss dword [rbx + 0x47e0], xmm2
vmovss dword [rbx + 0x47e4], xmm0
mov qword [rbx + 0x47e8], rax
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rbx + 0x3904]
vmulss xmm1, xmm0, dword [0x1400766dc]
or dword [rbx + 0x47d0], 0x41
lea edx, [rax + 0x10]
vmovss dword [rbx + 0x4830], xmm1
call fcn.14000bdb0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14001d2b0
lea r11, [0x1400708c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14001d293
cmp byte [r8], r9b
jne 0x14001d293
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14001d280
not ecx
call fcn.140014010
test rax, rax
je 0x14001d2ff
cmp byte [rax + 0xb6], 0
je 0x14001d2ff
mov byte [rax + 0xbb], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xbd], 1
lea rcx, [rsp + 0x20]
mov byte [rax + 0xd8], 1
mov edx, 0x10
inc word [rbx + 0x5bc2]
movsx r9d, word [rbx + 0x5bc2]
call fcn.14000bdb0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.1400167e0
mov al, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140066280
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140023190
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5ca8], 0
lea rbx, [rcx + 0x5cb0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140023237
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1400231ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1400255a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.14000c9d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5ca8]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5cb8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x140085398]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14002323f
mov rcx, rbx
call fcn.14000c9d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400236b0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x1400853a0]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140023713
mov qword [rsp], rbx
lea rbx, [0x1400708c0]
nop dword [rax]
cmp r9b, 0x23
jne 0x1400236f3
cmp byte [r8], r9b
jne 0x1400236f3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1400236e0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x5c20]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140023747
mov r10, qword [r10 + 0x5c28]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14002374e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140023734
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140050b40
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x140050bcc
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x140050ba0
lea r11, [0x1400708c0]
nop
cmp r9b, 0x23
jne 0x140050b83
cmp byte [r8], r9b
jne 0x140050b83
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140050b70
mov rcx, qword [0x1400853a0]
not eax
cmp dword [rcx + 0x3f58], eax
jne 0x140050bb7
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x140050c29
mov byte [rcx + 0x3f8c], 1
add rsp, 0x20
pop rdi
ret
mov rax, qword [0x1400853a0]
xor edx, edx
mov qword [rsp + 0x30], rbx
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax + 0x3ef8]
movsxd rax, dword [rbx + 0xf0]
mov r8, qword [rbx + 0xf8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000bf50
mov rcx, qword [rbx]
mov esi, eax
mov rbx, qword [rsp + 0x30]
cmp dword [rcx + 0x3f40], eax
jne 0x140050c22
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140024880
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140063a50
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140063a78
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x140063a9e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140063aa0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140063af9
test ecx, ecx
jle 0x140063ad9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140063af9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140063af9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x140063b20
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140063b42
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x140063b58
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x140063b74
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140063b76
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140063bb2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x140063c4e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140063bed
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x140063c2e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x140063c4e
cmp rbx, rax
ja 0x140063c00
test rbx, rbx
je 0x140063c4e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x140064080
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140084010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1400640ad
xor eax, eax
jmp 0x140064219
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400640e7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1400640e7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140064219
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14006420c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14006412a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140064155
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140064211
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400641c4
sub eax, 1
je 0x1400641c4
cmp eax, 2
jne 0x14006420c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140064211
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1400641f2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14006420c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140064211
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140066280
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140064550
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140084010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140064623
cmp byte [rcx + 0x71], 0
je 0x140064623
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14006461f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400645e4
sub eax, 1
je 0x1400645e8
cmp eax, 2
jne 0x14006461f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140066280
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140064616
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14006461f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400645cc
xor al, al
jmp 0x1400645cc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140066280
add rsp, 0x60
pop rbx
ret

Function at 0x14006607c
Capabilities:
Get geographical location

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

Function at 0x140066f90
Capabilities:
Parse pe header

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

Disassembly:
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov esi, r9d
mov rdi, r8
mov r14d, edx
mov rbx, rcx
mov ecx, edx
sub ecx, 0xe
je 0x1400bba42
sub ecx, 1
je 0x1400bb9e6
sub ecx, 1
je 0x1400bb98f
cmp ecx, 1
je 0x1400bb934
test r9d, r9d
je 0x1400bba97
mov edx, r14d
mov rcx, rdi
call fcn.14008f630
add esi, 0xffffffff
jne 0x1400bb91f
jmp 0x1400bba97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400bd030
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bb98a
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140096a84
mov rax, qword [rbp - 0x20]
mov rcx, rax
shr rcx, 1
and rax, rsi
neg rax
xor rcx, rax
mov qword [rbx], rcx
cmp r14, r15
jne 0x1400bb958
jmp 0x1400bba97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400bd030
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bb9e1
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14008a6ec
mov eax, dword [rbp + 0x28]
mov ecx, eax
shr ecx, 1
and eax, esi
neg eax
xor eax, ecx
cdqe
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bb9b3
jmp 0x1400bba97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400bd030
mov r14, qword [rbx]
mov r15, qword [rbx + 8]
cmp r14, r15
je 0x1400bba40
mov esi, 1
mov rbx, r14
add r14, 8
mov byte [rbp - 8], 0
lea rdx, [rbp + 0x28]
mov rcx, rdi
call fcn.14009eb20
movzx eax, word [rbp + 0x28]
movzx ecx, ax
shr cx, 1
and ax, si
neg ax
xor ax, cx
movsx rax, ax
mov qword [rbx], rax
cmp r14, r15
jne 0x1400bba0a
jmp 0x1400bba97
mov qword [rbp - 0x10], rdi
mov byte [rbp - 8], 0
mov edx, r9d
mov rcx, rbx
call fcn.1400bd030
mov r8, qword [rbx]
mov r10, qword [rbx + 8]
cmp r8, r10
je 0x1400bba97
mov esi, 1
mov r11, r8
add r8, 8
mov byte [rbp - 8], 0
mov eax, dword [rdi + 0x18]
mov r9d, dword [rdi + 0x20]
sub eax, r9d
cmp eax, esi
jb 0x1400bbab0
mov rcx, qword [rdi + 0x10]
movsx rdx, byte [r9 + rcx]
lea eax, [r9 + 1]
mov dword [rdi + 0x20], eax
mov qword [r11], rdx
cmp r8, r10
jne 0x1400bba66
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
mov edx, esi
mov rcx, rdi
call fcn.14006fbcc
int3

Function at 0x1400c90d0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push r14
push r15
sub r12, r12
add r12, 0x60
mov r14, qword gs:[r12]

Function at 0x1400c9390
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c93dc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c93d4
cmp dword [rcx + 0x3c], edx
jl 0x1400c93d4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c93d4
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400c93dc
mov rax, rdx
add rsp, 0x18
ret
Function at 0x1409dfb00
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1409dfc87
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 0x1409dfb31
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409dfb17
add dl, dl
jne 0x1409dfb3e
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409dfb9e
xor eax, eax
add dl, dl
jne 0x1409dfb4d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1409dfc55
add dl, dl
jne 0x1409dfb5e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409dfb6b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409dfb78
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409dfb85
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1409dfb92
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1409dfb26
mov eax, 1
add dl, dl
jne 0x1409dfbae
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1409dfbbb
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409dfba3
sub eax, ebx
mov ebx, 1
jne 0x1409dfbf4
mov ecx, 1
add dl, dl
jne 0x1409dfbd6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409dfbe3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409dfbcb
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409dfb26
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1409dfc10
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1409dfc1d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1409dfc05
cmp eax, 0x7d00
jae 0x1409dfc43
cmp eax, 0x500
jb 0x1409dfc3e
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409dfb26
cmp eax, 0x7f
ja 0x1409dfc46
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1409dfb26
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1409dfc7a
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 0x1409dfb26
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x28a2871000
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x28a288f018]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor r15d, r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r15
mov r14, rdx
mov qword [rsp + 0x50], r15
mov rdi, rcx
mov qword [rsp + 0x48], r15
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r15
mov rcx, r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x28a287119d
mov qword [rsp + 0x1a8], rbp
mov ebp, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x28a2871195
mov qword [rsp + 0x168], rsi
mov qword [rsp + 0x160], r12
lea r12, [r15 - 1]
mov qword [rsp + 0x1a0], rbx
lea rax, [rsp + 0x64]
mov dword [rsp + 0x68], 0x64
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x70]
mov dword [rsp + 0x64], 4
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x80]
lea rax, [rsp + 0x6c]
mov edx, ebp
mov qword [rsp + 0x28], rax
mov rcx, r14
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x28a2871171
cmp dword [rsp + 0x6c], 4
jne 0x28a2871171
mov edx, dword [rdi]
mov eax, r15d
mov esi, dword [rsp + 0x70]
test edx, edx
je 0x28a287111e
mov r8, qword [rdi + 8]
nop dword [rax + rax]
mov ecx, eax
cmp dword [r8 + rcx*4], esi
je 0x28a2871171
inc eax
cmp eax, edx
jb 0x28a2871110
mov eax, dword [rdi + 4]
cmp edx, eax
jne 0x28a2871166
add eax, 0x10
mov ecx, eax
mov dword [rdi + 4], eax
mov eax, 4
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.28a2878448
mov r8d, dword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 8]
mov rbx, rax
shl r8, 2
call fcn.28a2879480
mov rcx, qword [rdi + 8]
mov qword [rdi + 8], rbx
call fcn.28a2878404
mov edx, dword [rdi]
mov rax, qword [rdi + 8]
mov ecx, edx
mov dword [rax + rcx*4], esi
inc dword [rdi]
inc ebp
cmp ebp, dword [rsp + 0x60]
jb 0x28a28710a0
mov r12, qword [rsp + 0x160]
mov rsi, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x1a0]
mov rbp, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.28a28783e0
add rsp, 0x170
pop r15
pop r14
pop rdi
ret
Function at 0x28a28711c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
push r14
push r15
sub rsp, 0x160
mov rax, qword [0x28a288f018]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r15d, r15d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], r15
mov r14, rdx
mov qword [rsp + 0x50], r15
mov rdi, rcx
mov qword [rsp + 0x48], r15
xor r9d, r9d
mov qword [rsp + 0x40], r15
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor edx, edx
mov qword [rsp + 0x30], r15
mov rcx, r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x28a28713d8
mov qword [rsp + 0x198], rbp
mov ecx, 0x20a
mov qword [rsp + 0x158], rsi
call fcn.28a2878448
mov rsi, rax
mov ebp, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x28a28713c0
mov qword [rsp + 0x190], rbx
mov qword [rsp + 0x150], r12
lea r12, [r15 - 1]
nop dword [rax]
lea rax, [rsp + 0x64]
mov dword [rsp + 0x68], 0x64
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x68]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
mov edx, ebp
mov qword [rsp + 0x20], r15
mov rcx, r14
mov dword [rsp + 0x64], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x28a28713a4
cmp dword [rsp + 0x6c], 1
jne 0x28a28713a4
test rsi, rsi
je 0x28a28713a4
mov ebx, r15d
cmp dword [rdi], ebx
jbe 0x28a287131a
nop word [rax + rax]
mov rdx, rsi
mov rax, qword [rdi + 0x10]
mov ecx, ebx
lea rcx, [rax + rcx*8]
mov rcx, qword [rcx]
cmp dword [rdi + 8], r15d
je 0x28a28712fe
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x28a2871304
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
mov ecx, r15d
sete cl
test ecx, ecx
jne 0x28a28713a4
inc ebx
cmp ebx, dword [rdi]
jb 0x28a28712e0
mov eax, dword [rdi + 4]
cmp dword [rdi], eax
jne 0x28a2871360
add eax, 0x10
mov ecx, eax
mov dword [rdi + 4], eax
mov eax, 8
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.28a2878448
mov r8d, dword [rdi]
mov rcx, rax
mov rdx, qword [rdi + 0x10]
mov rbx, rax
shl r8, 3
call fcn.28a2879480
mov rcx, qword [rdi + 0x10]
mov qword [rdi + 0x10], rbx
call fcn.28a2878404
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
mov eax, 2
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.28a2878448
mov edx, dword [rdi]
mov rcx, qword [rdi + 0x10]
mov qword [rcx + rdx*8], rax
mov edx, dword [rdi]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rax + rdx*8]
lea eax, [rdx + 1]
mov rdx, rsi
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
inc ebp
cmp ebp, dword [rsp + 0x60]
jb 0x28a2871270
mov r12, qword [rsp + 0x150]
mov rbx, qword [rsp + 0x190]
mov rcx, rsi
call fcn.28a2878404
mov rsi, qword [rsp + 0x158]
mov rbp, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.28a28783e0
add rsp, 0x160
pop r15
pop r14
pop rdi
ret