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

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140002b0d
lea rbx, [0x1400716d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002af4
cmp r10, 2
jb 0x140002af4
cmp byte [r9], r8b
jne 0x140002af4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002ad0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140002b4f
lea rbx, [0x1400716d0]
cmp r8b, 0x23
jne 0x140002b33
cmp byte [r9], r8b
jne 0x140002b33
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002b20
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002c90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x140002caa
mov qword [r8], 0
lea rdx, [0x1400712d4]
call fcn.140002b60
mov rbx, rax
test rax, rax
jne 0x140002cca
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140002da1
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002da1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140002da1
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140002da1
cmp rdi, 0xffffffffffffffff
je 0x140002da1
mov rax, qword [0x14011a270]
test rax, rax
je 0x140002d3e
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140002da1
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x140002d8e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14011a270]
test rax, rax
je 0x140002d83
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002daa
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x140002d9c
mov qword [r14], rdi
mov rax, rsi
jmp 0x140002dac
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x140005cc0
Capabilities:
Hash data with crc32

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400716d0]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x11]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x12]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x13]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x14]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x15]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x16]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [r11 + 0x17]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14011a270]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x140005d96
mov r8, rdx
mov ecx, ebx
mov edx, 0xc
call fcn.140018120
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x140005da0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0xd0]
mov rax, qword [rcx + 0xd8]
mov ebx, dword [rax + r8*4 - 4]
lea r8, [0x1400716d0]
not ebx
movzx eax, dl
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [r8 + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [r8 + rcx*4]
mov rcx, qword [0x14011a270]
not ebx
cmp dword [rcx + 0x3ed4], ebx
jne 0x140005e2b
movsxd r8, edx
mov ecx, ebx
mov edx, 4
call fcn.140018120
mov eax, ebx
add rsp, 0x20
pop rbx
ret
Function at 0x140005e40
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 0x18
mov rax, qword [rcx + 0xd8]
lea r9, [0x1400716d0]
movss xmm2, dword [rcx + 0xf0]
movss xmm3, dword [rcx + 0xf4]
movsxd rcx, dword [rcx + 0xd0]
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
subss xmm1, xmm3
mov r8d, dword [rax + rcx*4 - 4]
not r8d
movzx ecx, r8b
shr r8d, 8
movss dword [rsp], xmm0
movzx eax, byte [rsp]
xor rcx, rax
movss xmm0, dword [rdx + 8]
movzx eax, byte [rsp + 1]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
movss xmm1, dword [rdx + 0xc]
xor r8d, dword [r9 + rcx*4]
subss xmm1, xmm3
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 2]
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 3]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 4]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 5]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 6]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 7]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 8]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 9]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xa]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xb]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xc]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xd]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
movzx eax, byte [rsp + 0xe]
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, byte [rsp + 0xf]
movzx edx, r8b
shr r8d, 8
xor rdx, rcx
xor r8d, dword [r9 + rdx*4]
not r8d
mov eax, r8d
add rsp, 0x18
ret
Function at 0x140006770
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 0x53
xor r10d, r10d
mov byte [rsp + 0x21], 0x5f
movabs rdi, 0xdd5cf19cf1ae357a
mov byte [rsp + 0x22], 0x3b
mov r11, rdi
mov byte [rsp + 0x23], 0x1f
mov rbx, rcx
mov byte [rsp + 0x24], 0x13
lea esi, [r10 + 0xf]
mov byte [rsp + 0x25], 0x1e
mov byte [rsp + 0x26], 0xe6
mov byte [rsp + 0x27], 0xfc
mov byte [rsp + 0x28], 0xe1
mov byte [rsp + 0x29], 0xff
mov byte [rsp + 0x2a], 0xeb
mov byte [rsp + 0x2b], 0xee
mov byte [rsp + 0x2c], 0x8a
movzx eax, byte [rsp + 0x20]
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
nop word [rax + rax]
mov rcx, r10
lea r8, [rsp + 0x20]
add r8, r10
and ecx, esi
cmp rcx, rsi
mov rdx, rdi
cmovae rcx, rsi
movzx r9d, byte [r8]
lea eax, [r8 + r11]
shl cl, 2
shr rdx, cl
and dl, sil
xor dl, al
xor dl, r9b
mov byte [rsp + r10 + 0x20], dl
inc r10
cmp r10, 0xd
jb 0x140006800
lea r8, [rsp + 0x20]
xor edx, edx
mov rcx, rbx
call fcn.1400065c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d2a0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140006870
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x20], 0x53
xor r10d, r10d
mov byte [rsp + 0x21], 0x5f
movabs rdi, 0xdd5cf19cf1ae357a
mov byte [rsp + 0x22], 0x3f
mov r11, rdi
mov byte [rsp + 0x23], 0x11
mov rbx, rcx
mov byte [rsp + 0x24], 2
lea esi, [r10 + 0xf]
mov byte [rsp + 0x25], 0x10
mov byte [rsp + 0x26], 0xe6
mov byte [rsp + 0x27], 0xfc
mov byte [rsp + 0x28], 0xe1
mov byte [rsp + 0x29], 0xff
mov byte [rsp + 0x2a], 0xeb
mov byte [rsp + 0x2b], 0xee
mov byte [rsp + 0x2c], 0x8a
movzx eax, byte [rsp + 0x20]
lea rax, [rsp + 0x20]
sub r11, rax
nop dword [rax]
nop word [rax + rax]
mov rcx, r10
lea r8, [rsp + 0x20]
add r8, r10
and ecx, esi
cmp rcx, rsi
mov rdx, rdi
cmovae rcx, rsi
movzx r9d, byte [r8]
lea eax, [r8 + r11]
shl cl, 2
shr rdx, cl
and dl, sil
xor dl, al
xor dl, r9b
mov byte [rsp + r10 + 0x20], dl
inc r10
cmp r10, 0xd
jb 0x140006900
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rbx
call fcn.1400065c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d2a0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140012300
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, qword [0x14011a270]
mov edi, ecx
cmp byte [rbx + 0x424d], 0
jne 0x140012361
cmp byte [rbx + 0x424e], 0
jne 0x140012361
movsx r9d, word [rbx + 0x5342]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002a30
test dil, 1
je 0x140012488
jmp 0x1400123ea
movss xmm1, dword [rbx + 0x3898]
lea r8, str.Tooltip__02d
movsx r9d, word [rbx + 0x5342]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x140076b34]
mulss xmm1, dword [0x140076b20]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0xdfc]
addss xmm1, dword [rbx + 0xe00]
mov qword [rbx + 0x3fb8], rax
mov dword [rbx + 0x3fa4], 1
movss dword [rbx + 0x3fb0], xmm0
movss dword [rbx + 0x3fb4], xmm1
movss xmm0, dword [rbx + 0x38f4]
mulss xmm0, dword [0x1400769dc]
or dword [rbx + 0x3fa0], 0x41
movss dword [rbx + 0x4000], xmm0
call fcn.140002a30
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x140012440
lea r11, [0x1400716d0]
nop word [rax + rax]
cmp r9b, 0x23
jne 0x140012423
cmp byte [r8], r9b
jne 0x140012423
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 0x140012410
not ecx
call fcn.14000b3c0
test rax, rax
je 0x140012488
cmp byte [rax + 0x96], 0
je 0x140012488
mov byte [rax + 0x9d], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb8], 1
lea rcx, [rsp + 0x20]
inc word [rbx + 0x5342]
mov edx, 0x10
movsx r9d, word [rbx + 0x5342]
call fcn.140002a30
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000db00
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14006d2a0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140016cc0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x53f0], 0
lea rbx, [rcx + 0x53f8]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016d67
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016d1a
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.140018d50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400034d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x53f0]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5400]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14011a280]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016d6f
mov rcx, rbx
call fcn.1400034d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x1400172e0
Capabilities:
Hash data with crc32

Disassembly:
sub rsp, 8
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10, qword [0x14011a270]
mov r11d, 0xffffffff
mov eax, r11d
test r9b, r9b
je 0x140017343
mov qword [rsp], rbx
lea rbx, [0x1400716d0]
nop dword [rax]
cmp r9b, 0x23
jne 0x140017323
cmp byte [r8], r9b
jne 0x140017323
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rbx + rdx*4]
test r9b, r9b
jne 0x140017310
mov rbx, qword [rsp]
movsxd rcx, dword [r10 + 0x53a0]
xor r8d, r8d
not eax
test ecx, ecx
jle 0x140017377
mov r10, qword [r10 + 0x53a8]
mov r9, rcx
mov edx, r8d
lea rcx, [r10 + 8]
cmp dword [rcx], eax
je 0x14001737e
inc r8d
inc rdx
add rcx, 0x48
cmp rdx, r9
jl 0x140017364
xor eax, eax
add rsp, 8
ret
movsxd rax, r8d
lea rcx, [rax + rax*8]
lea rax, [r10 + rcx*8]
add rsp, 8
ret
Function at 0x140034080
Capabilities:
Hash data with crc32

Disassembly:
push rdi
sub rsp, 0x20
test dword [rcx + 0x10], 0x100000
mov rdi, rdx
je 0x14003410c
movzx r9d, byte [rdx]
lea r8, [rdx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x1400340e0
lea r11, [0x1400716d0]
nop
cmp r9b, 0x23
jne 0x1400340c3
cmp byte [r8], r9b
jne 0x1400340c3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400340b0
mov rcx, qword [0x14011a270]
not eax
cmp dword [rcx + 0x3eec], eax
jne 0x1400340f7
mov dword [rcx + 0x3ef0], eax
cmp dword [rcx + 0x3f18], eax
jne 0x140034166
mov byte [rcx + 0x3f1c], 1
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
xor edx, edx
mov rbx, qword [0x14011a270]
mov rcx, rdi
mov qword [rsp + 0x38], rsi
mov r8, qword [rbx + 0x3ea0]
movsxd rax, dword [r8 + 0xd0]
mov r8, qword [r8 + 0xd8]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.140002ab0
cmp dword [rbx + 0x3ed4], eax
mov esi, eax
mov rbx, qword [rsp + 0x30]
jne 0x14003415f
mov r8, rdi
mov edx, 0xb
mov ecx, eax
call fcn.140018120
mov eax, esi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003a410
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
mov edx, 0x1000
xor ecx, ecx
mov r8d, edx
lea r9d, [rcx + 0x40]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
jne 0x14003a443
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
movups xmm0, xmmword [0x14011a538]
mov ecx, ebx
movups xmmword [rax], xmm0
movsd xmm1, qword [0x14011a548]
movsd qword [rax + 0x10], xmm1
mov eax, dword [0x14011a550]
mov dword [rdi + 0x18], eax
movzx eax, word [0x14011a554]
mov word [rdi + 0x1c], ax
call rdi
xor edx, edx
mov r8d, 0x1000
mov rcx, rdi
mov ebx, eax
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14003d940
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x440
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov byte [rsp + 0x20], 0x75
xor r11d, r11d
mov byte [rsp + 0x21], 1
mov rbp, r9
mov byte [rsp + 0x22], 0x60
movabs r9, 0x3685dde6f9b215f
movzx eax, byte [rsp + 0x20]
mov rbx, r9
lea rax, [rsp + 0x20]
mov rsi, rdx
sub rbx, rax
lea r14d, [r11 + 0xf]
mov rdi, rcx
nop dword [rax]
mov rcx, r11
lea rdx, [rsp + 0x20]
add rdx, r11
and ecx, r14d
cmp rcx, r14
mov rax, r9
cmovae rcx, r14
movzx r10d, byte [rdx]
add dl, bl
shl cl, 2
shr rax, cl
and al, r14b
xor al, dl
xor al, r10b
mov byte [rsp + r11 + 0x20], al
inc r11
cmp r11, 3
jb 0x14003d9a0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140019bf0
mov r9, rbp
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14006d2a0
add rsp, 0x440
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14003da20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x448
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov byte [rsp + 0x20], 0x75
xor r10d, r10d
mov byte [rsp + 0x21], 3
mov rsi, r9
mov byte [rsp + 0x22], 0x60
movabs r9, 0x3685dde6f9b215f
movzx eax, byte [rsp + 0x20]
mov r11, r9
lea rax, [rsp + 0x20]
mov rdi, rdx
sub r11, rax
lea ebp, [r10 + 0xf]
mov rbx, rcx
nop word [rax + rax]
mov rcx, r10
lea rdx, [rsp + 0x20]
add rdx, r10
and ecx, ebp
cmp rcx, rbp
mov rax, r9
cmovae rcx, rbp
movzx r8d, byte [rdx]
add dl, r11b
shl cl, 2
shr rax, cl
and al, bpl
xor al, dl
xor al, r8b
mov byte [rsp + r10 + 0x20], al
inc r10
cmp r10, 3
jb 0x14003da80
cvtss2sd xmm2, xmm2
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
movq r8, xmm2
call fcn.140019bf0
mov r9, rsi
lea r8, [rsp + 0x30]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14006d2a0
add rsp, 0x448
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14003db10
Capabilities:
Read .ini file

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
movaps xmm1, xmm2
lea rcx, [rsp + 0x30]
mov rsi, r9
mov rdi, rdx
call fcn.1400397e0
cmp qword [rax + 0x18], 0x10
jb 0x14003db4a
mov rax, qword [rax]
mov qword [rsp + 0x28], rsi
lea r9, [rsp + 0x50]
mov r8, rax
mov dword [rsp + 0x20], 0x20
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x14003dbab
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003dba6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003dba6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14006d744
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
cvtsd2ss xmm0, xmm0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14006d2a0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140054e80
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1018]
mov eax, 0x1118
call fcn.14006e360
sub rsp, rax
mov rax, qword [0x14007e010]
xor rax, rsp
mov qword [rbp + 0x1000], rax
mov qword [rsp + 0x30], rcx
mov r15, rcx
mov edi, edx
xor ebx, ebx
mov rdx, qword [0x14011a390]
mov ecx, edi
sar ecx, 0x10
shl ecx, 3
mov qword [rsp + 0x30], rbx
mov eax, dword [rdx + 8]
mov dword [rbp - 0x80], eax
mov rax, qword [0x14011a420]
add rax, 0xeb03750
mov dword [rbp - 0x7c], ebx
add rcx, rax
mov qword [rbp - 0x68], 8
lea rax, [rsp + 0x30]
mov qword [rbp - 0x78], rcx
mov qword [rbp - 0x70], rax
lea rcx, [rsp + 0x40]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x40], 0x92b
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x44], 0x129
call qword [rdx]
mov rax, qword [rsp + 0x30]
mov rdx, qword [0x14011a390]
movzx ecx, di
mov word [rsp + 0x24], bx
mov dword [rbp - 0x5c], ebx
mov qword [rbp - 0x48], 2
lea r13, [rax + rcx*2]
mov dword [rsp + 0x50], 0x92b
mov eax, dword [rdx + 8]
lea rcx, [rsp + 0x50]
mov dword [rbp - 0x60], eax
lea rax, [rsp + 0x24]
mov qword [rbp - 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
mov qword [rbp - 0x58], r13
mov dword [rsp + 0x54], 0x129
call qword [rdx]
movzx r12d, word [rsp + 0x24]
shr r12d, 6
test r12d, r12d
je 0x1400550bc
mov qword [rsp + 0x1160], rsi
mov edi, ebx
mov qword [rsp + 0x1110], r14
mov esi, ebx
mov r14d, r12d
nop
mov rdx, qword [0x14011a390]
mov byte [rsp + 0x20], bl
mov dword [rbp - 0x3c], ebx
mov ecx, esi
mov eax, dword [rdx + 8]
add rcx, 2
mov dword [rbp - 0x40], eax
add rcx, r13
lea rax, [rsp + 0x20]
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rax
lea rcx, [rsp + 0x60]
lea rax, [rbp - 0x40]
mov qword [rbp - 0x28], 1
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0x92b
mov dword [rsp + 0x64], 0x129
call qword [rdx]
movzx eax, byte [rsp + 0x20]
inc esi
mov byte [rbp + rdi], al
inc rdi
cmp rdi, r14
jl 0x140054fa0
mov rdx, qword [0x14011a390]
lea rcx, [rsp + 0x70]
lea rdi, [rbp]
mov dword [rsp + 0x28], ebx
mov dword [rbp - 0x1c], ebx
mov qword [rbp - 8], 4
mov eax, dword [rdx + 8]
mov dword [rbp - 0x20], eax
mov rax, qword [0x14011a420]
add rax, 0xeb03740
mov dword [rsp + 0x70], 0x92b
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x28]
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x74], 0x129
call qword [rdx]
movsxd r10, dword [rsp + 0x28]
mov rsi, qword [rsp + 0x1160]
sar r10, 5
movsx r8d, byte [rdi]
movzx edx, r10b
mov ecx, r8d
lea r10d, [r10 + rbx*8]
shr ecx, 4
mov r9, rdi
xor cl, dl
shl r8b, 4
and cl, 0xf
inc rdi
xor cl, r8b
inc ebx
xor cl, dl
mov byte [r9], cl
cmp ebx, r12d
jl 0x140055070
lea rdx, [rbp]
mov byte [rbp + r12], 0
mov rcx, r15
call fcn.140035d60
mov r14, qword [rsp + 0x1110]
jmp 0x1400550cb
lea rdx, str.Error_Decrypt_Ansi
mov rcx, r15
call fcn.140035d60
mov rax, r15
mov rcx, qword [rbp + 0x1000]
xor rcx, rsp
call fcn.14006d2a0
add rsp, 0x1118
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret
Function at 0x140055310
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov rax, rsp
push rbx
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
xorps xmm4, xmm4
movaps xmmword [rax - 0x28], xmm7
xorps xmm3, xmm3
movaps xmmword [rax - 0x38], xmm8
movaps xmm7, xmm1
movaps xmmword [rax - 0x48], xmm9
movaps xmm8, xmm0
ucomiss xmm8, xmm4
mov rax, qword [0x14011a270]
movss xmm9, dword [0x1401197cc]
xorps xmm2, xmm2
movss xmm6, dword [rax + 0x10]
movss xmm5, dword [rax + 0x14]
mulss xmm6, dword [0x1400769d8]
mulss xmm5, dword [0x1400769d8]
jp 0x14005536f
je 0x1400553c1
comiss xmm8, xmm6
jbe 0x14005539f
movaps xmm3, xmm6
movaps xmm0, xmm6
subss xmm3, xmm8
addss xmm0, xmm6
xorps xmm3, xmmword [0x140076d80]
divss xmm3, xmm9
movaps xmm1, xmm3
addss xmm1, xmm6
comiss xmm1, xmm0
jbe 0x14005539f
xorps xmm3, xmm3
comiss xmm6, xmm8
jbe 0x1400553c1
movaps xmm3, xmm8
subss xmm3, xmm6
divss xmm3, xmm9
movaps xmm0, xmm3
addss xmm0, xmm6
comiss xmm4, xmm0
jbe 0x1400553c1
xorps xmm3, xmm3
ucomiss xmm7, xmm4
jp 0x1400553c8
je 0x140055416
comiss xmm7, xmm5
jbe 0x1400553f6
movaps xmm2, xmm5
movaps xmm0, xmm5
subss xmm2, xmm7
addss xmm0, xmm5
xorps xmm2, xmmword [0x140076d80]
divss xmm2, xmm9
movaps xmm1, xmm2
addss xmm1, xmm5
comiss xmm1, xmm0
jbe 0x1400553f6
xorps xmm2, xmm2
comiss xmm5, xmm7
jbe 0x140055416
movaps xmm2, xmm7
subss xmm2, xmm5
divss xmm2, xmm9
movaps xmm0, xmm2
addss xmm0, xmm5
comiss xmm4, xmm0
jbe 0x140055416
xorps xmm2, xmm2
xor eax, eax
mov qword [rsp + 0x34], 0x4001
mov dword [rsp + 0x20], eax
xor ecx, ecx
mov dword [rsp + 0x30], eax
mov edx, 0x1000
cvttss2si eax, xmm3
mov r8d, edx
lea r9d, [rcx + 0x40]
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm2
mov dword [rsp + 0x2c], eax
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x1400554b2
movups xmm0, xmmword [0x14011a518]
mov r8d, 0x28
lea rdx, [rsp + 0x20]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x14011a528]
movsd qword [rax + 0x10], xmm1
mov ecx, dword [0x14011a530]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x14011a534]
mov word [rax + 0x1c], cx
lea ecx, [r8 - 0x27]
call rbx
xor edx, edx
mov r8d, 0x1000
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
movaps xmm6, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm9, xmmword [rsp + 0x50]
add rsp, 0x90
pop rbx
ret