joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6a8cf2e0
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
je 0x6a8cf2f0
xor eax, eax
ret
jmp sym._ValidateImageBase.part.0

Function at 0x6a8cf300
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x6a8cf341
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
mov r8d, dword [rax + 0xc]
cmp r8, rdx
mov rcx, r8
ja 0x6a8cf338
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x6a8cf343
add rax, 0x28
cmp rax, r9
jne 0x6a8cf324
xor eax, eax
ret

Function at 0x6a8cf3e0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6a9867b0]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x6a8cf44d
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6a8cf44d
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6a8cf44d
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6a8cf444
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6a8cf44f
add rax, 0x28
cmp rax, r9
jne 0x6a8cf430
xor eax, eax
add rsp, 0x28
ret

Function at 0x6a8cf550
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x6a9867b0]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x6a8cf570
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6a8cf568
movsxd rax, dword [r8 + 0x3c]
mov rcx, rdx
sub rcx, r8
add r8, rax
movzx edx, word [r8 + 6]
movzx eax, word [r8 + 0x14]
test edx, edx
lea rax, [r8 + rax + 0x18]
je 0x6a8cf5cd
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x6a8cf5c4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x6a8cf5d4
add rax, 0x28
cmp rax, r9
jne 0x6a8cf5b0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x6a8cf5f0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x6a9867b0]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x6a8cf65e
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x6a8cf65e
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x6a8cf65e
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x6a8cf65e
sub eax, 1
lea rax, [rax + rax*4]
lea rax, [rcx + rax*8 + 0x28]
mov r10d, dword [rcx + 0xc]
cmp rdx, r10
mov r8, r10
jb 0x6a8cf655
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x6a8cf665
add rcx, 0x28
cmp rcx, rax
jne 0x6a8cf640
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x6a8cf678
jmp 0x6a8cf65e
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x6a8cf686
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x6a8cf65e
test r9d, r9d
jg 0x6a8cf670
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x6a8cfaf0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1817b25d0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1817b25da
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x1817b2603
pop rbp
sub rbp, 0x33
sub rbp, 0x17b25d0
cmp edx, 1
je 0x1817b2646
ldmxcsr dword [rsp]
add rsp, 8
popfq
pop r15
pop r14
pop r13
pop r12
pop r11
pop r10
pop r9
pop r8
pop rdi
pop rsi
pop rbp
pop rbx
pop rdx
pop rcx
pop rax
xor rax, rax
ret
sub rsp, 0x20
jmp 0x1817b2656
mov rax, 0x17b25d0
add rax, rbp
add rax, 0xb8
mov rcx, 0x60b
mov rdx, 0xffffffff8694396e
xor byte [rax], dl
inc rax
dec rcx
jne 0x1817b2675
jmp 0x1817b268c
out 0x87, eax
in eax, 0xe7
push rdx
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
out dx, eax
scasd eax, dword [rdi]
outsw dx, word [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
outsd dx, dword es:[rsi]
xchg dword [rsi], esp
test eax, 0x6e6e67ae
outsb dx, byte [rsi]
test eax, 0x6e6e46ac
outsb dx, byte [rsi]
cdq
mov word [rsi], fs
outsd dx, dword [rsi]
scasd eax, dword [rdi]
in eax, 0xef
invalid
Function at 0x14001143d
Capabilities:
Terminate process

Disassembly:
jmp 0x14001b900
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x140011550
Capabilities:
Create thread
Resolve function by parsing pe exports

Disassembly:
jmp 0x140019dc0
push rbp
push rdi
sub rsp, 0x238
lea rbp, [rsp + 0x30]
lea rcx, [0x14002f12c]
call fcn.1400117c6
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
call fcn.140011668
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x28], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x48], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x68], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x28]
mov eax, dword [rcx + rax + 0x8c]
xor edx, edx
mov ecx, 4
div rcx
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x14]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x10]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0x108], 0
jmp 0x140019ed0
mov rax, qword [rbp + 0x108]
inc rax
mov qword [rbp + 0x108], rax
mov rax, qword [rbp + 0xa8]
cmp qword [rbp + 0x108], rax
jae 0x140019ef3
mov rax, qword [rbp + 0x108]
inc rax
mov qword [rbp + 0x108], rax
jmp 0x140019ebf
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [0x140011221]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x128], rax
mov rcx, qword [rbp + 0x128]
call fcn.140011668
lea rdx, str.Hello_World__n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400110e1
xor eax, eax
lea rsp, [rbp + 0x208]
pop rdi
pop rbp
ret
Function at 0x140011573
Capabilities:
Parse pe header

Disassembly:
jmp 0x14001cc50
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14001cc70
xor al, al
jmp 0x14001ccf1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14001cc83
xor al, al
jmp 0x14001ccf1
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001ccad
xor al, al
jmp 0x14001ccf1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14001ccc1
xor al, al
jmp 0x14001ccf1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14001ccd3
xor al, al
jmp 0x14001ccf1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001ccef
xor al, al
jmp 0x14001ccf1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011622
Capabilities:
Check for debugger via api

Disassembly:
jmp 0x140015dc0
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xa
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140029018]
xor rax, rbp
mov qword [rbp + 0xd8], rax
lea rcx, [0x14002f12c]
call fcn.1400117c6
mov dword [rbp + 4], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rbp + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rbp + 4], 0
je 0x140015e29
mov dword [rbp + 0xd4], 1
jmp 0x140015e33
mov dword [rbp + 0xd4], 0
movzx eax, byte [rbp + 0xd4]
mov edi, eax
lea rcx, [rbp - 0x20]
lea rdx, [0x140024720]
call fcn.140011686
mov eax, edi
mov rcx, qword [rbp + 0xd8]
xor rcx, rbp
call fcn.1400113b1
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x140011668
Capabilities:
Terminate process

Disassembly:
jmp 0x140016750
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x20]
lea rcx, [0x14002f12c]
call fcn.1400117c6
lea rax, [rbp + 0x104]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x154]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0x104]
call fcn.1400156a0
mov rcx, rax
call fcn.14001187a
mov qword [rbp + 0x198], rax
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x154]
call fcn.140015210
mov rcx, rax
call fcn.140011091
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, qword [rbp + 0x198]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140016801
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x11
mov rcx, qword [rbp + 0x1c0]
call qword [rbp + 0x28]
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0
je 0x140016827
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
lea rsp, [rbp + 0x1a8]
pop rdi
pop rbp
ret
Function at 0x140011712
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
jmp 0x140016b20
push rbp
push rdi
sub rsp, 0x1d8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x3e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140029018]
xor rax, rbp
mov qword [rbp + 0x1a8], rax
lea rcx, [0x14002f12c]
call fcn.1400117c6
mov qword [rbp + 8], 0
lea rax, [rbp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x74], 0
mov qword [rbp + 0x98], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rbp + 0x2c]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 0x98], rax
cmp qword [rbp + 0x98], 0
jne 0x140016bbf
xor eax, eax
jmp 0x140016c35
mov r8d, 1
mov edx, 0xc3
mov rcx, qword [rbp + 0x98]
call fcn.1400115fa
mov eax, dword [rbp + 0x2c]
lea r9, [rbp + 0x74]
mov r8d, 0x140
mov edx, eax
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140016bfa
xor eax, eax
jmp 0x140016c35
call qword [rbp + 0x98]
jmp 0x140016c1b
mov r8d, 0x8000
xor edx, edx
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, 1
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140024600]
call fcn.140011686
mov rax, rdi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rbp
call fcn.1400113b1
lea rsp, [rbp + 0x1b8]
pop rdi
pop rbp
ret
Function at 0x40a740
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x40dbe8
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a740

Function at 0x40a790
Capabilities:
Get socket status

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x258
mov r12, rcx
mov rcx, r8
mov rdi, r8
mov rbp, rdx
call sub.msvcrt.dll_strlen
lea ebx, [rax + 1]
cdqe
mov byte [rdi + rax], 0xa
test ebx, ebx
jle 0x40a832
xor esi, esi
lea r14, [rsp + 0x40]
lea r13, [rsp + 0x38]
lea r15, [rsp + 0x34]
nop word [rax + rax]
mov rcx, qword [rbp]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r13
mov qword [rsp + 0x38], 0
mov r8, r14
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x40], 1
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40a845
mov rcx, qword [r12]
lea rdx, [rdi + rsi]
mov r9, r15
movsxd r8, ebx
call qword [sym.imp.libcurl_4.dll_curl_easy_send]
test eax, eax
jne 0x40a840
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a7d8
mov eax, 1
jmp 0x40a847
cmp eax, 0x51
je 0x40a7d8
xor eax, eax
add rsp, 0x258
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x40c060
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x148
mov qword [rsp + 0x40], 0
mov rbx, rcx
mov r13, rdx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x110], 0
mov qword [rsp + 0x118], 0
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x128], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call qword [sym.imp.libcurl_4.dll_curl_easy_init]
mov r12, rax
test rax, rax
je 0x40c3a0
lea rsi, [rsp + 0x40]
mov r8, rbx
mov edx, 0x2712
mov rcx, rax
mov rbx, qword [sym.imp.libcurl_4.dll_curl_easy_setopt]
call rbx
mov r8d, 1
mov edx, 0x4a
mov rcx, r12
call rbx
mov r8d, 0xf
mov edx, 0x4e
mov rcx, r12
call rbx
mov r8, rsi
mov edx, 0x271a
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x63
mov rcx, r12
call rbx
mov r8d, 1
mov edx, 0x79
mov rcx, r12
call rbx
lea r8, [0x0040a670]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x006e3a70]
mov r8, qword [rax]
test r8, r8
je 0x40c330
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x006e3a80]
mov edx, 0x65
mov rcx, r12
mov r8d, dword [rax]
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
jne 0x40c380
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c2eb
cmp qword [rsp + 0x28], 0
jne 0x40c320
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a860
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_cleanup]
mov rax, r13
add rsp, 0x148
pop rbx
pop rsi
pop r12
pop r13
ret
mov r8, r13
xor edx, edx
call fcn.006479f0
mov r13, rax
jmp 0x40c2ff
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c2c8
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c3c0
call sub.msvcrt.dll_getenv
mov rcx, r12
mov edx, 0x2714
mov r8, rax
call rbx
mov rcx, r12
call qword [sym.imp.libcurl_4.dll_curl_easy_perform]
test eax, eax
je 0x40c2d9
nop dword [rax]
mov r8, rsi
lea rdx, str.Remote_config_read_failed:__s
mov ecx, 1
xor r13d, r13d
call fcn.0040a860
jmp 0x40c2ff
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a860
jmp 0x40c308
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c3e0
lea rcx, str.ALL_PROXY
jmp 0x40c359
lea r8, [0x00686be3]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c2c8
Function at 0x40dbd0
Capabilities:
Get socket status

Disassembly:
sub rsp, 0x258
xor r9d, r9d
xor r8d, r8d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rcx
add ecx, 1
mov dword [rsp + 0x38], edx
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
setg al
add rsp, 0x258
ret
mov rax, qword [rcx + 0x128]
cmp byte [rax], 0
je 0x40dbe8
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a740
Function at 0x416220
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
test rcx, rcx
je 0x416362
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416338
xor eax, eax
lea rdi, [rcx + 0x48]
mov byte [rsp + 0x20], dl
vmovdqu xmm3, xmmword [0x00689680]
mov word [rsp + 0x3e], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
vinserti128 ymm0, ymm3, xmmword [0x00689690], 1
sub eax, edi
mov byte [rsp + 0x31], 0
vmovdqu xmm4, xmmword [0x006896a0]
mov qword [rsp + 0x29], 0
mov qword [rsp + 0x21], 0x10100
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
lea ecx, [rax + 0xf0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
mov dword [rbx + 0xe4], edx
vmovdqu xmm2, xmmword [rsp + 0x20]
vinserti128 ymm1, ymm2, xmmword [rsp + 0x30], 1
vmovdqu xmm5, xmmword [rsp + 0x40]
vpxor ymm0, ymm0, ymm1
vinserti128 ymm1, ymm4, xmmword [0x006896b0], 1
vmovups xmmword [rbx], xmm0
vextracti128 xmmword [rbx + 0x10], ymm0, 1
vinserti128 ymm0, ymm5, xmmword [rsp + 0x50], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [rbx + 0x20], xmm0
vextracti128 xmmword [rbx + 0x30], ymm0, 1
vzeroupper
add rsp, 0x68
pop rbx
pop rdi
ret
mov edx, 0xf0
call fcn.00418810
cmp byte [rbx + 0xe8], 0
je 0x416353
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x41632c
mov eax, 0xffffffff
jmp 0x41632c
Function at 0x416370
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
push rdi
sub rsp, 0xe0
mov r10, r8
mov r12, rcx
mov r8, r9
test rcx, rcx
je 0x416521
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x4164f0
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x4164f0
test r10, r10
je 0x4164f0
lea rdi, [rcx + 0x48]
xor eax, eax
mov byte [rsp + 0x20], dl
lea r13, [rsp + 0x60]
and rdi, 0xfffffffffffffff8
mov word [rsp + 0x3e], ax
xor eax, eax
vmovdqu xmm3, xmmword [0x00689680]
mov byte [rsp + 0x21], r9b
vinserti128 ymm0, ymm3, xmmword [0x00689690], 1
mov dword [rsp + 0x3a], 0
vmovdqu xmm4, xmmword [0x006896a0]
mov qword [rsp + 0x2a], 0
mov qword [rsp + 0x22], 0x101
mov qword [rsp + 0x32], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rcx + 0x40], 0
mov qword [rcx + 0xe8], 0
sub ecx, edi
add ecx, 0xf0
shr ecx, 3
rep stosq qword [rdi], rax
mov rdi, r13
mov ecx, 0x10
mov dword [r12 + 0xe4], edx
rep stosq qword [rdi], rax
mov rdx, r10
mov rcx, r13
vmovdqu xmm2, xmmword [rsp + 0x20]
vinserti128 ymm1, ymm2, xmmword [rsp + 0x30], 1
vmovdqu xmm5, xmmword [rsp + 0x40]
vpxor ymm0, ymm0, ymm1
vinserti128 ymm1, ymm4, xmmword [0x006896b0], 1
vmovups xmmword [r12], xmm0
vextracti128 xmmword [r12 + 0x10], ymm0, 1
vinserti128 ymm0, ymm5, xmmword [rsp + 0x50], 1
vpxor ymm0, ymm0, ymm1
vmovups xmmword [r12 + 0x20], xmm0
vextracti128 xmmword [r12 + 0x30], ymm0, 1
vzeroupper
call sub.msvcrt.dll_memcpy
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov rcx, r12
call fcn.00415f40
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.00418810
xor eax, eax
add rsp, 0xe0
pop rdi
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.00418810
cmp byte [r12 + 0xe8], 0
je 0x416511
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x4164e0
mov eax, 0xffffffff
jmp 0x4164e0

Function at 0x41ae10
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9, r8
test rcx, rcx
je 0x41ae60
test rdx, rdx
je 0x41ae60
mov r8, rdx
xor ecx, ecx
xor edx, edx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
sete al
movzx eax, al
neg eax
add rsp, 0x30
pop rbx
ret
mov eax, 0xffffffff
jmp 0x41ae51
Function at 0x43fb80
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
sub rsp, 0x28
vmovdqu xmm1, xmmword [0x0068a660]
vpxor xmm0, xmm0, xmm0
vmovdqu xmm2, xmmword [0x0068a670]
vmovdqu xmm3, xmmword [0x0068a680]
vmovdqu xmm4, xmmword [0x0068a690]
mov r12, rcx
mov r13, rdx
mov qword [rcx + 0xd0], 0
mov rdx, r8
vmovups xmmword [rcx + 0x80], xmm1
mov r8, r9
vmovups xmmword [rcx + 0x90], xmm2
vmovups xmmword [rcx + 0xa0], xmm3
vmovups xmmword [rcx + 0xb0], xmm4
vmovups xmmword [rcx + 0xc0], xmm0
call fcn.0043f7d0
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp fcn.0043f8e0
Function at 0x452360
Capabilities:
Hash data using sha256

Disassembly:
push rdi
sub rsp, 0x20
lea eax, [rdx - 1]
mov r8, rcx
cmp al, 0x1f
ja 0x452400
mov eax, 0x101
lea rdi, [rcx + 0x28]
mov byte [rsp], dl
mov word [rsp + 2], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
sub eax, edi
mov byte [rsp + 1], 0
mov dword [rsp + 4], 0
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
mov qword [rsp + 0x18], 0
mov qword [rcx + 0x20], 0
mov qword [rcx + 0xb8], 0
lea ecx, [rax + 0xc0]
xor eax, eax
shr ecx, 3
rep stosq qword [rdi], rax
vmovdqu xmm1, xmmword [rsp]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x10], 1
vpxor ymm0, ymm0, ymmword [0x0068afa0]
vmovdqu ymmword [r8], ymm0
vzeroupper
add rsp, 0x20
pop rdi
ret
mov eax, 0xffffffff
jmp 0x4523f2

Function at 0x453290
Capabilities:
Hash data using sha256

Disassembly:
push rdi
push rbx
sub rsp, 0x88
mov eax, edx
mov r10, rcx
movzx edx, r9b
lea ecx, [rax - 1]
cmp cl, 0x1f
ja 0x453466
lea ecx, [r9 - 1]
cmp cl, 7
ja 0x45345f
test r8, r8
je 0x45345f
mov byte [rsp + 0x20], al
lea rdi, [r10 + 0x28]
mov eax, 0x101
lea rbx, [rsp + 0x40]
mov word [rsp + 0x22], ax
and rdi, 0xfffffffffffffff8
mov eax, r10d
sub eax, edi
mov byte [rsp + 0x21], r9b
mov r9, rbx
lea ecx, [rax + 0xc0]
xor eax, eax
mov dword [rsp + 0x24], 0
shr ecx, 3
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov qword [r10 + 0x20], 0
mov qword [r10 + 0xb8], 0
rep stosq qword [rdi], rax
mov rax, r8
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
vmovdqu xmm1, xmmword [rsp + 0x20]
vinserti128 ymm0, ymm1, xmmword [rsp + 0x30], 1
vpxor ymm0, ymm0, ymmword [0x0068afa0]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov qword [rsp + 0x78], 0
vmovdqu ymmword [r10], ymm0
cmp edx, 8
jae 0x453438
xor ecx, ecx
test dl, 4
jne 0x453420
test dl, 2
jne 0x453408
and edx, 1
jne 0x4533f8
mov r8d, 0x40
mov rdx, rbx
mov rcx, r10
vzeroupper
call fcn.00453190
mov rax, rbx
nop word [rax + rax]
mov rdx, rax
lea rdi, [rsp + 0x80]
add rax, 1
mov byte [rdx], 0
cmp rax, rdi
jne 0x4533d0
xor eax, eax
add rsp, 0x88
pop rbx
pop rdi
ret
movzx eax, byte [rax + rcx]
mov byte [r9 + rcx], al
jmp 0x4533b0
movzx r8d, word [rax + rcx]
mov word [r9 + rcx], r8w
add rcx, 2
and edx, 1
je 0x4533b0
jmp 0x4533f8
mov ecx, dword [rax]
mov dword [r9], ecx
mov ecx, 4
test dl, 2
je 0x4533ab
jmp 0x453408
mov r11d, edx
xor eax, eax
and r11d, 0xfffffff8
mov ecx, eax
add eax, 8
mov r9, qword [r8 + rcx]
mov qword [rbx + rcx], r9
cmp eax, r11d
jb 0x453441
lea r9, [rbx + rax]
add rax, r8
jmp 0x45339f
mov eax, 0xffffffff
jmp 0x4533e9
mov eax, 0xffffffff
jmp 0x4533e9
Function at 0x50dd60
Capabilities:
Encode data using xor

Disassembly:
mov r9d, 0x48
jmp fcn.0050ad60
Function at 0x515d00
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x88
jmp fcn.0050e050

Function at 0x515f20
Capabilities:
Encode data using base64

Disassembly:
mov r9d, 0x48
jmp fcn.0050e050