joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ab00
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x42ad6e
sub rsp, 0x58
mov qword [rsp + 0x50], rbp
lea rbp, [rsp + 0x50]
nop
lea rax, [0x01127ad0]
mov qword [rsp], rax
call fcn.0040c2c0
lea rax, [0x01127a40]
mov qword [rsp], rax
call fcn.0041b760
mov rax, qword [rsp + 8]
mov qword [rsp + 0x48], rax
nop
nop
lea rcx, [0x01127ad0]
mov qword [rsp], rcx
call fcn.0040c520
mov rax, qword [rsp + 0x48]
mov byte [rax + 0xa], 1
lea rdi, [rax + 0x10]
cmp dword [0x0113f9b0], 0
jne 0x42ad5f
mov rcx, qword [rsp + 0x68]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x40], rdi
mov rcx, qword [rsp + 0x70]
mov qword [rax + 0x18], rcx
cmp dword [0x0113f9b0], 0
nop dword [rax]
jne 0x42ad38
mov rcx, qword [rsp + 0x78]
mov qword [rax + 0x20], rcx
mov rcx, qword [rsp + 0x80]
mov qword [rax + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
call fcn.0042a660
cmp byte [rsp + 0x10], 0
je 0x42acd6
cmp dword [0x0113f2dc], 0
jne 0x42abf4
mov byte [rsp + 0x88], 1
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
mov rax, qword [rsp + 0x60]
mov qword [rsp], rax
xorps xmm0, xmm0
movups xmmword [rsp + 8], xmm0
call fcn.00416120
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
mov rdx, qword [rsp + 0x18]
nop
inc dword [rcx + 0xd8]
mov rcx, qword [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rbx, qword [rcx + 0xa0]
test byte [rbx], al
test byte [rax], al
mov qword [rsp], rdx
lea rax, [rbx + 0x1698]
mov qword [rsp + 0x38], rax
mov qword [rsp + 8], rax
call fcn.00422660
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
mov qword [rsp + 8], 8
lea rax, [0x01094168]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov qword [rsp + 0x20], 0
call fcn.004224c0
nop
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x30]
mov edx, dword [rcx + 0xd8]
lea ebx, [rdx - 1]
mov dword [rcx + 0xd8], ebx
cmp edx, 1
jne 0x42abe2
cmp byte [rax + 0xb1], 0
je 0x42abe2
mov qword [rax + 0x10], 0xfffffffffffffade
jmp 0x42abe2
nop
nop
lea rax, [0x01127ad0]
mov qword [rsp], rax
call fcn.0040c2c0
nop
mov rax, qword [0x01127a70]
sub rax, qword [0x01127a40]
mov qword [0x01127a70], rax
mov rax, qword [0x01127a58]
mov rcx, qword [rsp + 0x48]
mov qword [rcx], rax
mov qword [0x01127a58], rcx
nop
nop
lea rax, [0x01127ad0]
mov qword [rsp], rax
call fcn.0040c520
mov byte [rsp + 0x88], 0
mov rbp, qword [rsp + 0x50]
add rsp, 0x58
ret
lea rcx, [rax + 0x20]
mov rdi, rcx
mov rbx, qword [rsp + 0x78]
call fcn.0046e820
lea rdi, [rax + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.0046e7e0
jmp 0x42abbb
mov rcx, qword [rsp + 0x68]
call fcn.0046e7e0
jmp 0x42ab88
call fcn.0046c9a0
jmp fcn.0042ab00
Function at 0x456e80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jbe 0x457039
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x456eb6
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x456fe7
bt ebx, 7
nop word [rax + rax]
jae 0x456fd9
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x456ee0
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x457034
movzx edi, byte [rax + rdx]
lea r8d, [rax + 1]
mov r9d, edi
and edi, 0x7f
mov rax, rcx
mov ecx, esi
shl edi, cl
or ebx, edi
test r9b, 0x80
jne 0x456ece
mov esi, ebx
and ebx, 1
neg ebx
shr esi, 1
xor ebx, esi
mov rsi, qword [rsp + 0x40]
add dword [rsi], ebx
nop dword [rax + rax]
cmp rax, r8
jb 0x457029
sub rax, r8
mov rbx, qword [rsp + 0x30]
sub rbx, r8
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and r8, rbx
lea rbx, [rdx + r8]
test rax, rax
jbe 0x45701f
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x456fd1
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x456f68
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x457012
movzx r8d, byte [rcx + rbx]
lea r9d, [rcx + 1]
mov r10d, r8d
and r8d, 0x7f
mov ecx, edi
shl r8d, cl
or edx, r8d
test r10b, 0x80
jne 0x456f62
cmp rax, r9
jb 0x457007
mov rcx, qword [rsp + 0x38]
add qword [rcx], rdx
sub rsi, r9
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and rsi, r9
lea rdx, [rbx + rsi]
mov qword [rsp + 0x50], rdx
sub rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov r9d, 1
jmp 0x456f8f
mov rax, rcx
mov r8d, 1
jmp 0x456f06
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rax
mov eax, r9d
call fcn.0046ec40
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.0046eb80
mov rcx, rax
xor eax, eax
call fcn.0046eb80
mov rcx, rax
mov eax, r8d
call fcn.0046ec40
call fcn.0046eb80
xor eax, eax
nop dword [rax + rax]
call fcn.0046eb80
nop
int3

Function at 0x45e720
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x45e801
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x004667a0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0046c840
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.0046c9a0
jmp fcn.0045e720
Function at 0x46e620
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x0113fbe0]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x0113f28e], 0
je 0x46e65d
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x0113ff20]
aesenc xmm0, xmmword [0x0113ff30]
aesenc xmm0, xmmword [0x0113ff40]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x40a820

Function at 0x4b3940
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x4b3a19
lea rsi, [rdx + rdx*2]
lea rdi, [0x010b0e60]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x4b39c2
inc rdx
nop
jmp 0x4b3998
cmp r9, 0xffffffffffffffe0
jle 0x4b39cd
dec rdx
jmp 0x4b3998
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.0046eb80
nop
int3
Function at 0x5cd840
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x5cda40
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
lea rbx, [rcx + 7]
sar rbx, 0x3f
shr rbx, 0x3d
lea rbx, [rbx + rcx]
lea rbx, [rbx + 7]
sar rbx, 3
mov rdx, qword [rsp + 0x50]
cmp rbx, rdx
jg 0x5cd98a
ja 0x5cda35
mov rax, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov r8, rcx
xor r9d, r9d
jmp 0x5cd8c0
bswap rdi
mov qword [rax + r9*8], rdi
inc r9
mov rdi, r10
mov rcx, r11
cmp rcx, 8
jl 0x5cd8ed
mov r10, rdi
sub rdi, rcx
add rdi, 8
neg rdi
sar rdi, 0x3f
lea r11, [rcx - 8]
and rdi, r11
nop
mov rdi, qword [rsi + rdi]
cmp rbx, r9
ja 0x5cd8b0
jmp 0x5cda2a
test rcx, rcx
jle 0x5cd94e
xor edi, edi
xor r9d, r9d
jmp 0x5cd920
cmp rdi, 0x40
sbb r11, r11
lea r12, [rdi + 8]
movzx r13d, byte [rcx + rsi - 1]
mov rcx, rdi
shl r13, cl
and r13, r11
or r9, r13
mov rcx, r10
mov rdi, r12
nop dword [rax]
test rcx, rcx
jle 0x5cd933
lea r10, [rcx - 1]
cmp r8, r10
ja 0x5cd8f9
jmp 0x5cda1f
lea rsi, [rbx - 1]
nop word [rax + rax]
cmp rbx, rsi
jbe 0x5cda14
mov qword [rax + rbx*8 - 8], r9
jmp 0x5cd953
dec rbx
test rbx, rbx
jle 0x5cd965
mov rsi, qword [rax + rbx*8 - 8]
nop dword [rax]
test rsi, rsi
je 0x5cd950
cmp rdx, rbx
jb 0x5cda0c
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdx
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
cmp rbx, 1
jne 0x5cd9cb
lea rax, [0x00b0fce0]
mov qword [rsp], rax
mov qword [rsp + 8], 1
mov qword [rsp + 0x10], 1
call fcn.0044ee40
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
mov ebx, 1
mov edx, 1
jmp 0x5cd89e
mov qword [rsp + 0x20], rbx
lea rax, [0x00b0fce0]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
lea rax, [rbx + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x10], rax
call fcn.0044ee40
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x28]
jmp 0x5cd89e
mov rcx, rbx
call fcn.0046ec00
mov rax, rsi
mov rcx, rbx
call fcn.0046eb80
mov rax, r10
mov rcx, r8
call fcn.0046eb80
mov rax, r9
mov rcx, rbx
call fcn.0046eb80
mov rcx, rbx
call fcn.0046ec00
nop
nop
call fcn.0046c9a0
jmp fcn.005cd840
Function at 0x5e27e0
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x5e286c
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 8], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x10], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x18], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x20], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x28], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x30], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x38], rcx
xorps xmm0, xmm0
movups xmmword [rax + 0xc0], xmm0
ret
cmp rcx, 0xe
jne 0x5e28e6
movabs rcx, 0x8c3d37c819544da2
mov qword [rax], rcx
movabs rcx, 0x73e1996689dcd4d6
mov qword [rax + 8], rcx
movabs rcx, 0x1dfab7ae32ff9c82
mov qword [rax + 0x10], rcx
movabs rcx, 0x679dd514582f9fcf
mov qword [rax + 0x18], rcx
movabs rcx, 0xf6d2b697bd44da8
mov qword [rax + 0x20], rcx
movabs rcx, 0x77e36f7304c48942
mov qword [rax + 0x28], rcx
movabs rcx, 0x3f9d85a86a1d36c8
mov qword [rax + 0x30], rcx
movabs rcx, 0x1112e6ad91d692a1
mov qword [rax + 0x38], rcx
jmp 0x5e2861
cmp rcx, 0xf
jne 0x5e2965
movabs rcx, 0x22312194fc2bf72c
mov qword [rax], rcx
movabs rcx, 0x9f555fa3c84c64c2
mov qword [rax + 8], rcx
movabs rcx, 0x2393b86b6f53b151
mov qword [rax + 0x10], rcx
movabs rcx, 0x963877195940eabd
mov qword [rax + 0x18], rcx
movabs rcx, 0x96283ee2a88effe3
mov qword [rax + 0x20], rcx
movabs rcx, 0xbe5e1e2553863992
mov qword [rax + 0x28], rcx
movabs rcx, 0x2b0199fc2c85b8aa
mov qword [rax + 0x30], rcx
movabs rcx, 0xeb72ddc81c52ca2
mov qword [rax + 0x38], rcx
nop dword [rax + rax]
jmp 0x5e2861
movabs rcx, 0x6a09e667f3bcc908
mov qword [rax], rcx
movabs rcx, 0xbb67ae8584caa73b
mov qword [rax + 8], rcx
movabs rcx, 0x3c6ef372fe94f82b
mov qword [rax + 0x10], rcx
movabs rcx, 0xa54ff53a5f1d36f1
mov qword [rax + 0x18], rcx
movabs rcx, 0x510e527fade682d1
mov qword [rax + 0x20], rcx
movabs rcx, 0x9b05688c2b3e6c1f
mov qword [rax + 0x28], rcx
movabs rcx, 0x1f83d9abfb41bd6b
mov qword [rax + 0x30], rcx
movabs rcx, 0x5be0cd19137e2179
mov qword [rax + 0x38], rcx
jmp 0x5e2861
Function at 0x5e9660
Capabilities:
Encode data using base64

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x5e97a0
sub rsp, 0x38
mov qword [rsp + 0x30], rbp
lea rbp, [rsp + 0x30]
mov rax, qword [rsp + 0x58]
mov rcx, rax
sar rax, 0x3f
shr rax, 0x3d
add rax, rcx
sar rax, 3
shl rax, 3
sub rcx, rax
lea rax, [rcx - 8]
neg rax
cmp rax, 8
je 0x5e9795
mov rdx, qword [rsp + 0x48]
nop dword [rax]
test rdx, rdx
je 0x5e9772
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rax, [0x00b105e0]
mov qword [rsp], rax
mov qword [rsp + 8], rdx
mov qword [rsp + 0x10], rdx
call fcn.0044ee40
mov rcx, qword [rsp + 0x20]
cmp rcx, 8
sbb eax, eax
mov rdx, qword [rsp + 0x18]
mov rbx, qword [rsp + 0x40]
movzx esi, byte [rbx]
shr sil, cl
and esi, eax
mov byte [rdx], sil
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r8d, 1
jmp 0x5e9754
cmp rdi, 0x20
sbb r9d, r9d
movzx r10d, byte [r8 + rbx - 1]
mov r11, rcx
mov rcx, rdi
shl r10d, cl
and r10d, r9d
mov byte [rdx + r8], r10b
movzx r9d, byte [rbx + r8]
mov rcx, r11
shr r9b, cl
and r9d, eax
or r10d, r9d
mov byte [rdx + r8], r10b
inc r8
cmp rsi, r8
jg 0x5e971f
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rsi
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rbp, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rdx, qword [rsp + 0x48]
jmp 0x5e9772
call fcn.0046c9a0
jmp fcn.005e9660
Function at 0x61a4c0
Capabilities:
Parse credit card information

Disassembly:
movzx eax, byte [rsp + 8]
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x61a4d3
mov byte [rsp + 0x18], 0
ret
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x61a4cd
lea ecx, [rax - 0x30]
nop
cmp cl, 9
jbe 0x61a4cd
mov rcx, qword [rsp + 0x10]
cmp rcx, 3
jne 0x61a660
cmp al, 0x2c
ja 0x61a636
lea edx, [rax - 0x21]
nop
cmp dl, 1
ja 0x61a50b
mov byte [rsp + 0x18], 0
ret
cmp al, 0x24
je 0x61a505
cmp al, 0x26
jae 0x61a505
cmp al, 0x2f
ja 0x61a5f8
nop dword [rax + rax]
cmp al, 0x26
ja 0x61a5d1
cmp al, 0x24
jne 0x61a5c7
cmp rcx, 2
jg 0x61a589
cmp rcx, 1
je 0x61a581
nop dword [rax]
cmp rcx, 2
jne 0x61a563
cmp al, 0x2f
jne 0x61a554
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x3b
je 0x61a54a
cmp al, 0x2c
je 0x61a54a
cmp al, 0x3f
sete al
jmp 0x61a54f
cmp rcx, 7
jne 0x61a57a
cmp al, 0x21
jne 0x61a573
mov byte [rsp + 0x18], 0
ret
add eax, 0xffffffd8
cmp al, 2
jbe 0x61a56d
mov byte [rsp + 0x18], 1
nop
ret
cmp al, 0x3f
sete byte [rsp + 0x18]
ret
cmp rcx, 5
jne 0x61a5af
cmp al, 0x40
jne 0x61a5a0
mov eax, 1
mov byte [rsp + 0x18], al
ret
cmp al, 0x2f
je 0x61a593
cmp al, 0x3f
je 0x61a593
cmp al, 0x3a
sete al
jmp 0x61a598
cmp rcx, 6
je 0x61a5c1
cmp rcx, 7
jne 0x61a563
mov byte [rsp + 0x18], 0
ret
mov byte [rsp + 0x18], 1
ret
cmp al, 0x26
je 0x61a530
jmp 0x61a563
lea edx, [rax - 0x2b]
cmp dl, 1
jbe 0x61a530
lea edx, [rax - 0x2d]
cmp dl, 1
ja 0x61a5eb
mov byte [rsp + 0x18], 0
ret
cmp al, 0x2f
je 0x61a530
jmp 0x61a563
cmp al, 0x3d
ja 0x61a616
lea edx, [rax - 0x3a]
nop
cmp dl, 1
jbe 0x61a530
cmp al, 0x3d
je 0x61a530
jmp 0x61a563
lea edx, [rax - 0x3f]
nop dword [rax]
cmp dl, 1
jbe 0x61a530
cmp al, 0x5f
je 0x61a5e5
cmp al, 0x7e
je 0x61a5e5
jmp 0x61a563
lea edx, [rax - 0x3a]
nop dword [rax]
cmp dl, 4
jbe 0x61a505
cmp al, 0x5b
je 0x61a505
cmp al, 0x5d
je 0x61a505
jmp 0x61a513
cmp rcx, 4
je 0x61a4f4
jmp 0x61a513
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov r8, 0x20
xor rdx, rdx
movabs rcx, 0x14003d014
call sub.msvcrt.dll_memset
xor rcx, rcx
call sub.KERNEL32.dll_GetModuleHandleW
mov qword [0x14003d01c], rax
xor r8, r8
mov rdx, 0x1000
xor rcx, rcx
call sub.KERNEL32.dll_HeapCreate
mov qword [0x14003d014], rax
call fcn.140002e00
call fcn.140002440
movabs rdi, 0x14003c020
mov rcx, 0x98
xor byte [rdi], 0x86
inc rdi
dec rcx
jne 0x140001060
call fcn.14000254c
movabs rax, 0x14003c09e
push rax
movabs rax, 0x14003c020
mov rcx, rax
pop rdx
call fcn.1400020c0
call 0x1400010b0
call fcn.140002e40
mov rcx, qword [0x14003d014]
call sub.KERNEL32.dll_HeapDestroy
mov rcx, qword [0x14003d024]
call sub.KERNEL32.dll_ExitProcess
sub rsp, 0x28
call fcn.14000250c
call fcn.140002830
call fcn.140002430
add rsp, 0x28
ret

Function at 0x1400020c0
Capabilities:
Reference http user-agent string

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400020d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x14000219e
test rdx, rdx
je 0x14000219e
mov rcx, qword [0x14003d014]
lea edx, [rbx + 8]
lea r8d, [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], ebx
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, rsi
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov rcx, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x30], r14d
mov qword [rdi + 0x40], rax
test r14b, 1
je 0x14000218b
lea rax, [rsp + 0x50]
lea r8, [0x140002368]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x2000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140002196
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x14000219e
mov rcx, rdi
call fcn.1400021bc
movsxd rbx, eax
mov rcx, rdi
call fcn.1400023e8
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400020d0
Capabilities:
Create thread

Disassembly:
lea r9, str.Mozilla_5.0_Gecko_41.0_Firefox_41.0
xor r8d, r8d
jmp 0x1400020d0
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x14000219e
test rdx, rdx
je 0x14000219e
mov rcx, qword [0x14003d014]
lea edx, [rbx + 8]
lea r8d, [rbx + 0x48]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rbp
or dword [rax + 4], 0xffffffff
mov dword [rax], ebx
mov rdi, rax
call sub.msvcrt.dll__wcsdup
mov rcx, rsi
mov qword [rdi + 8], rax
call sub.msvcrt.dll__wcsdup
mov rcx, r15
mov qword [rdi + 0x10], rax
call sub.msvcrt.dll__wcsdup
mov dword [rdi + 0x30], r14d
mov qword [rdi + 0x40], rax
test r14b, 1
je 0x14000218b
lea rax, [rsp + 0x50]
lea r8, [0x140002368]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov edx, 0x2000
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x140002196
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, rdi
jmp 0x14000219e
mov rcx, rdi
call fcn.1400021bc
movsxd rbx, eax
mov rcx, rdi
call fcn.1400023e8
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400021bc
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, qword [rcx + 0x10]
mov rbx, rcx
mov rcx, qword [rcx + 8]
xor esi, esi
call fcn.14002d750
mov rcx, qword [rbx + 0x40]
mov r15, rax
call fcn.14002d750
mov r12, rax
call fcn.1400032a0
mov rdi, rax
test rax, rax
je 0x140002322
and qword [rsp + 0x30], rsi
lea r8d, [rsi + 1]
xor r9d, r9d
mov edx, 0xc0000000
mov rcx, r14
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000231a
test byte [rbx + 0x30], 2
mov qword [rbx + 0x18], rax
jne 0x14000225b
lea edx, [rsi + 0x34]
lea r8d, [rsi + 1]
mov rcx, rdi
call fcn.140003670
mov r8, qword [0x14003d038]
test r8, r8
je 0x140002274
mov edx, 0x2714
mov rcx, rdi
call fcn.140003670
mov r8, qword [0x14003d040]
test r8, r8
je 0x1400022aa
cmp qword [0x14003d048], rsi
je 0x1400022aa
mov edx, 0x27bf
mov rcx, rdi
call fcn.140003670
mov r8, qword [0x14003d048]
mov edx, 0x27c0
mov rcx, rdi
call fcn.140003670
mov r8, r15
mov edx, 0x2712
mov rcx, rdi
call fcn.140003670
mov r8, r12
mov edx, 0x2722
mov rcx, rdi
call fcn.140003670
lea r8, [0x140002378]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140003670
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.140003670
mov rcx, rdi
call fcn.140003430
test eax, eax
jne 0x140002304
mov dword [rbx + 4], 0xfffffffe
lea esi, [rax + 1]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x14000231a
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rdi
call fcn.1400030a0
mov ecx, dword [rbx + 4]
add ecx, 4
test ecx, 0xfffffffd
je 0x140002337
mov dword [rbx + 4], 0xfffffffd
mov rcx, r15
call fcn.14002d740
mov rcx, r12
call fcn.14002d740
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x78]
mov eax, esi
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
Function at 0x14000254c
Capabilities:
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1c0
xor ebx, ebx
mov edi, 1
cmp dword [0x14003d078], ebx
jne 0x140002587
lea r8, [0x140002460]
lea edx, [rdi + 0xf]
lea ecx, [rdi + 0x37]
mov dword [0x14003d078], edi
call fcn.140002bdc
mov qword [0x14003d058], rax
cmp word [0x14003d050], bx
jne 0x140002640
lea rdx, [rsp + 0x20]
mov ecx, 0x101
call qword [sym.imp.WSOCK32.DLL_WSAStartup]
mov word [0x14003d050], di
test eax, eax
je 0x1400025b6
mov word [0x14003d050], bx
lea rcx, str.ws2_32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14003d080], rax
test rax, rax
je 0x140002640
lea rdx, [0x1400318c0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14003d080]
lea rdx, [0x1400318d0]
mov qword [0x14003d060], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x14003d080]
lea rdx, str.getnameinfo
mov qword [0x14003d068], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x14003d060], rbx
mov qword [0x14003d070], rax
je 0x140002640
cmp qword [0x14003d068], rbx
je 0x140002640
mov ecx, dword [0x14003d054]
test rax, rax
cmovne ecx, edi
mov dword [0x14003d054], ecx
movsx rax, word [0x14003d050]
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1c0
pop rdi
ret

Function at 0x140002e00
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r8d, r8d
mov edx, 0x1000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [0x14003d170], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14003c0c8], eax
call fcn.140002fd0
add rsp, 0x28
ret

Function at 0x140002fd0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x38
mov r8d, 0x18
xor edx, edx
mov rcx, qword [0x14003d170]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x20], rax
mov r8d, 0x10
xor edx, edx
mov rcx, qword [0x14003d170]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rsp + 0x20]
mov qword [rcx], rax
mov rax, qword [rsp + 0x20]
mov qword [rax + 8], 0x10
mov rax, qword [rsp + 0x20]
mov qword [rax + 0x10], 0
mov rdx, qword [rsp + 0x20]
mov ecx, dword [0x14003c0c8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x38
ret