joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180004280
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbp, rcx
mov rax, qword [rdx + 0x18]
cmp dword [rax - 0x10], 0
je 0x180004334
cmp dword [rdx + 0x10], 0
jne 0x180004334
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
mov ecx, dword [rsi]
sub ecx, 1
je 0x1800042e0
cmp ecx, 3
jne 0x180004329
mov dword [rsp + 0x28], 4
mov rax, qword [rsi + 8]
lea r9d, [rcx + 1]
mov rdx, qword [rsi + 0x18]
jmp 0x180004317
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax - 0x10]
lea ebx, [rcx*2 + 2]
mov rdi, qword [rsi + 0x18]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_Ordinal_4947]
mov dword [rsp + 0x28], ebx
mov r9d, dword [rsi]
mov rdx, rdi
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1800056e0
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x400
mov rax, qword [0x18002b040]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
mov rbx, rcx
xor edi, edi
mov dword [rcx + 4], edi
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x198
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x202
lea rdx, [rsp + 0x250]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, eax
mov eax, edi
test ecx, ecx
sete al
mov dword [rbx], eax
test ecx, ecx
jne 0x1800058f8
movdqa xmm0, xmmword [0x1800246b0]
lea rcx, [rsp + 0x150]
xor edx, edx
movdqa xmmword [rsp + 0x140], xmm0
mov r8d, 0xf4
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x180024680]
lea rcx, [rsp + 0x48]
xor edx, edx
movdqa xmmword [rsp + 0x30], xmm0
mov r8d, 0xec
mov dword [rsp + 0x40], 0x7a303537
mov dword [rsp + 0x44], 0x54243c24
call sub.VCRUNTIME140.dll_memset
mov r8d, 2
lea rcx, [rbx + 0xc]
mov edx, r8d
lea rax, [rsp + 0x140]
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rdx, 1
jne 0x1800057b0
mov eax, dword [rax]
lea rdx, [rbx + 0x110]
mov dword [rcx], eax
lea rax, [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [rdx - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [rdx - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [rdx - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [rdx - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [rdx - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [rdx - 0x20], xmm0
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x180005820
mov ecx, dword [rax]
xor r9d, r9d
mov dword [rdx], ecx
lea edx, [r8 + 1]
xor ecx, ecx
mov dword [rbx + 8], edi
mov qword [rbx + 0x238], rdi
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rbx + 0x218], rax
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x180005920]
mov qword [rbx + 0x220], rax
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9, rbx
mov qword [rsp + 0x28], rdi
lea r8, [0x180005a10]
mov qword [rbx + 0x230], rax
xor edx, edx
mov dword [rsp + 0x20], edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx + 0x228], rax
mov rax, rbx
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.1800151d0
mov rbx, qword [rsp + 0x418]
add rsp, 0x400
pop rdi
ret
Function at 0x180005aa0
Capabilities:
Create thread
Get hostname
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x18002b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdx, qword [0x18002bd60]
mov rsi, rcx
lea rdi, [rdx + 0x78]
cmp dword [rdi + 0x2028], 0
jne 0x180005ae4
xor ebx, ebx
mov dword [rcx + 4], ebx
jmp 0x180005c33
cmp dword [rdi + 0x2044], 0
je 0x180005af7
xor ebx, ebx
mov dword [rcx + 4], ebx
jmp 0x180005c33
cmp qword [rdi + 0x2050], 0
jne 0x180005c1c
xor r8d, r8d
mov ebx, 2
mov ecx, ebx
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x180005b31
mov ebx, 0x81010511
mov dword [rsi + 4], ebx
mov eax, ebx
jmp 0x180005c59
xor ecx, ecx
mov word [rsp + 0x38], bx
call qword [sym.imp.WS2_32.dll_htonl]
xor ebx, ebx
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rcx, rbp
mov word [rsp + 0x3a], bx
lea r8d, [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x180005b6e
mov ebx, 0x81010512
jmp 0x180005bbd
xor edx, edx
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x180005b84
mov ebx, 0x81010513
jmp 0x180005bbd
lea r8, [rsp + 0x30]
mov rcx, rbp
lea rdx, [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x180005ba2
mov ebx, 0x81010514
jmp 0x180005bbd
lea rcx, [rdi + 0x2160]
mov edx, 0x104
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x180005bdb
mov ebx, 0x81010502
mov dword [rdi], ebx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rcx, rbp
mov dword [rdi + 0x2034], eax
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, ebx
mov dword [rsi + 4], ebx
jmp 0x180005c59
movzx ecx, word [rsp + 0x3a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov qword [rsp + 0x28], rbx
lea r8, [0x180007090]
movzx eax, ax
mov r9, rdi
xor edx, edx
mov dword [rdi + 0x2058], eax
xor ecx, ecx
mov qword [rdi + 0x2050], rbp
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.180006e40
mov dword [rsi + 4], eax
mov ebx, eax
test eax, eax
je 0x180005c2c
jmp 0x180005c59
mov rdx, qword [0x18002bd60]
add rdx, 0x38
cmp dword [rdx], 8
je 0x180005c57
lea rcx, [rdx + 4]
call fcn.180003100
test eax, eax
je 0x180005c57
mov dword [rsi + 4], 0x81010305
mov eax, 0x81010305
jmp 0x180005c59
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1800151d0
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180006b90
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, reloc.mfc140u.dll_CDockingManager::CDockingManager
mov rax, qword [0x18002b040]
xor rax, rsp
mov qword [rsp + CDialog::~CDialog], rax
xor r8d, r8d
mov ebp, edx
mov rbx, rcx
mov r15d, 2
mov ecx, r15d
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180006be0
mov eax, 0x81010541
jmp 0x180006cd1
mov eax, dword [rbx + 0x2044]
movzx ecx, word [rbx + 0x2048]
mov qword [rsp + 0x490], rdi
xor edi, edi
mov dword [rsp + 0x44], eax
mov word [rsp + 0x40], r15w
call qword [sym.imp.WS2_32.dll_htons]
lea rdx, [rsp + 0x40]
mov rcx, rsi
mov word [rsp + 0x42], ax
call fcn.180006d00
test eax, eax
je 0x180006c24
mov edi, 0x81010542
jmp 0x180006c9a
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, ebp
lea rdx, [rbx + 0x2160]
neg ecx
mov r8d, eax
mov ecx, dword [rbx + 0x2058]
mov dword [rsp + 0x30], ecx
sbb r9d, r9d
mov ecx, dword [rbx + 0x2038]
add r9d, r15d
mov qword [rsp + 0x28], rdx
lea rdx, str._Sign_____08X____Mode_____08X____AID_____08X____Name_____s____Port_____08X_
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0x50]
call fcn.180002f70
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x180006c74
inc r8d
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x180006ca8
mov edi, 0x81010543
mov dword [rbx], edi
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbx + 0x2034], eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
test ebp, ebp
jne 0x180006cc7
mov dword [rbx + 0x203c], ebp
mov dword [rbx + 0x2044], ebp
mov dword [rbx + 0x2030], ebp
mov eax, edi
mov rdi, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1800151d0
mov rbx, qword [rsp + 0x498]
add rsp, reloc.mfc140u.dll_CDockingManager::CDockingManager
pop r15
pop rsi
pop rbp
ret
Function at 0x180006d00
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x18002b040]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov dword [rsp + 0x30], 1
mov edx, 0x8004667e
lea r8, [rsp + 0x30]
mov rdi, rcx
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x180006d4b
mov eax, 0x81010551
jmp 0x180006e1f
mov qword [rsp + 0x290], rbx
mov rdx, rsi
xor ebx, ebx
mov rcx, rdi
lea r8d, [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x180006dfa
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], ebx
lea ecx, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov dword [rsp + 0x44], 0x3d090
lea r8, [rsp + 0x50]
mov qword [rsp + 0x58], rdi
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 1
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x180006df5
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 4
lea r9, [rsp + 0x34]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov dword [rsp + 0x34], 0xffffffff
mov r8d, 0x1007
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
je 0x180006de8
mov ebx, 0x81010553
jmp 0x180006dfa
cmp dword [rsp + 0x34], ebx
je 0x180006dfa
mov ebx, 0x81010554
jmp 0x180006dfa
mov ebx, 0x81010552
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], 0
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, ebx
mov rbx, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1800151d0
mov rsi, qword [rsp + 0x298]
add rsp, 0x270
pop rdi
ret
Function at 0x180006e40
Capabilities:
Resolve dns
Send data
Send data on socket
Set socket configuration

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x1a0
mov rax, qword [0x18002b040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rbp, qword [0x18002bd60]
lea r13, [rbp + 0x21d8]
mov rcx, r13
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov r15, rax
test rax, rax
jne 0x180006e88
mov eax, 0x81010503
jmp 0x18000706d
mov qword [rsp + 0x1c0], rbx
mov qword [rsp + 0x1c8], rsi
mov qword [rsp + 0x198], r12
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, word [rbp + 0x20c4]
mov esi, 2
mov r12d, eax
mov word [rsp + 0x58], si
mov dword [rsp + 0x5c], 0xffffffff
call qword [sym.imp.WS2_32.dll_htons]
mov dword [rsp + 0x40], 1
xor ecx, ecx
mov word [rsp + 0x5a], ax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x48], esi
mov ebx, ecx
mov rax, qword [r15 + 0x18]
cmp qword [rax], rcx
je 0x180007053
mov qword [rsp + 0x1d0], rdi
mov edi, ecx
mov qword [rsp + 0x190], r14
mov r14d, ecx
nop word [rax + rax]
mov ebx, ecx
xor r8d, r8d
mov ecx, esi
mov edx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x180006f32
mov ebx, 0x81010521
jmp 0x180007009
lea r9, [rsp + 0x40]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x20
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x180006f61
mov ebx, 0x81010522
jmp 0x180007009
mov rax, qword [r15 + 0x18]
lea rdx, [rsp + 0x48]
mov r8d, reloc.WS2_32.dll_recv
mov rcx, qword [rdi + rax]
mov eax, dword [rcx]
mov rcx, rsi
mov dword [rsp + 0x4c], eax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x180006f8e
mov ebx, 0x81010523
jmp 0x180007009
mov eax, dword [rbp + 0x20d0]
lea rdx, str._Sign_____08X____Mode_____08X____AID_____08X____Name_____s____Port_____08X____APP____tbTools_
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x70]
mov eax, dword [rbp + 0x20b0]
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov r8d, r12d
mov dword [rsp + 0x20], eax
call fcn.180002f70
inc r12d
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x180006fd0
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
inc r8d
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jg 0x180007018
mov ebx, 0x81010524
mov dword [rbp + 0x78], ebx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0x20ac], eax
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [r15 + 0x18]
inc r14
mov esi, 2
lea rdi, [r14*8]
cmp qword [rdi + rcx], 0
lea ecx, [rsi - 2]
jne 0x180006f10
mov r14, qword [rsp + 0x190]
mov rdi, qword [rsp + 0x1d0]
mov r12, qword [rsp + 0x198]
mov eax, ebx
mov rbx, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1c8]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1800151d0
add rsp, 0x1a0
pop r15
pop r13
pop rbp
ret
Function at 0x18000bc90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x78], 0
mov rax, qword [rdx]
cmp dword [rax - 0x10], 0
je 0x18000bdeb
call qword [sym.imp.mfc140u.dll_AfxFieldText]
mov rbp, qword [rax + 0x10]
mov r9d, 1
mov r8d, r9d
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMouseManager::LoadState]
nop
lea rdx, [0x180021944]
mov rcx, rax
call qword [sym.imp.mfc140u.dll_Ordinal_2903]
mov ebx, eax
lea rcx, [rsp + 0x78]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
test ebx, ebx
je 0x18000bdcc
lea rcx, [rsi + 0x2b60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x78], 1
lea r9, [0x18001a2f4]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [r9 + rax*2], 0
jne 0x18000bd40
mov rdx, qword [rsi + 0x2b60]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonUndoButton::GetIconSize]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_Ordinal_285]
mov dword [rsp + 0x78], 3
mov r9, qword [rdi]
mov eax, dword [r9 - 0x10]
mov rdx, qword [rsp + 0x30]
mov dword [rsp + 0x20], eax
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCTasksPane::CollapseAllGroups]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_Ordinal_1501]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov rdx, qword [rdi]
cmp eax, 0xffffffff
jne 0x18000bdf8
lea rcx, [0x180021948]
call qword [sym.imp.acdb25.dll_int___cdecl_acutPrintf_wchar_t_const____ptr64_]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
xor eax, eax
jmp 0x18000be3d
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov r9d, reloc.WS2_32.dll_recv
lea r8d, [r9 - 0xf]
mov rcx, rbp
call qword [sym.imp.USER32.dll_LoadImageW]
mov qword [r14], rax
test rax, rax
jne 0x18000be2f
mov rdx, qword [rdi]
lea rcx, [0x180021970]
jmp 0x18000bde4
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, 1
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x180016388
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r9, rcx
mov eax, 0x5a4d
lea rdx, [0x180000000]
cmp word [0x180000000], ax
je 0x1800163af
xor eax, eax
mov r8d, dword [0x18000003c]
jmp 0x1800163d1
movsxd r8, dword [0x18000003c]
xor eax, eax
cmp dword [r8 + rdx], 0x4550
jne 0x1800163d1
mov r10d, CHandleMap::CHandleMap
cmp word [r8 + rdx + 0x18], r10w
sete al
test eax, eax
je 0x180016433
sub r9, rdx
movsxd r10, r8d
add r10, rdx
xor edx, edx
movzx eax, word [r10 + 0x14]
lea rcx, [r10 + 0x18]
add rcx, rax
mov qword [rsp + 8], rcx
mov dword [rsp], edx
movzx eax, word [r10 + 6]
cmp edx, eax
jae 0x180016419
mov r8d, dword [rcx + 0xc]
cmp r9, r8
jb 0x180016411
mov eax, dword [rcx + 8]
add eax, r8d
cmp r9, rax
jb 0x18001641b
inc edx
add rcx, 0x28
jmp 0x1800163ec
xor ecx, ecx
test rcx, rcx
jne 0x180016424
xor eax, eax
jmp 0x180016433
mov eax, dword [rcx + 0x24]
shr eax, 0x1f
not eax
and eax, 1
jmp 0x180016433
add rsp, 0x18
ret
Function at 0x140002653
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x260
mov rsi, r9
mov edi, r8d
mov ebx, edx
mov r15, rcx
mov rax, qword [0x140231ec8]
xor rax, rsp
mov qword [rsp + 0x258], rax
lea r14, [rsp + 0x50]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1401b2770
mov dword [rsp + 0x3c], 0x104
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdx, [rsp + 0x30]
mov qword [rdx], rax
movzx eax, dil
mov rcx, 0xffffffff80000002
sub rcx, rax
mov qword [rsp + 0x20], rdx
xor ebp, ebp
mov rdx, r15
xor r8d, r8d
mov r9d, 0x20219
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400026ff
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1401afad0
mov eax, ebp
add rsp, 0x260
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x2c0]
lea rax, [0x1401f4e10]
lea rdx, str.EBWebView
test bl, bl
cmovne rdx, rax
mov rcx, qword [rsp + 0x30]
lea r12, [rsp + 0x3c]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x1400027b7
cmp dword [rsp + 0x3c], 3
jb 0x1400027b7
lea r15, [rsp + 0x50]
mov rcx, rdi
mov rdx, r15
call fcn.140002aee
xor r14d, r14d
test bl, bl
je 0x1400027b7
mov dword [rsp + 0x3c], 0x104
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
lea rdx, [0x1401f4e22]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r14d, eax
test eax, eax
jne 0x1400027b7
cmp dword [rsp + 0x3c], 3
jb 0x1400027b7
lea rdx, [0x1401f49e8]
mov rcx, rdi
call fcn.140002bce
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140002bce
xor r14d, r14d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
test r14d, r14d
jne 0x1400026db
cmp dword [rsp + 0x3c], 3
jb 0x1400026db
mov rcx, rdi
call fcn.140002ce4
mov rcx, rax
mov dx, 0x5c
call fcn.1401b2e40
test rax, rax
je 0x140002837
mov rbx, rax
add rbx, 2
movaps xmm0, xmmword [0x1401f4650]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
mov rcx, rbx
call fcn.1400024d9
test al, al
je 0x140002837
test rsi, rsi
je 0x140002823
mov rcx, rsi
mov rdx, rbx
call fcn.140002aee
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14000283e
mov ebp, eax
jmp 0x1400026db
xor ebp, ebp
jmp 0x1400026db

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

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
xor eax, eax
lea rdx, [0x1401f4e30]
mov r8d, dword [rax + rdx]
cmp dword [rcx + rax], r8d
ja 0x140002866
jb 0x140002874
add rax, 4
cmp rax, 0x10
jne 0x140002850
mov rcx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.140001074
lea rcx, str.WebView2:_skipped_an_incompatible_version
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, [0x1401f4a4e]
call rdi
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
Function at 0x1400f71d0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, [0x140230350]
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x243e00], cl
inc ecx
cmp ecx, 0x100
jl 0x1400f71f9
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244b01], r9b
mov byte [rsi + rdi*4 + 0x244b00], r9b
mov byte [rsi + rdi*4 + 0x244703], r9b
mov byte [rsi + rdi*4 + 0x244700], r9b
mov byte [rsi + rdi*4 + 0x244303], r9b
mov byte [rsi + rdi*4 + 0x244302], r9b
mov byte [rsi + rdi*4 + 0x243f02], r9b
mov byte [rsi + rdi*4 + 0x243f01], r9b
call fcn.1400f7e78
mov dl, 3
mov byte [rsi + rdi*4 + 0x244b03], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244702], al
mov byte [rsi + rdi*4 + 0x244301], al
mov byte [rsi + rdi*4 + 0x243f00], al
call fcn.1400f7e78
movzx r9d, byte [rdi + rsi + 0x243e00]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x244b02], al
mov byte [rsi + rdi*4 + 0x244701], al
mov byte [rsi + rdi*4 + 0x244300], al
mov byte [rsi + rdi*4 + 0x243f03], al
call fcn.1400f7e78
mov dl, 9
mov byte [rsi + rdi*4 + 0x245b02], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245701], al
mov byte [rsi + rdi*4 + 0x245300], al
mov byte [rsi + rdi*4 + 0x244f03], al
mov byte [rsi + r9*4 + 0x246b02], al
mov byte [rsi + r9*4 + 0x246701], al
mov byte [rsi + r9*4 + 0x246300], al
mov byte [rsi + r9*4 + 0x245f03], al
call fcn.1400f7e78
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x245b00], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245703], al
mov byte [rsi + rdi*4 + 0x245302], al
mov byte [rsi + rdi*4 + 0x244f01], al
mov byte [rsi + r9*4 + 0x246b00], al
mov byte [rsi + r9*4 + 0x246703], al
mov byte [rsi + r9*4 + 0x246302], al
mov byte [rsi + r9*4 + 0x245f01], al
call fcn.1400f7e78
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x245b01], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x245700], al
mov byte [rsi + rdi*4 + 0x245303], al
mov byte [rsi + rdi*4 + 0x244f02], al
mov byte [rsi + r9*4 + 0x246b01], al
mov byte [rsi + r9*4 + 0x246700], al
mov byte [rsi + r9*4 + 0x246303], al
mov byte [rsi + r9*4 + 0x245f02], al
call fcn.1400f7e78
mov byte [rsi + rdi*4 + 0x245b03], al
mov byte [rsi + rdi*4 + 0x245702], al
mov byte [rsi + rdi*4 + 0x245301], al
mov byte [rsi + rdi*4 + 0x244f00], al
inc rdi
mov byte [rsi + r9*4 + 0x246b03], al
mov byte [rsi + r9*4 + 0x246702], al
mov byte [rsi + r9*4 + 0x246301], al
mov byte [rsi + r9*4 + 0x245f00], al
cmp rdi, 0x100
jl 0x1400f7210
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret