joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001cf80
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5c50], 0
lea rbx, [rcx + 0x5c58]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x14001d027
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001cfda
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.14001f7a0
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.1400058d0
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x5c50]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x5c60]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x1401b6f68]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x14001d02f
mov rcx, rbx
call fcn.1400058d0
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d6d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
movzx r8d, byte [rcx]
lea rdx, [rcx + 1]
mov r14, qword [0x1401b6f70]
mov r9d, 0xffffffff
mov ebx, r9d
test r8b, r8b
je 0x14001d734
lea r10, [0x1400fdb70]
cmp r8b, 0x23
jne 0x14001d717
cmp byte [rdx], r8b
jne 0x14001d717
cmp byte [rdx + 1], r8b
cmove ebx, r9d
movzx ecx, bl
movzx eax, r8b
movzx r8d, byte [rdx]
xor rcx, rax
shr ebx, 8
inc rdx
xor ebx, dword [r10 + rcx*4]
test r8b, r8b
jne 0x14001d704
mov eax, dword [r14 + 0x5bc8]
xor edi, edi
mov qword [rsp + 0x30], rbp
not ebx
mov qword [rsp + 0x38], rsi
test eax, eax
jle 0x14001d795
mov esi, edi
mov ebp, edi
test rsi, rsi
js 0x14001d75a
cmp edi, eax
jl 0x14001d774
mov r8d, 0x701
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menuimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r14 + 0x5bd0]
cmp dword [rax + rbp + 8], ebx
je 0x14001d7b2
mov eax, dword [r14 + 0x5bc8]
inc edi
inc rsi
add rbp, 0x48
cmp edi, eax
jl 0x14001d751
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
test edi, edi
js 0x14001d7bf
cmp edi, dword [r14 + 0x5bc8]
jl 0x14001d7d9
mov r8d, 0x701
lea rdx, str.D:FreeFireVisulStudioProjectsMakeOwnNameXitersVip_menuimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, edi
lea rcx, [rax + rax*8]
mov rax, qword [r14 + 0x5bd0]
lea rax, [rax + rcx*8]
jmp 0x14001d797
Function at 0x14004bfc0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 8
xor eax, eax
movq xmm2, r8
punpcklqdq xmm2, xmm2
mov r9, rdx
mov r10, rcx
test rdx, rdx
je 0x14004c14b
cmp rdx, 8
jb 0x14004c130
cmp dword [reloc.WS2_32.dll_accept], 5
jl 0x14004c130
movdqa xmm3, xmmword [0x140108d60]
mov r11, rdx
movdqa xmm4, xmmword [reloc.WS2_32.dll_getsockopt]
lea rdx, [rcx + 4]
movdqa xmm5, xmmword [0x140108e20]
and r11, 0xfffffffffffffff8
mov qword [rsp + 0x10], rbx
mov rbx, 0xfffffffffffffffe
mov qword [rsp], rdi
sub rbx, rcx
mov edi, 2
sub rdi, rcx
movzx ecx, word [rdx - 4]
movq xmm0, rax
punpcklqdq xmm0, xmm0
add rax, 8
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 4], cx
lea rcx, [rbx + rdx]
movq xmm0, rcx
movzx ecx, word [rdx - 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx - 2], cx
mov rcx, rdx
sub rcx, r10
movq xmm0, rcx
movzx ecx, word [rdx]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx], cx
lea rcx, [rdi + rdx]
movq xmm0, rcx
movzx ecx, word [rdx + 2]
punpcklqdq xmm0, xmm0
paddq xmm0, xmm3
andps xmm0, xmm4
psllq xmm0, 3
vpsrlvq xmm1, xmm2, xmm0
movd xmm0, ecx
pshufb xmm1, xmm5
xorps xmm1, xmm0
movd ecx, xmm1
mov word [rdx + 2], cx
add rdx, 8
cmp rax, r11
jb 0x14004c033
mov rdi, qword [rsp]
mov rbx, qword [rsp + 0x10]
cmp rax, r9
jae 0x14004c14b
nop word [rax + rax]
movzx ecx, al
mov rdx, r8
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r10 + rax], dl
inc rax
cmp rax, r9
jb 0x14004c130
add rsp, 8
ret
Function at 0x14004c230
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov esi, dword [0x1401b7398]
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x14004c38e
test esi, esi
jne 0x14004c301
lea rdx, str.HD_Player.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004c36a
lea rdx, str.LdVBoxHeadless.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004c36a
lea rdx, str.MEmuHeadless.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004c36a
lea rdx, str.AndroidProcess.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004c36a
jmp 0x14004c33e
cmp esi, 1
jne 0x14004c30f
lea rdx, str.HD_Player.exe
jmp 0x14004c35b
cmp esi, 2
jne 0x14004c31d
lea rdx, str.LdVBoxHeadless.exe
jmp 0x14004c35b
cmp esi, 3
jne 0x14004c32b
lea rdx, str.MEmuHeadless.exe
jmp 0x14004c35b
cmp esi, 4
jne 0x14004c339
lea rdx, str.AndroidProcess.exe
jmp 0x14004c35b
cmp esi, 5
jne 0x14004c378
lea rdx, str.AndroidEmulatorEx
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
je 0x14004c36a
lea rdx, str.aow_exe.exe
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14004c378
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x14004c378
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004c297
lea r11, [rsp + 0x150]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14004c720
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov r14, rdx
mov r8d, dword [0x1401b7170]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
mov rsi, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0xf
jbe 0x14004c767
add rsi, qword [r14]
mov rbx, qword [r14]
jmp 0x14004c76d
add rsi, r14
mov rbx, r14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
sub rsi, rbx
je 0x14004c7b1
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.14007dc60
mov r8, rsi
mov rdx, rbx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
add rsi, rbx
mov qword [rsp + 0x48], rsi
mov rdi, qword [rsp + 0x50]
jmp 0x14004c7bb
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov byte [rsp + 0x90], 0
cmp rsi, rdi
je 0x14004c7d0
mov byte [rsi], 0
inc rsi
jmp 0x14004c7f4
lea r8, [rsp + 0x90]
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140081d50
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
sub rsi, rbx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
je 0x14004c850
mov qword [rsp + 0x20], 0
mov r9, rsi
mov r8, rbx
mov rdx, rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14004c8a4
xor r8d, r8d
mov rcx, r15
mov rdx, rbp
mov r9d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
test rbx, rbx
je 0x14004c889
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c87d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004c933
mov rdx, rdi
mov rcx, rbx
call fcn.1400dba50
nop
mov rcx, r14
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
jmp fcn.140043f30
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [0x140106638]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rcx, r15
test rax, rax
je 0x14004c840
mov qword [rsp + 0x30], r8
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rbp
mov r9, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x14004c83a
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
test rbx, rbx
je 0x14004c889
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14004c87d
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c87d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14004de70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rbx, rcx
xor edi, edi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov qword [rbp + 0x47], rax
mov dword [rbp - 0x19], 0x68
mov dword [rbp + 0x23], 1
mov word [rbp + 0x27], di
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], rax
mov rcx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 7
jb 0x14004dfa5
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004def4
mov rax, qword [rbx]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str.cmd__c
lea rcx, [rbp - 0x41]
call fcn.140044cc0
lea rdx, [rbp - 0x41]
cmp qword [rbp - 0x29], 0xf
cmova rdx, qword [rbp - 0x41]
lea rax, [rbp - 0x59]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14004df7e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x51]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x41]
call fcn.140043f30
nop
mov rcx, rbx
call fcn.140043f30
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400371f0
nop
int3
Function at 0x14004ed90
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov r15, rdx
mov rsi, rcx
xor edi, edi
mov dword [rsp + 0x98], edi
mov rcx, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x14004edc2
mov rcx, qword [rdx]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, 1
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov r14d, dword [rsp + 0x98]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov r12, rdi
mov qword [rsp + 0x58], rdi
test r14, r14
je 0x14004ee36
mov edx, r14d
lea rcx, [rsp + 0x48]
call fcn.14007dc60
mov r8d, r14d
xor edx, edx
mov rbx, qword [rsp + 0x48]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
add r14, rbx
mov qword [rsp + 0x50], r14
mov r12, qword [rsp + 0x58]
jmp 0x14004ee40
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
cmp qword [r15 + 0x18], 0xf
jbe 0x14004ee4a
mov r15, qword [r15]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, rbx
xor edx, edx
mov r8d, 1
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov ebp, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], rbp
cmp rbx, r14
jne 0x14004ee95
mov byte [rsi], 0
jmp 0x14004ef4e
sub r14, rbx
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x14004efa5
cmp r14, rbp
jbe 0x14004ef2b
mov rbp, r14
or rbp, 0xf
cmp rbp, rax
jbe 0x14004eee8
mov rbp, rax
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400db6fc
test rax, rax
je 0x14004ef15
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004ef24
mov eax, reloc.WLDAP32.dll_Ordinal_22
cmp rbp, rax
cmovb rbp, rax
lea rcx, [rbp + 1]
test rcx, rcx
je 0x14004ef24
cmp rcx, 0x1000
jb 0x14004ef1c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004efab
jmp 0x14004eecd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db6fc
mov rdi, rax
mov qword [rsi], rdi
mov qword [rsi + 0x18], rbp
mov rdi, rsi
cmp rbp, 0xf
jbe 0x14004ef37
mov rdi, qword [rsi]
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov qword [rsi + 0x10], r14
mov byte [rdi + r14], 0
test rbx, rbx
je 0x14004ef89
sub r12, rbx
mov rax, rbx
cmp r12, 0x1000
jb 0x14004ef7e
add r12, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ef7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, r12
mov rcx, rbx
call fcn.1400dba50
mov rax, rsi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.1400371f0
nop
call fcn.140004210
int3
Function at 0x1400577a0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140055130]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x140059580
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rdi, rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], r14b
mov dword [rbp + 0x28], 0x101
mov byte [rsp + 0x20], r14b
mov edx, 0x101
mov r9d, edx
lea rcx, [rbp - 0x28]
call fcn.14007cc50
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rcx, qword [rbp - 0x28]
lea rdx, [rbp + 0x28]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140059676
mov ecx, dword [rbp + 0x28]
dec ecx
mov rdx, qword [rbp - 0x18]
cmp rcx, rdx
ja 0x140059615
mov qword [rbp - 0x18], rcx
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 0xf
cmova rax, qword [rbp - 0x28]
mov byte [rax + rcx], r14b
jmp 0x140059665
mov rsi, rcx
sub rsi, rdx
mov r8, qword [rbp - 0x10]
mov rax, r8
sub rax, rdx
cmp rsi, rax
ja 0x140059651
mov qword [rbp - 0x18], rcx
lea rbx, [rbp - 0x28]
cmp r8, 0xf
cmova rbx, qword [rbp - 0x28]
add rbx, rdx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rsi], 0
jmp 0x140059665
mov byte [rsp + 0x20], 0
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp - 0x28]
call fcn.14007cc50
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
jmp 0x1400596c9
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x1400596c9
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400596c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400596c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dba50
mov rax, rdi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14005def0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x1401b701e], 0
je 0x14005df0f
movzx eax, byte [0x1401b6f6b]
mov byte [0x1401b6f99], al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x14005cea0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x14005eef0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x14005df40]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x140060990
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x1401b701e], 0
je 0x1400609af
movzx eax, byte [0x1401b7007]
mov byte [0x1401b6fa3], al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x14005fc20]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x140061850
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp byte [0x1401b701e], 0
je 0x14006186f
movzx eax, byte [0x1401b7050]
mov byte [0x1401b6f9d], al
add rsp, 0x38
ret
xor eax, eax
lea r8, [0x140060b20]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x140064120
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140062c30]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x140066580
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140065960]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret

Function at 0x140067bd0
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor eax, eax
lea r8, [0x140066a10]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x38
ret
Function at 0x1400720f0
Capabilities:
Check internet connectivity via wininet

Disassembly:
sub rsp, 0x28
xor edx, edx
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140072120
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x148
call fcn.1400720f0
test al, al
je 0x140072140
cmp byte [0x1401b6fa4], 0
je 0x140072140
call fcn.140071740
jmp 0x14007216d
mov r8d, 2
lea rdx, [0x1401b7108]
lea rcx, [rsp + 0x30]
call fcn.140075650
nop
lea rcx, [rsp + 0x30]
call fcn.140075610
nop
lea rcx, [rsp + 0x30]
call fcn.140053cf0
call fcn.140071520
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400761e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x140076208
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14007622e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x140076230
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140076289
test ecx, ecx
jle 0x140076269
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140076289
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140076289
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1400762b0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1400762e1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1400762ff
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14007631b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14007631d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140076359
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1400763ee
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140076394
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1400763ce
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1400763ee
cmp rbx, rax
ja 0x1400763a0
test rbx, rbx
je 0x1400763ee
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret