joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140041530
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rdx
mov r14, rcx
call fcn.1400426a0
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov edx, 0x80000000
mov rcx, rbx
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004168e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
movsxd rdi, eax
test eax, eax
jne 0x1400415bb
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140041663
cmp edi, 0xf4240
jle 0x1400415d6
mov r8d, edi
mov rdx, rbx
call fcn.140043af0
test eax, eax
je 0x14004168e
mov rax, 0xffffffffffffffff
mov qword [rsp + 0x80], rbp
mov rdx, rdi
mov qword [rsp + 0x88], rsi
add rdx, 2
cmovb rdx, rax
lea ecx, [rax + 2]
call fcn.1402090a4
mov rsi, rax
mov rcx, rbx
test rax, rax
je 0x140041684
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140041679
cmp dword [rsp + 0x40], edi
jne 0x140041679
mov r8, rdi
mov rdx, rsi
mov rcx, r14
call fcn.1400416a0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.140203254
mov eax, 1
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x50
pop r14
pop rdi
pop rbx
ret
mov rcx, rsi
call fcn.140203254
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140041653
xor eax, eax
jmp 0x140041663
Function at 0x14004a1b0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rbp
push rdi
push r12
push r14
sub rsp, 0x88
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 8], 0xffffffffffffffff
mov r12, r8
mov qword [rsp + 0x48], r9
mov rbp, rdx
mov qword [rsp + 0x40], rdx
mov r14, rcx
je 0x14004a3f0
test r9, r9
je 0x14004a3f0
test rdx, rdx
je 0x14004a3f0
xor r8d, r8d
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x38], r8
mov edi, r8d
test r12, r12
je 0x14004a3de
mov qword [r11 - 0x28], rbx
mov qword [r11 - 0x30], rsi
mov qword [r11 - 0x38], r13
mov qword [r11 - 0x40], r15
lea r15, [rcx + 0x28]
mov rdx, qword [r14 + 0x18]
mov r9d, 0x1000000
mov rax, qword [r14 + 0x20]
cmp rdx, rax
jae 0x14004a27d
sub rax, rdx
mov rbx, r12
cmp rax, r12
mov rcx, rbp
cmovl rbx, rax
mov r8, rbx
call fcn.1401f61a0
add qword [r15], rbx
add rbp, rbx
add qword [r14 + 0x18], rbx
lea r15, [r14 + 0x28]
add rdi, rbx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rdi
sub r12, rbx
jmp 0x14004a3a8
mov r13, qword [r14 + 8]
mov rbx, r8
mov rsi, qword [r14 + 0x10]
cmp r12, 0x2000
jl 0x14004a307
mov qword [r14 + 0x18], rsi
mov qword [r14 + 0x20], rsi
mov edi, r12d
test r12d, r12d
je 0x14004a2ef
cmp rdi, r9
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x20], r8
mov esi, edi
cmovg esi, r9d
mov rdx, rbp
mov r8d, esi
lea r9, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004a3b5
mov eax, dword [rsp + 0x50]
add rbx, rax
cmp eax, esi
jb 0x14004a2ef
add rbp, rax
mov r8d, 0
mov r9d, 0x1000000
sub rdi, rax
jne 0x14004a2a1
mov rdi, qword [rsp + 0x38]
add qword [r15], rbx
add rdi, rbx
mov qword [rsp + 0x38], rdi
sub r12, rbx
jmp 0x14004a39e
mov rcx, qword [r15]
mov rax, r8
test rcx, rcx
cmovns rax, rcx
mov ecx, 0x2000
cqo
and edx, 0x1fff
add rax, rdx
and eax, 0x1fff
sub rax, rdx
sub ecx, eax
movsxd rdi, ecx
je 0x14004a38a
nop dword [rax]
nop word [rax + rax]
cmp rdi, r9
mov dword [rsp + 0x50], r8d
mov qword [rsp + 0x20], r8
mov ebp, edi
cmovg ebp, r9d
mov rdx, rsi
mov r8d, ebp
lea r9, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004a3bf
mov eax, dword [rsp + 0x50]
add rbx, rax
cmp eax, ebp
jb 0x14004a38a
add rsi, rax
mov r8d, 0
mov r9d, 0x1000000
sub rdi, rax
jne 0x14004a340
mov rax, qword [r14 + 0x10]
mov rdi, qword [rsp + 0x38]
mov qword [r14 + 0x18], rax
add rax, rbx
mov qword [r14 + 0x20], rax
test rbx, rbx
je 0x14004a3c7
mov rbp, qword [rsp + 0x40]
test r12, r12
je 0x14004a3c7
xor r8d, r8d
jmp 0x14004a22f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14 + 0x3c], eax
mov dword [rsp + 0x30], 0
mov r13, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
mov r15, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov ecx, dword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x30]
jmp 0x14004a3f2
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x88
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x14004a500
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
lea rdx, [rsp + 0x20]
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14004a545
mov rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x30
pop rbx
ret
mov rax, qword [rsp + 0x20]
mov qword [rbx + 0x30], rax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x30
pop rbx
ret

Function at 0x14004ada0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rbx, rcx
mov rcx, qword [rcx + 8]
cmp rcx, 0xffffffffffffffff
je 0x14004add8
mov r8, qword [rbx + 0x18]
test r8, r8
je 0x14004add8
mov rdx, qword [rbx + 0x10]
call fcn.14004b160
test eax, eax
je 0x14004ade0
mov qword [rbx + 0x18], 0
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, qword [rsp + 0x20]
mov rdx, 0xffffffffffffffff
test eax, eax
cmove rcx, rdx
mov rax, rcx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x30
pop rbx
ret

Function at 0x14004ae20
Capabilities:
Delete file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
mov rbx, rcx
call fcn.14004af10
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x14004aede
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x38], eax
cmp eax, 5
jne 0x14004aed1
lea edx, [rax + 0x7b]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rdi
mov dword [rsp + 0x20], 2
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x14004aede
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx + 0x38], eax
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, rdi
call fcn.14021192c
mov qword [rbx + 0x30], rax
mov eax, 1
mov dword [rbx + 0x28], 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14004b160
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, r8
mov rsi, rdx
mov rbp, rcx
test r8, r8
je 0x14004b1db
xor r14d, r14d
mov r15d, 0x1000000
nop word [rax + rax]
cmp rbx, r15
mov dword [rsp + 0x30], r14d
mov edi, ebx
mov qword [rsp + 0x20], r14
cmova edi, r15d
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14004b201
mov eax, dword [rsp + 0x30]
cmp edi, eax
jne 0x14004b201
add rsi, rax
sub rbx, rax
jne 0x14004b1a0
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
jmp 0x14004b1e0

Function at 0x14004b9c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14004b9cb
xor eax, eax
ret
lea r11, [0x140269e30]
not ecx
cmp r8d, 8
jb 0x14004baa1
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x14004b9f0
test r8d, r8d
je 0x14004bacd
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x14004bab0
not ecx
mov eax, ecx
ret
Function at 0x140050df0
Capabilities:
Create thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
mov ecx, 0x18
call fcn.1401f4268
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.14004e990
mov rbx, rax
mov qword [rax], rdi
lea rdx, [rax + 0x10]
lea rcx, [rax + 8]
call fcn.14004f340
xor eax, eax
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1401abb10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140050e65
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x140050eb0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x460
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.tmp.
lea rcx, [rsp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140050f8d
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbx], rax
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018bd0
test al, al
jne 0x140050f69
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140050f50
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.140018f70
nop
mov dword [rsp + 0x20], 1
mov rax, rbx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401f3bf0
add rsp, 0x460
pop rbx
ret
mov ecx, 0x80004005
call fcn.140019320
int3
Function at 0x140056df0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r12, r8
mov r13, rdx
mov r15, rcx
mov qword [rsp + 0x40], r8
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x28]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x140056e3f
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
jne 0x140056e63
call fcn.1400195b0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
mov rcx, rdx
call qword [case.0x140038716.0]
mov rcx, rax
test rax, rax
je 0x140057008
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 1
lea rcx, str._bak
mov rsi, 0xffffffffffffffff
mov rdi, rsi
inc rdi
cmp word [rcx + rdi*2], 0
jne 0x140056e92
mov r15, qword [r15 + 0x28]
movsxd r14, dword [r15 - 0x10]
lea ebp, [r14 + rdi]
test ebp, ebp
js 0x140057013
mov ecx, 1
sub ecx, dword [rax + 0x10]
mov eax, dword [rax + 0xc]
sub eax, ebp
or eax, ecx
jge 0x140056ed2
mov edx, ebp
lea rcx, [rsp + 0x38]
call fcn.140018ec0
mov rbx, qword [rsp + 0x38]
add r14, r14
je 0x140056f08
test rbx, rbx
je 0x140056ef8
mov r8, r14
mov rcx, rbx
test r15, r15
je 0x140056ef1
mov rdx, r15
call fcn.1401f61a0
jmp 0x140056f08
xor edx, edx
call fcn.1401f6840
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
movsxd r8, edi
add r8, r8
lea rcx, [r14 + rbx]
je 0x140056f37
test rcx, rcx
jne 0x140056f2b
call fcn.1401fae4c
mov dword [rax], 0x16
call fcn.1401facac
jmp 0x140056f37
lea rdx, str._bak
call fcn.1401f61a0
cmp ebp, dword [rbx - 0xc]
jg 0x140057013
mov dword [rbx - 0x10], ebp
movsxd rax, ebp
xor ecx, ecx
mov word [rbx + rax*2], cx
mov rcx, qword [r13]
test rcx, rcx
je 0x140056f5e
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, 1
and eax, 0xfffffffe
mov dword [rsp + 0x30], eax
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140056f8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
mov rbx, qword [r12]
cmp qword [r13], 0
je 0x140056fc9
test rbx, rbx
je 0x140056fc9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
lea rdx, [0x140262520]
mov rcx, qword [r13]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140056feb
mov rcx, qword [rdx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x140038716.0]
mov eax, 1
mov rbx, qword [rsp + 0xa8]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80070057
call fcn.140019320
int3
Function at 0x1400599e0
Capabilities:
Hash data with md5

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x90], rax
movsxd rbx, r8d
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x20], 0x67452301
mov r8d, ebx
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x24], 0xefcdab89
mov r15, rdx
mov dword [rsp + 0x28], 0x98badcfe
mov dword [rsp + 0x2c], 0x10325476
call fcn.14002ba10
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x80]
call fcn.14002bb20
mov rax, qword [rsp + 0x80]
and rbx, 0xfffffffffffffffb
mov rbp, rax
shr rbx, 2
shr rbp, 0x20
mov r12d, eax
mov r13d, eax
or ebp, 1
or r12d, 1
shr rax, 0x20
add ebp, 0x13db0000
add r12d, 0x69fb0000
or r13d, 1
or eax, 1
xorps xmm0, xmm0
mov r14d, esi
mov ecx, esi
movups xmmword [rdi], xmm0
test rbx, rbx
je 0x140059c3b
nop dword [rax + rax]
test cl, 1
je 0x140059b7e
mov r10d, esi
mov r11d, r14d
add esi, dword [r15 + rcx*4]
mov edx, esi
imul esi, ebp
shr edx, 0x10
imul r8d, edx, 0x3ce8ec25
sub esi, r8d
mov edx, esi
shr edx, 0x10
imul r8d, edx, 0x2232e0f1
imul edx, esi, 0x59c3af2d
sub edx, r8d
mov esi, edx
shr edx, 0x10
imul r9d, edx, 0x35bd1ec9
imul edx, esi, 0x1ec90001
add r9d, edx
mov dword [rdi], r9d
lea edx, [r9 + r10]
add dword [rdi + 4], edx
mov r9d, dword [r15 + rcx*4]
add r9d, r14d
imul r9d, eax
imul r10d, r9d, 0x16f50000
mov edx, r9d
shr edx, 0x10
imul r8d, edx, 0x5d8be90b
sub r10d, r8d
imul r9d, r10d, 0x96ff0000
mov edx, r10d
shr edx, 0x10
imul r8d, edx, 0x2c7c6901
sub r9d, r8d
mov edx, r9d
shr edx, 0x10
imul r14d, edx, 0x7c932b89
imul edx, r9d, 0x2b890000
add r14d, edx
mov edx, r14d
shr edx, 0x10
imul r8d, edx, 0x405b6097
imul edx, r14d, 0x9f690000
sub edx, r8d
mov dword [rdi + 8], edx
add edx, r11d
add dword [rdi + 0xc], edx
jmp 0x140059c2f
mov r10d, dword [rdi]
add r10d, dword [r15 + rcx*4]
mov edx, r10d
imul r10d, r12d
shr edx, 0x10
imul r8d, edx, 0x10fa9605
sub r10d, r8d
mov edx, r10d
shr edx, 0x10
imul r9d, edx, 0x689b6b9f
imul edx, r10d, 0x79f8a395
add r9d, edx
imul esi, r9d, 0xea970001
mov edx, r9d
mov r9d, dword [rdi + 8]
add r9d, dword [r15 + rcx*4]
shr edx, 0x10
imul r8d, edx, 0x3c101569
imul r9d, r13d
sub esi, r8d
mov edx, r9d
imul r9d, r9d, 0xb1110000
shr edx, 0x10
imul r8d, edx, 0x30674eef
sub r9d, r8d
imul r10d, r9d, 0x5b9f0000
mov edx, r9d
shr edx, 0x10
imul r8d, edx, 0x78f7a461
sub r10d, r8d
mov edx, r10d
shr edx, 0x10
imul r8d, edx, 0x12ceb96d
imul edx, r10d, 0x46930000
sub r8d, edx
mov edx, r8d
shr edx, 0x10
imul r14d, edx, 0x257e1d83
imul edx, r8d, 0x1d830000
add r14d, edx
inc rcx
cmp rcx, rbx
jb 0x140059ab0
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401f3bf0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140059c70
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rdx
mov rsi, rcx
mov qword [rbp - 0x31], rcx
xor edi, edi
mov dword [rbp - 0x39], edi
movdqa xmm0, xmmword [0x1402ae950]
movdqa xmmword [rbp - 0x29], xmm0
movdqa xmm1, xmmword [0x1402ae970]
movdqa xmmword [rbp - 0x19], xmm1
movdqa xmm0, xmmword [0x1402ae980]
movdqa xmmword [rbp - 9], xmm0
movdqa xmm1, xmmword [0x1402ae900]
movdqa xmmword [rbp + 7], xmm1
mov byte [rbp + 0x17], dil
mov ebx, edi
xor eax, eax
mov word [rbp + 0x27], ax
mov byte [rbp + 0x29], al
mov dword [rbp + 0x2b], edi
lea r14d, [rdi + 8]
mov qword [rcx], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x140059eb3
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rsi], rax
mov dword [rbp - 0x39], 1
mov ecx, edi
nop dword [rax]
dec r14
movzx eax, byte [r13]
mov byte [rbp + rcx + 0x27], al
inc ebx
inc rcx
lea r13, [r13 + 1]
movzx edx, byte [rbp + 0x29]
movzx r15d, byte [rbp + 0x28]
movzx r12d, byte [rbp + 0x27]
cmp rcx, 3
jne 0x140059dc4
movzx eax, r12b
shr al, 2
mov byte [rbp + 0x2b], al
movzx ecx, r12b
and cl, 3
shl cl, 4
movzx eax, r15b
shr al, 4
add cl, al
mov byte [rbp + 0x2c], cl
movzx ecx, r15b
and cl, 0xf
shl cl, 2
movzx eax, dl
shr al, 6
add cl, al
mov byte [rbp + 0x2d], cl
movzx eax, dl
and al, 0x3f
mov byte [rbp + 0x2e], al
mov rbx, rdi
nop dword [rax]
movzx eax, byte [rbp + rbx + 0x2b]
movsx edx, byte [rbp + rax - 0x29]
mov rcx, rsi
call fcn.140029ee0
inc rbx
cmp rbx, 4
jl 0x140059da0
mov ebx, edi
mov rcx, rdi
movzx edx, byte [rbp + 0x29]
test r14, r14
jne 0x140059d30
test ebx, ebx
je 0x140059e83
movsxd rax, ebx
cmp rax, 3
jge 0x140059e00
jae 0x140059ebe
mov byte [rbp + rax + 0x27], 0
inc rax
cmp rax, 3
jl 0x140059dde
movzx edx, byte [rbp + 0x29]
movzx r15d, byte [rbp + 0x28]
movzx r12d, byte [rbp + 0x27]
movzx eax, r12b
shr al, 2
mov byte [rbp + 0x2b], al
and r12b, 3
shl r12b, 4
movzx eax, r15b
shr al, 4
add r12b, al
mov byte [rbp + 0x2c], r12b
and r15b, 0xf
shl r15b, 2
shr dl, 6
add r15b, dl
mov byte [rbp + 0x2d], r15b
lea eax, [rbx + 1]
movsxd r14, eax
test eax, eax
jle 0x140059e5a
nop dword [rax]
movzx eax, byte [rbp + rdi + 0x2b]
movsx edx, byte [rbp + rax - 0x29]
mov rcx, rsi
call fcn.140029ee0
inc rdi
cmp rdi, r14
jl 0x140059e40
cmp ebx, 3
jge 0x140059e83
mov ecx, 3
sub ecx, ebx
mov ebx, ecx
nop dword [rax + rax]
mov edx, 0x3d
mov rcx, rsi
call fcn.140029ee0
sub rbx, 1
jne 0x140059e70
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
call fcn.1401f40c4
int3
Function at 0x14005d9c0
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1050
call fcn.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1001
call fcn.1401f6840
mov rcx, rdi
call fcn.140029b60
xor esi, esi
nop dword [rax]
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x20], esi
test rcx, rcx
je 0x14005dad0
xor r9d, r9d
mov dword [rsp + 0x24], esi
xor r8d, r8d
lea rdx, [rsp + 0x24]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14005dac8
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x20]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005dac0
mov eax, dword [rsp + 0x20]
test eax, eax
je 0x14005dab9
cmp rax, 0x1001
jae 0x14005db00
mov byte [rsp + rax + 0x30], sil
mov r8, 0xffffffffffffffff
lea rax, [rsp + 0x30]
inc r8
cmp byte [rax + r8], sil
jne 0x14005da81
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14002b870
mov ecx, dword [rbx + 0xac]
test ecx, ecx
je 0x14005da10
mov rax, qword [rdi]
cmp dword [rax - 0x10], ecx
jl 0x14005da10
mov dword [rbx], 0xbad70021
jmp 0x14005dad6
mov eax, 1
jmp 0x14005dadb
mov dword [rbx], 0xbad70014
jmp 0x14005dad6
mov dword [rbx], 0xbad70013
jmp 0x14005dad6
mov dword [rbx], 0xbad70004
mov dword [rbx + 4], esi
xor eax, eax
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x1050]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1401f40c4
int3
Function at 0x14005db10
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1040
call fcn.140228900
sub rsp, rax
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rsp + 0x1030], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x1000
call fcn.1401f6840
xor esi, esi
mov rcx, qword [rbx + 0x18]
mov dword [rsp + 0x20], esi
test rcx, rcx
je 0x14005dbef
xor r9d, r9d
mov dword [rsp + 0x24], esi
xor r8d, r8d
lea rdx, [rsp + 0x24]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14005dbe7
mov rcx, qword [rbx + 0x18]
lea r9, [rsp + 0x20]
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14005dbdf
mov ecx, dword [rsp + 0x20]
test ecx, ecx
je 0x14005dbd8
mov rax, qword [rdi]
lea rdx, [rsp + 0x30]
mov r8d, ecx
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
test eax, eax
je 0x14005dbd0
cmp dword [rbx + 0xac], esi
jge 0x14005db54
mov dword [rbx], 0xbad70021
jmp 0x14005dbf5
mov dword [rbx], 0xbad70020
jmp 0x14005dbf5
mov eax, 1
jmp 0x14005dbfa
mov dword [rbx], 0xbad70014
jmp 0x14005dbf5
mov dword [rbx], 0xbad70013
jmp 0x14005dbf5
mov dword [rbx], 0xbad70004
mov dword [rbx + 4], esi
xor eax, eax
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x1040]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret