joyce8/EMBER2024-capa huggingface dataset:
Function at 0x345853780
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d6820]
syscall
ret

Function at 0x34585378c
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d6824]
syscall
ret

Function at 0x345853798
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d6828]
syscall
ret

Function at 0x3458537a4
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d682c]
syscall
ret

Function at 0x3458537b0
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d6834]
syscall
ret

Function at 0x3458537bc
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [0x3465d6830]
syscall
ret

Function at 0x345853980
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, [0x34b068680]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.345854590
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x3458539f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x34b06b4c4]
test esi, esi
mov rbx, rcx
jle 0x345853b20
mov rax, qword [0x34b06b4c8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x345853a3b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x345853ac5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x345853a20
mov rcx, rbx
call fcn.345854250
test rax, rax
mov rdi, rax
je 0x345853b42
mov rax, qword [0x34b06b4c8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.345854390
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x34b06b4c8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x345853b27
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x345853abe
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x345853ad0
add dword [0x34b06b4c4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x34b06b4c8]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x345853abe
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x34b0686f8]
mov edx, eax
call fcn.345853980
nop dword [rax]
xor esi, esi
jmp 0x345853a48
mov rax, qword [0x34b06b4c8]
lea rcx, [0x34b0686c0]
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.345853980
lea rcx, [0x34b0686a0]
mov rdx, rbx
call fcn.345853980
nop
nop word cs:[rax + rax]
nop dword [rax]
Function at 0x345853ec0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x34b06b500]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x34b06b4e0]
test rbx, rbx
je 0x345853f1c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x345853f13
test rsi, rsi
je 0x345853f13
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x345853ef8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x345854250
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x34b068850]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x345854270
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x345854278
ret
cmp word [r8 + 0x18], 0x20b
jne 0x345854270
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3458542cd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x3458542c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x345854270
add rax, 0x28
cmp rax, r9
jne 0x3458542b0
xor eax, eax
ret

Function at 0x3458542d0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x34b068850]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3458542ef
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3458542f8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3458542ef
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x345854390
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x34b068850]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3458543af
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3458543b8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000105a
Capabilities:
Check if file exists
Get file attributes
Print debug messages

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rcx
lea rdx, [0x140202c88]
call fcn.1400023aa
lea rdx, str.EBWebViewx64EmbeddedBrowserWebView.dll
mov rcx, rsi
call fcn.1400023aa
mov rcx, rsi
call fcn.140002484
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400010e4
mov rcx, rsi
call fcn.140002484
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]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400010e8
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000110a
xor eax, eax
jmp 0x140001111
lea rcx, str.WebView2:_skipped_inaccessible
mov rbx, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rbx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140202cee]
call rbx
cmp rdi, 0xffffffffffffffff
setne al
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400011e5
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rsi
call fcn.14000223e
mov rcx, rsi
mov rdx, r14
call fcn.1400022c6
mov rcx, rsi
call fcn.140002484
mov rbx, rax
mov rcx, rsi
call fcn.140002480
cmp rax, 3
jb 0x140001269
movzx eax, word [rbx + 2]
cmp ax, 0x3a
jne 0x140001259
cmp word [rbx + 4], 0x5c
jne 0x140001269
movzx eax, word [rbx]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x140001269
jmp 0x140001326
cmp word [rbx], 0x5c
jne 0x140001269
cmp ax, 0x5c
je 0x140001326
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x20]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140202990]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400021d0
xor ecx, ecx
mov rdx, rbx
call fcn.140001119
test eax, eax
js 0x140001365
lea rbx, [rsp + 0x20]
mov rcx, rbx
call fcn.140002480
mov rdi, rax
mov rcx, rbx
call fcn.140002484
mov rcx, rsi
mov rdx, rax
mov r8, rdi
call fcn.1400022f8
mov rcx, rbx
call fcn.140002484
mov rcx, rax
mov dx, 0x5c
call fcn.140184fc0
test rax, rax
je 0x140001376
mov rbx, rax
lea rdi, [rsp + 0x20]
mov rcx, rdi
call fcn.140002484
sub rbx, rax
add rbx, 2
sar rbx, 1
mov rcx, rdi
call fcn.140002484
mov rcx, rsi
mov rdx, rax
mov r8, rbx
call fcn.1400022f8
mov rcx, rsi
mov rdx, r14
call fcn.1400023aa
mov rcx, rdi
call fcn.1400021e2
mov rcx, rsi
call fcn.14000105a
xor ebx, ebx
test al, al
jne 0x140001385
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.140002484
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140202cee]
call rdi
mov ebx, 0x80070002
jmp 0x140001385
mov ebx, eax
lea rcx, str.WebView2:_Failed_to_find_the_app_exe_path._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x14000137b
mov ebx, 0x80004005
lea rcx, [rsp + 0x20]
call fcn.1400021e2
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1401825b0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140001de9
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea rdi, [rsp + 0x50]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140183b90
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 0x140001e8e
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1401825b0
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 0x140001e6d
cmp dword [rsp + 0x3c], 3
jb 0x140001e6d
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.1400022c6
mov rcx, r15
call fcn.140002484
mov rcx, rax
mov dx, 0x5c
call fcn.140184fc0
test rax, rax
je 0x140001f3b
mov rdi, rax
add rdi, 2
movaps xmm0, xmmword [0x140202990]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rdi
call fcn.140001cbc
test al, al
je 0x140001f3b
test r14, r14
je 0x140001f27
mov rcx, r14
mov rdx, rdi
call fcn.1400022c6
lea rcx, [rsp + 0x40]
mov rdx, r15
call fcn.140001f42
mov ebx, eax
jmp 0x140001e6d
xor ebx, ebx
jmp 0x140001e6d

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rdx
xor eax, eax
lea rdx, [0x140202fa0]
mov esi, dword [rax + rdx]
cmp dword [rcx + rax], esi
ja 0x140001f68
jb 0x140001f76
add rax, 4
cmp rax, 0x10
jne 0x140001f54
mov rcx, rdi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14000105a
lea rcx, str.WebView2:_skipped_an_incompatible_version
mov rsi, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rsi
mov rcx, rdi
call fcn.140002484
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea rcx, [0x140202cee]
call rsi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x140002afd
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x140002ba0
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, setsockopt
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002bc9
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x140002bfc
test al, al
je 0x140002bdb
mov rcx, qword [r15]
test rcx, rcx
je 0x140002bf8
xor edx, edx
mov r8d, 0xa
call fcn.14019612c
cmp eax, 1
jmp 0x140002bce
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401825b0
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 0x140002bfc
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x140002bdd
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401825b0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x140002bd1
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.140183b90
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 0x140002c8d
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400022c6
mov rcx, r15
call fcn.140002484
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401825b0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140002bfc
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x140002ba0
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, setsockopt
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140002bc9
mov rcx, rdi
mov rdx, rbx
mov r8, r15
mov r9, r14
call 0x140002bfc
test al, al
je 0x140002bdb
mov rcx, qword [r15]
test rcx, rcx
je 0x140002bf8
xor edx, edx
mov r8d, 0xa
call fcn.14019612c
cmp eax, 1
jmp 0x140002bce
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401825b0
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 0x140002bfc
cmp dword [rsp + 0x44], 1
sete al
movzx eax, al
mov dword [rsi], eax
mov sil, 1
jmp 0x140002bdd
xor esi, esi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401825b0
mov eax, esi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
jmp 0x140002bd1
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 [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x248], rax
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
xor edx, edx
call fcn.140183b90
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 0x140002c8d
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.1400022c6
mov rcx, r15
call fcn.140002484
mov qword [r14], rax
test ebx, ebx
sete bl
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401825b0
mov eax, ebx
add rsp, 0x250
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140002d63
Capabilities:
Print debug messages

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x60
mov rsi, r9
mov ebp, r8d
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x140002ddd
mov rdi, rax
lea rdx, str.CreateWebViewEnvironmentWithOptionsInternal
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002e72
mov rcx, qword [rsp + 0xb8]
mov r9, qword [rsp + 0xb0]
mov qword [rsp + 0x20], rcx
mov ecx, r14d
mov edx, ebp
mov r8, rsi
call qword [0x1401d2a90]
mov esi, eax
mov dword [rsp + 0x54], eax
jmp 0x140002ef4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x30]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x140202990]
movaps xmmword [rdi], xmm0
mov rcx, rdi
call fcn.1400021d0
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rdi
call fcn.140002cb4
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
mov rbp, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rbp
mov rcx, rdi
call fcn.140002484
mov rcx, rax
call rbp
lea rcx, str._path
call rbp
mov rcx, rbx
call rbp
lea rcx, [0x1402033b6]
call rbp
mov rcx, rdi
call fcn.1400021e2
jmp 0x140002f12
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rbp, [rsp + 0x54]
mov dword [rbp], esi
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140202990]
movaps xmmword [rbx], xmm0
mov rcx, rbx
call fcn.1400021d0
mov edx, 4
mov rcx, rbp
mov r8b, 1
mov r9, rbx
call fcn.140002cb4
lea rcx, str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
mov rbp, qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call rbp
mov rcx, rbx
call fcn.140002484
mov rcx, rax
call rbp
lea rcx, [0x1402033b6]
call rbp
mov rcx, rbx
call fcn.1400021e2
lea rdx, str.DllCanUnloadNow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002f12
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401825b0
mov eax, esi
add rsp, 0x60
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

Function at 0x140002f2c
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
xor edx, edx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140002f80
mov ebx, eax
mov edx, eax
mov rcx, rsi
call fcn.14000223e
test al, al
je 0x140002f80
mov rcx, rsi
call fcn.140002484
mov rcx, rdi
mov rdx, rax
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edx, eax
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140002388
xor eax, eax
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400178a4
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0xe8], ecx
mov rax, qword [rsp + 0x40]
mov rdx, qword [rax + 0x40]
lea rcx, [0x140026854]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
add rax, 0x50
mov rcx, rax
call fcn.140027d5c
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 0x40]
add rax, 0x28
mov r8, rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
call fcn.140018278
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x48]
add rsp, 0x38
ret
Function at 0x140020bd0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x400000
test eax, eax
je 0x140020c3a
mov rax, qword [rsp + 0x20]
mov al, byte [rax + 0x78]
mov byte [rsp + 4], al
cmp byte [rsp + 4], 0x44
je 0x140020c2c
cmp byte [rsp + 4], 0x53
je 0x140020c2c
cmp byte [rsp + 4], 0x57
je 0x140020c2c
cmp byte [rsp + 4], 0x63
je 0x140020c2c
cmp byte [rsp + 4], 0x64
je 0x140020c2c
cmp byte [rsp + 4], 0x73
je 0x140020c2c
cmp byte [rsp + 4], 0x77
je 0x140020c2c
jmp 0x140020c33
xor al, al
jmp 0x140020d13
mov al, 1
jmp 0x140020d13
mov rax, qword [rsp + 0x20]
movsx eax, byte [rax + 0x78]
mov dword [rsp], eax
cmp dword [rsp], 0x2f
jg 0x140020c89
cmp dword [rsp], 0x2f
je 0x140020ce5
cmp dword [rsp], 0x22
je 0x140020ce5
cmp dword [rsp], 0x24
je 0x140020cb5
cmp dword [rsp], 0x28
je 0x140020cb9
cmp dword [rsp], 0x29
je 0x140020cb9
cmp dword [rsp], 0x2a
je 0x140020cb5
cmp dword [rsp], 0x2b
je 0x140020cb9
cmp dword [rsp], 0x2e
je 0x140020cb5
jmp 0x140020d11
cmp dword [rsp], 0x3f
je 0x140020cb9
cmp dword [rsp], 0x5b
je 0x140020cb5
cmp dword [rsp], 0x5c
je 0x140020cb5
cmp dword [rsp], 0x5e
je 0x140020cb5
cmp dword [rsp], 0x7b
je 0x140020cb9
cmp dword [rsp], 0x7c
je 0x140020cb5
cmp dword [rsp], 0x7d
je 0x140020cb9
jmp 0x140020d11
mov al, 1
jmp 0x140020d13
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x800000
test eax, eax
je 0x140020cd7
mov dword [rsp + 8], 1
jmp 0x140020cdf
mov dword [rsp + 8], 0
mov al, byte [rsp + 8]
jmp 0x140020d13
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x80]
and eax, 0x1000000
test eax, eax
je 0x140020d03
mov dword [rsp + 0xc], 1
jmp 0x140020d0b
mov dword [rsp + 0xc], 0
mov al, byte [rsp + 0xc]
jmp 0x140020d13
xor al, al
add rsp, 0x18
ret
Function at 0x140025f70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea rdx, str.comdlg32.dll
lea rcx, [rsp + 0x90]
call fcn.1400127e0
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x28]
call fcn.1400149a4
nop
lea rcx, [rsp + 0x90]
call fcn.140015f78
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.140012ef4
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1400173c4
mov edx, dword [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [rsp + 0x38], 0x38
mov dword [rsp + 0x3c], reloc.SHLWAPI.dll_SHCreateMemStream
lea rax, [0x1401d3b40]
mov qword [rsp + 0x40], rax
xor eax, eax
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
lea rcx, [rsp + 0x70]
call fcn.140025c7c
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x7c
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CreateActCtxA]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
call fcn.140015f78
nop
lea rcx, [rsp + 0x28]
call fcn.140016814
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1401825b0
add rsp, 0xc0
pop rdi
ret

Function at 0x1400400ac
Capabilities:
Initialize winsock library

Disassembly:
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0x1e8
mov rax, qword [0x1402436d8]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1f0]
mov ecx, 1
lock xadd dword [rax], ecx
inc ecx
mov eax, ecx
cmp eax, 1
jne 0x140040139
movzx eax, byte [rsp + 0x1f8]
and rax, 0xff
movzx eax, al
movzx ecx, byte [rsp + 0x200]
and rcx, 0xff
movzx ecx, cl
shl ecx, 8
or eax, ecx
lea rdx, [rsp + 0x30]
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x1f0]
add rax, 4
mov ecx, dword [rsp + 0x20]
xchg dword [rax], ecx
mov rcx, qword [rsp + 0x1d0]
xor rcx, rsp
call fcn.1401825b0
add rsp, 0x1e8
ret

Function at 0x140040468
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x28], 0xffffffff
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0xffffffff
jne 0x1400404b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
call fcn.14003f954
mov r8, rax
mov edx, dword [rsp + 0x24]
lea rcx, [rsp + 0x30]
call fcn.1400149d8
lea rdx, [0x1401d7418]
lea rcx, [rsp + 0x30]
call fcn.1400401d4
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret