joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c72d0
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rsi, rdx
mov r14, rcx
cmp qword [rdx], 0
je 0x1400c730e
mov eax, 0x80070057
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0xc8], 0
call fcn.1400c77e0
test eax, eax
js 0x1400c7460
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov rcx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov rdi, rax
mov qword [rsp + 0x58], rax
mov r12d, dword [r14 + 4]
mov r15d, dword [r14 + 0xc]
sub r15d, r12d
mov r13d, dword [r14]
mov r14d, dword [r14 + 8]
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rsi], rax
test rax, rax
jne 0x1400c738f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc0], 1
mov eax, 1
jmp 0x1400c7460
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rsi, rax
mov qword [rsp + 0xc8], rax
mov dword [rsp + 0x40], 0x40cc0020
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r13d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], r15d
mov r9d, r14d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_BitBlt]
xor r14d, r14d
mov dword [rsp + 0xc0], r14d
jmp 0x1400c741c
test rsi, rsi
je 0x1400c7436
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
test rdi, rdi
je 0x1400c7444
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
test rbx, rbx
je 0x1400c745d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
mov eax, r14d
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400c7560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0xb0]
mov rsi, rdx
mov edx, dword [r8 + 0x14]
xor ecx, ecx
mov rdi, r9
mov r14, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
movzx r9d, word [r14 + 8]
xor r15d, r15d
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x28], r14
mov rdx, rdi
mov rcx, rbx
mov qword [rsp + 0x20], rax
mov rbp, rax
call qword [sym.imp.GDI32.dll_GetDIBits]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov edx, dword [r14]
mov rbx, rax
mov eax, 0x4d42
mov dword [rsp + 0x4e], r15d
mov word [rsp + 0x48], ax
lea r8d, [rcx*4]
mov qword [rsp + 0x20], r15
mov ecx, dword [r14 + 0x14]
lea eax, [rdx + 0xe]
add ecx, 0xe
add eax, r8d
add ecx, edx
mov dword [rsp + 0x52], eax
add ecx, r8d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x4a], ecx
lea r8d, [r15 + 0xe]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x20]
lea r9, [rsp + 0x40]
mov rdx, r14
mov qword [rsp + 0x20], r15
mov rcx, rbx
lea r8d, [r8*4 + 0x28]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [r14 + 0x14]
lea r9, [rsp + 0x40]
mov rdx, rbp
mov qword [rsp + 0x20], r15
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14010bb40
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400ce350
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x10], 0
mov rbx, rcx
jne 0x1400ce38b
mov qword [rcx + 0x18], 0
lea rdx, [rcx + 0x10]
lea rcx, [0x1400cd2b0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1400ce3bd
cmp qword [rbx + 0x18], 0
jne 0x1400ce3ca
mov rcx, qword [rbx + 0x10]
lea r8, [rbx + 0x18]
lea rdx, [0x1400cd270]
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400ce3ca
mov qword [rbx + 0x18], 0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400d0480
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x458
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush], rax
mov rdi, rdx
mov rbx, rcx
test rcx, rcx
je 0x1400d04bd
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400d04bd
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [rdi]
test ax, ax
je 0x1400d05ce
mov qword [rsp + CFtpFileFind::~CFtpFileFind], rbp
mov rdx, rdi
mov rcx, rdi
cmp ax, 0x2f
je 0x1400d04e3
cmp ax, 0x5c
jne 0x1400d04e6
mov rdx, rcx
movzx eax, word [rcx + 2]
add rcx, 2
test ax, ax
jne 0x1400d04d7
xor ebp, ebp
mov qword [rsp + CDialog::~CDialog], rsi
cmp rdx, rdi
je 0x1400d0544
sub rdx, rdi
lea rcx, [rsp + 0x230]
sar rdx, 1
lea rsi, [rdx + rdx]
mov rdx, rdi
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
cmp rsi, 0x208
jae 0x1400d05e8
lea rdx, [rsp + 0x230]
mov word [rsp + rsi + 0x230], bp
mov rcx, rbx
call fcn.1400d0480
mov word [rsp + 0x20], bp
test rbx, rbx
je 0x1400d0570
lea rcx, [rsp + 0x20]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1400d0560
lea rcx, [rsp + 0x20]
sub rcx, 2
nop dword [rax]
cmp word [rcx + 2], bp
lea rcx, [rcx + 2]
jne 0x1400d0580
xor edx, edx
nop dword [rax]
movzx eax, word [rdi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1400d0590
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400d05be
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rsi, qword [rsp + 0x450]
mov rbp, qword [rsp + 0x480]
mov rcx, qword [rsp + reloc.mfc140u.dll_CD2DRadialGradientBrush::CD2DRadialGradientBrush]
xor rcx, rsp
call fcn.14010bb40
add rsp, 0x458
pop rdi
pop rbx
ret
call fcn.14010c40c
int3
Function at 0x1400d1010
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx], 0
mov esi, r9d
mov r14d, r8d
mov rbp, rdx
mov rdi, rcx
jne 0x1400d111c
cmp dword [rcx + 8], 0xffffffff
jne 0x1400d111c
mov qword [rsp + 0x48], rbx
lea rbx, [rcx + 0x250]
mov rdx, rbx
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov rax, 0xffffffffffffffff
nop
cmp word [rbx + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x1400d1060
movzx ecx, word [rdi + rax*2 + 0x24e]
cmp cx, 0x5c
je 0x1400d1097
cmp cx, 0x2f
je 0x1400d1097
sub rbx, 2
cmp word [rbx + 2], 0
lea rbx, [rbx + 2]
jne 0x1400d1084
mov eax, dword [0x140155030]
mov dword [rbx], eax
mov rbx, qword [rsp + 0x48]
cmp esi, 1
jne 0x1400d10ca
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x1400d10ca
mov eax, 0x2000000
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
lea r9, [rsp + 0x40]
mov r8d, esi
mov edx, r14d
mov rcx, rbp
call fcn.1400d3f40
test rax, rax
jne 0x1400d10f4
mov eax, dword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rcx, rax
call fcn.1400d4ad0
xor ecx, ecx
mov qword [rdi], rax
test rax, rax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rbp, qword [rsp + 0x50]
mov eax, 0x1000000
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400d1850
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov r9d, dword [rcx]
mov r10, rcx
movsx rax, dl
mov r8d, r9d
xor r8, rax
shr r9d, 8
movzx eax, r8b
lea r8, [0x140172720]
mov edx, dword [r8 + rax*4]
xor edx, r9d
mov dword [rcx], edx
movzx eax, dl
add eax, dword [rcx + 4]
imul edx, eax, 0x8088405
inc edx
mov dword [rcx + 4], edx
mov ecx, dword [rcx + 8]
movzx eax, cl
shr rdx, 0x18
xor rdx, rax
shr ecx, 8
mov eax, dword [r8 + rdx*4]
xor eax, ecx
mov dword [r10 + 8], eax
ret
Function at 0x1400d4090
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov r10, r8
mov rdi, r9
imul r10d, edx
mov rsi, rdx
cmp byte [r9], 0
mov r11, rcx
je 0x1400d40ea
mov rdx, rcx
mov qword [rsp + 0x20], 0
mov rcx, qword [rdi + 8]
lea r9, [rsp + 0x48]
mov r8d, r10d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1400d40d6
mov byte [rdi + 0x10], 1
mov eax, dword [rsp + 0x48]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov edx, dword [r9 + 0x2c]
mov ecx, dword [r9 + 0x28]
sub ecx, edx
mov qword [rsp + 0x40], rbx
lea eax, [rdx + r10]
cmp eax, dword [r9 + 0x28]
cmovbe ecx, r10d
add rdx, qword [r9 + 0x20]
mov ebx, ecx
mov r8d, ecx
mov rcx, r11
call sub.VCRUNTIME140.dll_memcpy
add dword [rdi + 0x2c], ebx
mov eax, ebx
mov rbx, qword [rsp + 0x40]
xor edx, edx
div rsi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret

Function at 0x1400d42e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub rsp, 8
mov r10d, r8d
mov r9, rdx
test rdx, rdx
jne 0x1400d42f6
xor eax, eax
add rsp, 8
ret
mov qword [rsp], rbx
lea rbx, [0x140172720]
not ecx
cmp r10d, 8
jb 0x1400d43e8
mov r11, r10
shr r11, 3
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r10d, 0xfffffff8
mov edx, dword [rbx + rax*4]
xor edx, ecx
movzx ecx, byte [r9 + 1]
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 2]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 3]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 4]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 5]
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 6]
mov r8d, dword [rbx + rax*4]
xor r8d, edx
mov eax, r8d
shr r8d, 8
xor rcx, rax
movzx eax, cl
movzx ecx, byte [r9 + 7]
add r9, 8
mov edx, dword [rbx + rax*4]
xor edx, r8d
mov eax, edx
shr edx, 8
xor rcx, rax
movzx eax, cl
mov ecx, dword [rbx + rax*4]
xor ecx, edx
sub r11, 1
jne 0x1400d4320
test r10d, r10d
je 0x1400d4410
nop dword [rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
xor rdx, rax
shr eax, 8
movzx r8d, dl
mov ecx, dword [rbx + r8*4]
xor ecx, eax
add r10d, 0xffffffff
jne 0x1400d43f0
mov rbx, qword [rsp]
not ecx
mov eax, ecx
add rsp, 8
ret
Function at 0x1400de3e0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rdi, rcx
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x60]
mov rcx, rdi
call fcn.1400f66f0
mov qword [rsp + 0x58], rax
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400de464
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400dea00
Capabilities:
Delete registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rdx, str.SoftwareMicrosoftInternet_ExplorerTypedURLs
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
lea r8, [rsp + 0x20]
mov rcx, 0xffffffff80000001
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, 1
lea rdx, str.url_d
mov r8d, ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1400deaab
nop word [rax + rax]
inc ebx
lea rdx, str.url_d
mov r8d, ebx
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
je 0x1400dea80
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x28]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14010bb40
add rsp, 0x50
pop rbx
ret
Function at 0x1400df080
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, reloc.mfc140u.dll_CPaneDivider::CPaneDivider
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov ebx, edx
lea rdx, str._userprofile_
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rdx, str.Local_SettingsHistoryHistory.IE5index.dat
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
test ebx, ebx
je 0x1400df10e
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rcx, rax
mov r8d, 0x190
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r9, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
lea rdx, str._s_s
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.USER32.dll_wsprintfW]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14018c518]
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, str._J7_
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
js 0x1400df161
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x48]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14010bb40
add rsp, reloc.mfc140u.dll_CPaneDivider::CPaneDivider
pop rbx
ret
Function at 0x1400e8f10
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub rsp, 0x2e8
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov ecx, 0x101
lea rdx, [rsp + 0x30]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400e8fd8
mov edx, 0xff
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
jne 0x1400e8fd8
lea rcx, [rsp + 0x1d0]
mov qword [rsp + 0x2e0], rdi
call qword [sym.imp.WS2_32.dll_gethostbyname]
mov rdi, rax
test rax, rax
je 0x1400e8fd1
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400e8fd1
mov qword [rsp + 0x2f0], rbx
xor ebx, ebx
mov ecx, dword [rdx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov rcx, qword [rdi + 0x18]
lea rbx, [rbx + 1]
mov rdx, qword [rcx + rbx*8]
test rdx, rdx
jne 0x1400e8f90
mov rbx, qword [rsp + 0x2f0]
mov rdi, qword [rsp + 0x2e0]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14010bb40
add rsp, 0x2e8
ret
mov rax, qword [rsp + 0x20]
jmp 0x1400e8fb1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14010bb40
add rsp, 0x2e8
ret
Function at 0x1400e9a10
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3d0]
sub rsp, 0x4d0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x518], rbx
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rbp + 0x3c0], rax
mov rdi, r8
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov qword [rbp - 0x60], r8
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x70], operator
xor r15d, r15d
mov dword [rsp + 0x60], r15d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rbp + 0x1b0]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edx, dword [rsp + 0x60]
test edx, edx
je 0x1400e9ba1
lea rcx, str._nNumber_of_subkeys:__d_n
call fcn.140103bd0
mov ebx, r15d
cmp dword [rsp + 0x60], r15d
jbe 0x1400e9ba1
nop word [rax + rax]
mov dword [rsp + 0x74], 0xff
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x74]
lea r8, [rbp - 0x50]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400e9b95
lea edx, [rbx + 1]
lea r8, [rbp - 0x50]
lea rcx, str.__d___s_n
call fcn.140103db0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
xor r8d, r8d
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CDocObjectServer::XOleObject::EnumAdvise]
test eax, eax
jg 0x1400e9be4
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x1400e9b10
lea rdx, [0x140144758]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
mov rcx, rdi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rsi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rsp
call fcn.14010bb40
mov rbx, qword [rsp + 0x518]
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__13]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
jmp 0x1400e9bb2
Function at 0x1400e9e00
Capabilities:
Query or enumerate registry value

Disassembly:
push rdi
sub rsp, 0x870
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x890], rbx
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + AFX_WM_ON_MOVETABCOMPLETE], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x40], 0
lea rdx, str.Lync
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__4]
nop
lea rcx, [rsp + 0x50]
call fcn.1400fa4c0
nop
lea r8, [rsp + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140006190
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea r8, [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400e9f24
mov dword [rsp + 0x30], 0x800
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e9f1e
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t_]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov rax, rbx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.14010bb40
mov rbx, qword [rsp + 0x890]
add rsp, 0x870
pop rdi
ret
call fcn.14004e070
nop
call fcn.14004e070
int3
Function at 0x1400eae00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x580
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x5b0], rbx
mov rax, qword [0x1401d61d8]
xor rax, rsp
mov qword [rsp + 0x570], rax
mov rbp, rdx
mov rsi, rcx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_Ordinal_296]
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400f66f0
mov qword [rsp + 0x38], rax
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400eaf7c
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CDumpContext::operator___1]
mov rdi, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
test rdi, rdi
jne 0x1400eaeb7
xor edx, edx
mov qword [rsp + 0x60], rdx
jmp 0x1400eaf26
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1400eaec0
inc ebx
mov r9d, 0x80
lea r8, [rsp + 0x68]
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1400d7dc0
movsxd rdx, ebx
add rdx, rdx
mov r9, rdx
mov r8, rdi
mov rcx, qword [rsp + 0x60]
call fcn.140103a50
test eax, eax
je 0x1400eaf21
cmp eax, 0xc
je 0x1400eafc6
cmp eax, 0x16
je 0x1400eafd2
cmp eax, 0x22
je 0x1400eafd2
cmp eax, 0x50
jne 0x1400eafcc
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x170]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x1400eaf65
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test ebx, ebx
jne 0x1400eaf80
lea rdx, [rsp + 0x170]
mov rcx, rbp
call qword [sym.imp.mfc140u.dll_CMFCControlRendererInfo::CMFCControlRendererInfo]
jmp 0x1400eaf80
mov ebx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
nop
mov rcx, rsi
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonGallery::XGalleryGroup::XGalleryGroup]
mov eax, ebx
mov rcx, qword [rsp + 0x570]
xor rcx, rsp
call fcn.14010bb40
mov rbx, qword [rsp + 0x5b0]
add rsp, 0x580
pop rdi
pop rsi
pop rbp
ret
call sub.mfc140u.dll_AfxRegisterMFCCtrlClasses
nop
call sub.mfc140u.dll_AfxRegDeleteKey
int3
call sub.mfc140u.dll_AfxRegDeleteKey
int3