joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140024ca0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x140024e57
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov esi, r9d
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x140024d36
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.140024610
mov r8d, dword [rbx + 0x80]
mov r9d, esi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.140023c20
mov ecx, dword [rbx + 0x84]
test ecx, ecx
jns 0x140024d27
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x80]
test eax, eax
cmovg edx, eax
call fcn.1400191a0
mov dword [rbx + 0x80], 0
jmp 0x140024e43
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.140022a60
movzx edx, word [rbx + 0x48]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rdi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rdi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], esi
movsd xmm0, qword [rdi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], esi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], esi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x48], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140036790
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rbp - 8], rax
mov edi, dword [0x140054530]
movsxd rax, dword [0x1400530d8]
xor r9d, r9d
cmp eax, 0x7b
ja 0x1400367d0
lea r9, [0x140053220]
mov r9, qword [r9 + rax*8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test r9, r9
jne 0x140036816
mov qword [rbp - 0x18], 0xa
movsd xmm0, qword [str.Select_Key]
movsd qword [rbp - 0x28], xmm0
movzx eax, word [0x140047ff8]
mov word [rbp - 0x20], ax
mov byte [rbp - 0x1e], r9b
jmp 0x140036852
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [r9 + rbx], 0
jne 0x140036820
lea rcx, [rbp - 0x28]
cmp rbx, 0xf
ja 0x14003684a
mov qword [rbp - 0x18], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx - 0x28], 0
jmp 0x140036852
mov rdx, rbx
call fcn.1400388c0
cmp edi, 1
jne 0x1400368a4
mov rax, qword [rbp - 0x10]
cmp rax, 0xd
jb 0x14003688f
lea rbx, [rbp - 0x28]
cmp rax, 0xf
cmova rbx, qword [rbp - 0x28]
mov qword [rbp - 0x18], 0xd
lea r8d, [rdi + 0xc]
lea rdx, str.Press_the_key
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0xd], 0
jmp 0x1400368a4
lea r9, str.Press_the_key
mov edx, 0xd
lea rcx, [rbp - 0x28]
call fcn.1400388c0
mov dword [rbp - 0x30], 0x42fa0000
mov dword [rbp - 0x2c], 0x41a00000
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp - 0x30]
call fcn.14002aa80
test al, al
je 0x1400368f3
test edi, edi
jne 0x1400368f3
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x140036740]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140036931
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003692c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003692c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400411f0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140040cb0
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret
Function at 0x14003ba40
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14003ba68
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14003ba8e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14003ba90
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14003bae9
test ecx, ecx
jle 0x14003bac9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14003bae9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14003bae9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14003bb10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14003bb32
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14003bb48
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14003bb64
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14003bb66
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14003bba2
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14003bc3e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14003bbdd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14003bc1e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14003bc3e
cmp rbx, rax
ja 0x14003bbf0
test rbx, rbx
je 0x14003bc3e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x14003c0a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14003c0cd
xor eax, eax
jmp 0x14003c239
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14003c107
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14003c107
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14003c239
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14003c22c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14003c14a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14003c175
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003c231
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003c1e4
sub eax, 1
je 0x14003c1e4
cmp eax, 2
jne 0x14003c22c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14003c231
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14003c212
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14003c22c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14003c231
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140040cb0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14003c5d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14003c6a3
cmp byte [rcx + 0x71], 0
je 0x14003c6a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14003c69f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14003c664
sub eax, 1
je 0x14003c668
cmp eax, 2
jne 0x14003c69f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140040cb0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14003c696
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14003c69f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14003c64c
xor al, al
jmp 0x14003c64c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140040cb0
add rsp, 0x60
pop rbx
ret

Function at 0x140040a7c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.1400404a4
mov ebx, eax
test eax, eax
jne 0x140040aac
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x140040b0f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140040b06
test al, 0x10
je 0x140040b06
bt eax, 0xa
jae 0x140040aff
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.140040b20
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x140040afb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140040afb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x140040b06
and dword [rsp + 0x3c], 0
jmp 0x140040b0b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140040b78
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x140040bb2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140040bb7
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140040c00
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140043aa0]
cmp byte [rcx + rax], 0
je 0x140040c00
dec r8
sub rdx, 1
jne 0x140040be6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x140041a98
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140041ae2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140041ae2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140041ae2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140041ae2
cmp dword [rcx + 0x84], 0xe
jbe 0x140041ae2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140041ae4
xor al, al
add rsp, 0x28
ret
Function at 0x14006c200
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14006c20d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14006c21d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14006c205
lea eax, [rcx + 1]
jmp 0x14006c22b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14006c23e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14006c224
sub eax, 3
jb 0x14006c25e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14006c2ad
sar eax, 1
movsxd rbp, eax
jb 0x14006c294
jmp 0x14006c26c
add ebx, ebx
jne 0x14006c26a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006c294
inc ecx
add ebx, ebx
jne 0x14006c27a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14006c294
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14006c28d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14006c27c
add ecx, 2
jmp 0x14006c299
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.14006c1c2
jmp 0x14006c20d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1ca00
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14006c2fd
cmp rsi, rcx
jae 0x14006c305
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14006c2e4
cmp al, 0x8f
ja 0x14006c2e4
cmp byte [rsi - 2], 0xf
je 0x14006c2ea
sub al, 0xe8
cmp al, 1
ja 0x14006c2ce
cmp rsi, rcx
jae 0x14006c305
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14006c2d4
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14006c305
lodsb al, byte [rsi]
jmp 0x14006c2e4
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x69000]
mov eax, dword [rdi]
or eax, eax
je 0x14006c362
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x6c1e4]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x14006c312
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x14006c35c
mov qword [rbx], rax
add rbx, 8
jmp 0x14006c332
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x14006c39c
cmp al, 0xef
ja 0x14006c38e
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14006c36e
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14006c37d
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x23f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14006c3f0
sub rsp, 0xffffffffffffff80
jmp 0x14001c594
Function at 0x10001cc60
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x10001cc6d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x10001cc7d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x10001cc65
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x10001cc95
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x10001cc82
sub eax, 3
jb 0x10001ccaf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x10001cce6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x10001ccd6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x10001ccd4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x10001ccc3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.10001cc22
jmp 0x10001cc6d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x3600
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x10001cd32
cmp rsi, rcx
jae 0x10001cd3a
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x10001cd19
cmp al, 0x8f
ja 0x10001cd19
cmp byte [rsi - 2], 0xf
je 0x10001cd1f
sub al, 0xe8
cmp al, 1
ja 0x10001cd03
cmp rsi, rcx
jae 0x10001cd3a
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x10001cd09
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x10001cd3a
lodsb al, byte [rsi]
jmp 0x10001cd19
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x1a000]
mov eax, dword [rdi]
or eax, eax
je 0x10001cda3
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x2e84c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x10001cd47
jns 0x10001cd7c
movzx rdx, word [rdi]
add rdi, 2
jmp 0x10001cd86
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x10001cd9d
mov qword [rbx], rax
add rbx, 8
jmp 0x10001cd67
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x10001cddd
cmp al, 0xef
ja 0x10001cdcf
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x10001cdaf
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x10001cdbe
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x21f]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x10001ce31
sub rsp, 0xffffffffffffff80
jmp 0x10000353c
Function at 0x180004300
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8d8
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x180127050]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov rax, qword [rsp + 0x8f0]
mov rcx, qword [rax]
call qword [sym.imp.IMM32.dll_ImmGetContext]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180004521
lea rcx, [rsp + 0x50]
call fcn.180007b50
nop
mov byte [rsp + 0x70], 1
call fcn.180004ee0
mov qword [rsp + 0x78], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
add rax, 2
mov dword [rsp + 0x30], eax
xor eax, eax
mov word [rsp + 0xc0], ax
lea rax, [rsp + 0xc2]
mov rdi, rax
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
mov r9d, dword [rsp + 0x30]
lea r8, [rsp + 0xc0]
mov edx, 0x800
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.IMM32.dll_ImmGetCompositionStringW]
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0xa0]
call fcn.180001750
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, str.OnHandleWM_IME:__s
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x207
lea rdx, [0x18010fbc0]
lea rcx, [0x18010fc18]
call fcn.1800f8eb0
lea rcx, [rsp + 0xa0]
call fcn.180001780
test rax, rax
jbe 0x180004500
mov eax, dword [0x180132650]
and eax, 1
test eax, eax
jne 0x18000445e
mov eax, dword [0x180132650]
or eax, 1
mov dword [0x180132650], eax
lea rcx, [0x180132658]
call fcn.180002b70
lea rcx, [0x18010ae70]
call fcn.1801069f8
nop
lea rdx, [rsp + 0xa0]
lea rcx, [0x180132658]
call fcn.180005000
test eax, eax
jne 0x1800044c1
mov r8d, 0x30
mov rdx, qword [rsp + 0x8f0]
lea rcx, [0x180132440]
call sub.MSVCR120.dll_memcmp
test eax, eax
jne 0x1800044c1
lea rax, str.WARN:_Ignore_Repeat_IME_Message_
mov qword [rsp + 0x20], rax
mov r9d, 1
mov r8d, 0x211
lea rdx, [0x18010fd30]
lea rcx, str.CGlobalManager::OnHandleWM_IME
call fcn.1800f8eb0
jmp 0x180004500
call fcn.180007860
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.18000a570
lea rax, [0x180132440]
mov rdi, rax
mov rsi, qword [rsp + 0x8f0]
mov ecx, 0x30
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0xa0]
lea rcx, [0x180132658]
call fcn.180001f70
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x8f0]
mov rcx, qword [rax]
call qword [sym.imp.IMM32.dll_ImmReleaseContext]
nop
lea rcx, [rsp + 0x50]
call fcn.1800078b0
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1801068d0
add rsp, 0x8d8
pop rdi
pop rsi
ret