joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800c5210
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov dword [rsp + 0x20], 0x114
mov qword [rcx + 8], rax
mov rbx, rcx
mov qword [rcx + 0x10], rax
xor edx, edx
mov qword [rcx + 0x18], rax
mov r8d, 0x110
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
call fcn.18014be70
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x1800c5290
cmp dword [rsp + 0x24], 6
jb 0x1800c5290
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x150
pop rbx
ret
Function at 0x1800c52b0
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, rcx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x40], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rax - 0x40], xmm1
xor ebp, ebp
mov word [rax - 0x50], bp
lea r8d, [rbp + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rax - 0x50]
call fcn.180005390
nop
call fcn.180019930
mov rcx, rax
lea rdx, [rsp + 0x28]
call fcn.1800199d0
mov rbx, rax
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800c5356
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c5351
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c54fd
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bp
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x48], bp
mov r8d, 0xb
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x48]
call fcn.180005390
nop
call fcn.180019930
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.1800199d0
mov rdi, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800c53f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800c53ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800c54f7
call fcn.180148104
movdqa xmm0, xmmword [0x1801bc8a0]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bp
test rbx, rbx
je 0x1800c54e1
test rdi, rdi
je 0x1800c54e1
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.18014ebe4
int3
call fcn.18014ebe4
int3
Function at 0x1800c9800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rcx, qword [rcx + 0x28]
mov rbx, r9
mov edi, r8d
test rcx, rcx
jne 0x1800c9826
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
test rdx, rdx
je 0x1800c9819
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x1800c9819
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800c9819
cmp edi, dword [rbx]
mov rbx, qword [rsp + 0x40]
sete al
add rsp, 0x30
pop rdi
ret
Function at 0x1800cd0c0
Capabilities:
Get file size

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r8, rdx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.180012c40
nop
lea rcx, [rsp + 0x48]
call fcn.18000f1a0
xor ebp, ebp
test al, al
jne 0x1800cd111
xor dil, dil
jmp 0x1800cd203
mov qword [rsp + 0x30], rbp
mov ecx, 8
call fcn.180147c14
mov qword [rsp + 0x40], rax
mov qword [rax], 0xffffffffffffffff
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov r9d, 1
mov r8d, 0x80000000
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.18001e280
mov rbx, qword [rsp + 0x30]
test al, al
je 0x1800cd1d3
mov rdi, rbp
test rbx, rbx
je 0x1800cd1d3
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
jne 0x1800cd17b
xor sil, sil
jmp 0x1800cd1aa
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp eax, 0xffffffff
jne 0x1800cd19c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1800cd19c
xor sil, sil
jmp 0x1800cd1aa
mov edi, dword [rsp + 0x40]
shl rdi, 0x20
add rdi, rsi
mov sil, 1
mov rcx, qword [rbx]
cmp rcx, 0xffffffffffffffff
je 0x1800cd1c4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1800cd1c4
mov qword [rbx], 0xffffffffffffffff
test sil, sil
je 0x1800cd1d3
test rdi, rdi
je 0x1800cd1d3
mov dil, 1
jmp 0x1800cd1d6
xor dil, dil
test rbx, rbx
je 0x1800cd203
mov rcx, qword [rbx]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800cd1f1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rbp
mov edx, 8
mov rcx, rbx
call fcn.180148104
mov qword [rsp + 0x30], rbp
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1800cd241
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800cd23c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800cd275
call fcn.180148104
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], bp
movzx eax, dil
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180147bf0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
call fcn.18014ebe4
int3
Function at 0x1800d3b50
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x330
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x320], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x70]
call fcn.1800d4040
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x90]
call fcn.180005180
nop
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180012c40
nop
lea rcx, [rsp + 0x90]
call fcn.180005100
lea rcx, [rsp + 0x50]
call fcn.18000f1a0
movzx eax, al
test eax, eax
jne 0x1800d3c17
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x340]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.180005100
nop
lea rcx, [rsp + 0x70]
call fcn.180005100
mov rax, qword [rsp + 0x340]
jmp 0x1800d3d84
lea rax, [rsp + 0x110]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x50]
call fcn.1800050a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x110]
lea r8, [0x1801b0c58]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0x110]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
cmp word [rax + rcx*2], 0
jne 0x1800d3c7b
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x1800d3cdc
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x340]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x50]
call fcn.180005100
nop
lea rcx, [rsp + 0x70]
call fcn.180005100
mov rax, qword [rsp + 0x340]
jmp 0x1800d3d84
lea rcx, [rsp + 0xf0]
call fcn.1800d3a60
nop
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xb0]
call fcn.180005180
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xd0]
call fcn.180012c40
nop
lea rcx, [rsp + 0xb0]
call fcn.180005100
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x340]
call fcn.180009270
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0xd0]
call fcn.180005100
nop
lea rcx, [rsp + 0xf0]
call fcn.180005100
nop
lea rcx, [rsp + 0x50]
call fcn.180005100
nop
lea rcx, [rsp + 0x70]
call fcn.180005100
mov rax, qword [rsp + 0x340]
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x330
pop rdi
ret
Function at 0x1800d4b60
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xb8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0xa8], rax
lea rdx, str.config.ini
lea rcx, [rsp + 0x48]
call fcn.180005180
nop
lea rcx, [rsp + 0x88]
call fcn.1800d4040
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.180012c40
nop
lea rcx, [rsp + 0x88]
call fcn.180005100
nop
lea rcx, [rsp + 0x48]
call fcn.180005100
lea rcx, [rsp + 0x68]
call fcn.1800050a0
mov r9, rax
xor r8d, r8d
lea rdx, str.PreferPdfReader
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 1
jne 0x1800d4c16
mov dword [rsp + 0x24], 1
jmp 0x1800d4c1e
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x68]
call fcn.180005100
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0xb8
ret

Function at 0x1800d5030
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.1800d4040
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.180005180
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180012c40
nop
lea rcx, [rsp + 0x78]
call fcn.180005100
lea rcx, [rsp + 0x38]
call fcn.18000f1a0
movzx eax, al
test eax, eax
jne 0x1800d50c2
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x38]
call fcn.180005100
nop
lea rcx, [rsp + 0x58]
call fcn.180005100
mov eax, dword [rsp + 0x20]
jmp 0x1800d510b
lea rcx, [rsp + 0x38]
call fcn.1800050a0
mov r9, rax
xor r8d, r8d
lea rdx, str.IsForceOpenEditor
lea rcx, str.Open
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.180005100
nop
lea rcx, [rsp + 0x58]
call fcn.180005100
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0xa8
ret
Function at 0x1800d5130
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x58]
call fcn.1800d4040
nop
lea rdx, str.config.ini
lea rcx, [rsp + 0x78]
call fcn.180005180
nop
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.180012c40
nop
lea rcx, [rsp + 0x78]
call fcn.180005100
lea rcx, [rsp + 0x38]
call fcn.18000f1a0
movzx eax, al
test eax, eax
jne 0x1800d51c2
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [rsp + 0x38]
call fcn.180005100
nop
lea rcx, [rsp + 0x58]
call fcn.180005100
mov eax, dword [rsp + 0x20]
jmp 0x1800d520e
lea rcx, [rsp + 0x38]
call fcn.1800050a0
mov r9, rax
mov r8d, 0xffffffff
lea rdx, str.IsRightNetFramework
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x38]
call fcn.180005100
nop
lea rcx, [rsp + 0x58]
call fcn.180005100
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0xa8
ret

Function at 0x1800d5900
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, WSAStartup
rep stosb byte [rdi], al
mov dword [rsp + 0x30], WSAStartup
mov dword [rsp + 0x34], 0x40
cmp qword [rsp + 0xd0], 0
je 0x1800d5957
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rax
jmp 0x1800d5962
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x98], 0
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1800d59ee
cmp qword [rsp + 0x68], 0x20
jbe 0x1800d59dd
mov dword [rsp + 0x24], 1
jmp 0x1800d59e5
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1800d5a16
movzx eax, byte [rsp + 0xe0]
test eax, eax
je 0x1800d5a16
mov edx, 0x2710
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx eax, byte [rsp + 0x20]
add rsp, 0xa0
pop rdi
ret
Function at 0x1800e7d30
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2c0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov dword [rsp + 0x30], 0
mov eax, 0x51
mov word [rsp + 0x80], ax
mov eax, 0x69
mov word [rsp + 0x82], ax
mov eax, 0x6e
mov word [rsp + 0x84], ax
mov eax, 0x67
mov word [rsp + 0x86], ax
mov eax, 0x6e
mov word [rsp + 0x88], ax
mov eax, 0x69
mov word [rsp + 0x8a], ax
mov eax, 0x61
mov word [rsp + 0x8c], ax
mov eax, WSAStartup
mov word [rsp + 0x8e], ax
mov eax, 0x20
mov word [rsp + 0x90], ax
mov eax, 0x43
mov word [rsp + 0x92], ax
mov eax, 0x68
mov word [rsp + 0x94], ax
mov eax, WSAStartup
mov word [rsp + 0x96], ax
mov eax, WSAStartup
mov word [rsp + 0x98], ax
mov eax, 0x6d
mov word [rsp + 0x9a], ax
mov eax, 0x65
mov word [rsp + 0x9c], ax
xor eax, eax
mov word [rsp + 0x9e], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.180005180
nop
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1800e6520
nop
lea rcx, [rsp + 0x60]
call fcn.180005100
lea rcx, [rsp + 0x40]
call fcn.180005080
movzx eax, al
test eax, eax
je 0x1800e7ea1
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x2d0]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x2d0]
jmp 0x1800e7fcc
lea rcx, [rsp + 0x40]
call fcn.18000f1a0
movzx eax, al
test eax, eax
jne 0x1800e7ee8
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x2d0]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x2d0]
jmp 0x1800e7fcc
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1800050a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0xa0]
lea r8, [0x1801b0c58]
lea rdx, str.Version
lea rcx, str.AppLoadInfo
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rax, [rsp + 0xa0]
lea rcx, [0x1801b0c58]
sub rcx, rax
movzx edx, word [rax]
cmp dx, word [rax + rcx]
jne 0x1800e7f5e
add rax, 2
test dx, dx
jne 0x1800e7f48
xor eax, eax
jmp 0x1800e7f63
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1800e7f9a
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x2d0]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x2d0]
jmp 0x1800e7fcc
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x2d0]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x2d0]
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x2c0
pop rdi
ret
Function at 0x1800e86b0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov dword [rsp + 0x30], 0
mov rdx, qword [rsp + 0x298]
lea rcx, [rsp + 0x40]
call fcn.1800e6d10
nop
lea rcx, [rsp + 0x40]
call fcn.18000f1a0
movzx eax, al
test eax, eax
jne 0x1800e873c
lea rdx, [0x1801b0c58]
mov rcx, qword [rsp + 0x290]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x290]
jmp 0x1800e87b3
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rcx, [rsp + 0x40]
call fcn.1800050a0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x104
lea r9, [rsp + 0x60]
lea r8, [0x1801b0c58]
lea rdx, str.Version
lea rcx, str.Upgrade
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x290]
call fcn.180005180
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.180005100
mov rax, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180147bf0
add rsp, 0x280
pop rdi
ret
Function at 0x1800ea7fc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x348]
sub rsp, 0x430
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x18020d140]
xor rax, rsp
mov qword [rbp + 0x320], rax
mov r14, rdx
call fcn.1800eb41c
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800f1dfc
nop
call fcn.1800eb424
mov rdi, rax
mov rcx, rax
call fcn.1800f28cc
xor ebx, ebx
lea rcx, [rsp + 0x40]
test al, al
je 0x1800ea894
mov rdx, r14
call fcn.1800f2124
lea rcx, [rsp + 0x40]
call fcn.18007c880
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1800ea9d0
mov dil, 1
jmp 0x1800ea9cd
mov rdx, rdi
call fcn.1800f20fc
call fcn.1800eb758
test al, al
je 0x1800ea8af
call fcn.1800eb42c
mov rsi, rax
jmp 0x1800ea906
call fcn.1800eb434
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.1800f1dfc
nop
lea rcx, [rbp + 0x60]
call fcn.18007c880
mov rcx, rax
xor edx, edx
call fcn.1800f1010
mov rdi, rax
lea rcx, [rsp + 0x40]
call fcn.18007c880
mov rcx, rax
mov rdx, rdi
call fcn.1800f8088
mov rsi, rax
test rdi, rdi
je 0x1800ea8fd
mov rcx, rdi
call fcn.180148104
nop
lea rcx, [rbp + 0x60]
call fcn.1800f1f54
test rsi, rsi
jne 0x1800ea913
mov dil, bl
jmp 0x1800ea9cd
mov dword [rsp + 0x30], ebx
or r8d, 0xffffffff
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1800f1e2c
nop
lea r8, [0x1801b9b20]
lea rdx, [0x1801b330c]
lea rcx, [rbp - 0x30]
call fcn.1800f2b48
lea rcx, [rbp - 0x30]
call fcn.18007c880
mov rdx, rax
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov dil, 1
mov r8b, dil
mov rcx, rsi
call fcn.1800f7a8c
test eax, eax
jne 0x1800ea9c1
mov r15d, dword [rbp + 0x31c]
lea eax, [r15 - 1]
cmp eax, 0x3fffff
ja 0x1800ea9c1
mov ecx, r15d
call fcn.18014874c
mov r14, rax
mov r9d, r15d
mov r8, rax
mov edx, dword [rsp + 0x30]
mov rcx, rsi
call fcn.1800f8584
test eax, eax
je 0x1800eaa08
cmp eax, 0x600
je 0x1800eaa08
mov rcx, r14
call fcn.180148104
call fcn.1800eb758
test al, al
jne 0x1800ea9c1
mov rcx, rsi
call fcn.1800f77cc
mov dil, bl
lea rcx, [rbp - 0x30]
call fcn.1800f1f54
mov bl, dil
lea rcx, [rsp + 0x40]
call fcn.1800f1f54
mov al, bl
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.180147bf0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1800eb758
nop
test al, al
jne 0x1800eaa1a
mov rcx, rsi
call fcn.1800f77cc
mov rcx, r14
call fcn.180148104
jmp 0x1800ea9c4
Function at 0x1800eb8dc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
lea ecx, [rdi + 0x11]
call qword [sym.imp.USER32.dll_GetKeyState]
lea ecx, [rdi + 8]
mov ebx, edi
test ax, ax
cmovs ebx, ecx
lea ecx, [rdi + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800eb90d
or ebx, 1
mov ecx, 2
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800eb920
or ebx, 2
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800eb933
or ebx, 4
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1800eb946
or ebx, 0x20
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1800eed74
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
lea r15, [rcx + 0x530]
mov rbx, rcx
xor r13d, r13d
mov rcx, r15
mov r12, r9
mov r14, r8
mov edi, edx
mov esi, r13d
call fcn.1800f2634
test eax, eax
jle 0x1800eedf3
mov edx, esi
mov byte [rbp + 0x30], r13b
mov rcx, r15
call fcn.1800f2098
lea rcx, [rbp + 0x30]
mov r9, r12
mov qword [rsp + 0x20], rcx
mov r8, r14
mov edx, edi
mov rcx, rax
mov r10, qword [rax]
call qword [r10]
cmp byte [rbp + 0x30], r13b
jne 0x1800eee5b
mov rcx, r15
inc esi
call fcn.1800f2634
cmp esi, eax
jl 0x1800eedb7
sub edi, 0x100
je 0x1800eeed4
sub edi, 4
je 0x1800eee5f
cmp edi, 2
jne 0x1800eeeb4
mov ecx, r14d
mov dword [rbp + 0x30], r13d
call fcn.18015369c
mov rcx, qword [rbx + 0x160]
lea r8, [rbp + 0x30]
mov word [rbp + 0x30], ax
lea rdx, [0x1800f0e30]
mov r9d, 0x80000012
mov rax, qword [rcx]
call qword [rax + 0x258]
mov rbx, rax
test rax, rax
je 0x1800eeeb4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x240]
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x30]
mov al, 1
jmp 0x1800eeeb6
cmp qword [rbx + 0x168], r13
je 0x1800eeeb4
xor edx, edx
lea rcx, [rbp - 0x30]
lea r8d, [rdx + 0x30]
call fcn.18014be70
mov rax, qword [rbx + 0x190]
mov qword [rbp - 0x1c], rax
mov dword [rbp - 0x30], 6
mov word [rbp - 0x14], r14w
call fcn.1800eb8dc
mov word [rbp - 0x12], ax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rbx + 0x168]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x20], eax
mov rax, qword [rcx]
call qword [rax + 0x270]
xor al, al
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
cmp r14, 9
jne 0x1800eeeb4
mov rcx, qword [rbx + 0x168]
test rcx, rcx
je 0x1800eef3c
mov rax, qword [rcx]
call qword [rax + 0x1f0]
test al, al
je 0x1800eef3c
mov rcx, qword [rbx + 0x168]
mov rax, qword [rcx]
call qword [rax + 0x208]
test al, al
je 0x1800eef3c
mov rcx, qword [rbx + 0x168]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
lea rdx, str.RichEditUI
call fcn.18014b32c
test rax, rax
je 0x1800eef3c
mov rcx, qword [rbx + 0x168]
call fcn.180115c6c
test al, al
jne 0x1800eeeb4
mov rcx, qword [rbx + 0x168]
test rcx, rcx
je 0x1800eef8e
mov rax, qword [rcx]
call qword [rax + 0x1f0]
test al, al
je 0x1800eef8e
mov rcx, qword [rbx + 0x168]
mov rax, qword [rcx]
call qword [rax + 0x208]
test al, al
je 0x1800eef8e
mov rcx, qword [rbx + 0x168]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, rax
lea rdx, str.WkeWebkitUI
call fcn.18014b32c
test rax, rax
jne 0x1800eeeb4
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov rcx, rbx
setns dl
call fcn.1800f07e0
jmp 0x1800eee5b