joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400144d0
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x40
call fcn.1400142e0
call fcn.14000f810
xor ecx, ecx
call fcn.140014790
test eax, eax
jne 0x1400144e0
mov rbx, qword [0x1400453f0]
test rbx, rbx
je 0x1400145c0
cmp dword [0x1400453f8], eax
je 0x1400145c0
cmp dword [0x140045c50], 0
mov eax, dword [0x1400453e4]
mov dword [rsp + 0x20], 0x23
lea eax, [rax*4]
mov dword [rsp + 0x24], eax
je 0x14001458b
mov rcx, qword [0x14004a900]
movsxd r8, eax
mov rdx, rbx
call sub.msvcrt.dll_memcpy
xor r9d, r9d
cmp dword [0x1400453e4], r9d
jle 0x140014584
xor r8d, r8d
nop word [rax + rax]
mov rdx, qword [0x14004a900]
inc r9d
add rdx, r8
add r8, 4
movzx ecx, byte [rdx]
movzx eax, byte [rdx + 3]
mov byte [rdx], al
movzx eax, byte [rdx + 2]
mov byte [rdx + 3], cl
movzx ecx, byte [rdx + 1]
mov byte [rdx + 1], al
mov byte [rdx + 2], cl
cmp r9d, dword [0x1400453e4]
jl 0x140014550
mov rbx, qword [0x14004a900]
call fcn.140025870
lea rcx, [0x14005adc0]
mov dword [rsp + 0x30], eax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140045c78]
lea rcx, [rsp + 0x20]
mov rdx, rbx
call qword [rax + 0x18]
lea rcx, [0x14005adc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x20], 1
call fcn.140025870
lea rcx, [0x14005adc0]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x24], 0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140045c78]
lea rcx, [rsp + 0x20]
xor edx, edx
call qword [rax + 0x18]
lea rcx, [0x14005adc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rax, qword [0x140045c78]
call qword [rax + 0x28]
lea rcx, [0x14004a0e0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14005adc0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [0x14004a960]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [0x140045c68]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140045c68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140045c70]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140045c70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x14004a0e0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14005adc0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14004a960]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [0x14004a0e0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x14005adc0]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
lea rcx, [0x14004a960]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
add rsp, 0x40
pop rbx
ret
Function at 0x140017170
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
lea rdx, [0x140045c80]
nop dword [rax]
mov eax, ecx
shr eax, 1
test cl, 1
je 0x14001718e
xor eax, 0xedb88320
test al, 1
je 0x14001719b
shr eax, 1
xor eax, 0xedb88320
jmp 0x14001719d
shr eax, 1
test al, 1
je 0x1400171aa
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171ac
shr eax, 1
test al, 1
je 0x1400171b9
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171bb
shr eax, 1
test al, 1
je 0x1400171c8
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171ca
shr eax, 1
test al, 1
je 0x1400171d7
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171d9
shr eax, 1
test al, 1
je 0x1400171e6
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171e8
shr eax, 1
test al, 1
je 0x1400171f5
shr eax, 1
xor eax, 0xedb88320
jmp 0x1400171f7
shr eax, 1
inc ecx
mov dword [rdx], eax
add rdx, 4
cmp ecx, 0x100
jl 0x140017180
ret

Function at 0x140018a60
Capabilities:
Get file size
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x110
mov rsi, rdx
lea rdx, [rsp + 0x40]
mov rbp, r8
mov rdi, rcx
xor ebx, ebx
call fcn.140019290
test eax, eax
je 0x140018b59
lea rdx, [rsp + 0x40]
mov rcx, rsi
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140018b59
lea rdx, [rsp + 0xa4]
mov rcx, rbp
call sub.msvcrt.dll__stricmp
test eax, eax
jne 0x140018b59
mov qword [rsp + 0x30], rbx
lea r8d, [rbx + 1]
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140018b59
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140018b50
test eax, eax
jle 0x140018b50
lea ecx, [rdi + 1]
movsxd rcx, ecx
call sub.msvcrt.dll_malloc
mov rsi, rax
test rax, rax
je 0x140018b50
lea r9, [rsp + 0x138]
mov r8d, edi
mov rdx, rax
mov rcx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140018b50
cmp dword [rsp + 0x138], edi
jne 0x140018b50
mov rcx, rsi
mov byte [rdi + rsi], bl
call fcn.140018f70
mov ebx, eax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x110]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400195b0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x270
lea r9, [rsp + 0x20]
xor edi, edi
mov rbp, r8
sub r9, rcx
nop dword [rax]
movzx eax, byte [rcx]
lea rcx, [rcx + 1]
mov byte [r9 + rcx - 1], al
test al, al
jne 0x1400195e0
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140019600
movzx eax, word [0x140036284]
mov word [rcx], ax
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], dil
jne 0x140019620
lea rbx, [rsp + 0x20]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x20]
add rbx, rax
mov eax, 0x2a
mov word [rbx], ax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140019732
lea rax, [rsp + 0x15c]
sub rbx, rax
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x15c]
nop dword [rax + rax]
movzx ecx, byte [rax]
lea rax, [rax + 1]
mov byte [rbx + rax - 1], cl
test cl, cl
jne 0x140019680
test byte [rsp + 0x130], 0x10
je 0x1400196f0
movzx edx, byte [rsp + 0x15c]
movzx ecx, byte [rsp + 0x15d]
cmp dl, byte [0x140036288]
jne 0x1400196c9
cmp cl, byte [0x140036289]
jne 0x1400196c9
movzx eax, byte [rsp + 0x15e]
cmp al, byte [0x14003628a]
je 0x140019709
cmp dl, byte [0x140035e74]
jne 0x1400196d9
cmp cl, byte [0x140035e75]
je 0x140019709
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.1400195b0
jmp 0x140019705
mov rdx, qword [rsp + 0x288]
lea rcx, [rsp + 0x20]
mov r8, rbp
call fcn.140018a60
test eax, eax
jne 0x140019724
lea rdx, [rsp + 0x130]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140019670
jmp 0x140019729
mov edi, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x270]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14001f7d0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.PureBasic_Console_Debugger__press_CtrlC_to_stop_program_
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov eax, 0x1f4
mov ecx, 0xfffffff5
mov word [rsp + 0x22], ax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140036250]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x1400460c0], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140038d20]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x1400460c8], rax
call sub.msvcrt.dll_setvbuf
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 0x4000
mov rcx, rax
call sub.msvcrt.dll__open_osfhandle
lea rdx, [0x140038d20]
mov ecx, eax
call sub.msvcrt.dll__fdopen
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 4]
mov rcx, rax
mov qword [0x1400460d0], rax
call sub.msvcrt.dll_setvbuf
mov rax, qword [0x1400460c8]
mov qword [0x14005a3c0], rax
call fcn.14001b960
add rsp, 0x48
ret
Function at 0x1400278e0
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xc0
mov edi, 1
lea rcx, [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov r9d, edi
mov dword [rsp + 0x20], 0xf0000040
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor ebx, ebx
test eax, eax
je 0x140027945
mov rcx, qword [rsp + 0xd0]
lea r8, [rsp + 0x30]
lea edx, [rdi + 0x1f]
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
mov rcx, qword [rsp + 0xd0]
test eax, eax
cmovne edi, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test edi, edi
je 0x1400279b1
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsp + 0x30], eax
call fcn.140025870
mov rcx, rbx
movups xmm0, xmmword [0x140043c10]
mov dword [rsp + 0x34], eax
mov eax, dword [0x1400495e8]
movups xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + rcx + 0x30]
add rcx, 6
xor byte [rsp + rcx + 0x2b], al
movzx eax, byte [rsp + rcx + 0x2b]
xor byte [rsp + rcx + 0x2c], al
movzx eax, byte [rsp + rcx + 0x2c]
xor byte [rsp + rcx + 0x2d], al
movzx eax, byte [rsp + rcx + 0x2d]
xor byte [rsp + rcx + 0x2e], al
movzx eax, byte [rsp + rcx + 0x2e]
xor byte [rsp + rcx + 0x2f], al
movzx eax, byte [rsp + rcx + 0x2f]
xor byte [rsp + rcx + 0x30], al
cmp rcx, 0x1e
jl 0x140027971
lea rcx, [rsp + 0x60]
call fcn.14002bf34
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
mov r8d, 0x20
call fcn.14002c7c4
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.14002be58
lea rdx, [0x140000000]
nop word [rax + rax]
movzx ecx, byte [rsp + rbx + 0x50]
inc rbx
mov eax, ecx
and ecx, 0xf
shr rax, 4
movzx eax, byte [rax + rdx + 0x3bd78]
mov byte [rdx + rbx*2 + 0x49826], al
movzx eax, byte [rcx + rdx + 0x3bd78]
mov byte [rdx + rbx*2 + 0x49827], al
cmp rbx, 0x10
jl 0x1400279f0
lea r8, [0x1400498b8]
lea rdx, [rsp + 0x30]
lea rcx, [0x140049640]
mov r9d, 0x20
call fcn.14002e220
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400285a0
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
mov rbp, rcx
test edx, edx
jle 0x1400285fb
nop
mov rcx, qword [0x140049608]
mov r8d, edi
movsxd rdx, ebx
sub r8d, ebx
add rdx, rbp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_send]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400285f5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
add eax, 0xffffd8bb
test eax, 0xfffffffa
je 0x140028615
add ebx, esi
cmp ebx, edi
jl 0x1400285c0
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
xor eax, eax
jmp 0x140028600
Function at 0x14002d530
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14002d760
xor r10d, r10d
lea edx, [rax*4]
mov r11d, eax
movsxd r9, edx
test edx, edx
jle 0x14002d5a9
lea r8, [rbx + 8]
lea rcx, [rbx + 8]
lea r8, [r8 + r9*4]
nop
mov eax, dword [r8 - 8]
mov edx, dword [rcx - 8]
add r10, 4
mov dword [rcx - 8], eax
mov eax, dword [r8 - 4]
mov dword [r8 - 8], edx
mov edx, dword [rcx - 4]
mov dword [rcx - 4], eax
mov eax, dword [r8]
mov dword [r8 - 4], edx
mov edx, dword [rcx]
mov dword [rcx], eax
mov eax, dword [r8 + 4]
mov dword [r8], edx
mov edx, dword [rcx + 4]
mov dword [rcx + 4], eax
sub r9, 4
mov dword [r8 + 4], edx
lea r8, [r8 - 0x10]
lea rcx, [rcx + 0x10]
cmp r10, r9
jl 0x14002d560
cmp r11d, 1
jle 0x14002d74d
mov qword [rsp + 0x30], rdi
add rbx, 2
lea r10d, [r11 - 1]
lea rdi, [0x140000000]
nop word [rax + rax]
mov r8d, dword [rbx + 0xe]
lea rbx, [rbx + 0x10]
mov eax, r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx - 1]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
mov r9d, dword [rdi + rdx*4 + 0x3d920]
movzx eax, r8b
xor r9d, dword [rdi + rcx*4 + 0x3e120]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx]
xor r9d, dword [rdi + rcx*4 + 0x3e520]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx + 3]
movzx edx, byte [rdi + rax*4 + 0x3d520]
xor r9d, dword [rdi + rcx*4 + 0x3dd20]
movzx eax, byte [rbx + 4]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
mov r8d, dword [rdi + rdx*4 + 0x3e120]
mov dword [rbx - 2], r9d
xor r8d, dword [rdi + rcx*4 + 0x3dd20]
mov r9d, dword [rbx + 2]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, r9b
mov r9d, dword [rbx + 6]
xor r8d, dword [rdi + rcx*4 + 0x3d920]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx + 7]
xor r8d, dword [rdi + rcx*4 + 0x3e520]
movzx edx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx + 8]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
mov dword [rbx + 2], r8d
mov r8d, dword [rdi + rdx*4 + 0x3e120]
xor r8d, dword [rdi + rcx*4 + 0x3dd20]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, r9b
mov r9d, dword [rbx + 0xa]
xor r8d, dword [rdi + rcx*4 + 0x3d920]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x3e520]
movzx edx, byte [rdi + rax*4 + 0x3d520]
movzx eax, byte [rbx + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
mov dword [rbx + 6], r8d
mov r8d, dword [rdi + rdx*4 + 0x3e120]
xor r8d, dword [rdi + rcx*4 + 0x3dd20]
mov eax, r9d
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x3d520]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x3d920]
movzx ecx, byte [rdi + rax*4 + 0x3d520]
xor r8d, dword [rdi + rcx*4 + 0x3e520]
mov dword [rbx + 0xa], r8d
dec r10
jne 0x14002d5d0
mov rdi, qword [rsp + 0x30]
mov eax, r11d
add rsp, 0x20
pop rbx
ret
Function at 0x14002dc70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rdi, rdx
mov rax, r9
mov r12, r9
cqo
mov rbx, r8
mov r13, rcx
and edx, 0xf
add rax, rdx
mov rbp, rax
and eax, 0xf
sub rax, rdx
sar rbp, 4
mov rsi, rax
test rax, rax
je 0x14002dcbb
test rbp, rbp
jne 0x14002dcb8
xor eax, eax
jmp 0x14002de99
dec rbp
mov qword [rsp + 0x80], r14
mov r14, qword [rsp + 0xa0]
movups xmm0, xmmword [r14]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
test rbp, rbp
je 0x14002dd42
mov qword [rsp + 0x88], r15
nop dword [rax]
nop dword [rax + rax]
mov edx, dword [r13 + 4]
lea rcx, [r13 + 0xf8]
mov r9, rbx
mov r8, rdi
call fcn.14002c900
mov eax, dword [rsp + 0x20]
add rdi, 0x10
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
add rbx, 0x10
xor dword [rbx - 0xc], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx - 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx - 4], eax
movups xmm0, xmmword [rdi - 0x10]
movups xmm1, xmm0
movups xmmword [rsp + 0x20], xmm0
dec rbp
jne 0x14002dcf0
mov r15, qword [rsp + 0x88]
test rsi, rsi
je 0x14002de8a
movups xmm0, xmmword [rdi]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rcx, [r13 + 0xf8]
movups xmmword [r14], xmm0
mov edx, dword [r13 + 4]
movups xmmword [rsp + 0x40], xmm0
call fcn.14002c900
xor r9d, r9d
test rsi, rsi
je 0x14002de55
cmp rsi, 0x10
jb 0x14002de19
lea r10, [rsi + 0xf]
lea rdx, [rsi + 0xf]
lea r8, [rbx + 0x10]
add r10, rdi
add rdx, rbx
lea rcx, [rdi + 0x10]
cmp r8, r10
ja 0x14002dda7
cmp rdx, rcx
jae 0x14002de19
lea rax, [rsp + rsi + 0x2f]
cmp r8, rax
ja 0x14002ddbb
lea r8, [rsp + 0x30]
cmp rdx, r8
jae 0x14002de19
lea rdx, [rsp + 0x30]
cmp rdx, r10
ja 0x14002ddca
cmp rax, rcx
jae 0x14002de19
mov rax, rsi
mov rdx, rsi
lea r8, [rsp + 0x30]
and eax, 0xf
sub r8, rdi
sub rdx, rax
mov rax, rbx
sub rax, rdi
nop dword [rax]
nop dword [rax + rax]
movdqu xmm1, xmmword [rcx]
movdqu xmm0, xmmword [r8 + rcx - 0x10]
add r9, 0x10
lea rcx, [rcx + 0x10]
pxor xmm0, xmm1
movdqu xmmword [rax + rcx - 0x10], xmm0
movdqu xmmword [r8 + rcx - 0x20], xmm1
cmp r9, rdx
jb 0x14002ddf0
cmp r9, rsi
jae 0x14002de55
lea rax, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov r10, rbx
sub rdi, rax
sub r10, rcx
lea r8, [rsp + 0x30]
add r8, r9
inc r9
movzx eax, byte [r8 + rdi + 0x10]
movzx edx, al
xor dl, byte [r8]
mov byte [r8], al
mov byte [r8 + r10 + 0x10], dl
cmp r9, rsi
jb 0x14002de31
mov edx, dword [r13 + 4]
lea r8, [rsp + 0x30]
lea rcx, [r13 + 0xf8]
mov r9, rbx
call fcn.14002c900
mov eax, dword [rsp + 0x20]
xor dword [rbx], eax
mov eax, dword [rsp + 0x24]
xor dword [rbx + 4], eax
mov eax, dword [rsp + 0x28]
xor dword [rbx + 8], eax
mov eax, dword [rsp + 0x2c]
xor dword [rbx + 0xc], eax
jmp 0x14002de8e
movups xmmword [r14], xmm1
mov r14, qword [rsp + 0x80]
mov rax, r12
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400010ac
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
lea rdx, [0x14015910a]
call fcn.14000278a
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.14000278a
mov rcx, rsi
call fcn.14000286c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x20
pop rsi
ret

Function at 0x1400011b8
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov r14, rcx
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.14000261e
mov rcx, rsi
mov rdx, r14
call fcn.1400026a6
mov rcx, rsi
call fcn.14000286c
mov rbx, rax
mov rcx, rsi
call fcn.140002860
cmp rax, 3
jb 0x14000123c
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x14000122c
cmp word [rbx + 4], 0x5c
jne 0x14000123c
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x14000123c
jmp 0x1400012f9
cmp word [rbx], 0x5c
jne 0x14000123c
cmp ax, 0x5c
je 0x1400012f9
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140158e70]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400025b0
xor ecx, ecx
mov rdx, rbx
call fcn.1400010ec
test eax, eax
js 0x140001338
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140002860
mov rdi, rax
mov rcx, rbx
call fcn.14000286c
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1400026d8
mov rcx, rbx
call fcn.14000286c
mov rcx, rax
mov dx, 0x5c
call fcn.14011cb00
test rax, rax
je 0x140001349
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.14000286c
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.14000286c
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1400026d8
mov rcx, rsi
mov rdx, r14
call fcn.14000278a
mov rcx, rdi
call fcn.1400025c2
mov rcx, rsi
call fcn.1400010ac
xor ebx, ebx
test al, al
jne 0x140001358
lea rcx, str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
mov rdi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rdi
mov rcx, rsi
call fcn.14000286c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140159170]
call rdi
mov ebx, 0x80070002
jmp 0x140001358
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000134e
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1400025c2
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14011a150
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400022b5
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x260
mov r15, r9
mov r14, r8
mov ebx, edx
mov rsi, rcx
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14011cde0
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, bl
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebx, ebx
mov rdx, rsi
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000235a
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.14011a150
mov eax, ebx
add rsp, 0x260
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea rdx, str.EBWebView
xor ebx, ebx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x140002339
cmp dword [rsp + 0x3c], 3
jb 0x140002339
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400026a6
mov rcx, r15
call fcn.14000286c
mov rcx, rax
mov dx, 0x5c
call fcn.14011cb00
test rax, rax
je 0x140002407
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x140158e70]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.14000213d
test al, al
je 0x140002407
test r14, r14
je 0x1400023f3
mov rcx, r14
mov rdx, rdi
call fcn.1400026a6
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.14000240e
mov ebx, eax
jmp 0x140002339
xor ebx, ebx
jmp 0x140002339

Function at 0x14000240e
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x1401594c0]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x140002434
jb 0x140002442
add rax, 4
cmp rax, 0x10
jne 0x140002420
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400010ac
lea rcx, str.Loader_skipped_an_incompatible_version:
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rsi
mov rcx, rdi
call fcn.14000286c
mov rcx, rax
call rsi
lea rcx, [0x140159522]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140002ee4
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
mov r14, r9
mov r15, r8
mov rbx, rdx
mov rdi, rcx
mov rsi, qword [rsp + 0xa0]
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x140002f87
lea rax, [rsp + 0x44]
mov dword [rax], 0
lea rcx, [rsp + 0x40]
mov dword [rcx], 4
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov rcx, rdi
xor edx, edx
mov r8, rbx
mov r9d, 0x10
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002fb0
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x140002fe3
test al, al
je 0x140002fc2
mov rcx, qword [r15]
test rcx, rcx
je 0x140002fdf
xor edx, edx
mov r8d, 0xa
call fcn.14012b734
cmp eax, 1
jmp 0x140002fb5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011a150
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x140002fe3
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x140002fc4
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14011a150
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x140002fb8
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x250
mov r15, r9
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x140183c48]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.14011cde0
lea rax, [rsp + 0x3c]
mov dword [rax], 0x104
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, rsi
xor edx, edx
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x140003074
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400026a6
mov rcx, r15
call fcn.14000286c
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14011a150
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret