joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4de640
Capabilities:
Parse credit card information

Disassembly:
lea ecx, [rax - 0x61]
cmp cl, 0x19
jbe 0x4de658
lea ecx, [rax - 0x41]
cmp cl, 0x19
jbe 0x4de658
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x4de660
xor eax, eax
ret
cmp rbx, 3
je 0x4de66c
cmp rbx, 4
jne 0x4de699
cmp al, 0x2c
ja 0x4de686
lea ecx, [rax - 0x21]
cmp cl, 1
jbe 0x4de696
cmp al, 0x24
je 0x4de696
nop dword [rax]
cmp al, 0x26
jae 0x4de696
jmp 0x4de699
lea ecx, [rax - 0x3a]
cmp cl, 4
jbe 0x4de696
cmp al, 0x5b
je 0x4de696
cmp al, 0x5d
jne 0x4de699
xor eax, eax
ret
cmp al, 0x2f
ja 0x4de6d2
nop dword [rax]
cmp al, 0x26
ja 0x4de6b1
cmp al, 0x24
je 0x4de6f1
cmp al, 0x26
je 0x4de6f1
jmp 0x4de76b
lea ecx, [rax - 0x2b]
cmp cl, 1
jbe 0x4de6f1
lea ecx, [rax - 0x2d]
nop dword [rax]
cmp cl, 1
jbe 0x4de768
cmp al, 0x2f
je 0x4de6f1
jmp 0x4de76b
cmp al, 0x3d
ja 0x4de6e9
lea ecx, [rax - 0x3a]
cmp cl, 1
jbe 0x4de6f1
nop
cmp al, 0x3d
je 0x4de6f1
jmp 0x4de76b
lea ecx, [rax - 0x3f]
cmp cl, 1
ja 0x4de760
cmp rbx, 2
jg 0x4de727
cmp rbx, 1
je 0x4de721
nop dword [rax]
cmp rbx, 2
jne 0x4de76b
cmp al, 0x2f
je 0x4de712
cmp al, 0x3b
je 0x4de712
cmp al, 0x2c
jne 0x4de719
mov ecx, 1
jmp 0x4de71e
cmp al, 0x3f
sete cl
mov eax, ecx
ret
cmp al, 0x3f
sete al
ret
cmp rbx, 5
jne 0x4de74a
cmp al, 0x40
je 0x4de739
cmp al, 0x2f
je 0x4de739
cmp al, 0x3f
jne 0x4de742
mov ecx, 1
nop
jmp 0x4de747
cmp al, 0x3a
sete cl
mov eax, ecx
ret
cmp rbx, 6
je 0x4de759
cmp rbx, 7
jne 0x4de76b
xor eax, eax
ret
mov eax, 1
ret
cmp al, 0x5f
je 0x4de768
cmp al, 0x7e
jne 0x4de76b
xor eax, eax
ret
cmp rbx, 7
jne 0x4de781
cmp al, 0x21
je 0x4de77d
lea ecx, [rax - 0x28]
cmp cl, 2
ja 0x4de781
xor eax, eax
nop
ret
mov eax, 1
ret
Function at 0x4e1700
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4e1846
sub rsp, 0x70
mov qword [rsp + 0x68], rbp
lea rbp, [rsp + 0x68]
mov qword [rsp + 0x80], rbx
mov rcx, qword [rax]
mov qword [rsp + 0x18], rcx
movups xmm0, xmmword [rax + 8]
movups xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [rax + 0x18]
movups xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x18]
nop
call fcn.004e13a0
movups xmmword [rsp + 0x40], xmm15
movups xmmword [rsp + 0x48], xmm15
movups xmmword [rsp + 0x58], xmm15
mov rcx, qword [rsp + 0x18]
mov qword [rsp + 0x40], rcx
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 + 0x80]
xor eax, eax
jmp 0x4e17a0
inc rax
mov rcx, rbx
nop dword [rax + rax]
cmp rax, 5
jge 0x4e17e3
imul rdx, rax, 0x33
mov rsi, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rdx, rsi
mov rdi, rdx
and rdx, 0xfffffffffffffff8
sub rsi, rdx
cmp rsi, 0x40
sbb rdx, rdx
mov r8, qword [rsp + rax*8 + 0x40]
mov rbx, rcx
mov rcx, rsi
shl r8, cl
and r8, rdx
mov qword [rsp + 0x10], r8
xor ecx, ecx
jmp 0x4e180c
test byte [rcx], al
mov rax, rcx
mov ebx, 0x20
mov rcx, rbx
mov rbp, qword [rsp + 0x68]
add rsp, 0x70
ret
movzx r8d, byte [rbx + rdi]
or r8d, edx
mov byte [rbx + rdi], r8b
inc rcx
mov rdi, rsi
cmp rcx, 8
jge 0x4e1795
movzx edx, byte [rsp + rcx + 0x10]
mov rsi, rdi
sar rdi, 3
add rdi, rcx
cmp rdi, 0x20
jge 0x4e1795
test byte [rbx], al
cmp rdi, 0x20
jb 0x4e17fa
mov rax, rdi
mov ecx, 0x20
nop dword [rax + rax]
call fcn.00463600
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460fa0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
nop
jmp fcn.004e1700
Function at 0x4f2760
Capabilities:
Hash data using sha384
Hash data using sha512

Disassembly:
mov rcx, qword [rax + 0xd0]
cmp rcx, 6
jne 0x4f27e5
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
nop dword [rax]
jmp 0x4f2946
cmp rcx, 0xe
jne 0x4f2860
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 0x4f2946
cmp rcx, 0xf
jne 0x4f28d7
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
jmp 0x4f2946
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
movups xmmword [rax + 0xc0], xmm15
ret
Function at 0x1800430d0
Capabilities:
Read http header

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rdx
lea rax, [rsp + 0x30]
mov rsi, rcx
xor ebp, ebp
mov rcx, qword [rcx + 0x18]
xor r9d, r9d
mov qword [rsp + 0x28], rbp
xor r8d, r8d
mov edx, socket
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180043163
mov ecx, dword [rsp + 0x30]
call fcn.1800656cc
mov rdi, rax
test rax, rax
je 0x180043163
mov rcx, qword [rsi + 0x18]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rbp
mov r9, rdi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, socket
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x18004317f
mov rcx, rdi
call fcn.1800656d4
xor al, al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180056f00
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
test rbx, rbx
je 0x1800431df
mov rdx, 0xffffffffffffffff
nop dword [rax + rax]
inc rdx
cmp word [rdi + rdx*2], bp
jne 0x180043190
mov rax, qword [rbx + 0x18]
cmp rdx, rax
ja 0x1800431d4
mov rsi, rbx
cmp rax, 8
jb 0x1800431ae
mov rsi, qword [rbx]
mov qword [rbx + 0x10], rdx
mov rcx, rsi
lea rbx, [rdx + rdx]
mov rdx, rdi
mov r8, rbx
call fcn.18007a0c0
mov rcx, rdi
mov word [rbx + rsi], bp
call fcn.1800656d4
mov al, 1
jmp 0x180043165
mov r9, rdi
mov rcx, rbx
call fcn.18004c210
mov rcx, rdi
call fcn.1800656d4
mov al, 1
jmp 0x180043165
Function at 0x180047e20
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov dword [rsp + 0x28], 0x28
mov qword [r11 - 0x48], rax
mov r9d, 3
mov qword [r11 - 0x38], rax
xor r8d, r8d
mov qword [r11 - 0x28], rax
xor edx, edx
movsxd rax, ecx
mov rcx, 0xffffffff80000002
add rax, rax
mov qword [r11 - 0x40], 0x2244a4
mov qword [r11 - 0x30], rax
lea rax, [r11 - 0x48]
mov qword [r11 - 0x20], rax
lea rax, [r11 - 0x40]
mov qword [r11 - 0x58], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp qword [rsp + 0x30], 1
sete al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret

Function at 0x180047eb0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rax, [r11 - 0x48]
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x20], rax
mov r9d, 3
movsxd rax, r8d
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x28], rax
xor r8d, r8d
lea rax, [r11 - 0x40]
mov qword [r11 - 0x30], rdx
mov dword [rsp + 0x28], 0x28
xor edx, edx
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x48], 0xffffffffc0000001
mov qword [r11 - 0x40], 0x22451c
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x30], 0
setge al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret

Function at 0x180047f30
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0xa0
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [r11 - 0x78]
mov qword [r11 - 0x50], rcx
mov qword [r11 - 0x60], rax
mov rbx, rcx
lea rax, [r11 - 0x68]
mov dword [rsp + 0x28], 0x28
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [r11 - 0x78], 0
xor edx, edx
mov qword [r11 - 0x68], 0x224594
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x58], 4
mov qword [r11 - 0x48], 0x103000
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x180048012
mov qword [rsp + 0x70], rax
mov r9d, 3
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x88], rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov dword [rsp + 0x38], 0
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x68], 0x2245e4
mov qword [rsp + 0x78], 0x40
mov qword [rsp + 0x80], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.180056f00
add rsp, 0xa0
pop rbx
ret
Function at 0x180048030
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
test rcx, rcx
jne 0x18004805c
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret
lea rax, [rsp + 0x30]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x58], rax
mov r9d, 3
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 0x28
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov qword [rsp + 0x30], 0xffffffffc0000001
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0x2245bc
mov qword [rsp + 0x50], 8
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x30], 0
setge al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret

Function at 0x1800480e0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rcx
mov qword [r11 - 0x28], rax
xor edi, edi
lea rax, [r11 - 0x40]
mov dword [rsp + 0x28], 0x28
mov qword [r11 - 0x20], rax
mov rbx, rdx
lea rax, [r11 - 0x38]
mov dword [rsp + 0x38], edi
mov r9d, 3
mov qword [r11 - 0x58], rax
xor r8d, r8d
mov qword [r11 - 0x48], rdi
xor edx, edx
mov qword [r11 - 0x18], rdi
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x38], 0x22456c
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x1800481b0
mov qword [rsp + 0x48], rax
mov r9d, 3
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x28
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x40], 0x2246d4
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180056f00
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x18004ab40
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rbp + 0x90], rax
call fcn.1800475c0
movzx edi, al
test al, al
je 0x18004ad44
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18004aba6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call fcn.18004c110
nop
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0xd
jb 0x18004ac10
lea rax, [rcx + 0xd]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0x10
cmovae rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, recv
lea rdx, str.vmware_SYSTEM
mov rcx, rbx
call fcn.18007a0c0
mov byte [rbx + 0xd], 0
lea rax, [rsp + 0x30]
jmp 0x18004ac2f
mov qword [rsp + 0x20], recv
lea r9, str.vmware_SYSTEM
mov edx, recv
lea rcx, [rsp + 0x30]
call fcn.18004bf80
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], recv
mov byte [rax], 0
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x18004acb8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004acb3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ad6e
call fcn.180057360
movdqa xmm0, xmmword [0x1800886b0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x18004ad04
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004acff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004ad68
call fcn.180057360
lea rbx, [0x18009ec78]
mov rcx, rbx
cmp qword [0x18009ec90], 0x10
cmovae rcx, qword [0x18009ec78]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x18004ad40
cmp qword [0x18009ec90], 0x10
cmovae rbx, qword [0x18009ec78]
mov rcx, rbx
call fcn.180042140
movzx eax, dil
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.180056f00
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.18005daac
nop
call fcn.18005daac
nop
int3
Function at 0x18004b920
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor eax, eax
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x48], rax
mov r9d, 3
mov qword [r11 - 0x20], rax
xor r8d, r8d
lea rax, [r11 - 0x48]
mov dword [rsp + 0x28], 0x28
mov qword [r11 - 0x30], rax
xor edx, edx
lea rax, [r11 - 0x40]
mov qword [r11 - 0x40], 0x2244cc
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x28], 8
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret

Function at 0x18004b9a0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov qword [r11 - 0x40], rdx
lea rax, [r11 - 0x40]
mov qword [r11 - 0x28], rax
mov r9d, 3
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rcx
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x38]
mov dword [rsp + 0x28], 0x28
xor edx, edx
mov qword [r11 - 0x58], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x48], 0xffffffffc0000001
mov qword [r11 - 0x38], 0x22451c
mov qword [r11 - 0x20], 8
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x30], 0
setge al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret

Function at 0x18004ba30
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rcx
mov qword [r11 - 0x28], rax
mov r9d, 3
lea rax, [r11 - 0x40]
mov dword [rsp + 0x28], 0x28
mov qword [r11 - 0x18], rax
xor r8d, r8d
lea rax, [r11 - 0x38]
mov dword [rsp + 0x30], 1
xor edx, edx
mov qword [r11 - 0x58], rax
mov rcx, 0xffffffff80000002
mov qword [r11 - 0x40], 0xffffffffc0000001
mov qword [r11 - 0x38], 0x22451c
mov qword [r11 - 0x20], 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [rsp + 0x38], 0
setge al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x78
ret
Function at 0x18004d4f0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18004d551
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18004d510
mov ecx, dword [r9]
jmp 0x18004d63b
cmp ecx, 0x4e0
jb 0x18004d63b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18004d570
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18004d5c0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x18004fb70
Capabilities:
Hash data with crc32

Disassembly:
mov r8d, ecx
lea r9, [0x18007d8d0]
shr r8d, 8
movzx ecx, cl
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx ecx, r8b
shr r8d, 8
xor r8d, dword [r9 + rcx*4]
movzx edx, r8b
shr r8d, 8
xor r8d, dword [r9 + rdx*4]
mov eax, r8d
ret
Function at 0x180052700
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov edi, 2
movzx ecx, dx
mov word [0x1800a4ad0], di
call qword [sym.imp.WS2_32.dll_htons]
mov rcx, rbx
mov word [0x1800a4ad2], ax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1800a4ad4], eax
cmp eax, 0xffffffff
jne 0x18005276e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_gethostbyname]
test rax, rax
je 0x18005278a
mov rax, qword [rax + 0x18]
mov rcx, qword [rax]
mov ecx, dword [rcx]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
test rax, rax
je 0x18005276e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1800a4ad4], eax
xor r8d, r8d
mov ecx, edi
lea edx, [r8 + 1]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x1800a4ae0], rax
cmp rax, 0xffffffffffffffff
jne 0x1800527a2
mov qword [0x1800a4ae0], 0
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov al, 1
add rsp, 0x20
pop rdi
ret

Function at 0x180052870
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rsi, rcx
mov dword [rsp + 0x20], 0
xor ecx, ecx
lea rdx, [rsp + 0x20]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
mov ecx, dword [rsp + 0x20]
call fcn.1800656cc
lea rdx, [rsp + 0x20]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
xor r10d, r10d
xor edi, edi
cmp dword [rbx + 0x194], edi
jle 0x180052927
mov r8, rsi
lea r9, [rbx + 0x198]
lea r11d, [rdi + 0x37]
nop dword [rax + rax]
movzx edx, byte [r9]
lea r8, [r8 + 2]
mov ecx, edx
lea r9, [r9 + 1]
shr ecx, 4
and edx, 0xf
cmp ecx, 0xa
mov eax, gethostbyname
cmovae eax, r11d
add al, cl
mov byte [r8 - 2], al
cmp edx, 0xa
mov eax, gethostbyname
cmovae eax, r11d
add edi, 2
add al, dl
inc r10d
mov byte [r8 - 1], al
cmp r10d, dword [rbx + 0x194]
jl 0x1800528e0
movsxd rax, edi
mov rcx, rbx
test edi, edi
jle 0x1800529b8
mov qword [rsp + 0x48], rbp
mov byte [rax + rsi - 1], 0
call fcn.1800656d4
lea rcx, [0x18007ef70]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
test rax, rax
je 0x1800529ae
lea rdx, [0x18007ef90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x1800529a5
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], 0
xor ecx, ecx
call rsi
cmp eax, 0x6f
jne 0x1800529a5
mov ecx, dword [rsp + 0x24]
call fcn.1800656cc
lea rdx, [rsp + 0x24]
mov rcx, rax
mov rbx, rax
call rsi
mov rcx, rbx
call fcn.1800656d4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rbp, qword [rsp + 0x48]
lea eax, [rdi - 1]
jmp 0x1800529c2
call fcn.1800656d4
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.180056f00
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x180055870
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x260
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, r8
movsxd r14, r9d
mov rsi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x140]
mov r8d, 0x104
call fcn.180079d00
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call fcn.180079d00
xor edi, edi
mov byte [rsp + 0x22], 0
xor edx, edx
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], dl
jne 0x1800558d3
test r8, r8
je 0x180055908
lea rax, [rsp + 0x30]
sub rsi, rax
nop dword [rax]
movzx eax, dl
lea rcx, [rsp + 0x30]
add rcx, rdx
inc rdx
xor al, byte [rsi + rcx]
mov byte [rcx], al
cmp rdx, r8
jb 0x1800558f0
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], dil
jne 0x180055910
test rax, rax
je 0x18005596e
lea rsi, [rsp + 0x140]
nop word [rax + rax]
movzx eax, word [rbx + rdi]
lea rcx, [rsp + 0x20]
xor edx, edx
mov word [rsp + 0x20], ax
lea r8d, [rdx + 0x10]
call fcn.1800668a4
mov byte [rsi], al
lea rsi, [rsi + 1]
mov rax, 0xffffffffffffffff
add rdi, 2
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180055960
cmp rdi, rax
jb 0x180055930
xor eax, eax
test r14d, r14d
je 0x1800559b0
lea r9, [rsp + 0x30]
mov rdx, rbp
sub r9, rbp
mov r8, r14
xor ecx, ecx
lea rdx, [rdx + 1]
cmp rax, rdi
cmovb rcx, rax
movzx eax, byte [rsp + rcx + 0x140]
xor al, byte [r9 + rdx - 1]
mov byte [rdx - 1], al
lea rax, [rcx + 1]
sub r8, 1
jne 0x180055983
mov byte [r14 + rbp], r8b
jmp 0x1800559b4
mov byte [r14 + rbp], al
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x260
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret