joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002490
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov r14, rcx
mov dword [rsp + 0x40], 0x238
lea rcx, str.kernel32.dll
movzx r13d, dl
xor edi, edi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.CreateToolhelp32Snapshot
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdi + 2]
call rax
lea rdx, [0x180040610]
mov rcx, r15
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call rax
test rax, rax
je 0x180002655
lea rdx, [0x180040620]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
cmp qword [r14 + 0x18], 7
mov r8, r14
jbe 0x18000253f
mov r8, qword [r14]
lea rax, [rsp + 0x6c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x180002564
add rax, 2
test ecx, ecx
jne 0x180002550
test edx, edx
jne 0x180002628
mov edi, dword [rsp + 0x48]
lea rdx, [0x180040630]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
call rax
cmp edi, eax
je 0x180002628
lea rdx, str.OpenProcess
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
mov r8d, edi
lea ecx, [rdx + 0x2a]
call rax
mov rsi, rax
test rax, rax
je 0x180002628
test r13b, r13b
je 0x18000264c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1800021b0
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1800025ce
mov rcx, qword [rax]
cmp qword [rax + 0x10], 6
jne 0x1800025e9
cmp dword [rcx], 0x54535953
jne 0x1800025e9
cmp word [rcx + 4], 0x4d45
jne 0x1800025e9
mov bl, 1
jmp 0x1800025eb
xor bl, bl
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x180002624
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000261f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180002691
call fcn.180012dd0
test bl, bl
jne 0x18000263e
lea rdx, [rsp + 0x40]
mov rcx, rbp
call r12
test rax, rax
jne 0x180002532
jmp 0x180002655
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
jmp 0x180002658
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.18001be88
int3
Function at 0x180003730
Capabilities:
Acquire debug privileges

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, [0x1800406d8]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.OpenProcessToken
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
call rbx
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 0x28
call rdi
test rax, rax
je 0x180003811
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeDebugPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x180003806
mov rax, qword [rsp + 0x38]
lea rcx, str.advapi32.dll
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.AdjustTokenPrivileges
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
xor edx, edx
mov qword [rsp + 0x20], rcx
lea r9d, [rcx + 0x10]
mov rcx, qword [rsp + 0x30]
call rax
test eax, eax
jne 0x180003811
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.180012db0
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret
Function at 0x180003cc0
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x180041220]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], bpl
mov dword [rsp + 0x58], ebp
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x180003d29
mov rcx, qword [rdx]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x180003db3
mov ebx, dword [rsp + 0x58]
inc ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180003db3
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180003d7b
mov rcx, qword [rdi]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 0x40000001
mov edx, dword [rdi + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x180003e4d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x18004035d]
mov rcx, rsi
call fcn.18000e160
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x180003e0e
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x180003e09
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180003eb1
mov rcx, r8
call fcn.180012dd0
mov byte [rdi], 0
mov qword [rdi + 0x18], SafeArrayGetLBound
mov rax, rsi
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x58]
mov byte [rax + rbx], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x180003e70
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.18000e160
movups xmm6, xmmword [rsp + 0x38]
movups xmm7, xmmword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
jmp 0x180003dd4
call fcn.18001be88
int3
Function at 0x180003ec0
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x48], xmm7
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov ebp, r8d
mov rsi, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x180041220]
movdqu xmmword [rsp + 0x70], xmm1
mov byte [r11 - 0x78], r14b
mov dword [r11 - 0x80], r14d
lea rax, [r11 - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x180003f96
mov ebx, dword [rsp + 0x58]
inc ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
lea edx, [r14 + 8]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180003f96
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 0x40000001
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x180003fb8
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
xor r8d, r8d
lea rdx, [0x18004035d]
mov rcx, rdi
call fcn.18000e160
jmp 0x18000401c
mov eax, dword [rsp + 0x58]
mov byte [rax + rbx], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x180003fe0
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.18000e160
movups xmm6, xmmword [rsp + 0x38]
movups xmm7, xmmword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov rax, rdi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180012db0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm7, xmmword [rsp + 0x90]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180004050
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xc0
movaps xmmword [r11 - 0x28], xmm6
movaps xmmword [r11 - 0x38], xmm7
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x68], rcx
mov qword [r11 - 0x68], rdx
xor ebp, ebp
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
movdqa xmm1, xmmword [0x180041220]
movdqu xmmword [r11 - 0x50], xmm1
mov byte [rsp + 0x78], bpl
mov dword [rsp + 0x68], ebp
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x1800040ba
mov rcx, qword [rdx]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rdx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x180004156
mov ebx, dword [rsp + 0x68]
inc ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8d, ebx
mov edx, 8
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x180004156
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x180004114
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8d, 1
mov edx, dword [rdi + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1800041f0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x18], rbp
xor r8d, r8d
lea rdx, [0x18004035d]
mov rcx, rsi
call fcn.18000e160
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800041b1
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800041ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004245
mov rcx, r8
call fcn.180012dd0
mov byte [rdi], 0
mov qword [rdi + 0x18], SafeArrayGetLBound
mov rax, rsi
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsp + 0x68]
mov byte [rax + rbx], 0
mov r8d, dword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18000e160
movups xmm6, xmmword [rsp + 0x48]
movups xmm7, xmmword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
jmp 0x180004177
call fcn.18001be88
int3
Function at 0x180004250
Capabilities:
Decode data using base64 via winapi

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
mov rsi, rcx
cmp qword [rdx + 0x18], 0xf
mov rdi, rdx
mov dword [rsp + 0x40], ebp
mov rcx, rdx
jbe 0x180004280
mov rcx, qword [rdx]
mov edx, dword [rdx + 0x10]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 1]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x1800042f1
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x1800042ea
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1800042e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800043ee
mov rcx, r8
call fcn.180012dd0
xor eax, eax
jmp 0x1800043c2
mov ebx, dword [rsp + 0x40]
inc ebx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsi], rax
mov r9, rax
mov rcx, qword [rdi + 0x18]
test rax, rax
jne 0x180004329
cmp rcx, 0xf
jbe 0x1800042ea
lea rdx, [rcx + 1]
jmp 0x1800042bd
mov rax, rdi
cmp rcx, 0xf
jbe 0x180004335
mov rax, qword [rdi]
mov edx, dword [rdi + 0x10]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rbp
mov r8d, 1
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rcx
mov rcx, rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov rbx, qword [rsi]
test eax, eax
jne 0x18000437e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsi], rbp
jmp 0x1800042b0
mov eax, dword [rsp + 0x40]
mov byte [rax + rbx], bpl
mov rdx, qword [rdi + 0x18]
mov ebx, dword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x1800043c0
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x1800043bb
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800043ee
mov rcx, r8
call fcn.180012dd0
mov eax, ebx
mov rbx, qword [rsp + 0x80]
mov byte [rdi], bpl
mov qword [rdi + 0x18], SafeArrayGetLBound
mov qword [rdi + 0x10], rbp
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180012db0
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
call fcn.18001be88
int3
Function at 0x180004a30
Capabilities:
Encrypt data using aes via winapi
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r8
mov dword [rsp + 0x20], 0xf0000000
xor ebp, ebp
lea r8, str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
mov rsi, rdx
mov qword [rsp + 0x30], rbp
mov rbx, rcx
xor edx, edx
mov rcx, rdi
mov r14b, 1
lea r9d, [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x180004a84
xor dil, dil
jmp 0x180004afa
mov rcx, qword [rdi]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x180004aab
xor dil, dil
jmp 0x180004afa
cmp qword [rbx + 0x18], 0xf
mov rdx, rbx
jbe 0x180004ab8
mov rdx, qword [rbx]
mov r8d, dword [rbx + 0x10]
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x180004ad3
xor dil, dil
jmp 0x180004afa
mov r8, qword [rsp + 0x30]
mov r9d, 1
mov rcx, qword [rdi]
mov edx, 0x6610
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
movzx edi, r14b
cmove edi, ebp
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180004b0f
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov qword [rsp + 0x30], rbp
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x180004b45
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x180004b40
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004b70
mov rcx, r8
call fcn.180012dd0
mov qword [rbx + 0x10], rbp
movzx eax, dil
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], bpl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.180012db0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.18001be88
int3
Function at 0x180005860
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x13d0
call fcn.1800136f0
sub rsp, rax
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rsp + 0x13c0], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
call fcn.1800125c4
mov edx, eax
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
lea ecx, [rsi + 1]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x34], edx
inc rcx
cmp rcx, 0x270
jb 0x1800058b1
mov dword [rsp + 0x30], 0x270
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], SafeArrayGetLBound
mov byte [rbx], sil
mov dword [rsp + 0x20], 1
mov edi, 0x100
mov edx, edi
mov rcx, rbx
call fcn.18000de80
mov qword [rbx + 0x10], rsi
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
call fcn.180010720
mov r9d, eax
shl r9, 8
shr r9, 0x20
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x180005951
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x180005946
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x180005960
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.18000eb90
sub rdi, 1
jne 0x180005910
mov rax, rbx
mov rcx, qword [rsp + 0x13c0]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0x13d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000a6e0
Capabilities:
Reference google public dns server

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x90
mov rbx, rcx
xor esi, esi
mov edi, esi
mov dword [rsp + 0xb8], esi
mov qword [rsp + 0x30], rcx
mov rax, qword [rcx]
movsxd rdx, dword [rax + 4]
mov rcx, qword [rdx + rcx + 0x48]
test rcx, rcx
je 0x18000a725
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rcx, qword [rbx]
movsxd rax, dword [rcx + 4]
cmp dword [rax + rbx + 0x10], 0
je 0x18000a737
xor al, al
jmp 0x18000a761
mov rax, qword [rax + rbx + 0x50]
test rax, rax
je 0x18000a75f
cmp rax, rbx
je 0x18000a75f
mov rcx, rax
call fcn.18000cff0
mov rcx, qword [rbx]
movsxd rax, dword [rcx + 4]
cmp dword [rax + rbx + 0x10], 0
sete al
jmp 0x18000a761
mov al, 1
mov byte [rsp + 0x38], al
test al, al
je 0x18000a82a
movsxd rax, dword [rcx + 4]
mov rax, qword [rax + rbx + 0x40]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x48], rcx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rsp + 0x40]
call fcn.18000dd40
mov r14, rax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x18000a7b7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x18000a7b7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rax, qword [rbx]
movsxd r9, dword [rax + 4]
add r9, rbx
mov rax, qword [r9 + 0x48]
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x48], rax
movzx eax, byte [r9 + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
mov r10, qword [r14]
lea rcx, str.8.8.8.8
mov qword [rsp + 0x28], rcx
mov byte [rsp + 0x20], al
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [r10 + SafeArrayPutElement]
mov edx, 4
cmp byte [rsp + 0x50], 0
cmovne edi, edx
mov dword [rsp + 0xb8], edi
jmp 0x18000a82f
mov edx, 4
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
or edi, dword [rcx + 0x10]
cmp qword [rcx + 0x48], 0
cmovne edx, esi
or edx, edi
and edx, 0x17
mov dword [rcx + 0x10], edx
and edx, dword [rcx + 0x14]
jne 0x18000a892
call fcn.1800125ec
test al, al
jne 0x18000a863
mov rcx, rbx
call fcn.18000d150
nop
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbx + 0x48]
test rcx, rcx
je 0x18000a87b
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, rbx
mov rbx, qword [rsp + 0xc8]
add rsp, 0x90
pop r14
pop rdi
pop rsi
ret
test dl, 4
je 0x18000a8a0
lea rbx, str.ios_base::badbit_set
jmp 0x18000a8b5
test dl, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.180001440
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180001d50
lea rdx, [0x1800466e0]
lea rcx, [rsp + 0x60]
call fcn.180014ddc
int3
Function at 0x180010720
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 0x180010781
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 0x180010740
mov ecx, dword [r9]
jmp 0x180010868
cmp ecx, 0x4e0
jb 0x180010868
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800107a0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1800107f0
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 0x1800123d4
Capabilities:
Read file on windows

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 r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x180012402
xor eax, eax
jmp 0x1800124e8
cmp qword [rcx + 0x68], 0
je 0x180012413
call fcn.18000a230
jmp 0x1800124e8
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18001242a
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001242c
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001245e
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.180032950
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1800124e2
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x180012495
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1800124be
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.18001dfe4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x1800124e2
cmp rsi, rbx
ja 0x18001249c
test rsi, rsi
je 0x1800124e2
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.18001dfe4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret