joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180008e10
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180008e3a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x11]
xor dl, byte [rcx + 0x10]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180008e20
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x180008e50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180008e7a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x14]
xor dl, byte [rcx + 0x13]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180008e60
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18000abc0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18000abea
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x12]
xor dl, byte [rcx + 0x11]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18000abd0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18000beb0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18000beda
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x15]
xor dl, byte [rcx + 0x14]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18000bec0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180011bf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180011c1a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x13]
xor dl, byte [rcx + 0x12]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180011c00
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180018880
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800188aa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x18]
xor dl, byte [rcx + 0x17]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180018890
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x18001d300
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18001d32a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0xa]
xor dl, byte [rcx + 9]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x18001d310
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180022950
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18002297a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1d]
xor dl, byte [rcx + 0x1c]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180022960
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800378a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800378ca
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 9]
xor dl, byte [rcx + 8]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800378b0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800411e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18004120a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x16]
xor dl, byte [rcx + 0x15]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800411f0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180047600
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18004762a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1b]
xor dl, byte [rcx + 0x1a]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180047610
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800514f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18005151a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1a]
xor dl, byte [rcx + 0x19]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180051500
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x180051530
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18005155a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x19]
xor dl, byte [rcx + 0x18]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180051540
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180064540
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x18006456a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1c]
xor dl, byte [rcx + 0x1b]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180064550
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180068a70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x180068a9a
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x1f]
xor dl, byte [rcx + 0x1e]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180068a80
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180072380
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800723aa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 8]
xor dl, byte [rcx + 7]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x180072390
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x180092050
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1800920ad
lea rbx, [0x18012c190]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180092094
cmp r10, 2
jb 0x180092094
cmp byte [r9], r8b
jne 0x180092094
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x180092070
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1800920ef
lea rbx, [0x18012c190]
cmp r8b, 0x23
jne 0x1800920d3
cmp byte [r9], r8b
jne 0x1800920d3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x1800920c0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180092230
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x18009224a
mov qword [r8], 0
lea rdx, [0x18013146c]
call fcn.180092100
mov rbx, rax
test rax, rax
jne 0x18009226a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x180092341
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180092341
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180092341
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x180092341
cmp rdi, 0xffffffffffffffff
je 0x180092341
mov rax, qword [0x180147a20]
test rax, rax
je 0x1800922de
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x180092341
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x18009232e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180147a20]
test rax, rax
je 0x180092323
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18009234a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x18009233c
mov qword [r14], rdi
mov rax, rsi
jmp 0x18009234c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x180094910
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
movsxd r9, edx
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x18012c190]
not ebx
movzx eax, r9b
movzx ecx, bl
xor rcx, rax
shr ebx, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rdx, rcx
shr ebx, 8
shr eax, 0x10
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
movzx edx, al
xor rdx, rcx
xor ebx, dword [r8 + rdx*4]
movzx ecx, bl
shr ebx, 8
mov edx, r9d
shr rdx, 0x18
xor rdx, rcx
mov rcx, qword [0x180147a20]
xor ebx, dword [r8 + rdx*4]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x1800949a6
mov r8, r9
mov edx, 4
mov ecx, ebx
call fcn.1800a6a90
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x180099f20
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x180099f70
lea r11, [0x18012c190]
nop dword [rax]
cmp r9b, 0x23
jne 0x180099f53
cmp byte [r8], r9b
jne 0x180099f53
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x180099f40
mov rcx, qword [0x180147a20]
not eax
movsxd rdx, dword [rcx + 0x3e80]
mov r9, qword [rcx + 0x3e88]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x180099fd1
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x180099fc9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x180099fcc
mov rdx, r8
test rdx, rdx
jne 0x180099fa0
cmp r9, r10
je 0x180099fe0
cmp dword [r9], eax
jne 0x180099fe0
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret

Function at 0x1800a5690
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1800a5737
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x1800a56ea
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800a75d0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1800927f0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x180147927]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1800a573f
mov rcx, rbx
call fcn.1800927f0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1800a5cb0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x180147a20]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x1800a5d13
mov qword [rsp], rbx
lea rbx, [0x18012c190]
nop dword [rax]
cmp r9b, 0x23
jne 0x1800a5cf3
cmp byte [r8], r9b
jne 0x1800a5cf3
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x1800a5ce0
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x1800a5d47
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x1800a5d4e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x1800a5d34
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x1800c65e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x58]
mov rdi, rcx
mov edx, dword [0x180147374]
mov ecx, 4
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x1801480f8], eax
jle 0x1800c6645
lea rcx, [0x1801480f8]
call fcn.180122dec
cmp dword [0x1801480f8], 0xffffffff
jne 0x1800c6645
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x180148100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [0x1801480f8]
call fcn.180122d80
mov eax, dword [rbx]
cmp dword [0x1801480fc], eax
jle 0x1800c6689
lea rcx, [0x1801480fc]
call fcn.180122dec
cmp dword [0x1801480fc], 0xffffffff
jne 0x1800c6689
lea r8, [0x180131e40]
mov edx, SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
lea rcx, [0x180148100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [0x1801480fc]
call fcn.180122d80
mov eax, dword [rbx]
cmp dword [0x180148204], eax
jle 0x1800c66c8
lea rcx, [0x180148204]
call fcn.180122dec
cmp dword [0x180148204], 0xffffffff
jne 0x1800c66c8
lea rcx, [0x180148100]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea rcx, [0x180148204]
mov qword [0x1801480f0], rax
call fcn.180122d80
mov rcx, qword [0x1801480f0]
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_GetProcAddress]
Function at 0x1800cdf90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800cdfba
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x21]
xor dl, byte [rcx + 0x20]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800cdfa0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret

Function at 0x1800cdfd0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r10, [rcx + 4]
xor r9d, r9d
test eax, eax
je 0x1800cdffa
nop dword [rax]
movzx edx, byte [r9 + rcx + 4]
sub dl, byte [rcx + 0x20]
xor dl, byte [rcx + 0x1f]
mov byte [r9 + r10], dl
inc r9d
mov eax, dword [rcx]
cmp r9d, eax
jb 0x1800cdfe0
mov ecx, eax
mov rax, r10
mov byte [rcx + r10], 0
ret
Function at 0x1800d0a00
Capabilities:
Read .ini file

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x460
mov rax, qword [0x180146030]
xor rax, rsp
mov qword [rsp + CDialog::~CDialog], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 4
mov dword [rsp + 0x44], 0x1c1c231e
xor r14d, r14d
mov dword [rsp + 0x40], edx
mov eax, r14d
mov dword [rsp + 0x48], 0xb325d8
mov r8b, 0x25
mov r9b, 0xb3
mov ecx, eax
lea rdx, [rsp + 0x44]
add rdx, rcx
inc eax
movzx ecx, byte [rdx]
sub cl, r9b
xor cl, r8b
mov byte [rdx], cl
mov edx, dword [rsp + 0x40]
cmp eax, edx
jae 0x1800d0a8d
movzx r9d, byte [rsp + 0x4a]
movzx r8d, byte [rsp + 0x49]
jmp 0x1800d0a60
mov byte [rsp + rdx + 0x44], r14b
lea r9, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rbx
lea r8, [rsp + 0x44]
mov dword [rsp + 0x20], SerializeElements<ATL::CStringT<wchar_t,StrTraitMFC_DLL<wchar_t,ATL::ChTraitsCRT<wchar_t>
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rbp, 0xffffffffffffffff
mov dword [rsp + 0x28], r14d
mov r9d, ebp
mov qword [rsp + 0x20], r14
lea r8, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.180123630
mov r9d, ebp
mov dword [rsp + 0x28], ebx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rcx, rbx
call fcn.180123630
mov qword [rsp + 0x38], r14
mov r9d, ebp
mov qword [rsp + 0x30], r14
mov r8, rsi
mov dword [rsp + 0x28], ebx
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rax, rdi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.180122d60
add rsp, 0x460
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1800d0b90
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x1a87a40]
call fcn.18008eb60
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x1a352fc]
call fcn.18008eb90
test ebx, ebx
jne 0x1800d0be9
test al, al
jne 0x1800d0be9
cmp byte [0x180147b36], al
jne 0x1800d0be9
mov ecx, dword [0x1801479bc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
add rsp, 0x20
pop rbx
ret
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1800d0c00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov edi, ecx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x1a87a40]
call fcn.18008eb60
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rcx, [rax + 0x1a352fc]
call fcn.18008eb90
test ebx, ebx
jne 0x1800d0c58
test al, al
jne 0x1800d0c58
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor al, al
add rsp, 0x20
pop rdi
ret
Function at 0x180100e80
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [rsp + 0x78]
sub rax, 0x10000
mov rcx, rax
call fcn.1801010d0
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x20], rax
jbe 0x180100f9a
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x180100ee4
mov rax, qword [0x180146008]
cmp qword [rsp + 0x20], rax
ja 0x180100ee4
mov rax, qword [rsp + 0x20]
sub rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180100ea6
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x180100f15
jmp 0x180100f9a
cmp dword [rsp + 0x50], 0x10000
jne 0x180100f7d
cmp qword [rsp + 0x48], 0x10000
jb 0x180100f7d
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180100f5b
mov rax, qword [rsp + 0x28]
jmp 0x180100f9c
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180100f6b
xor eax, eax
jmp 0x180100f9c
mov rax, qword [rsp + 0x20]
sub rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x180100f95
mov rax, qword [rsp + 0x38]
sub rax, 0x10000
mov rcx, rax
call fcn.1801010d0
mov qword [rsp + 0x20], rax
jmp 0x180100ea6
xor eax, eax
add rsp, 0x68
ret

Function at 0x180100fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rcx, qword [rsp + 0x70]
call fcn.180101110
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x78]
cmp qword [rsp + 0x20], rax
jae 0x1801010c6
mov rax, qword [section..data]
cmp qword [rsp + 0x20], rax
jb 0x18010100b
mov rax, qword [0x180146008]
cmp qword [rsp + 0x20], rax
ja 0x18010100b
mov rax, qword [rsp + 0x20]
add rax, 0x8000000
mov qword [rsp + 0x20], rax
jmp 0x180100fcd
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualQuery
test rax, rax
jne 0x18010103c
jmp 0x1801010c6
cmp dword [rsp + 0x50], 0x10000
jne 0x1801010a4
cmp qword [rsp + 0x48], 0x10000
jb 0x1801010a4
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_VirtualAlloc
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x180101082
mov rax, qword [rsp + 0x28]
jmp 0x1801010c8
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x180101092
xor eax, eax
jmp 0x1801010c8
mov rax, qword [rsp + 0x20]
add rax, 0x10000
mov qword [rsp + 0x20], rax
jmp 0x1801010c1
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180101110
mov qword [rsp + 0x20], rax
jmp 0x180100fcd
xor eax, eax
add rsp, 0x68
ret
Function at 0x180101160
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1801016f0
mov qword [rsp + 0x28], 0
cmp qword [0x1801465a8], 0
jne 0x1801011a8
cmp qword [0x1801465a0], 0
je 0x1801011a8
mov rax, qword [0x1801465a0]
mov qword [0x1801465a8], rax
cmp qword [0x1801465a8], 0
je 0x18010124e
mov rax, qword [0x1801465a8]
cmp qword [rax + 0x10], 0
je 0x18010124e
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18010124e
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18010124e
mov rax, qword [0x1801465a8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x180101214
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x18010121b
xor eax, eax
jmp 0x1801013c9
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1801013c9
mov rax, qword [0x1801465a0]
mov qword [0x1801465a8], rax
jmp 0x180101270
mov rax, qword [0x1801465a8]
mov rax, qword [rax + 8]
mov qword [0x1801465a8], rax
cmp qword [0x1801465a8], 0
je 0x1801012bd
cmp qword [0x1801465a8], 0
je 0x1801012bb
mov rax, qword [0x1801465a8]
cmp qword [rax + 0x10], 0
je 0x1801012bb
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x1801012bb
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x1801012bb
jmp 0x1801011ec
jmp 0x18010125e
mov rcx, qword [rsp + 0x60]
call fcn.1801035d0
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1801013d0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1801013c7
mov rax, qword [rsp + 0x48]
mov qword [0x1801465a8], rax
mov rax, qword [0x1801465a8]
mov dword [rax], 0x52727464
mov rax, qword [0x1801465a8]
mov qword [rax + 0x10], 0
mov rax, qword [0x1801465a8]
mov rcx, qword [0x1801465a0]
mov qword [rax + 8], rcx
mov rax, qword [0x1801465a8]
mov qword [0x1801465a0], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x1801465a8]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180101378
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x1801013b2
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18010136e
mov rax, qword [0x1801465a8]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1801011ec
xor eax, eax
add rsp, 0x58
ret