joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140326b81
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [rsp + 1], bpl
jmp 0x140326c05
xchg qword [rsp + 0x1a], rsi
xchg r15, rax
mov dx, 0xfc72
rdtsc
add edx, 0x3e06225
jmp 0x140326bd5
mov sil, byte [rsp + 0x26]
xchg word [rsp + 2], bx
bswap r12
jmp 0x140326c8b
bsr r9d, r13d
mov r10, qword [rsp + 0x2c]
lea rsi, [rcx + riz - 0x50b8fea0]
mov rbx, qword [rsp + 0x28]
xchg qword [rsp + 0x15], r9
bswap ecx
jmp 0x140326bbe
stc
mov edx, dword [rsp + 4]
push r11w
lea rsi, [rax*4]
push qword [rsp + 0x13]
rdtsc
jmp 0x140326b88
shl r10w, 0xa
cpuid
mov cl, 0xa7
lea rdx, [r13 + riz + 0xb1]
call fcn.140326c22
xchg dword [rsp + 3], r8d
mov r15w, bp
xchg r10b, bpl
push bx
jmp 0x140326cbd
pop qword [rsp + 0x14]
mov di, 0x89a
mov dword [rsp + 0x16], r8d
xchg qword [rsp + 7], rsi
rdtsc
pop word [rsp + 0x18]
jmp 0x140326c38
mov r8w, ax
mov byte [rsp], cl
mov edi, 0x9be5513d
mov ebp, dword [rsp + 1]
jmp 0x140326e19
push qword [rsp + 0x10]
mov r8, rbx
pop qword [rsp + 0x22]
add rsp, 0x27
mov byte [rsp], al
cpuid
jmp 0x140326ca7
bswap ecx
mov al, 0xf7
lea rsp, [rsp + 2]
push word [rsp + 2]
mov ax, 0x933b
mov word [rsp + 1], r8w
call fcn.140326d0b
lea rsp, [rsp + 3]
mov r9b, byte [rsp + 1]
adc bx, r15w
sub rsp, 0x14
mov r10d, dword [rsp + 5]
mov edx, 0xc8fa229c
jmp 0x140326efb
xchg qword [rsp], r8
mov rax, r13
bswap ecx
std
mov word [rsp], ax
neg r12
jmp 0x140326ec8
mov eax, r9d
pop r10w
xchg rcx, rax
rdtsc
xchg byte [rsp + 3], al
mov r15, rbx
jmp 0x140326e78
add rsp, 3
mov r15, 0xffffffffb11a8698
inc al
xchg sil, dil
jmp 0x140326edc
push word [rsp]
cpuid
mov eax, r10d
dec r8b
sbb r10w, di
mov cl, 0x18
jmp 0x140326eb2
mov word [rsp + 3], r10w
mov rdi, 0x1b4c8043
setge bl
mov dword [rsp], eax
xchg word [rsp + 4], bp
jmp 0x140326f13
mov rdi, qword [rsp + 0xc]
xchg ebx, ecx
push r14
add rsp, 0xd
mov r8b, byte [rsp + 5]
pop qword [rsp]
jmp 0x140326e9d
mov r12w, word [rsp]
xchg word [rsp + 1], cx
pushfq
mov qword [rsp], rsi
jmp 0x140326f59
xchg rbp, r8
bsr r8d, r10d
pop word [rsp]
not rsi
clc
jmp 0x1403272c5
mov bp, word [rsp + 4]
lea rsp, [rsp + 0xb]
push word [rsp + 3]
mov dword [rsp], r13d
mov r10d, dword [rsp + 3]
lea r15, [r8 + r9]
jmp 0x140326f43
xchg word [rsp + 0x12], cx
mov r8w, r12w
mov ebp, 0xb48d8cf9
call fcn.140327072
mov ah, 0xa7
invalid
lea r10, [r11 + riz]
std
push word [rsp + 0x2b]
mov rbp, 0xffffffffaffb40da
mov rbp, 0x555ce19f
add rsp, 0x16
jmp 0x140326fa2
push word [rsp + 0x19]
mov r9d, 0x3cee2d57
mov r9w, 0xe37c
mov r12, qword [rsp + 0x2b]
mov qword [rsp + 0x20], rcx
sbb r12w, 0xd32a
jmp 0x140326fba
mov bx, di
xchg bpl, r9b
push qword [rsp + 0xe]
inc edi
stc
mov r15b, al
jmp 0x1403270e5
mov byte [rsp + 2], r11b
sub rsp, 0x11
sub rsp, 0x18
mov ebp, dword [rsp + 4]
mov rdi, 0xffffffff9d814c88
mov ebp, esp
jmp 0x14032721e
Function at 0x140326d0b
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea rbx, [r14 + riz - 0x2ff4]
mov dil, 0x9f
rdtsc
not ebp
jmp 0x140326d39
jmp 0x140326cf5
mov word [rsp + 6], r8w
pop dx
pop word [rsp + 2]
bswap r9
add rsp, 5
mov sil, byte [rsp + 1]
jmp 0x140326dd5
mov dx, word [rsp + 1]
mov r12b, byte [rsp + 0xc]
xchg byte [rsp + 3], bl
lea r15, [rdx + rsi]
bt ax, si
mov rcx, 0xffffffff99efb14e
jmp 0x140326d0d
bsr cx, r10w
rdtsc
mov r8, r10
mov bx, word [rsp + 6]
jmp 0x140326db2
push r8
lea rdx, [r14 + riz - 0x2347]
mov r8b, 0x75
mov r8d, dword [rsp + 7]
rdtsc
mov r15w, word [rsp + 4]
jmp 0x140326d58
pop di
mov cx, r11w
inc r10w
bswap ebp
xchg r15w, ax
mov r8b, byte [rsp]
jmp 0x140326d6e
bswap ebp
xchg qword [rsp], rax
lea rdx, [rdx + riz]
std
rcr r12d, cl
mov si, word [rsp + 3]
jmp 0x140326dff
mov dword [rsp], esp
std
mov dword [rsp], r11d
pop word [rsp]
mov word [rsp], r9w
cmc
jmp 0x140326d9b
mov dword [rsp + 3], r11d
mov rax, qword [rsp + 1]
push qword [rsp + 1]
jmp 0x140326f8c
mov r9d, r13d
xchg byte [rsp + 6], r10b
mov ax, r14w
mov r10w, word [rsp + 1]
rdtsc
jmp 0x140326de9
mov r8, rcx
xchg edx, eax
btr r8, rsp
mov rbx, rax
not bpl
mov word [rsp + 2], sp
jmp 0x140326e36
xchg r12d, edi
dec r15w
lea r12, [rsi + r14]
std
mov edx, dword [rsp + 1]
bswap ebp
jmp 0x140326e62
lea rsp, [rsp + 0xa]
inc rdx
mov r8w, ax
xchg bp, di
cmc
mov r15w, r10w
jmp 0x140326f2c

Function at 0x140329382
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg dword [rsp + 5], esi
lea rsp, [rsp + 0x10]
lea rsp, [rsp + 6]
jmp 0x1403292eb
bswap r15d
neg r8
xchg word [rsp + 2], si
mov eax, 0xb352ba92
push rdx
push qword [rsp + 1]
jmp 0x14032929d
mov edx, r13d
std
bswap ebx
mov r10b, byte [rsp + 1]
sub rsp, 0xc
add rsp, 0xd
jmp 0x1403292b3
xchg cx, bx
dec rbp
bswap eax
mov r12b, 0xec
rdtsc
bswap esi
jmp 0x14032934a
xchg r9w, r8w
mov r10, 0xffffffff92a70d78
xchg rcx, r10
lea rsp, [rsp + 1]
bswap r8
mov ax, word [rsp + 2]
jmp 0x1403292d6
xchg r8d, eax
cpuid
mov esi, dword [rsp]
rcl cx, 0xd
mov rcx, r13
mov sil, 0xcd
jmp 0x14032935d
mov r12b, sil
not r10w
mov r8d, ecx
mov r15, qword [rsp]
jmp 0x1403293a2
mov byte [rsp], bpl
rdtsc
pop r12w
cpuid
bt r12, r12
stc
jmp 0x140329321
clc
mov bpl, dil
mov si, r10w
lea r9, [rbx + riz + 0xd5]
mov r12d, 0xe65d1195
mov r12, qword [rsp]
jmp 0x140329334
push word [rsp + 2]
jmp 0x140329304
xchg edx, r9d
mov cx, 0xfa1d
add rsp, 0
xchg dil, r9b
jmp 0x1403293ed
mov dil, byte [rsp]
xchg bl, r15b
rdtsc
mov r8, 0x2fc1b6fa
xchg r10, rcx
xchg dx, r10w
jmp 0x14032938c
mov di, 0xe12d
mov byte [rsp], r9b
call fcn.1403293d1
add rsp, 5
mov dx, r13w
xchg word [rsp], si
mov bl, byte [rsp]
jmp 0x14032941c
neg r10w
bswap r12d
mov dil, 0x80
mov rcx, qword [rsp]
rdtsc
mov bx, word [rsp + 2]
jmp 0x140329455
setbe r12b
bt rcx, r8
push word [rsp]
mov dword [rsp], r15d
inc r15w
mov r9b, r10b
call fcn.140329f19
std
cmc
pushfq
outsd dx, dword [rsi]
ficom dword [rsi + riz*2]
mov r8d, 0x8d489769
and al, 0x2b
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
fiadd word [rdx - 0x16091054]
sbb cl, bh
or edi, ebp
imul esp, dword [rax + 0x74a7e099], 0xffffffa7
movsb byte [rdi], byte [rsi]
invalid
fstp xword [rsi + 0x293fe1af]
sal byte [rcx + rdi*2 - 0x4b], 1
movabs al, byte [0xcf31c22d59f85415]
xor edi, ecx
sahf
outsd dx, dword [rsi]
fidiv dword [rbp + 0x346bcf45]
adc ebp, esp
mov esp, 0x3ade7624
jbe 0x14003f630
cmp ch, byte [rax - 0x15]
imul r13, qword [r8 + 0x76], 0x4c
invalid
jbe 0x14003f630
cmp ch, byte [rax - 0x15]
imul r13, qword [r8 + 0x76], 0x4c
lodsb al, byte [rsi]
movabs eax, dword [0x1431f1a61cda0cbd]
outsb dx, byte [rsi]
retf 0xcb9b
wait
retf
wait
retf
cmp dword [rbp + 0x72], 0xffffffed
xor eax, 0x5b49a594
pop r11
push rsp
outsd dx, dword [rsi]
mov ebx, 0xb48fbca0
adc dword [rdx - 0x6e205ebe], edi
test rax, 0xffffffffe139952f
invalid
xchg ebp, eax
cmp ecx, esp
cld
mov edi, 0x88c46bcc
mov bl, 7
and ebp, esp
mov ch, 0xa6
insb byte [rdi], dx
outsd dx, dword [rsi]
sti
out 6, eax
invalid
mov dword [rdx], 0xad940b5d
cdq
sbb al, 0xbc
movsd dword [rdi], dword [rsi]
clc
mov bh, 0x12
adc ah, byte [0x13502cff8]
adc ah, byte [0x13502cff8]
jno 0x14003f6c3
fsubr dword [rdi]
lea ebp, [rsp + rbp*2 + 0x58]
insb byte [rdi], dx
insb byte [rdi], dx
pop rax
sbb ebx, dword [rbx + rbp + 0x348af32b]
retf 0x1954
sub esi, ebx
mov dh, byte [rdx + rcx*8]
push rsp
sbb dword [rsi + 0x5e], ebx
outsd dx, dword [rsi]
xchg byte [rsi + 9], bh
jmp 0x14003f71f
in eax, dx
cmp ch, cl
xchg byte [rax - 0x1b301861], ch
sbb edx, dword [rbx + 0x563c1291]
imul esp, dword [rcx - 0x6321bdbc], 0xc50bb1b2
js 0x14003f763
mov dword [rdx + 9], ebp
invalid
invalid
Function at 0x140001154
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0
mov dword [rbp - 0x1c], 0x30
mov eax, dword [rbp - 0x1c]
mov rax, qword gs:[rax]
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 8]
mov qword [rbp - 0x18], rax
mov dword [rbp - 4], 0
jmp 0x1400011ac
mov rax, qword [rbp - 0x10]
cmp rax, qword [rbp - 0x18]
jne 0x14000119e
mov dword [rbp - 4], 1
jmp 0x1400011e3
mov ecx, 0x3e8
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov rax, qword [0x140006710]
mov qword [rbp - 0x30], rax
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov rdx, qword [rbp - 0x30]
lock cmpxchg qword [rdx], rcx
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
jne 0x14000118b
mov rax, qword [0x140006720]
mov eax, dword [rax]
cmp eax, 1
jne 0x1400011fd
mov ecx, 0x1f
call sym._amsg_exit
jmp 0x14000123c
mov rax, qword [0x140006720]
mov eax, dword [rax]
test eax, eax
jne 0x140001232
mov rax, qword [0x140006720]
mov dword [rax], 1
mov rax, qword [0x140006760]
mov rdx, rax
mov rax, qword [0x140006750]
mov rcx, rax
call sym._initterm
jmp 0x14000123c
mov dword [0x14000b024], 1
mov rax, qword [0x140006720]
mov eax, dword [rax]
cmp eax, 1
jne 0x140001270
mov rax, qword [0x140006740]
mov rdx, rax
mov rax, qword [0x140006730]
mov rcx, rax
call sym._initterm
mov rax, qword [0x140006720]
mov dword [rax], 2
cmp dword [rbp - 4], 0
jne 0x140001294
mov rax, qword [0x140006710]
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov rdx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x48]
xchg qword [rax], rdx
mov rax, qword [0x140006660]
mov rax, qword [rax]
test rax, rax
je 0x1400012bf
mov rax, qword [0x140006660]
mov rax, qword [rax]
mov r8d, 0
mov edx, 2
mov ecx, 0
call rax
call sym._pei386_runtime_relocator
mov rax, qword [sym._gnu_exception_handler]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
mov rdx, qword [0x140006700]
mov qword [rdx], rax
lea rax, [sym.__mingw_invalidParameterHandler]
mov rcx, rax
call sym._set_invalid_parameter_handler
call sym._fpreset
mov eax, dword [0x14000b004]
lea rdx, [0x14000b008]
mov ecx, eax
call sym.duplicate_ppstrings
call sym.__main
mov rax, qword [0x140006690]
mov rax, qword [rax]
mov rdx, qword [0x14000b010]
mov qword [rax], rdx
mov rcx, qword [0x14000b010]
mov rdx, qword [0x14000b008]
mov eax, dword [0x14000b004]
mov r8, rcx
mov ecx, eax
call sym.main
mov dword [0x14000b01c], eax
mov eax, dword [0x14000b020]
test eax, eax
jne 0x14000135d
mov eax, dword [0x14000b01c]
mov ecx, eax
call sym.exit
mov eax, dword [0x14000b024]
test eax, eax
jne 0x14000136c
call sym._cexit
mov eax, dword [0x14000b01c]
add rsp, 0x70
pop rbp
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400066c0]
mov dword [rax], 1
mov rax, qword [0x1400066d0]
mov dword [rax], 1
mov rax, qword [0x1400066e0]
mov dword [rax], 1
mov rax, qword [0x140006680]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140002140
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002e12
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000b168]
test eax, eax
je 0x140002eaa
lea rax, [0x14000b140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000b170]
mov qword [rbp - 8], rax
jmp 0x140002e8e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002e82
cmp qword [rbp - 0x10], 0
je 0x140002e82
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002e48
lea rax, [0x14000b140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140002eab
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140002fb0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x140002fd8
mov eax, 0
jmp 0x140003026
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140003001
mov eax, 0
jmp 0x140003026
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140003021
mov eax, 0
jmp 0x140003026
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000302c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400030aa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400030a1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400030a1
mov rax, qword [rbp - 8]
jmp 0x1400030bf
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140003074
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140003ab0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0x80000000
mov dword [rbp - 0x18], 0x7fffffff
mov qword [rbp - 8], 0
jmp 0x140003b42
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x24], eax
mov rax, qword [rbp - 8]
lea rdx, [rax + 0x18d]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x24]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x24]
and eax, 1
test eax, eax
je 0x140003b29
mov eax, 0x9908b0df
jmp 0x140003b2e
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 8]
mov dword [rax + rdx*4], ecx
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0xe2
jbe 0x140003ad4
mov qword [rbp - 0x10], 0xe3
jmp 0x140003bc4
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x80000000
mov ecx, eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax + 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
and eax, 0x7fffffff
or eax, ecx
mov dword [rbp - 0x20], eax
mov rax, qword [rbp - 0x10]
lea rdx, [rax - 0xe3]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov edx, dword [rbp - 0x20]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x20]
and eax, 1
test eax, eax
je 0x140003bab
mov eax, 0x9908b0df
jmp 0x140003bb0
mov eax, 0
xor eax, edx
mov ecx, eax
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp - 0x10]
mov dword [rax + rdx*4], ecx
add qword [rbp - 0x10], 1
cmp qword [rbp - 0x10], 0x26e
jbe 0x140003b56
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x9bc]
and eax, 0x80000000
mov edx, eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax]
and eax, 0x7fffffff
or eax, edx
mov dword [rbp - 0x1c], eax
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x630]
mov edx, dword [rbp - 0x1c]
shr edx, 1
xor edx, eax
mov eax, dword [rbp - 0x1c]
and eax, 1
test eax, eax
je 0x140003c11
mov eax, 0x9908b0df
jmp 0x140003c16
mov eax, 0
xor edx, eax
mov rax, qword [rbp + 0x10]
mov dword [rax + 0x9bc], edx
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0
nop
add rsp, 0x30
pop rbp
ret
Function at 0x140003c40
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov dword [rbp + 0x18], edx
mov eax, dword [rbp + 0x18]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov dword [rdx], eax
mov qword [rbp - 8], 1
jmp 0x140003cb8
mov rax, qword [rbp - 8]
lea rdx, [rax - 1]
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + rdx*4]
mov dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
shr eax, 0x1e
xor dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
imul eax, eax, 0x6c078965
mov dword [rbp - 0xc], eax
mov rax, qword [rbp - 8]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__624u__1u__0u__unsigned_int_
add dword [rbp - 0xc], eax
mov eax, dword [rbp - 0xc]
mov ecx, eax
call method.unsigned_int_std::__detail.__mod_unsigned_int__0u__1u__0u__unsigned_int_
mov rdx, qword [rbp + 0x10]
mov rcx, qword [rbp - 8]
mov dword [rdx + rcx*4], eax
add qword [rbp - 8], 1
cmp qword [rbp - 8], 0x26f
jbe 0x140003c69
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x9c0], 0x270
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140003d10
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
cmp rax, 0x26f
jbe 0x140003d3b
mov rax, qword [rbp + 0x10]
mov rcx, rax
call sym._ZNSt23mersenne_twister_engineIjLy32ELy624ELy397ELy31ELj2567483615ELy11ELj4294967295ELy7ELj2636928640ELy15ELj4022730752ELy18EL
mov rax, qword [rbp + 0x10]
mov rax, qword [rax + 0x9c0]
lea rcx, [rax + 1]
mov rdx, qword [rbp + 0x10]
mov qword [rdx + 0x9c0], rcx
mov rdx, qword [rbp + 0x10]
mov eax, dword [rdx + rax*4]
mov dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0xb
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
shr eax, 0x12
xor dword [rbp - 4], eax
mov eax, dword [rbp - 4]
add rsp, 0x30
pop rbp
ret
Function at 0x140001074
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
lea rdx, [0x1401f49f8]
call fcn.140002bce
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.140002bce
mov rcx, rsi
call fcn.140002ce4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000111e
mov rcx, rsi
call fcn.140002ce4
mov rsi, rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, rax
mov edx, 0x100021
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400010fc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x140001120
lea rcx, str.WebView2:_skipped_inaccessible
mov rdi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1401f4a5e]
call rdi
xor eax, eax
add rsp, 0x38
pop rdi
pop rsi
ret

Function at 0x1400011f4
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.140002a5e
mov rcx, rsi
mov rdx, rdi
call fcn.140002aee
mov rcx, rsi
call fcn.140002ce4
mov rbx, rax
mov rcx, rsi
call fcn.140002ca0
cmp rax, 3
jb 0x140001278
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x140001268
cmp word [rbx + 4], 0x5c
jne 0x140001278
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x140001278
jmp 0x140001335
cmp ax, 0x5c
jne 0x140001278
cmp word [rbx], 0x5c
je 0x140001335
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401f4660]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400029f0
xor ecx, ecx
mov rdx, rbx
call fcn.140001127
test eax, eax
js 0x140001374
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140002ca0
mov r14, rax
mov rcx, rbx
call fcn.140002ce4
mov rcx, rsi
mov rdx, rax
mov r8, r14
call fcn.140002b20
mov rcx, rbx
call fcn.140002ce4
mov rcx, rax
mov dx, 0x5c
call fcn.1401b27f0
test rax, rax
je 0x140001385
mov rbx, rax
lea r14, [rsp + 0x20]
mov rcx, r14
call fcn.140002ce4
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, r14
call fcn.140002ce4
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.140002b20
mov rcx, rsi
mov rdx, rdi
call fcn.140002bce
mov rcx, r14
call fcn.140002a02
mov rcx, rsi
call fcn.140001074
xor ebx, ebx
test al, al
jne 0x140001394
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.140002ce4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x1401f4a5e]
call rdi
mov ebx, 0x80070002
jmp 0x140001394
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000138a
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.140002a02
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401af480
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret