joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800922d0
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor esi, esi
lea r8, [rsp + 0x30]
mov rbx, rdx
mov qword [rsp + 0x30], rsi
lea edx, [rsi + 1]
call fcn.18000d7cc
mov edi, eax
test eax, eax
jne 0x180092397
mov rcx, qword [rbx]
sub rcx, qword [0x1800f3170]
jne 0x18009232c
mov rcx, qword [rbx + 8]
sub rcx, qword [0x1800f3178]
test rcx, rcx
jne 0x18009234b
mov rcx, qword [rsp + 0x30]
lea rdx, str.AutoConvertTo
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExW]
jmp 0x180092397
mov r8d, 0x200
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x180092368
mov rcx, qword [rsp + 0x30]
lea r9, [rsp + 0x40]
inc eax
lea rdx, str.AutoConvertTo
mov dword [rsp + 0x20], eax
call fcn.1800c1c8c
test eax, eax
mov ecx, 0x80040151
cmovne edi, ecx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800923a7
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x1800924d8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x30
and qword [rax + 0x20], 0
mov rsi, r8
and dword [rax + 0x18], 0
lea rax, [rax + 0x20]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x180092586
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
and qword [rsp + 0x20], rbx
xor r8d, r8d
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x180092586
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemAlloc]
mov rbx, rax
test rax, rax
jne 0x180092553
lea edi, [rax + 0xe]
jmp 0x180092586
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbx
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x180092586
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
xor ebx, ebx
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180092596
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rsi], rbx
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1800953c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
and qword [rsp + 0x58], 0
cmp dword [0x180123a9c], 0
jne 0x18009546e
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareMicrosoftOLE
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, 1
test eax, eax
jne 0x180095468
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x40], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.EnableMacPICTSupport
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x18009545d
cmp dword [rsp + 0x48], 4
jne 0x18009545d
mov eax, dword [0x180123aa4]
cmp dword [rsp + 0x50], ebx
cmove eax, ebx
mov dword [0x180123aa4], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [0x180123a9c], ebx
mov eax, dword [0x180123aa4]
add rsp, 0x30
pop rbx
ret

Function at 0x18009556c
Capabilities:
Accept command line arguments
Access the windows event log

Disassembly:
mov dword [rsp + 8], ecx
push rbx
sub rsp, 0x50
lea rdx, [0x1801067b0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x1800955e7
xor eax, eax
mov qword [rsp + 0x68], rax
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
mov qword [rsp + 0x68], rax
mov ecx, 1
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov r9d, 0xc000472c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea edx, [rcx + 1]
mov dword [rsp + 0x30], 4
mov word [rsp + 0x28], cx
mov rcx, rbx
and qword [rsp + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
add rsp, 0x50
pop rbx
ret

Function at 0x18009d434
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xe0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor ebp, ebp
mov rbx, rdx
mov rsi, rcx
mov edi, ebp
test rdx, rdx
je 0x18009d4cc
movzx ecx, word [rdx]
call qword [sym.imp.api_ms_win_core_string_l2_1_0.dll_IsCharAlphaW]
test eax, eax
je 0x18009d4cc
lea r14d, [rbp + 0x3a]
cmp word [rbx + 2], r14w
jne 0x18009d4cc
movzx ecx, word [rbx]
mov dword [rsp + 0x20], 0x50
call fcn.18001e718
lea rcx, [rsp + 0x24]
mov word [rsp + 0x24], ax
mov dword [rsp + 0x26], r14d
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDriveTypeW]
cmp eax, 4
jne 0x18009d4cc
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x24]
call qword [sym.imp.MPR.dll_WNetGetConnectionW]
test eax, eax
lea rdi, [rsp + 0x30]
cmovne rdi, rbp
mov rdx, rdi
mov rcx, rsi
call fcn.18009e474
test eax, eax
js 0x18009d4e5
xor edx, edx
mov rcx, rsi
call fcn.18009e590
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18009fd4c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rax, rdx
xor r8d, r8d
mov rdx, rcx
cmp rcx, rax
je 0x18009fe79
test rax, rax
je 0x18009fe7f
test rcx, rcx
je 0x18009fe7f
cmp word [rcx + 4], r8w
je 0x18009fdb0
cmp word [rax + 4], r8w
je 0x18009fe7f
movzx r11d, word [rax + 4]
movzx ecx, word [rcx + 4]
add r11, rax
add rcx, rdx
sub r11, rcx
movzx r9d, word [rcx]
movzx r10d, word [rcx + r11]
sub r9d, r10d
jne 0x18009fdab
add rcx, 2
test r10d, r10d
jne 0x18009fd94
test r9d, r9d
jmp 0x18009fdb5
cmp word [rax + 4], r8w
jne 0x18009fe7f
movzx r9d, word [rax + 0xa]
cmp r8w, word [rdx + 0xa]
jne 0x18009fdd0
cmp r8w, r9w
jmp 0x18009fe77
cmp r8w, r9w
je 0x18009fe7f
movzx ecx, word [rdx + 0xa]
add rcx, rdx
movzx edx, r9w
add rdx, rax
movzx eax, word [rdx + 0x42]
cmp word [rcx + 0x42], ax
jne 0x18009fe7f
mov eax, dword [rdx + 0x48]
mov r9d, dword [rcx + 0x48]
xor eax, r9d
test eax, 0xc1f
jne 0x18009fe7f
test r9b, 1
je 0x18009fe17
movzx eax, word [rdx + 0x4c]
cmp word [rcx + 0x4c], ax
jne 0x18009fe7f
test r9b, 2
je 0x18009fe27
movzx eax, word [rdx + 0x4e]
cmp word [rcx + 0x4e], ax
jne 0x18009fe7f
test r9b, 4
je 0x18009fe37
movzx eax, word [rdx + 0x50]
cmp word [rcx + 0x50], ax
jne 0x18009fe7f
test r9b, 8
je 0x18009fe47
movzx eax, word [rdx + 0x52]
cmp word [rcx + 0x52], ax
jne 0x18009fe7f
test r9b, 0x10
je 0x18009fe57
movzx eax, word [rdx + 0x54]
cmp word [rcx + 0x54], ax
jne 0x18009fe7f
bt r9d, 0xa
jae 0x18009fe68
movzx eax, word [rdx + 0x5a]
cmp word [rcx + 0x5a], ax
jne 0x18009fe7f
bt r9d, 0xb
jae 0x18009fe79
movzx eax, word [rdx + 0x5c]
cmp word [rcx + 0x5c], ax
jne 0x18009fe7f
mov r8d, 1
mov eax, r8d
ret

Function at 0x18009ff10
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
mov ecx, 0x104
lea rdx, [rsp + 0x20]
xor ebx, ebx
call qword [sym.imp.api_ms_win_core_file_l1_2_0.dll_GetTempPathW]
test eax, eax
jne 0x18009ff63
mov edx, 0x104
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x18009ff63
mov ecx, 0x80004005
jmp 0x18009ff95
cmp eax, 0x104
jbe 0x18009ff71
mov ecx, 0x800700ea
jmp 0x18009ff95
mov r9, rdi
lea rdx, str.OLE
xor r8d, r8d
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetTempFileNameW]
mov ecx, 0x80004005
test eax, eax
cmove ebx, ecx
mov ecx, ebx
mov eax, ecx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180023ec0
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret
Function at 0x1800a3f28
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp + 0x50], rax
and qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdi, rdx
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x1800a3ff1
jmp 0x1800a3f8b
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
call fcn.1800a3f28
test eax, eax
jne 0x1800a3fc6
and qword [rsp + 0x38], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
and qword [rsp + 0x28], 0
xor edx, edx
mov rcx, qword [rsp + 0x48]
and qword [rsp + 0x20], 0
mov dword [rsp + 0x40], 0xff
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExA]
test eax, eax
je 0x1800a3f78
cmp eax, 0x103
je 0x1800a3fd4
cmp eax, 0x3f2
jne 0x1800a3fe6
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteKeyExA]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800a6eb8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r15, rdx
mov rbx, rcx
lea rdx, [rsp + 0x40]
mov r14, r9
mov rdi, r8
mov rcx, qword [r15]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov r10d, dword [rsp + 0x40]
mov r9d, 0
mov r11, rax
mov eax, 0x811c9dc5
add r10, r10
je 0x1800a6f12
movzx ecx, byte [r9 + r11]
inc r9
xor ecx, eax
imul eax, ecx, 0x1000193
cmp r9, r10
jb 0x1800a6efd
xor edx, edx
mov dword [r14], eax
div dword [rbx + 0x18]
mov rbx, qword [rbx + 8]
mov dword [rdi], edx
test rbx, rbx
je 0x1800a6f64
mov rsi, qword [rsp + 0x60]
xor edi, edi
mov rbx, qword [rbx + rdx*8]
and qword [rsi], rdi
jmp 0x1800a6f5f
mov eax, dword [r14]
cmp dword [rbx + 0x18], eax
jne 0x1800a6f58
mov r8, qword [r15]
lea r9, [rsp + 0x40]
mov rdx, qword [rbx]
call fcn.1800a5868
test eax, eax
js 0x1800a6f6f
cmp byte [rsp + 0x40], 0
jne 0x1800a6f83
mov rdi, rbx
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1800a6f35
mov rax, qword [rsp + 0x68]
and qword [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov rax, qword [rsp + 0x68]
mov qword [rsi], rdi
mov qword [rax], rbx
jmp 0x1800a6f6d

Function at 0x1800ab970
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
or rax, 0xffffffffffffffff
xor ebx, ebx
inc rax
cmp word [r8 + rax*2], bx
jne 0x1800ab97c
lea eax, [rax*2 + 2]
mov r9, r8
mov r8d, 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
jle 0x1800ab9ac
movzx eax, ax
or eax, 0x80070000
add rsp, 0x30
pop rbx
ret
Function at 0x1800b2540
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp - 0x10], rax
movzx eax, word [rdx + 0x4c]
mov r14, rcx
xor ecx, ecx
mov word [rbp - 0x20], ax
movzx eax, word [rdx + 0x48]
mov edi, ecx
mov word [rbp - 0x22], ax
mov r12, r8
mov eax, 0x5a0
mov dword [rbp - 0x28], ecx
mov word [rbp - 0x1e], ax
mov r15, rdx
mov word [rbp - 0x24], cx
lea rax, [rbp - 0x28]
mov dword [rbp - 0x1c], ecx
mov ecx, 0x5711
mov dword [rbp - 0x30], 0x9ac6cdd7
xor cx, word [rax]
lea rdx, [rbp - 0x18]
add rax, 2
cmp rax, rdx
jb 0x1800b25a5
mov r13, qword [r15 + 0x40]
xor r8d, r8d
mov word [rbp - 0x18], cx
xor edx, edx
mov rcx, r13
call qword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
mov edx, eax
mov ecx, 2
mov ebx, eax
call qword [sym.imp.KERNELBASE.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x1800b2692
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, ebx
mov rcx, r13
mov r8, rax
call qword [sym.imp.GDI32.dll_GetMetaFileBitsEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [r14]
lea rdx, [rbp - 0x30]
xor r9d, r9d
mov rcx, r14
mov rax, qword [rax + 0x20]
lea r8d, [r9 + 4]
call qword [case.0x1800248fe.0]
mov edi, eax
test eax, eax
js 0x1800b2684
mov rax, qword [r14]
lea rdx, [rbp - 0x28]
xor r9d, r9d
mov rcx, r14
mov rax, qword [rax + 0x20]
lea r8d, [r9 + 0x12]
call qword [case.0x1800248fe.0]
mov edi, eax
test eax, eax
js 0x1800b2684
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rdx, qword [r14]
xor r9d, r9d
mov r8d, ebx
mov rcx, r14
mov r10, qword [rdx + 0x20]
mov rdx, rax
mov rax, r10
call qword [case.0x1800248fe.0]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r12, r12
je 0x1800b2684
lea eax, [rbx + 0x16]
mov dword [r12], eax
mov edx, ebx
mov rcx, rsi
call fcn.1800b2cf0
mov qword [r15 + 0x40], rax
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180023ec0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800b410c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
mov rdi, rdx
add rcx, 8
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x30]
lea r8d, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
lea r9, [rsp + 0x30]
mov edx, 0x104
lea r8, str.CLSID_s
lea rcx, [rbp - 0x80]
call fcn.180024f50
lea r8, [rsp + 0x28]
mov edx, 0x2000000
lea rcx, [rbp - 0x80]
call fcn.18000d8c8
test eax, eax
jle 0x1800b418e
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1800b421e
mov rcx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], 0x208
lea rdx, str.HelpDir
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jle 0x1800b41c4
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x1800b420e
mov rcx, qword [rsp + 0x28]
lea r9, [rsp + 0x20]
mov r8, rdi
mov dword [rsp + 0x20], 0x208
lea rdx, str.InprocServer32
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jle 0x1800b41f6
movzx eax, ax
or eax, 0x80070000
test eax, eax
js 0x1800b4213
mov edx, Ordinal_93
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_wcsrchr]
test rax, rax
je 0x1800b420e
mov word [rax], bx
mov ebx, 1
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1800b4448
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x5c]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [0x1801233c0]
lea r8, [rsp + 0x3c]
mov esi, 8
mov dword [rsp + 0x30], 0x190
mov byte [rsp + 0x37], 1
lea edi, [rsi + 0x18]
mov r9d, edi
lea edx, [rsi + 0x5c]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
mov rcx, qword [0x1801233c0]
lea r9d, [rsi + 8]
lea r8, [rsp + 0x80]
lea edx, [rsi + 0x5d]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadStringW]
xor ebp, ebp
test eax, eax
je 0x1800b44e0
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wtoi]
mov esi, eax
xor edx, edx
lea rcx, str.comctl32.dll
mov r8d, 0x800
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
je 0x1800b45e4
mov edx, 0x3ee
mov r8d, 5
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_FindResourceW]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
test rax, rax
je 0x1800b45db
mov r8d, dword [rax]
mov r10d, 0xffff0000
mov ecx, 0x1a
and r8d, r10d
cmp r8d, r10d
mov r9d, 0xffff
lea edx, [rcx - 8]
cmovne ecx, edx
lea rdx, [rcx + rax]
mov ecx, 2
cmp word [rdx], r9w
jne 0x1800b4568
add rdx, 4
jmp 0x1800b4573
movzx eax, word [rdx]
add rdx, rcx
test ax, ax
jne 0x1800b4568
cmp word [rdx], r9w
jne 0x1800b457f
add rdx, 4
jmp 0x1800b458a
movzx eax, word [rdx]
add rdx, rcx
test ax, ax
jne 0x1800b457f
movzx eax, word [rdx]
add rdx, rcx
test ax, ax
jne 0x1800b458a
movzx esi, word [rdx]
cmp r8d, r10d
mov eax, 6
cmovne rax, rcx
add rdx, rax
or rax, 0xffffffffffffffff
mov rcx, rax
inc rcx
cmp word [rdx + rcx*2], bp
jne 0x1800b45ae
inc rcx
cmp rcx, rdi
ja 0x1800b45cb
inc rax
cmp word [rdx + rax*2], bp
jne 0x1800b45bf
lea edi, [rax + 1]
movsxd r8, edi
lea rcx, [rsp + 0x3c]
add r8, r8
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov edx, Ordinal_93
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
mov r8d, 0x48
mov ecx, esi
mov edx, eax
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_MulDiv]
mov rdx, rbx
xor ecx, ecx
neg eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rcx, [rsp + 0x20]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800b4654
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x130
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
movzx ecx, dl
call qword [sym.imp.api_ms_win_core_stringansi_l1_1_0.dll_CharLowerA]
mov r8d, 0x100
lea rdx, [rsp + 0x20]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov cl, byte [rsp + 0x20]
lea rbx, [rsp + 0x20]
xor edi, edi
jmp 0x1800b46d0
cmp cl, 0x26
jne 0x1800b46c2
inc rbx
mov cl, byte [rbx]
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_IsDBCSLeadByte]
test eax, eax
jne 0x1800b46c2
mov al, byte [rbx]
cmp al, 0x26
jne 0x1800b46fb
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_stringansi_l1_1_0.dll_CharNextA]
mov rbx, rax
mov cl, byte [rax]
test cl, cl
jne 0x1800b46a8
xor eax, eax
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.180023ec0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
movzx ecx, al
call qword [sym.imp.api_ms_win_core_stringansi_l1_1_0.dll_CharLowerA]
cmp al, sil
sete dil
mov eax, edi
jmp 0x1800b46d6

Function at 0x1800b4acc
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
mov ebp, r8d
mov ecx, 0x11
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800b4b23
cmp dword [rbx + 8], 0x100
jne 0x1800b4b23
mov rax, qword [rbx + 0x10]
cmp rax, 9
je 0x1800b4bd6
add rax, 0xffffffffffffffdf
cmp rax, 1
jbe 0x1800b4bd6
cmp dword [rbx + 8], 0x106
mov edi, 0x3021
je 0x1800b4b4e
cmp dword [rbx + 8], 0x102
jne 0x1800b4b6c
mov rcx, qword [rsi + 0x90]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp qword [rbx], rax
jne 0x1800b4b6c
mov rcx, qword [rsi + 0x90]
mov edx, edi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov dl, byte [rbx + 0x10]
mov rcx, rax
call fcn.1800b4654
test eax, eax
jne 0x1800b4bd6
call qword [sym.imp.USER32.dll_GetFocus]
mov rdi, rax
test rax, rax
je 0x1800b4bf6
cmp dword [rbx + 8], 0x100
jne 0x1800b4bf6
cmp qword [rbx + 0x10], 9
jne 0x1800b4bc4
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [rsi + 0x90]
test ax, ax
jns 0x1800b4bae
mov edx, 1
call qword [sym.imp.USER32.dll_GetDlgItem]
jmp 0x1800b4bbf
xor r9d, r9d
xor r8d, r8d
mov edx, 0x474
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rdi, rax
je 0x1800b4bf6
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
cmp rax, qword [rsi + 0x90]
jne 0x1800b4bf6
mov rcx, qword [rsi + 0x90]
mov r9, rbx
xor r8d, r8d
mov edx, 0x475
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1800b4bf6
xor eax, eax
jmp 0x1800b4bfb
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x1800b7e9c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180122658]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov ebx, ecx
test cl, 2
je 0x1800b7f76
cmp qword [0x180123828], 0
jne 0x1800b7f76
call qword [sym.imp.ntdll.dll_RtlGetNtSystemRoot]
lea r8, str._s_system32urlmon.dll
mov edx, 0x208
mov r9, rax
lea rcx, [rsp + 0x20]
call fcn.18000bba8
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x800
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov qword [0x180123828], rax
test rax, rax
je 0x1800b7f76
lea rdx, str.CreateURLMoniker
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x180123828]
lea rdx, str.CreateAsyncBindCtx
mov qword [0x1801239f0], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x180123828]
lea rdx, str.RegisterBindStatusCallback
mov qword [0x1801239d8], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rcx, qword [0x180123828]
lea rdx, str.RevokeBindStatusCallback
mov qword [0x1801239e0], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1801239e8], rax
test bl, 1
je 0x1800b803e
cmp qword [0x180123830], 0
jne 0x1800b803e
call qword [sym.imp.ntdll.dll_RtlGetNtSystemRoot]
lea r8, str._s_system32_asycfilt.dll
mov edx, 0x208
mov r9, rax
lea rcx, [rsp + 0x20]
call fcn.18000bba8
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x800
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov qword [0x180123830], rax
test rax, rax
jne 0x1800b7fd2
mov eax, 0x80004005
jmp 0x1800b8040
lea rdx, str.FilterCreateInstance
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x1801239d0], rax
test rax, rax
je 0x1800b7fcb
lea rcx, str.MS_AsyncImage_DCWait
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea rcx, str.MS_AsyncImage_Display
mov word [0x180123ad8], ax
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea rcx, str.MS_AsyncImage_Abnormal
mov word [0x180123ad0], ax
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
lea rcx, str.MS_AsyncImage_Finished
mov word [0x180123ad4], ax
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomW]
mov word [0x180123acc], ax
xor eax, eax
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180023ec0
add rsp, 0x240
pop rbx
ret