joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454f00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x455077
movzx edx, byte [rax]
test edx, edx
jne 0x454f34
nop dword [rax]
test r8b, r8b
jne 0x454f34
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x454f47
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x455037
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x455025
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x455017
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x454f9d
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x454fe0
mov eax, 1
cmp rax, rbx
ja 0x454fcb
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00468fe0
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x45500f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x454fd3
mov rcx, r11
mov eax, r12d
jmp 0x454fa2
mov rcx, rbx
call fcn.00468f20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468f20
mov eax, r8d
mov rcx, rbx
call fcn.00468fe0
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x45506d
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x455030
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x454f4d
mov eax, edx
mov rcx, rbx
call fcn.00468f20
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468f20
nop
int3

Function at 0x45af20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45afd5
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00458ba0
nop
test bl, bl
je 0x45afcf
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045b020]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00466b20
xorps xmm15, xmm15
mov r14, qword [0x0202c260]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045af20
Function at 0x45df80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45e02f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045e080]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00466b20
xorps xmm15, xmm15
mov r14, qword [0x0202c260]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045df80
Function at 0x468a40
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x404343
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a160
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404320
cmp byte [0x0202c04c], 0
je 0x468a55
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x465c80
jmp 0x404320

Function at 0x468a60
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0202c340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0202c04c], 0
je 0x468a95
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x0202c660]
aesenc xmm0, xmmword [0x0202c670]
aesenc xmm0, xmmword [0x0202c680]
movq rax, xmm0
ret
jmp 0x40a380

Function at 0x468aa0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x0202c340]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0202c04c], 0
je 0x468ad6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0202c660]
aesenc xmm0, xmmword [0x0202c670]
aesenc xmm0, xmmword [0x0202c680]
movq rax, xmm0
ret
jmp 0x40a3e0

Function at 0x46a880
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46a8b4
mov rcx, 0x28
jmp 0x46a8bf
shl rcx, 3
add rcx, 0x1480
mov qword [0x0202c260], rcx
pop rbp
ret
Function at 0x4773c0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x47748a
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.004038a0
xorps xmm15, xmm15
mov r14, qword [0x0202c260]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x47746f
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c1ae0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044dc40
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.004782e0
inc rbx
cmp rcx, rbx
jae 0x47745e
mov edi, 1
lea rsi, [0x004c1ae0]
call fcn.0044dd20
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x01eeedb8]
lea rsi, [0x01eee5d8]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.004773c0
Function at 0x4aba20
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ac15f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4aba4d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4abcd1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4abcfd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x01ef04a0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c19e0]
lea rbx, [0x01eeec90]
call fcn.00436f80
inc rax
cmp rax, r8
jge 0x4abd22
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4abd57
lea rdi, [0x004c1a60]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4aba43
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4abd3b
jmp 0x4abd10
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466c40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004aba20

Function at 0x4ac300
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4ac317
inc rax
cmp rax, 4
jge 0x4ac32f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4ac314
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4ac340
inc rax
cmp rax, 4
jge 0x4ac34e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4ac377
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4ac35b
jmp 0x4ac33d
Function at 0x180003ac0
Capabilities:
Log keystrokes via input method manager

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x30
imul ebp, ecx, 0x244
mov rdi, rdx
mov ebx, ecx
cmp ecx, ebp
ja 0x180003bc3
mov qword [rsp + 0x50], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x28], r14
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x20], r15
imul r15d, ebx, 0x74
xor r12d, r12d
cmp ebx, 0x22
je 0x180003b94
cmp ebx, 0x45
je 0x180003b8f
cmp ebx, 0xf8a
je 0x180003b85
cmp ebx, 0x1f89
je 0x180003b68
cmp ebx, 0x3ecd
jne 0x180003ba4
lea rdx, [rsp + 0x60]
mov rcx, r14
call sub.IMM32.dll_ImmGetStatusWindowPos
mov rdx, qword [0x18008c2d8]
cmp rdx, qword [0x18008c2e0]
je 0x180003b57
mov rax, qword [rdi]
mov qword [rdx], rax
add qword [0x18008c2d8], 8
jmp 0x180003ba4
mov r8, rdi
lea rcx, [0x18008c2d0]
call fcn.180001230
jmp 0x180003ba4
xor r9d, r9d
mov qword [rsp + 0x60], r12
xor r8d, r8d
mov edx, 0x80
mov rcx, rsi
mov r14, r12
call sub.IMM32.dll_ImmGetCompositionStringA
jmp 0x180003ba4
mov qword [rdi + 0x30], r12
mov qword [rdi + 0x38], r12
jmp 0x180003ba4
mov rsi, r12
jmp 0x180003ba4
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], r12
mov qword [rdi + 0x20], r12
mov dword [rdi + 0x28], r12d
add ebx, r15d
cmp ebx, ebp
jbe 0x180003b00
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
pop rbp
pop rbx
ret
Function at 0x180011440
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x18008b088]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rdx
movdqa xmm0, xmmword [0x1800833c0]
movdqa xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
movdqa xmm1, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
movdqa xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
lea edx, [rcx + 5]
cmp ecx, edx
jae 0x180011525
xor r9d, r9d
mov rbx, qword [rsp + 0x28]
mov eax, ecx
sub eax, 0xac
je 0x180011508
sub eax, 1
je 0x1800114e6
sub eax, 1
je 0x1800114d5
sub eax, 3
je 0x1800114d0
cmp eax, 1
jne 0x18001151f
cmp qword [rbx + 0x1a], r9
jne 0x180011607
xor bl, bl
jmp 0x18001152a
mov rbx, r8
jmp 0x18001151f
mov dword [r8 + 0x1c], 0x5be0cd19
mov qword [r8 + 0xc0], r9
jmp 0x18001151f
mov dword [r8 + 0xc], 0xa54ff53a
mov dword [r8 + 0x10], 0x510e527f
mov dword [r8 + 0x14], 0x9b05688c
mov dword [r8 + 0x18], 0x1f83d9ab
jmp 0x18001151f
mov dword [r8], 0x6a09e667
mov dword [r8 + 4], 0xbb67ae85
mov dword [r8 + 8], 0x3c6ef372
inc ecx
cmp ecx, edx
jb 0x1800114a5
movzx ebx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
cmp rdx, 0x10
jb 0x18001156a
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011565
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011600
call fcn.18006cd18
movdqa xmm0, xmmword [0x1800833c0]
movdqa xmmword [rsp + 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1800115b9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800115b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180011600
call fcn.18006cd18
movdqa xmm0, xmmword [0x1800833c0]
movdqa xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x180011648
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180011643
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180011643
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbx + 0xa]
xor edx, edx
lea r9d, [rdx + 0x44]
lea rcx, [rsp + 0x30]
call fcn.18006b2b0
movzx eax, word [rbx + 8]
mov word [rsp + 0x20], ax
lea r9, [rsp + 0x20]
mov r8, rdi
lea rdx, [rsp + 0x30]
mov ecx, 0x89
call fcn.18000bda0
mov rbx, rax
jmp 0x18001152a
call fcn.18006cd18
movzx eax, bl
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.18006d4c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xb0
pop rdi
ret
Function at 0x18005b530
Capabilities:
Log keystrokes via input method manager

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x130
mov rax, qword [0x18008b088]
xor rax, rsp
mov qword [rsp + 0x120], rax
movzx ebx, byte [rsp + 0x30]
mov r14, r9
imul eax, edx, 0x6f0
mov rsi, r8
mov ebp, edx
mov edi, edx
mov dword [rsp + 0x40], eax
cmp edx, eax
ja 0x18005b754
mov r15d, dword [rsp + 0x40]
mov r12d, dword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
xor eax, eax
cmp edi, 0x64ef
ja 0x18005b6be
je 0x18005b6a2
cmp edi, 0x304f
ja 0x18005b65c
je 0x18005b645
cmp edi, 0x53
je 0x18005b638
cmp edi, 0x57
je 0x18005b613
cmp edi, 0x128
jne 0x18005b742
movsxd rax, dword [0x18008b1dc]
cmp eax, 0x61a80
jge 0x18005b605
mov r8, qword [r14]
mov rcx, rax
add rcx, qword [0x18008b1e8]
add rax, r8
mov rdx, rsi
cmp rax, 0x61a80
jb 0x18005b600
mov eax, 0x61a80
sub eax, dword [0x18008b1dc]
movsxd r8, eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [r14]
add dword [0x18008b1dc], eax
jmp 0x18005b742
lea r8, [rsp + 0x38]
mov dword [rsi + 0x90], 1
mov rdx, rsi
mov dword [rsp + 0x38], eax
mov ecx, 0x77
call fcn.180013e20
jmp 0x18005b742
mov r13, rax
mov qword [rsp + 0x48], rax
jmp 0x18005b742
mov r15d, 1
mov dword [rsp + 0x44], 0x80
lea r12d, [r15 + 0xf]
jmp 0x18005b742
cmp edi, 0x32a3
je 0x18005b686
cmp edi, 0x604b
jne 0x18005b742
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rsi + 0x40], rax
jmp 0x18005b742
lea rdx, [rsi + 0x30]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x38]
mov ecx, 0x77
call fcn.180013e20
jmp 0x18005b742
lea rdx, [rsi + 0x60]
mov dword [rsp + 0x38], eax
lea r8, [rsp + 0x38]
mov ecx, 0x77
call fcn.180013e20
jmp 0x18005b742
cmp edi, 0x9047
je 0x18005b71c
cmp edi, 0xac48
je 0x18005b754
cmp edi, 0xc043
je 0x18005b6f6
cmp edi, 0xf03f
je 0x18005b6ec
cmp edi, 0x1203b
je 0x18005b754
jmp 0x18005b742
cmp qword [rsi + 0x40], 0
setne bl
jmp 0x18005b742
mov dword [rsp + 0x28], eax
lea r9, [rsp + 0x50]
mov r8d, r12d
mov qword [rsp + 0x20], rax
mov edx, r15d
mov dword [rsp + 0x50], 0xd0
mov rcx, r13
call sub.IMM32.dll_ImmGetImeMenuItemsW
jmp 0x18005b742
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0xd0
call sub.VCRUNTIME140.dll_memset
mov edx, dword [rsp + 0x44]
xor r9d, r9d
mov rcx, qword [rsp + 0x48]
xor r8d, r8d
call sub.IMM32.dll_ImmGetCompositionStringW
imul eax, ebp, 0x94
add edi, eax
cmp edi, dword [rsp + 0x40]
jbe 0x18005b589
movzx eax, bl
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18006d4c0
mov rbx, qword [rsp + 0x170]
add rsp, 0x130
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x18005be00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
lea r14d, [rdx + 0x8b8]
mov r15, r9
mov r13, r8
mov edi, edx
mov rsi, rcx
cmp edx, r14d
jae 0x18005c008
mov rbp, qword [rsp + 0x38]
lea rdx, [0x180000000]
mov rbx, qword [rsp + 0x38]
mov r12, qword [rsp + 0x38]
nop dword [rax]
cmp edi, 0x180
ja 0x18005bf96
je 0x18005bf57
lea eax, [rdi - 0x4c]
cmp eax, 0xfd
ja case.0x18005be82.82
movzx eax, byte [rdx + rax + 0x5c048]
mov ecx, dword [rdx + rax*4 + 0x5c02c]
add rcx, rdx
jmp rcx
mov rdx, qword [r13]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strnlen]
mov r12, rax
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov rcx, qword [rsi]
lea rdx, [rbx*8]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rbp, rax
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x18005bfdd
mov qword [rsp + 0x30], rax
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov r9, rsi
mov qword [rsp + 0x38], 0x20
lea r8, [rsp + 0x38]
mov ecx, 0x10d
lea rdx, [0x18008b210]
call fcn.18004cc00
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov r8, rsi
mov edx, 0x129
mov rcx, r15
call fcn.18000d0d0
mov byte [rsp + 0x30], al
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov rcx, qword [rsi + 0x10]
mov rax, qword [r15]
mov rbx, rcx
cmp rcx, rax
jae 0x18005bf4d
add rbx, rbx
cmp rbx, rax
jb 0x18005bf40
cmp rcx, rbx
jne case.0x18005be82.82
mov byte [rsp + 0x30], 1
jmp 0x18005c008
xor edx, edx
mov dword [rsp + 0x78], r12d
lea r9, [rsp + 0x78]
mov qword [rsp + 0x20], rsi
xor ecx, ecx
lea r8d, [rdx + 0x49]
call fcn.180052170
mov r9, r15
mov qword [rsp + 0x38], r12
lea r8, [rsp + 0x38]
mov edx, 0x1e
mov rcx, rsi
call fcn.180003720
lea rdx, [0x180000000]
jmp case.0x18005be82.82
mov eax, edi
sub eax, 0x1bc
je 0x18005c008
sub eax, 8
je 0x18005c008
sub eax, 0x3f
je 0x18005bfc0
sub eax, 0xba
je 0x18005bfb9
cmp eax, 0xba
je 0x18005c008
jmp case.0x18005be82.82
mov byte [rsp + 0x30], 1
jmp case.0x18005be82.82
test rbp, rbp
je 0x18005c003
mov qword [rsi], rbp
mov qword [rsi + 0x10], rbx
add edi, 0xba
cmp edi, r14d
jb 0x18005be50
jmp 0x18005c008
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.texture3DProjOffset_si31_vf4_vi3_f1_
call fcn.18006ca50
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov byte [rsp + 0x30], 0
mov rax, qword [rsp + 0x30]
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x18006caf0
Capabilities:
Reference http user-agent string

Disassembly:
xor r8d, r8d
mov edx, 0x122
xor ecx, ecx
jmp fcn.180011670
Function at 0x140002952
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
xor r8d, r8d
test rdx, rdx
mov rsi, rcx
mov rbx, rdx
je 0x140002971
mov rcx, rdx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
mov r8, rax
mov rcx, rbx
mov r9, rsi
mov edx, 1
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rsi
add rsp, 0x28
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055bb
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rsi, rcx
mov qword [rsp + 0x28], rdx
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [rsp + 0x28]
mov rcx, rsi
mov edx, 1
mov rbx, rax
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rcx, rbx
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.14001a4e8

Function at 0x1400055fa
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
cmp qword [0x1400940f0], 0
jne 0x140005612
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.1400055bb
lea rsi, [rsp + 0x20]
mov rdx, rcx
mov rcx, rsi
call fcn.140005534
mov rbx, qword [rsp + 0x28]
mov rcx, rsi
call qword [0x1400940f0]
test rbx, rbx
je 0x140005643
test byte [rbx + 7], 0x40
jne 0x140005643
mov rcx, rbx
call fcn.1400039df
lea rcx, [0x140020320]
call fcn.140015130
cmp byte [rax], 0
je 0x14000567b
lea rcx, [0x140020220]
mov byte [rax], 0
call fcn.140015130
xor r8d, r8d
mov rcx, rax
mov rax, qword [rax]
mov rdx, qword [rax + 0x38]
add rsp, 0x38
pop rbx
pop rsi
jmp fcn.140003f44
add rsp, 0x38
pop rbx
pop rsi
ret

Function at 0x140005cf2
Capabilities:
Write file on windows

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
lea r12, [0x1400940c0]
xor ebx, ebx
lea r14, [0x140020320]
lea r13, [rsp + 0x20]
mov rsi, rcx
mov rdi, rdx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
cmp rbx, rdi
mov ecx, 1
jl 0x140005d78
call rbp
mov r8d, 1
mov edx, 1
lea rcx, [0x14002139b]
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 1
call rbp
mov rcx, rax
call fcn.14001a4e8
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rbp
xor r8d, r8d
mov rdx, r13
mov rcx, rax
mov rax, rbx
shl rax, 4
movups xmm0, xmmword [rsi + rax]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140005bcb
mov rcx, r14
call fcn.140015130
cmp byte [rax], 0
jne 0x140005daa
inc rbx
jmp 0x140005d2b
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
Function at 0x140011098
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
test rcx, rcx
je 0x1400110d6
cmp word [rcx], 0x5a4d
jne 0x1400110d6
movsxd rdx, dword [rcx + 0x3c]
cmp edx, 0x400
jg 0x1400110d6
call fcn.1400075c9
mov rcx, qword [0x14008eef0]
mov rbx, rax
call fcn.140015130
cmp byte [rax], 0
jne 0x1400110d6
cmp dword [rbx], 0x4550
je 0x1400110d8
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
ret

Function at 0x1400142a0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.14001a1d0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]

Function at 0x140014310
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140094b04]
test esi, esi
mov rbx, rcx
jle 0x140014440
mov rax, qword [0x140094b08]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001435b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400143e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140014340
mov rcx, rbx
call fcn.140014d80
test rax, rax
mov rdi, rax
je 0x140014462
mov rax, qword [0x140094b08]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140014ec0
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140094b08]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140014447
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400143de
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x1400143f0
add dword [0x140094b04], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140094b08]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400143de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.1400142a0
nop dword [rax]
xor esi, esi
jmp 0x140014368
mov rax, qword [0x140094b08]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call fcn.1400142a0
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call fcn.1400142a0
nop
nop word cs:[rax + rax]
nop dword [rax]