joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140120fe8
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov r15d, r9d
mov r14, rdx
mov rbx, rcx
lea rdx, [0x1401ef7a8]
mov rcx, r8
call fcn.140162300
mov rdi, rax
xor r12d, r12d
test rax, rax
sete al
mov byte [rbx + 0xb0], al
test rdi, rdi
je 0x140121234
mov rcx, rdi
call fcn.1401c15e0
cmp eax, 0x42
jne 0x14012122c
mov rcx, rdi
call fcn.1401c15e0
cmp eax, 0x4d
jne 0x14012122c
xor r8d, r8d
lea edx, [rax - 0x4b]
mov rcx, rdi
call fcn.1401c1500
mov r9, rdi
lea ebx, [r12 + 1]
mov r8d, ebx
lea edx, [rbx + 3]
lea rcx, [rsp + 0x30]
call fcn.1401c11c8
mov eax, dword [rsp + 0x30]
add eax, 0xfffffff2
mov dword [rsp + 0x30], eax
mov ecx, eax
call fcn.1401bc7f0
mov rsi, rax
test rax, rax
je 0x14012122c
xor r8d, r8d
lea edx, [rbx + 0xd]
mov rcx, rdi
call fcn.1401c1500
mov r8d, dword [rsp + 0x30]
mov r9, rdi
mov edx, ebx
mov rcx, rsi
call fcn.1401c11c8
mov ecx, dword [rsp + 0x30]
cmp rax, rcx
je 0x140121257
mov ecx, 0x686
call fcn.1400f6aa0
mov r8, rax
lea r9, str.BMP__PNG
mov edx, 0x200
lea rcx, [rbp - 0x80]
call fcn.1400132f8
lea ecx, [rbx + 0x65]
call fcn.1400f6aa0
mov qword [rsp + 0x58], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rax + r8*2], r12w
jne 0x140121118
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400041b8
nop
mov qword [rsp + 0x38], r12
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
lea rax, [rbp - 0x80]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140121142
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.1400041b8
nop
mov r9d, 0x10
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x38]
mov rcx, qword [0x140233a38]
call fcn.140162f50
nop
mov ebx, 0x1000
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1401211be
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, rbx
jb 0x1401211b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012129b
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r12w
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140121210
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, rbx
jb 0x14012120b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121295
call fcn.1401af36c
movdqa xmm0, xmmword [0x1401dc090]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r12w
mov rcx, rsi
call fcn.1401bc7dc
mov rcx, rdi
call fcn.1401bbf34
xor al, al
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x490
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, rdi
call fcn.1401bbf34
mov r9d, 0x400
movzx r8d, r15w
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov edx, 2
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov ebx, eax
mov rcx, rsi
call fcn.1401bc7dc
test ebx, ebx
setne al
jmp 0x140121236
call fcn.1401b6544
nop
call fcn.1401b6544
nop
int3
Function at 0x1401212a4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r13, rdx
mov dword [rsp + 0x34], r9d
mov rbx, rcx
lea rdx, [0x1401ef7a8]
mov rcx, r8
call fcn.140162300
xor r15d, r15d
mov rdi, rax
test rax, rax
sete al
mov byte [rbx + 0xb0], al
test rdi, rdi
je 0x140121374
lea r12d, [r15 + 1]
mov r9, rdi
mov r8d, r12d
lea edx, [r15 + 0x16]
lea rcx, [rsp + 0x40]
call fcn.1401c11c8
cmp word [rsp + 0x40], r15w
jne 0x14012136c
cmp word [rsp + 0x42], r12w
jne 0x14012136c
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.1401c1500
movzx ecx, word [rsp + 0x44]
sub rcx, r12
shl rcx, 4
add rcx, 0x16
call fcn.1401bc7f0
mov rsi, rax
test rax, rax
je 0x14012136c
movzx edx, word [rsp + 0x44]
sub rdx, r12
imul rcx, rdx, 0xe
add rcx, 0x14
call fcn.1401bc7f0
mov rbp, rax
mov rcx, rsi
test rax, rax
jne 0x140121394
call fcn.1401bc7dc
mov rcx, rdi
call fcn.1401bbf34
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx edx, word [rsp + 0x44]
mov r9, rdi
shl rdx, 4
mov r8, r12
add rdx, 6
call fcn.1401c11c8
mov r14d, r15d
mov eax, dword [rsi + 0x10]
movups xmm0, xmmword [rsi]
movups xmmword [rbp], xmm0
mov dword [rbp + 0x10], eax
cmp r15w, word [rsp + 0x44]
jae 0x140121480
movsxd rax, r14d
lea r15d, [r12 + r14]
imul rcx, rax, 0xe
mov rbx, rax
add rbx, rbx
mov word [rcx + rbp + 0x12], r15w
mov eax, dword [rsi + rbx*8 + 0xe]
movsd xmm0, qword [rsi + rbx*8 + 6]
movsd qword [rcx + rbp + 6], xmm0
mov dword [rcx + rbp + 0xe], eax
mov eax, eax
mov ecx, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rax
call fcn.1401bc7f0
mov r12, rax
test rax, rax
je 0x1401214d2
mov edx, dword [rsi + rbx*8 + 0x12]
xor r8d, r8d
mov rcx, rdi
call fcn.1401c1500
mov rdx, qword [rsp + 0x38]
mov r9, rdi
mov r8d, 1
mov rcx, r12
call fcn.1401c11c8
mov eax, dword [rsp + 0x30]
mov r9d, 0x400
mov dword [rsp + 0x28], eax
mov edx, 3
movzx r8d, r15w
mov rcx, r13
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, r12
mov ebx, eax
call fcn.1401bc7dc
test ebx, ebx
je 0x1401214d2
movzx eax, word [rsp + 0x44]
mov r12d, 1
add r14d, r12d
cmp r14d, eax
jl 0x1401213c8
mov rcx, rdi
call fcn.1401bbf34
movzx eax, word [rsp + 0x44]
mov r9d, 0x400
movzx r8d, word [rsp + 0x34]
mov rcx, r13
imul edx, eax, 0xe
add edx, 6
mov dword [rsp + 0x28], edx
mov edx, 0xe
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov rcx, rsi
mov ebx, eax
call fcn.1401bc7dc
mov rcx, rbp
call fcn.1401bc7dc
test ebx, ebx
setne al
jmp 0x140121376
mov rcx, rdi
call fcn.1401bbf34
mov rcx, rsi
call fcn.1401bc7dc
mov rcx, rbp
call fcn.1401bc7dc
jmp 0x140121374
Function at 0x14012193c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x40
mov rsi, r8
mov rax, rdx
mov rbx, rcx
lea rdx, [0x1401ef7a8]
mov rcx, rax
call fcn.140162300
mov rdi, rax
test rax, rax
sete al
mov byte [rbx + 0xb0], al
test rdi, rdi
jne 0x140121986
xor al, al
jmp 0x140121a5e
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov ecx, 0x2000
call fcn.14000417c
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
add rax, 0x2000
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x10], rax
mov rcx, qword [rbp - 0x20]
lea rbx, [rcx + 0x2000]
xor edx, edx
mov r8d, 0x2000
call fcn.1401b2120
mov qword [rbp - 0x18], rbx
and qword [rbp + 0x10], 0
mov ebx, 1
jmp 0x1401219f3
mov r9, rsi
mov r8, rax
mov rdx, rbx
mov rcx, qword [rbp - 0x20]
call fcn.1401bc53c
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
mov r9, rdi
sub r8, rcx
mov rdx, rbx
call fcn.1401c11c8
test rax, rax
jne 0x1401219e1
mov rcx, rdi
call fcn.1401bbf34
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140121a5c
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140121a48
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140121a73
call fcn.1401af36c
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov al, bl
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop rbp
ret
call fcn.1401b6544
int3

Function at 0x140121a7c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
mov eax, 0x2030
call fcn.1401afd00
sub rsp, rax
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x1401ef7a0]
call fcn.140162300
test rax, rax
mov rdi, rax
sete al
mov byte [rbx + 0xb0], al
test rdi, rdi
je 0x140121ba3
xor r15d, r15d
lea r12d, [r15 + 1]
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, r12
call fcn.1401c11c8
mov rbp, rax
cmp rax, 0x20
jbe 0x140121b9b
xor esi, esi
lea r14d, [rbp - 0x20]
test r14d, r14d
jle 0x140121b4b
lea rbx, [rsp + 0x21]
cmp byte [rbx - 1], 0x61
jne 0x140121b40
cmp byte [rbx], 0x73
jne 0x140121b40
movsxd rax, esi
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.Invoker_
mov r8d, 0x14
call fcn.1401bbcd0
test eax, eax
je 0x140121b61
add esi, r12d
add rbx, r12
cmp esi, r14d
jl 0x140121b14
add ebp, 0xffffffe0
xor r8d, r8d
add r15d, ebp
mov rcx, rdi
mov edx, r15d
call fcn.1401c1500
jmp 0x140121ae1
lea edx, [rsi + r15]
xor r8d, r8d
mov rcx, rdi
call fcn.1401c1500
mov r9, rdi
lea rcx, str.requireAdministrator_
mov r8d, 0x15
mov rdx, r12
call fcn.1401bc53c
cmp rax, 0x15
mov rcx, rdi
sete bl
call fcn.1401bbf34
mov al, bl
jmp 0x140121ba5
mov rcx, rdi
call fcn.1401bbf34
xor al, al
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140122818
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2030
call fcn.1401afd00
sub rsp, rax
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x2020], rax
lea rdx, [0x1401ef7a8]
call fcn.1400cd4c4
mov rsi, rax
test rax, rax
je 0x140122906
xor r14d, r14d
xor r15d, r15d
lea ebx, [r14 + 1]
mov r9, rsi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov rdx, rbx
call fcn.1401c11c8
mov r12, rax
cmp eax, 0x20
jle 0x1401228fa
xor ebp, ebp
lea r13d, [rax - 0x20]
test r13d, r13d
jle 0x1401228d5
lea rdi, [rsp + 0x21]
cmp byte [rdi - 1], 0x72
jne 0x1401228cb
cmp byte [rdi], 0x65
jne 0x1401228cb
movsxd rax, ebp
lea rcx, [rsp + 0x22]
add rcx, rax
lea rdx, str.quireAdministrator_
mov r8d, 0x14
call fcn.1401bbcd0
test eax, eax
je 0x1401228fc
add ebp, ebx
add rdi, rbx
cmp ebp, r13d
jl 0x14012289f
add r14d, 0xffffffe0
xor r8d, r8d
add r14d, r12d
mov rcx, rsi
mov edx, r14d
call fcn.1401c1500
add r15d, ebx
cmp r15d, 0x100
jb 0x140122871
xor bl, bl
mov rcx, rsi
call fcn.1401bbf34
mov al, bl
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x2030]
mov rbx, qword [r11 + 0x38]
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 0x140122938
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x430
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x420], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x1401ef7a8]
call fcn.140162300
xor edi, edi
mov rsi, rax
test rax, rax
sete al
mov byte [rbx + 0xb0], al
test rsi, rsi
je 0x1401229da
mov r9, rsi
lea edx, [rdi + 1]
mov r8d, 0x400
lea rcx, [rsp + 0x20]
call fcn.1401c11c8
mov rcx, rsi
mov rbx, rax
call fcn.1401bbf34
lea eax, [rbx - 4]
movsxd rcx, eax
test eax, eax
jle 0x1401229d6
cmp byte [rsp + rdi + 0x20], 0x55
jne 0x1401229ce
cmp byte [rsp + rdi + 0x21], 0x50
jne 0x1401229ce
cmp byte [rsp + rdi + 0x22], 0x58
jne 0x1401229ce
cmp byte [rsp + rdi + 0x23], 0x30
je 0x1401229da
inc rdi
cmp rdi, rcx
jl 0x1401229b2
xor al, al
jmp 0x1401229dc
mov al, 1
mov rcx, qword [rsp + 0x420]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140124744
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2038
call fcn.1401afd00
sub rsp, rax
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov rax, rdx
mov rbx, rcx
mov rcx, rax
lea rdx, [0x1401ef7a8]
mov r13, r9
mov r12, r8
call fcn.140162300
test rax, rax
mov rdi, rax
sete al
mov byte [rbx + 0xb0], al
test rdi, rdi
je 0x1401248c4
xor r15d, r15d
mov r9, rdi
lea rcx, [rsp + 0x20]
mov r8d, 0x2000
mov edx, 1
call fcn.1401c11c8
mov rbp, rax
cmp rax, 0x28
jbe 0x1401248bc
xor esi, esi
lea r14, [rax - 0x28]
test r14, r14
je 0x140124871
lea rbx, [rsp + 0x24]
cmp byte [rbx - 4], 0x2a
jne 0x140124809
cmp byte [rbx - 3], 0x2a
jne 0x140124809
lea rcx, [rbx - 2]
mov r8d, 0xc
lea rdx, [0x1401ee760]
call fcn.1401bbcd0
test eax, eax
je 0x14012488a
cmp word [rbx - 4], 0x2a
jne 0x140124830
cmp word [rbx - 2], 0x2a
jne 0x140124830
mov r8d, 0xc
lea rdx, str.messages
mov rcx, rbx
call fcn.1401c011c
test eax, eax
je 0x14012488a
mov eax, 0xfeff
cmp word [rbx - 4], ax
jne 0x140124862
cmp word [rbx - 2], 0x2a
jne 0x140124862
cmp word [rbx], 0x2a
jne 0x140124862
lea rcx, [rbx + 2]
mov r8d, 0xc
lea rdx, str.messages
call fcn.1401c011c
test eax, eax
je 0x14012488a
inc rsi
inc rbx
cmp rsi, r14
jb 0x1401247df
add ebp, 0xffffffd8
xor r8d, r8d
add r15d, ebp
mov rcx, rdi
mov edx, r15d
call fcn.1401c1500
jmp 0x1401247a6
lea edx, [rsi + r15]
xor r8d, r8d
mov rcx, rdi
call fcn.1401c1500
mov r9, rdi
mov r8, r13
mov edx, 1
mov rcx, r12
call fcn.1401c11c8
mov rcx, rdi
mov rbx, rax
call fcn.1401bbf34
mov rax, rbx
jmp 0x1401248c6
mov rcx, rdi
call fcn.1401bbf34
xor eax, eax
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x2038
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1401294f4
Capabilities:
Get geographical location

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x130], rax
movdqa xmm0, xmmword [0x1401efeb0]
xor esi, esi
xor edi, edi
mov dword [rsp + 0x30], r9d
mov r13d, 0x400
mov r15d, r9d
mov r14, r8
mov rbp, rdx
mov rbx, rcx
movdqu xmmword [rsp + 0x34], xmm0
cmp rcx, r13
jb 0x140129563
lea eax, [rsi + 1]
cmp eax, 5
jae 0x140129563
mov edi, ebx
inc esi
and edi, 0x3ff
shr rbx, 0xa
inc eax
cmp rbx, r13
jae 0x140129549
mov rcx, rbx
call fcn.14012943c
cmp rbx, 0x64
jae 0x140129602
test edi, edi
je 0x140129602
imul eax, edi, 0x3e8
shr eax, 0xa
cmp rbx, 0xa
sbb ecx, ecx
xor edx, edx
and ecx, 0xffffffa6
add ecx, 0x64
div ecx
mov edi, eax
test eax, eax
je 0x140129602
cmp rbx, 0xa
jae 0x1401295ae
lea rbx, [0x1401e03bc]
cmp eax, 0xa
jb 0x1401295b5
lea rbx, [0x1401dbff0]
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x60]
mov ecx, r13d
lea edx, [r9 - 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx r9d, word [rsp + 0x60]
lea r8, str._c_s_u
mov edx, 0xa
mov dword [rsp + 0x28], edi
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rbx
call fcn.1400132f8
mov r8, r14
lea rdx, [rsp + 0x48]
mov rcx, rbp
call fcn.1400fe9dc
test r15d, r15d
jne 0x14012960b
test esi, esi
je 0x140129634
mov r8, r14
lea rdx, [0x1401dc108]
mov rcx, rbp
call fcn.1400fe9dc
mov ecx, dword [rsp + rsi*4 + 0x30]
call fcn.1400f6aa0
mov rdx, rax
mov r8, r14
mov rcx, rbp
call fcn.1400fe9dc
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x140
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140129658
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x108
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r9d, reloc.SHELL32.dll_SHRestricted
lea r8, [rsp + 0x20]
mov ecx, 0x400
lea edx, [r9 - 0x55]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x108
ret
Function at 0x140129ab8
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, rcx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor ebp, ebp
movsxd rdi, eax
test eax, eax
je 0x140129c97
lea rcx, [rdi*2 + 2]
call fcn.1401bc7f0
mov rbx, rax
test rax, rax
je 0x140129c97
lea r8d, [rdi + 1]
mov word [rax], bp
mov rdx, rax
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
or rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x140129b2c
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetDC]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
mov r12, rax
lea edx, [r9 + 0x31]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
lea r9, [rsp + 0x20]
mov r8d, edi
mov rdx, rbx
mov rcx, r12
mov r13, rax
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov ecx, dword [rsp + 0x30]
cmp dword [rsp + 0x20], ecx
jl 0x140129c77
mov rcx, rbx
call fcn.1400e33c8
cmp rax, rbx
je 0x140129bcc
mov r8, rsi
inc r8
cmp word [rax + r8*2], bp
jne 0x140129ba3
lea r8, [r8*2 + 2]
mov rdx, rax
mov rcx, rbx
call fcn.1401b1520
mov rdi, rsi
inc rdi
cmp word [rbx + rdi*2], bp
jne 0x140129bc3
mov rsi, rdi
lea r9, [rsp + 0x20]
mov r8d, edi
shr rsi, 1
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
lea r15, [rsi + 2]
cmp r15, rdi
jae 0x140129c6b
lea rdi, [rbx + r15*2]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bp
jne 0x140129bf7
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jl 0x140129c6b
cmp rsi, 1
jb 0x140129c6b
cmp r8, 1
jb 0x140129c6b
mov eax, 0x2026
lea r8, [r8*2 + 2]
lea rcx, [rdi - 4]
mov word [rdi - 6], ax
mov rdx, rdi
call fcn.1401b1520
or rbp, 0xffffffffffffffff
xor eax, eax
inc rbp
cmp word [rbx + rbp*2], ax
jne 0x140129c3a
lea r9, [rsp + 0x20]
mov r8d, ebp
mov rdx, rbx
mov rcx, r12
dec rsi
sub rdi, 2
dec r15
call qword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
cmp r15, rbp
mov ebp, 0
jb 0x140129bf3
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.GDI32.dll_SelectObject]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, rbx
call fcn.1401bc7dc
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401af480
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x38]
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 0x14012a110
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, r8
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
xor r15d, r15d
test eax, eax
jle 0x14012a1b2
lea esi, [rax + 1]
movsxd rcx, esi
lea eax, [r15 + 2]
mul rcx
lea rbx, [r15 - 1]
cmovo rax, rbx
mov rcx, rax
call fcn.1401af71c
mov rdi, rax
test rax, rax
je 0x14012a1b2
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rsp + 0x20], rdi
inc rbx
cmp word [rdi + rbx*2], r15w
jne 0x14012a17d
mov qword [rsp + 0x28], rbx
lea rcx, [rsp + 0x20]
movaps xmm0, xmmword [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, r14
call fcn.14012a390
mov rcx, rdi
call fcn.1401af36c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14013b738
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140258328], 0
je 0x14013b753
or eax, 0xffffffff
jmp 0x14013b85b
mov rax, qword [0x1402481d8]
test rax, rax
jg 0x14013b773
dec rax
mov qword [0x1402481d8], rax
and qword [0x140258238], 0
jmp 0x14013b74b
mov rbx, qword [0x140258238]
test rbx, rbx
jg 0x14013b7c7
mov rcx, qword [0x140258228]
mov ebx, 0x2000
mov edx, ebx
call fcn.14013b9d8
movsxd rcx, eax
mov qword [0x140258238], rcx
test eax, eax
je 0x14013b769
cmp rcx, 0xffffffffffffffff
je 0x14013b7fd
mov rax, qword [0x140258228]
add qword [0x140258278], rbx
mov qword [0x140258230], rax
call fcn.14013afcc
mov rbx, qword [0x140258238]
mov rax, qword [0x140248210]
test byte [rax + 0x90], 1
je 0x14013b840
cmp byte [0x14025846c], 0
je 0x14013b815
test rbx, rbx
je 0x14013b840
mov rdx, qword [0x140258230]
lea rcx, [0x140258478]
mov r8, rbx
call fcn.14013f258
jmp 0x14013b839
lea rdx, [0x140234ea0]
lea rcx, [0x14023fd90]
call fcn.1400c00b8
jmp 0x14013b769
mov rdi, qword [0x140258230]
test rbx, rbx
je 0x14013b840
call fcn.14013efa8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14013f11c
inc rdi
sub rbx, 1
jne 0x14013b821
mov rbx, qword [0x140258238]
mov rax, qword [0x140258230]
dec rbx
mov qword [0x140258238], rbx
movzx eax, byte [rax]
inc qword [0x140258230]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14013f014
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.14013efc8
movsd xmm0, qword [rbx]
mov eax, dword [rbx + 8]
xor ebx, ebx
movsd qword [rsp + 0x20], xmm0
mov dword [rsp + 0x28], eax
mov ecx, dword [0x1402583b0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.14013f11c
inc rbx
cmp rbx, 0xc
jl 0x14013f04e
mov rax, qword [0x140248210]
movzx ecx, byte [0x1402582a7]
test byte [rax + 0x90], 2
movzx eax, byte [0x14025829f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x14013f0ac
or eax, 0xffffffff
jmp 0x14013f101
test dil, dil
je 0x14013f0ff
mov rbx, qword [0x140258238]
mov rax, qword [0x1402481d8]
mov rdi, qword [0x140258230]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x14013f0ff
mov ecx, dword [0x1402583b0]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.14013f11c
inc rdi
sub ebx, 1
jne 0x14013f0d3
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401af480
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14013f11c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x1402583a8]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x1402583b0]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140247db0]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x1402583ac]
imul eax, eax, 0x8088405
mov dword [0x1402583a8], r8d
inc eax
mov dword [0x1402583ac], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x1402583b0], ecx
ret

Function at 0x14013f40c
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x140231eb8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.14013f910
xor edi, edi
test rsi, rsi
je 0x14013f484
cmp byte [r14], dil
je 0x14013f484
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x14013f4b8
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x14013f48d
mov rcx, rbx
call fcn.1400fcb2c
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400fcb54
test rsi, rsi
je 0x14013f4ef
cmp byte [r14], dil
jne 0x14013f4ef
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400fcb54
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14013f910
test r15, r15
je 0x14013f528
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x14013f517
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401af480
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret