joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180086b20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
movzx eax, byte [rdx]
mov rbx, r8
dec eax
mov r8, rdx
mov rdi, rcx
cmp eax, 0x20
ja case.0x180086c09.4
lea rsi, [0x180000000]
nop dword [rax]
cdqe
movzx eax, byte [rsi + rax + 0x86d88]
mov ecx, dword [rsi + rax*4 + 0x86d5c]
add rcx, rsi
jmp rcx
mov rax, qword [rbx + 0xd0]
movzx r8d, byte [r8 + 1]
add rax, 0xffffffffffffffc4
lea r8, [rax + r8*2]
movzx eax, byte [r8]
dec eax
cmp eax, 0x20
jbe 0x180086b50
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xcc]
movzx edx, word [rsi + rax*2 + 0x99c20]
mov rcx, rdi
call fcn.180085530
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [rbx + 0x9c]
cmp al, 8
jae case.0x180086c09.4
lea edx, [rax + 0x6d]
mov rcx, rdi
call fcn.180085530
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx eax, byte [r8 + 1]
add eax, 0xfffffffe
cmp eax, 0x1a
ja case.0x180086c09.4
cdqe
movzx eax, byte [rsi + rax + 0x86db8]
mov ecx, dword [rsi + rax*4 + 0x86dac]
add rcx, rsi
jmp rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180087bc0
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.180086de0
movzx eax, byte [rbx + 0xa2]
mov r9, rbx
mov rcx, rdi
mov rdx, qword [rbx + rax*8 + 0xa8]
inc al
mov byte [rbx + 0xa2], al
call fcn.180085950
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movzx edx, byte [rbx + 0x34]
mov rcx, rdi
call fcn.180085500
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180086c9e
lea edx, [rax + 0x35]
jmp 0x180086cb0
cmp eax, 1
jne 0x180086cab
lea edx, [rax + 0x1f]
lea eax, [rdx + 0x19]
jmp 0x180086cb5
mov edx, 0x39
mov eax, 0x20
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180085530
movsxd rax, dword [rbx + 8]
mov rcx, rdi
movzx edx, byte [rax + rsi + 0x99de0]
call fcn.180085530
xor al, al
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov eax, dword [rbx + 0x60]
cmp eax, 2
jne 0x180086cf7
lea edx, [rax + 0x31]
jmp 0x180086d09
cmp eax, 1
jne 0x180086d04
lea edx, [rax + 0x19]
lea eax, [rdx - 0xa]
jmp 0x180086d0e
mov edx, 0x10
mov eax, 0x1a
cmp byte [rbx + 0x37], 0
mov rcx, rdi
cmovne edx, eax
call fcn.180085530
mov rbx, qword [rsp + 0x30]
xor al, al
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd rax, dword [rbx + 0xb8]
jmp 0x180086b9e
movzx edx, byte [rbx + 0xa0]
and edx, 7
add edx, 0x85
jmp 0x180086ba6
movsxd rax, dword [rbx + 0x98]
jmp 0x180086b9e
Function at 0x140001e24
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 8], 0
mov rbx, rcx
je 0x140001e3e
mov eax, 1
jmp 0x140001edb
lea rcx, str.combase.dll
call fcn.140007690
test rax, rax
mov qword [rbx + 8], rax
je 0x140001ed9
lea rdx, str.RoGetActivationFactory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.WindowsCreateString
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.WindowsCreateStringReference
mov qword [rbx + 0x18], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.WindowsDeleteString
mov qword [rbx + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.RoInitialize
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbx + 8]
lea rdx, str.RoUninitialize
mov qword [rbx + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
jmp 0x140001e34
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x140002a2c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
mov eax, 0x2a50
call fcn.14001eca0
sub rsp, rax
cmp dword [rcx + 0x18], 1
mov rsi, rdx
mov rbx, rcx
jne 0x140002c14
add rcx, 0x43e8
mov dx, 0x5c
call sub.msvcrt.dll_wcschr
test rax, rax
mov rdi, rax
je 0x140002c14
and word [rsp + 0x250], 0
lea rcx, [rsp + 0x252]
xor edx, edx
mov r8d, 0x7fe
call sub.msvcrt.dll_memset
lea r9, [rdi + 2]
lea r8, str._sProperties
lea rcx, [rsp + 0x250]
mov edx, 0x3ff
call sub.msvcrt.dll__snwprintf
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
lea rdx, [rsp + 0x250]
mov r9d, 0x20119
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140002c14
lea rcx, [rsp + 0x52]
xor edi, edi
xor edx, edx
and word [rsp + 0x50], di
mov r8d, 0x1fe
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0xa51]
xor edx, edx
mov r8d, 0x1fff
mov byte [rsp + 0xa50], dil
call sub.msvcrt.dll_memset
and dword [rsp + 0x2a88], edi
lea rax, [rsp + 0x2a70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a88]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
xor edx, edx
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x2a80]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x2a70], 0x2000
mov dword [rsp + 0x2a80], 0xff
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x140002c09
lea r8d, [rax + 0x26]
lea rdx, str.a45429a4_aa63_4480_b7f8_3f2552daee93
lea rcx, [rsp + 0x50]
call sub.msvcrt.dll__wcsnicmp
test eax, eax
jne 0x140002bc0
cmp dword [rsp + 0x2a70], 0x318
jb 0x140002bc0
mov rcx, rsi
call sub.msvcrt.dll_wcslen
lea rcx, [rsp + 0xa58]
mov rdx, rsi
mov r8, rax
call sub.msvcrt.dll__wcsnicmp
test eax, eax
je 0x140002bf7
lea rax, [rsp + 0x2a70]
add edi, 1
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xa50]
mov edx, edi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x2a88]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
jmp 0x140002b45
lea rdx, [rsp + 0xd58]
mov rcx, rbx
call fcn.140002c24
jmp 0x140002c17
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
or eax, 0xffffffff
add rsp, 0x2a50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140005054
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x3250
call fcn.14001eca0
sub rsp, rax
and word [rsp + 0x40], 0
mov rdi, rcx
lea rcx, [rsp + 0x42]
xor edx, edx
mov r8d, 0x208
call sub.msvcrt.dll_memset
and word [rsp + 0x1250], 0
lea rcx, [rsp + 0x1252]
xor edx, edx
mov r8d, 0x1ffe
call sub.msvcrt.dll_memset
and word [rsp + 0x250], 0
mov ebx, 0x7fe
lea rcx, [rsp + 0x252]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
and word [rsp + 0xa50], 0
lea rcx, [rsp + 0xa52]
mov r8, rbx
xor edx, edx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x250]
mov r8d, 0x3ff
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x40]
mov edx, InitCommonControls
call fcn.14001a238
lea rdx, [rsp + 0x1250]
mov rcx, rdi
call fcn.140004e90
mov edx, dword [rdi]
lea rcx, [0x140026fc8]
add edx, 0x5dc
call fcn.140008018
mov rcx, qword [rdi + 8]
mov rbx, rax
call fcn.140002d68
lea rcx, [rsp + 0xa50]
mov r8, rbx
mov edx, 0x3ff
mov r9, rax
call sub.msvcrt.dll__snwprintf
mov rcx, qword [rdi + 8]
lea rbx, [rsp + 0x250]
cmp dword [rcx + 0x18], 3
jne 0x14000517d
add rcx, 0x2898
cmp word [rcx], 0
je 0x14000517d
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000517d
mov rbx, qword [rdi + 8]
add rbx, 0x2898
mov dword [rsp + 0x38], 1
and qword [rsp + 0x30], 0
and dword [rsp + 0x28], 0
lea r9, [rsp + 0x1250]
lea r8, [rsp + 0xa50]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
mov qword [rsp + 0x20], rbx
call fcn.140008f40
mov rbx, qword [rsp + 0x3260]
add rsp, 0x3250
pop rdi
ret

Function at 0x14000664c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, rdx
mov rbx, rdx
call sub.msvcrt.dll_wcslen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x50]
lea r8d, [rax + rax]
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14000688c
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.USER32.dll_EmptyClipboard]
cmp rdi, rbx
je 0x140006909
mov rcx, rdi
call sub.msvcrt.dll_wcslen
mov ecx, 0x2000
add eax, 1
movsxd rsi, eax
add rsi, rsi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rbx
mov rbp, rax
je 0x140006909
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rbx + 0xd]
mov rdx, rbp
call qword [sym.imp.USER32.dll_SetClipboardData]
cmp rax, rbx
setne bl
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140006928
Capabilities:
Get file size
Read file on windows
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov rbx, rcx
xor edi, edi
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea r8d, [rdi + 3]
mov qword [rsp + 0x30], rdi
xor r9d, r9d
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rbx, rax
je 0x1400069ff
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, 0x2000
mov r12d, eax
mov esi, eax
lea rdx, [r12 + 2]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp rax, rdi
mov rbp, rax
je 0x1400069ec
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r9, [rsp + 0x68]
mov r8d, r12d
mov rcx, rbx
mov rdx, rax
mov qword [rsp + 0x20], rdi
mov r13, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x1400069ec
shr rsi, 1
mov rcx, rbp
mov word [r13 + rsi*2], di
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [rdi + 0xd]
mov rdx, rbp
call qword [sym.imp.USER32.dll_SetClipboardData]
jmp 0x1400069f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140006a07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop r13
pop r12
pop rdi
ret

Function at 0x140006d08
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
cmp word [0x140027320], 0
mov rbx, rcx
jne 0x140006d33
lea rcx, [0x140027320]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [0x14002752c], eax
lea rdx, [0x140027320]
mov rcx, rbx
call fcn.14001e8ea
mov eax, dword [0x14002752c]
add rsp, 0x20
pop rbx
ret

Function at 0x1400070b0
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r9, [0x14001f9c8]
mov r8, rdx
lea rdx, [0x140020430]
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], r9
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp rax, 0x20
seta cl
mov eax, ecx
add rsp, 0x38
ret

Function at 0x140007628
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rdi, rdx
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x6c]
lea rcx, [rsp + 0x24]
call sub.msvcrt.dll_memset
lea rax, [0x1400204e8]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
ret
Function at 0x140007690
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x820
and word [rsp + 0x20], 0
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x7fe
call sub.msvcrt.dll_memset
cmp word [0x140027530], 0
jne 0x1400076d6
lea rcx, [0x140027530]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [0x14002773c], eax
lea rdx, [0x140027530]
lea rcx, [rsp + 0x20]
call fcn.14001e8ea
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcslen
test eax, eax
jle 0x140007710
cdqe
cmp word [rsp + rax*2 + 0x1e], 0x5c
je 0x140007710
lea rdx, [0x1400203c8]
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0x20]
mov rdx, rbx
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140007736
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
add rsp, 0x820
pop rbx
ret

Function at 0x140008690
Capabilities:
Read .ini file

Disassembly:
push rbx
sub rsp, 0x30
and word [rdx], 0
lea rax, [0x140026390]
mov rbx, rdx
mov r9, rdx
mov qword [rsp + 0x28], rax
mov rdx, rcx
mov dword [rsp + 0x20], r8d
lea r8, [0x14001f9c8]
lea rcx, [0x1400265a0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400086d4
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.14001eca0
sub rsp, rax
and word [rsp + 0x30], 0
mov rbx, rcx
mov rdi, rdx
lea rcx, [rsp + 0x32]
lea r8d, [rax - 0x40]
xor edx, edx
call sub.msvcrt.dll_memset
lea r11, [0x140026390]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], r11
lea r8, [0x14001f9c8]
lea rcx, [0x1400265a0]
mov rdx, rbx
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x30], 0
je 0x14000874f
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14001e8ea
mov eax, 1
jmp 0x140008751
xor eax, eax
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret

Function at 0x140008764
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2040
call fcn.14001eca0
sub rsp, rax
and word [rsp + 0x30], 0
mov ebx, r8d
mov rdi, rcx
mov rsi, rdx
lea r8d, [rax - 0x40]
lea rcx, [rsp + 0x32]
xor edx, edx
call sub.msvcrt.dll_memset
lea rbp, [0x140026390]
lea r9, [rsp + 0x30]
lea r8, [0x14001f9c8]
lea rcx, [0x1400265a0]
mov rdx, rdi
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], 0x1000
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [rsp + 0x30], 0
je 0x1400087e0
test ebx, ebx
jne 0x1400087e0
xor eax, eax
jmp 0x1400087f6
lea rcx, [0x1400265a0]
mov r9, rbp
mov r8, rsi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea r11, [rsp + 0x2040]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140008c50
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push rbx
sub rsp, 0x230
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0x20], bx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x20]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x20]
mov dx, 0x2e
call sub.msvcrt.dll_wcsrchr
cmp rax, rbx
je 0x140008c9b
mov word [rax], bx
lea rdx, str._lng.ini
lea rcx, [rsp + 0x20]
call sub.msvcrt.dll_wcscat
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140008d58
lea rdx, [rsp + 0x20]
lea rcx, [0x140026390]
call fcn.14001e8ea
lea rdx, str.general
lea rcx, [0x1400265a0]
call fcn.14001e8ea
lea r9, [0x140026390]
lea rdx, [0x140020578]
lea rcx, [0x1400265a0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
lea rdx, [0x140026630]
lea rcx, str.charset
cmp eax, 1
sete bl
mov dword [0x140026374], ebx
mov ebx, 0x3f
mov r8d, ebx
call fcn.140008690
lea rdx, [0x1400266b0]
lea rcx, str.TranslatorName
mov r8d, ebx
call fcn.140008690
lea rdx, [0x140026730]
lea rcx, str.TranslatorURL
mov r8d, 0xff
call fcn.140008690
add rsp, 0x230
pop rbx
ret

Function at 0x14000aa08
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x8040
call fcn.14001eca0
sub rsp, rax
mov rdi, rcx
mov rbx, rdx
lea r8d, [rax - 0x41]
lea rcx, [rsp + 0x41]
xor edx, edx
mov byte [rsp + 0x40], 0
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
or r9d, 0xffffffff
mov r8, rbx
xor edx, edx
mov ecx, 0xfde9
mov dword [rsp + 0x28], 0x7fff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x8060]
lea rdx, [rsp + 0x40]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x8050]
add rsp, 0x8040
pop rdi
ret

Function at 0x14000aaa4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
mov eax, 0x2040
call fcn.14001eca0
sub rsp, rax
mov rdi, rcx
mov rbx, rdx
lea r8d, [rax - 0x41]
lea rcx, [rsp + 0x41]
xor edx, edx
mov byte [rsp + 0x40], 0
call sub.msvcrt.dll_memset
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x40]
or r9d, 0xffffffff
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], 0x1fff
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_strlen
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x2060]
lea rdx, [rsp + 0x40]
mov r8, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x2050]
add rsp, 0x2040
pop rdi
ret
Function at 0x14000b00c
Capabilities:
Resolve function by parsing pe exports

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 r12
push r13
push r14
sub rsp, 0x150
mov rsi, rdx
mov rdi, rcx
mov r13, r8
lea rcx, [rax - 0x98]
lea rdx, str._td_style_background_color:_s__white_space:_nowrap___s__td_
mov r8d, 0x7c
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x70]
lea rdx, str._td_style_background_color:_s____s__td_
mov r8d, 0x54
call sub.msvcrt.dll_memcpy
lea r8, str._tr_
mov rdx, rsi
mov rcx, rdi
call fcn.14000ab3c
xor ebp, ebp
cmp dword [rdi + 0x68], ebp
jle 0x14000b1a8
xor r12d, r12d
mov rax, qword [rdi + 0x70]
lea rdx, [rsp + 0x70]
lea r14, [rsp + 0xd0]
movsxd rbx, dword [r12 + rax]
mov rax, qword [rdi + 0x88]
mov r9, r13
lea rcx, [rbx + rbx*4]
mov r8d, ebp
cmp dword [rax + rcx*8 + 0x14], 0
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
cmove r14, rdx
or dword [rsp + 0x30], 0xffffffff
or dword [rsp + 0x34], 0xffffffff
or dword [rsp + 0x38], 0xffffffff
and dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rcx
mov edx, 5
mov rcx, rdi
call qword [rax + 0x68]
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call fcn.14001a354
mov r11, qword [r13]
mov r8, qword [rdi + 0xb0]
mov edx, ebx
mov rcx, r13
call qword [r11]
mov rcx, qword [rdi + 0xb8]
mov rdx, rax
call fcn.14001a39c
mov r11, qword [rdi]
mov rdx, qword [rdi + 0xb8]
mov r9d, ebx
mov r8, r13
mov rcx, rdi
call qword [r11 + 0xa8]
mov rcx, qword [rdi + 0xb8]
cmp word [rcx], 0
je 0x14000b13d
cmp word [rcx], 0x20
jne 0x14000b149
lea rdx, str.nbsp_
call sub.msvcrt.dll_wcscat
mov rdx, qword [rdi + 0xb8]
mov rcx, qword [rdi + 0xc0]
lea r8, [rsp + 0x30]
call fcn.14001a498
mov r11, qword [rdi + 0xc0]
mov rcx, qword [rdi + 0xb0]
lea r9, [rsp + 0x40]
mov r8, r14
mov edx, 0x2000
mov qword [rsp + 0x20], r11
call sub.msvcrt.dll__snwprintf
mov r8, qword [rdi + 0xb0]
mov rdx, rsi
mov rcx, rdi
call fcn.14000ab3c
add ebp, 1
add r12, 4
cmp ebp, dword [rdi + 0x68]
jl 0x14000b085
lea r8, [0x140020620]
mov rdx, rsi
mov rcx, rdi
call fcn.14000ab3c
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x14000f09c
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rdi, rdx
mov byte [rdx + 3], 0
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14000f17e
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jae 0x14000f17e
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
bt ax, 0xf
jb 0x14000f17e
mov eax, dword [0x14002794c]
add eax, 1
mov dword [0x14002794c], eax
cdqe
cmp byte [rax + rdi], 0
jne 0x14000f185
mov rax, qword [rbx + 0x6d8]
and dword [0x14002794c], 0
mov edx, 2
cmp dword [rax + 0xa0], 0
jne 0x14000f147
mov dword [rax + 0xa0], 0x7d0
mov rcx, qword [rbx + 0x210]
xor r9d, r9d
mov r8d, 0xfa
call qword [sym.imp.USER32.dll_SetTimer]
jmp 0x14000f163
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_KillTimer]
mov r11, qword [rbx + 0x6d8]
and dword [r11 + 0xa0], 0
mov rcx, qword [rbx + 0x6e0]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rcx + 0x350]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14000f185
and dword [0x14002794c], 0
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400114d8
Capabilities:
Delete file
Get common file path
Open clipboard

Disassembly:
push rbx
sub rsp, 0x450
mov rbx, rcx
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14001150e
lea rcx, [rsp + 0x240]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
and word [rsp + 0x30], 0
lea r9, [rsp + 0x30]
lea rdx, [0x140021478]
lea rcx, [rsp + 0x240]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov rdx, qword [rbx + 0x6e0]
mov eax, 1
mov dword [rsp + 0x28], eax
lea r8, [rsp + 0x30]
lea r9d, [rax + 1]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140010fb8
test eax, eax
je 0x14001159a
mov rcx, qword [rbx + 0x210]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140011577
lea rcx, [rsp + 0x30]
call fcn.140006928
jmp 0x14001157d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14001158f
mov rcx, qword [rbx + 0x210]
mov edx, eax
call fcn.14000668c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rsp, 0x450
pop rbx
ret