joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005600
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
movss xmm0, dword [rcx + 0xe8]
lea r10, [0x140079dd0]
mov rax, qword [rcx + 0xd0]
movss xmm1, dword [rcx + 0xec]
movss xmm2, dword [rdx]
movss xmm4, dword [rdx + 8]
subss xmm2, xmm0
movss xmm3, dword [rdx + 4]
subss xmm4, xmm0
movss xmm0, dword [rdx + 0xc]
subss xmm3, xmm1
movsxd rcx, dword [rcx + 0xc8]
subss xmm0, xmm1
movd r8d, xmm2
movss dword [rsp], xmm2
mov r9d, dword [rax + rcx*4 - 4]
movzx eax, byte [rsp]
not r9d
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
movss dword [rsp + 4], xmm3
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
movss dword [rsp + 8], xmm4
movss dword [rsp + 0xc], xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 4]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm3
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 8]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm4
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
shr eax, 8
movzx edx, al
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
mov eax, r8d
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
movzx eax, byte [rsp + 0xc]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
movd r8d, xmm0
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
xor rcx, rax
shr r9d, 8
mov eax, r8d
shr eax, 8
movzx edx, al
mov eax, r8d
xor r9d, dword [r10 + rcx*4]
movzx ecx, r9b
xor rdx, rcx
shr r9d, 8
shr eax, 0x10
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
movzx edx, al
mov rax, qword [0x1403b1a80]
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
movzx ecx, r9b
shr r9d, 8
mov edx, r8d
shr rdx, 0x18
xor rdx, rcx
xor r9d, dword [r10 + rdx*4]
not r9d
cmp dword [rax + 0x3e74], r9d
jne 0x140005800
mov dword [rax + 0x3e78], r9d
cmp dword [rax + 0x3ec0], r9d
jne 0x140005810
mov byte [rax + 0x3ec4], 1
mov eax, r9d
add rsp, 0x18
ret
Function at 0x14000fab0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r8, qword [0x1403b1a80]
lea r10, [0x140079dd0]
movsxd r9, ecx
mov rbx, qword [r8 + 0x3e28]
add rbx, 0xc8
movsxd rdx, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, r9b
movzx ecx, dil
xor rcx, rax
shr edi, 8
mov eax, r9d
shr eax, 8
movzx edx, al
mov eax, r9d
xor edi, dword [r10 + rcx*4]
movzx ecx, dil
xor rdx, rcx
shr edi, 8
shr eax, 0x10
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
movzx edx, al
xor rdx, rcx
mov eax, r9d
shr rax, 0x18
xor edi, dword [r10 + rdx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r10 + rcx*4]
not edi
cmp dword [r8 + 0x3e5c], edi
jne 0x14000fb55
mov r8, r9
mov edx, 4
mov ecx, edi
call fcn.140017bc0
mov r8d, dword [rbx]
mov ecx, dword [rbx + 4]
cmp r8d, ecx
jne 0x14000fb89
inc r8d
test ecx, ecx
je 0x14000fb72
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14000fb77
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140018cb0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400115f0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1403a8040]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x1403b1a80]
mov edi, ecx
cmp byte [rbx + 0x41cd], 0
jne 0x140011651
cmp byte [rbx + 0x41ce], 0
jne 0x140011651
movsx r9d, word [rbx + 0x52ae]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002d80
test dil, 1
je 0x140011778
jmp 0x1400116dc
movss xmm1, dword [rbx + 0x3830]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x52ae]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14039dc58]
mov edx, 0x10
mulss xmm1, dword [0x14039dc3c]
addss xmm0, dword [rbx + 0xd0c]
addss xmm1, dword [rbx + 0xd10]
mov qword [rbx + 0x3f48], rax
mov dword [rbx + 0x3f34], 1
movss dword [rbx + 0x3f40], xmm0
movss dword [rbx + 0x3f44], xmm1
movss xmm0, dword [rbx + 0x388c]
mulss xmm0, dword [0x14039da9c]
or dword [rbx + 0x3f30], 0x41
movss dword [rbx + 0x3f90], xmm0
call fcn.140002d80
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140011730
lea r11, [0x140079dd0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140011713
cmp byte [r8], r9b
jne 0x140011713
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011700
not ecx
call fcn.14000a760
test rax, rax
je 0x140011778
cmp byte [rax + 0x8e], 0
je 0x140011778
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x52ae]
mov edx, 0x10
movsx r9d, word [rbx + 0x52ae]
call fcn.140002d80
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000cde0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140076b60
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016920
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 + 0x5360], 0
lea rbx, [rcx + 0x5368]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400169c7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001697a
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.140018a80
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003770
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5360]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5370]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1403b1a78]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400169cf
mov rcx, rbx
call fcn.140003770
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140045a10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1403a8040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140045a50
cmp al, 0x25
jne 0x140045a44
cmp byte [r8 + 1], al
jne 0x140045a50
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140045a37
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140045bae
cmp byte [r8 + 1], dl
je 0x140045bae
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x140045a8d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140045ab5
sub dl, 0x61
cmp dl, 0x19
ja 0x140045aa7
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140045ab5
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140045a70
jmp 0x140045ab8
inc r9
cmp r8, r9
jae 0x140045aef
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x140045ae4
bt rdx, rax
jb 0x140045aea
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x140045ad0
xorps xmm3, xmm3
mov byte [r11], 0
cvtss2sd xmm3, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
movq r9, xmm3
call fcn.140002d80
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x140045b28
nop
inc rcx
cmp byte [rcx], 0x20
je 0x140045b20
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x140045b9c
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140045b48
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140045b8a
movss xmm2, dword [0x14039dc44]
cmp al, 0x39
ja 0x140045b8a
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulss xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2ps xmm0, xmm0
addss xmm0, xmm1
movaps xmm1, xmm0
cmp al, 0x30
jge 0x140045b64
cmp r8b, 0x2d
jne 0x140045ba9
xorps xmm1, xmmword [0x14039e490]
movaps xmm0, xmm1
jmp 0x140045bb1
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movaps xmm0, xmm1
jmp 0x140045bb1
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140076b60
add rsp, 0xa0
pop rbx
ret
Function at 0x1400461f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x1403a8040]
xor rax, rsp
mov qword [rsp + 0x90], rax
movzx eax, byte [rcx]
mov ebx, edx
mov r8, rcx
test al, al
je 0x140046230
cmp al, 0x25
jne 0x140046224
cmp byte [r8 + 1], al
jne 0x140046230
inc r8
movzx eax, byte [r8 + 1]
inc r8
test al, al
jne 0x140046217
movzx edx, byte [r8]
cmp dl, 0x25
jne 0x140046388
cmp byte [r8 + 1], dl
je 0x140046388
lea r11, [rsp + 0x28]
mov r9, r8
nop
lea eax, [rdx - 0x41]
movsx r10d, dl
cmp al, 0x19
ja 0x14004626d
lea ecx, [r10 - 0x41]
mov eax, 1
shl eax, cl
test eax, 0x900
je 0x140046295
sub dl, 0x61
cmp dl, 0x19
ja 0x140046287
lea ecx, [r10 - 0x61]
mov eax, 1
shl eax, cl
test eax, 0x2480a80
je 0x140046295
movzx edx, byte [r9 + 1]
inc r9
test dl, dl
jne 0x140046250
jmp 0x140046298
inc r9
cmp r8, r9
jae 0x1400462cf
movabs rdx, 0x800000000000009
nop word [rax + rax]
movzx ecx, byte [r8]
inc r8
lea eax, [rcx - 0x24]
cmp al, 0x3b
ja 0x1400462c4
bt rdx, rax
jb 0x1400462ca
mov byte [r11], cl
inc r11
cmp r8, r9
jb 0x1400462b0
movaps xmm3, xmm2
mov byte [r11], 0
movq r9, xmm2
lea r8, [rsp + 0x28]
mov edx, 0x40
lea rcx, [rsp + 0x50]
call fcn.140002d80
cmp byte [rsp + 0x50], 0x20
lea rcx, [rsp + 0x50]
jne 0x140046308
nop dword [rax + rax]
inc rcx
cmp byte [rcx], 0x20
je 0x140046300
lea eax, [rbx - 8]
cmp eax, 1
jbe 0x14004637a
movzx r8d, byte [rcx]
movzx eax, r8b
cmp r8b, 0x2d
jne 0x140046328
lea rax, [rcx + 1]
mov rcx, rax
movzx eax, byte [rax]
cmp al, 0x2b
lea rdx, [rcx + 1]
xorps xmm1, xmm1
cmovne rdx, rcx
movzx eax, byte [rdx]
cmp al, 0x30
jl 0x140046368
movsd xmm2, qword [0x14039dbc0]
cmp al, 0x39
ja 0x140046368
movsx eax, byte [rdx]
inc rdx
sub eax, 0x30
mulsd xmm1, xmm2
movd xmm0, eax
movzx eax, byte [rdx]
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
cmp al, 0x30
jge 0x140046344
cmp r8b, 0x2d
jne 0x140046383
xorps xmm1, xmmword [0x14039e480]
movaps xmm0, xmm1
jmp 0x14004638b
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
movaps xmm1, xmm0
movaps xmm0, xmm1
jmp 0x14004638b
movaps xmm0, xmm2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140076b60
add rsp, 0xa0
pop rbx
ret
Function at 0x140052a40
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, ecx
lea rcx, [rdx + 0x20]
call fcn.1400529e0
mov rcx, qword [0x1403b1d30]
mov r15, rax
lea rdx, [rax + 0x18]
call fcn.140073730
mov rcx, qword [0x1403b1d30]
mov rdi, rax
movzx r8d, al
sub r8, 0x33
lea rdx, [rax - 0xb3]
and r8d, 0x7f
mov r9, qword [rcx + 0x21]
shr rdx, 7
and edx, 7
add rdx, r9
lea rbx, [r9 + 0x7b2f92]
lea r14, [rbx + 8]
lea rdx, [rdx + r8*8]
add rdx, 0x38a6e40
call fcn.140073730
movabs rcx, 0x3c0aa484dae5234d
mov rsi, rax
add rcx, rdi
xor rsi, rcx
xor rsi, rbx
cmp rbx, r14
jae 0x140052afb
nop word [rax + rax]
mov rcx, qword [0x1403b1d30]
mov rdx, rbx
call fcn.140073730
xor rsi, rax
add rbx, 8
cmp rbx, r14
jb 0x140052ae0
mov rcx, qword [0x1403b1d30]
lea rdx, [r15 + 0x10]
xor ebp, esi
xor ebp, r14d
xor ebp, 0x251adcb2
mov r8d, ebp
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
jmp fcn.140073930
Function at 0x140072e80
Capabilities:
Set console window title
Terminate process

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1403a8040]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.140072930
lea rdx, str.loader_ow2
lea rcx, [rsp + 0x20]
call fcn.140073320
nop
lea rcx, [rsp + 0x20]
call fcn.140073220
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rdx, str._n_nConnecting_to_server..
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140074110
lea rdx, str.Loading_functions.._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140074110
call fcn.140072930
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140077824
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14007786e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14007786e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14007786e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14007786e
cmp dword [rcx + 0x84], 0xe
jbe 0x14007786e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140077870
xor al, al
add rsp, 0x28
ret
Function at 0x1400066f3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x140006706
xor esi, esi
jmp 0x1400068cf
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
test byte [rcx], 1
je 0x140006741
lea rdx, [rdi + 8]
mov r9, qword [rdi + 0x50]
cmp qword [rdi + 0x38], 0xffffffffffffffff
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
je 0x140006836
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x140006845
cmp byte [rdi + 0x1a], 0
jne 0x14000685d
mov rax, qword [rdi + 0x50]
mov rcx, qword [rdi + 8]
mov dl, byte [rdi + 0x18]
mov r8d, edx
xor r8b, 1
mov byte [rdi + 0x18], r8b
test rcx, rcx
je 0x14000677c
cmp rcx, rax
jae 0x140006776
cmp byte [rsi + rcx], 0xbf
jg 0x14000677c
jmp 0x1400068d9
jne 0x1400068d9
cmp rcx, rax
je 0x140006854
movzx r9d, byte [rsi + rcx]
test r9b, r9b
js 0x140006794
mov r8d, r9d
jmp 0x1400067f0
mov r8d, r9d
and r8d, 0x1f
movzx r11d, byte [rsi + rcx + 1]
and r11d, 0x3f
cmp r9b, 0xdf
jbe 0x1400067e0
movzx r10d, byte [rsi + rcx + 2]
shl r11d, 6
and r10d, 0x3f
or r10d, r11d
cmp r9b, 0xf0
jb 0x1400067e9
movzx r9d, byte [rsi + rcx + 3]
and r8d, 7
shl r8d, 0x12
shl r10d, 6
and r9d, 0x3f
or r9d, r10d
or r8d, r9d
jmp 0x1400067f0
shl r8d, 6
or r8d, r11d
jmp 0x1400067f0
shl r8d, 0xc
or r8d, r10d
test dl, 1
jne 0x140006861
cmp r8d, 0x110000
je 0x140006859
mov edx, 1
cmp r8d, 0x80
jb 0x14000682a
mov edx, 2
cmp r8d, 0x800
jb 0x14000682a
cmp r8d, 0x10000
mov edx, 4
sbb rdx, 0
add rcx, rdx
mov qword [rdi + 8], rcx
jmp 0x140006753
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x40]
mov r8, rsi
call fcn.140006901
jmp 0x140006878
test dl, 1
jne 0x140006864
mov byte [rdi + 0x1a], 1
xor eax, eax
jmp 0x140006873
mov rax, rcx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov eax, 1
mov qword [rsp + 0x40], rax
test byte [rsp + 0x40], 1
je 0x140006899
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
jmp 0x1400068cf
cmp byte [rdi + 0x79], 0
jne 0x1400066ff
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 1
jne 0x1400068b7
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x1400068c8
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x1400066ff
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
ud2
Function at 0x14000886d
Capabilities:
Access peb ldr_data
Get number of processors
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb8
mov rdi, r8
mov rsi, rcx
test dl, 1
jne 0x1400089ca
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov r12, qword [rcx + 0x10]
lea rbx, [rsp + 0x98]
lea r14, [rsp + 0x48]
mov r15, r12
mov rdx, qword [r15 + 0x60]
test rdx, rdx
je 0x140008af3
movzx eax, word [r15 + 0x58]
test ax, ax
je 0x140008af3
mov rdi, qword [r15 + 0x30]
movzx r8d, ax
shr r8d, 1
mov rcx, rbx
call fcn.140008f16
mov r13, qword [rsp + 0xa0]
mov r8, qword [rsp + 0xa8]
mov rcx, r14
mov rdx, r13
call fcn.14000a10a
mov rbp, qword [rsp + 0x50]
cmp qword [rsp + 0x58], 9
jne 0x14000897f
lea r8, [rbp + 9]
lea rax, [0x14000c6f9]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
mov rdx, rbp
lea r9, [0x14000c6f0]
call fcn.140008b71
mov rax, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
cmp r8, rax
jae 0x1400089ad
mov r9b, byte [rcx + r8]
mov r10b, byte [rdx + r8]
inc r8
lea r11d, [r9 - 0x41]
cmp r11b, 0x1a
setb r11b
shl r11b, 5
or r11b, r9b
lea r9d, [r10 - 0x41]
cmp r9b, 0x1a
setb r9b
shl r9b, 5
or r9b, r10b
cmp r11b, r9b
je 0x140008944
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140008b64
mov rcx, qword [rsp + 0x98]
mov rdx, r13
call fcn.14000501b
mov r15, qword [r15]
cmp r15, r12
jne 0x1400088b0
jmp 0x140008af3
mov rcx, qword [rsp + 0x48]
mov rdx, rbp
call fcn.140008b64
mov rcx, qword [rsp + 0x98]
mov rdx, r13
call fcn.14000501b
cmp word [rdi], 0x5a4d
jne 0x140008af3
movsxd rax, dword [rdi + 0x3c]
cmp dword [rdi + rax], 0x4550
jne 0x140008af3
mov qword [rsp + 0x30], rsi
mov eax, dword [rdi + rax + 0x88]
mov ebp, dword [rdi + rax + 0x18]
mov ecx, dword [rdi + rax + 0x1c]
mov esi, dword [rdi + rax + 0x20]
mov eax, dword [rdi + rax + 0x24]
add rcx, rdi
mov qword [rsp + 0x40], rcx
add rsi, rdi
add rax, rdi
mov qword [rsp + 0x38], rax
xor r14d, r14d
lea r15, str.Invalid_UTF_8
cmp r14, rbp
je 0x140008b0b
mov rbx, r14
mov edx, dword [rsi + r14*4]
add rdx, rdi
mov r8, 0xffffffffffffffff
cmp byte [rdx + r8 + 1], 0
lea r8, [r8 + 1]
jne 0x140008a39
lea rcx, [rsp + 0x60]
call fcn.1400060eb
cmp byte [rsp + 0x60], 0
mov r12, qword [rsp + 0x70]
mov eax, 0xd
cmovne r12, rax
mov r13, qword [rsp + 0x68]
cmovne r13, r15
mov r9d, 0xd
mov rcx, r13
mov rdx, r12
mov r8, r15
call fcn.140005fe9
test al, al
jne 0x140008b0b
lea r14, [rbx + 1]
mov r9d, 0xc
mov rcx, r13
mov rdx, r12
lea r8, [0x14000c6f9]
call fcn.140005fe9
test al, al
je 0x140008a1f
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + rbx*2]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4]
add rax, rdi
lea rcx, [0x14000c6f0]
mov rdx, qword [rsp + 0x30]
mov qword [rdx], rcx
mov qword [rdx + 8], 9
lea rcx, [0x14000c6f9]
mov qword [rdx + 0x10], rcx
mov qword [rdx + 0x18], 0xc
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rax
jmp 0x140008af7
and qword [rsi], 0
add rsp, 0xb8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x30]
and qword [rax], 0
jmp 0x140008af7
Function at 0x14000928d
Capabilities:
Write file on windows

Disassembly:
mov r9, rcx
mov ecx, 0xfffffff4
jmp fcn.1400092e2
Function at 0x14000ae7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14000aec6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000aec6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000aec6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000aec6
cmp dword [rcx + 0x84], 0xe
jbe 0x14000aec6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000aec8
xor al, al
add rsp, 0x28
ret
Function at 0x14001a0c4
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rsi, rax
cmp rdi, rax
jne 0x14004ea74
mov eax, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
xor ebx, ebx
test rax, rax
jne 0x14004ea8d
lea rcx, str.Shell_TrayWnd
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rsi, rax
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14004eaa8
mov edx, 9
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004ebd2
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor edx, edx
mov rcx, rdi
mov r14d, eax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, 1
mov ecx, r14d
mov edx, eax
mov r8d, esi
mov r15d, eax
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov r8d, esi
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x14004eba0
lea esi, [rax + 0x12]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
xor r8d, r8d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
xor edx, edx
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
lea r8d, [rsi - 0x10]
xor r9d, r9d
mov edx, eax
mov cl, sil
call qword [sym.imp.USER32.dll_keybd_event]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
je 0x14004eba5
lea ebx, [rsi - 0xe]
jmp 0x14004eba5
mov ebx, 3
xor r8d, r8d
mov edx, r15d
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, ebp
mov ecx, r14d
call qword [sym.imp.USER32.dll_AttachThreadInput]
xor r8d, r8d
mov edx, r15d
mov ecx, ebp
call qword [sym.imp.USER32.dll_AttachThreadInput]
jmp 0x14004ebd7
mov ebx, 2
mov eax, ebx
jmp 0x14001a0f6