joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400ab9b0
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1400ef528]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1400f1af2]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1e0], rdi
sub r14, 0x480
lea r15, [0x1400f1878]
xor r13d, r13d
lea r12, [0x1400f1b92]
mov ebx, 0x20
movsx esi, word [r15]
cmp esi, 0xffffffff
je 0x1400abb55
cmp ebx, 0x140
jb 0x1400abad0
cmp ebx, 0x14e
ja 0x1400abad0
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], 0x68
mov dword [rsp + 0x64], 0x69
mov dword [rsp + 0x68], 0x6e
mov dword [rsp + 0x6c], 0x6f
mov dword [rsp + 0x70], 0x6a
mov dword [rsp + 0x74], 0x6d
mov dword [rsp + 0x78], 0x6b
mov edi, dword [r14]
jmp 0x1400abadf
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400abb22
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], 0x10
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400abb55
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r13
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r12, 5
add r14, 4
add r15, 2
cmp ebx, 0x15c
jle 0x1400aba32
mov rdi, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.1400ad2b0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x18000326c
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rcx, rdx
mov rdi, r8
call fcn.180003734
mov edx, 0x80
mov rcx, rdi
mov ebx, eax
call fcn.1800038fc
mov edx, ebx
mov rcx, rdi
call fcn.180003994
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
xor edx, edx
lea rcx, [rsp + 0x20]
mov ebx, eax
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov r9d, ebx
lea r8, [0x180010388]
mov edx, 0x20
lea rcx, [rsp + 0x20]
call fcn.18000365c
lea rcx, [rsp + 0x20]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1800032e3
mov r8d, eax
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180003950
mov eax, 0x16
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18000deb0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x18000331c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r15, r8
mov rbx, rdx
mov rcx, rdx
call fcn.180003734
mov edi, eax
and dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180003768
movsxd r8, dword [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1800036a8
nop
mov edx, 0x200000
mov rcx, r15
call fcn.1800038fc
mov edx, edi
mov rcx, r15
call fcn.180003994
lea r13, [0x1800105a0]
mov qword [rsp + 0x38], r13
mov r8d, 2
lea rdx, [0x18001038c]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_strncmp]
or r14, 0xffffffffffffffff
test eax, eax
jne 0x18000349d
mov ebx, 0x104
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x70]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rax, [rsp + 0x70]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800033ff
test rbx, rbx
je 0x180003430
lea rcx, [rbx + 1]
call qword [sym.imp.msvcrt.dll_malloc]
mov rsi, rax
mov r8, rbx
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov byte [rsi + rbx], 0
jmp 0x18000343a
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x38]
test rdi, rdi
je 0x180003468
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x180003468
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
and qword [rsp + 0x40], 0
and qword [rsp + 0x48], 0
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1800036a8
test rsi, rsi
je 0x180003498
test rbx, rbx
je 0x180003498
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.msvcrt.dll_memset
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_free]
mov rdi, qword [rsp + 0x40]
inc r14
cmp byte [rdi + r14], 0
jne 0x18000349d
mov r8d, r14d
mov rdx, rdi
mov rcx, r15
call fcn.180003950
mov r8d, 1
lea rdx, [0x180010390]
mov rcx, r15
call fcn.180003950
lea rax, [0x1800105c8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r15
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.180004090
nop
test eax, eax
je 0x180003519
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8d, eax
lea edx, [r9 + 0x34]
mov rcx, r15
call fcn.180003a5c
mov ebx, 0x1f
jmp 0x18000351e
mov ebx, 0x16
mov qword [rsp + 0x38], r13
test rdi, rdi
je 0x180003545
mov r8, qword [rsp + 0x48]
test r8, r8
je 0x180003545
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_free]
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.18000deb0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x180003574
Capabilities:
Delete directory
Delete file
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
movsxd r9, dword [rdx + 0x14]
mov rcx, qword [rdx + 8]
mov r8d, dword [rdx + 0x10]
cmp r8d, r9d
jge 0x1800035a5
xor ecx, ecx
jmp 0x1800035b4
lea rax, [rcx + r9]
mov qword [rdx + 8], rax
sub r8d, r9d
mov dword [rdx + 0x10], r8d
mov r8, r9
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.1800036a8
nop
lea rdi, [0x1800105a0]
mov qword [rsp + 0x60], rdi
mov rbx, qword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x180003615
lea rax, [0x1800105b8]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x50]
mov r8b, 1
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.180004090
nop
test rbx, rbx
je 0x180003624
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
jmp 0x180003624
test rbx, rbx
je 0x180003624
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov qword [rsp + 0x60], rdi
test rbx, rbx
je 0x18000364b
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x18000364b
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_free]
mov eax, 0x21
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x180004090
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov r14b, r8b
mov rsi, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x170]
mov rdi, r9
call sub.msvcrt.dll_memset
test rsi, rsi
je 0x1800041cb
lea r8, [0x180010558]
mov rdx, rsi
lea rcx, [rbp + 0x170]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x1800041c5
lea rdx, [rsp + 0x20]
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800041c5
xor edx, edx
lea rcx, [rbp + 0x60]
mov r8d, 0x104
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x4c]
mov rdx, rsi
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
test rax, rax
je 0x1800041a1
lea rcx, [rbp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x18000418c
movzx eax, word [rsp + 0x4c]
cmp al, byte [0x18001055c]
je 0x1800041a1
cmp ax, word [0x180010560]
je 0x1800041a1
test r14b, r14b
je 0x180004187
mov r9, rdi
lea rdx, [rbp + 0x60]
mov r8b, 1
mov rcx, r15
call fcn.180004090
mov r8b, 1
jmp 0x18000418f
xor r8d, r8d
mov rax, qword [rdi]
lea r9, [rsp + 0x20]
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 1
je 0x180004124
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x1800041ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0xffffffff
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.18000deb0
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x390
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180009c30
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x40
xor eax, eax
mov ebx, ecx
xor ecx, ecx
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180009c8c
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180009c8c
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180009c8c
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180009c8c
cmp dword [rcx + 0x84], 0xe
jbe 0x180009c8c
cmp dword [rcx + 0xf8], 0
je 0x180009c8c
mov ecx, ebx
call fcn.180009bc0
lea rax, [rsp + 0x68]
mov byte [rsp + 0x58], 0
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rcx, [0x1800161a0]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
call fcn.180009a40
cmp dword [rsp + 0x60], 0
jne 0x180009ccf
mov ecx, ebx
call fcn.180009b70
int3
add rsp, 0x40
pop rbx
ret

Function at 0x180009f00
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x180014008]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x180009f3c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.18000e13c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.msvcrt.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x180009ff8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x18000a05e
test ebx, ebx
jne 0x18000a05e
lea ecx, [rax + 2]
call fcn.18000e13c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.18000deb0
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x18000dd40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
cmp dword [rcx], 0xe06d7363
mov rdi, r9
mov rbp, r8
mov r14, rdx
mov rsi, rcx
jne 0x18000ddfc
mov rax, qword [r9 + 0x38]
mov qword [rsp + 0x48], rbx
mov ebx, dword [rax]
add rbx, qword [r9 + 8]
mov eax, dword [rbx]
and eax, 0x1fffffff
sub eax, 0x19930521
cmp eax, 1
ja 0x18000ddf7
mov eax, 1
xchg dword [0x181776210], eax
cmp eax, 1
jne 0x18000ddb0
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
xchg dword [0x181776210], eax
cmp eax, 1
je 0x18000dd95
mov edx, 4
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8d, [rdx + 0x3c]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x18000ddef
and dword [rbx], 0xf9930520
lea r9, [rsp + 0x40]
or dword [rbx], 0x19930520
mov edx, 4
mov r8d, dword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
xchg dword [0x181776210], eax
mov rbx, qword [rsp + 0x48]
mov r9, rdi
mov r8, rbp
mov rdx, r14
mov rcx, rsi
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp qword [sym.imp.msvcrt.dll___CxxFrameHandler]
Function at 0x40a620
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 0x40db58
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a620

Function at 0x40a670
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 0x40a712
lea r14, [rsp + 0x40]
xor esi, esi
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 dword [rsp + 0x40], 1
mov qword [rsp + 0x48], rcx
add ecx, 1
call qword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x40a725
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 0x40a720
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a6b8
mov eax, 1
jmp 0x40a727
cmp eax, 0x51
je 0x40a6b8
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 0x40bf40
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 0x40c280
lea rsi, [rsp + 0x40]
mov r8, rbx
mov rcx, rax
mov rbx, qword [sym.imp.libcurl_4.dll_curl_easy_setopt]
mov edx, 0x2712
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, [0x0040a550]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x006361f0]
mov r8, qword [rax]
test r8, r8
je 0x40c210
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x00636200]
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 0x40c260
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c1cb
cmp qword [rsp + 0x28], 0
jne 0x40c200
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a740
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.005a2910
mov r13, rax
jmp 0x40c1df
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c1a8
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c2a0
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 0x40c1b9
nop dword [rax]
mov r8, rsi
mov ecx, 1
xor r13d, r13d
lea rdx, str.Remote_config_read_failed:__s
call fcn.0040a740
jmp 0x40c1df
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a740
jmp 0x40c1e8
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c2c0
lea rcx, str.ALL_PROXY
jmp 0x40c239
lea r8, [0x005e1bc3]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c1a8
Function at 0x40db40
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 0x40db58
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a620
Function at 0x415340
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
test rcx, rcx
je 0x41541a
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x4153f0
xor eax, eax
movdqu xmm1, xmmword [0x005e4460]
mov byte [rsp + 0x20], dl
lea r8, [rcx + 0x40]
mov word [rsp + 0x3e], ax
xor eax, eax
movdqu xmm2, xmmword [0x005e4470]
mov ecx, 0x16
mov rdi, r8
mov qword [rsp + 0x29], 0
movdqu xmm0, xmmword [0x005e4440]
rep stosq qword [rdi], rax
mov byte [rsp + 0x31], 0
mov qword [rsp + 0x21], 0x10100
pxor xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
movups xmmword [rbx], xmm0
movdqu xmm0, xmmword [0x005e4450]
pxor xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x20], xmm1
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x30], xmm2
mov dword [rbx + 0xe4], edx
add rsp, 0x68
pop rbx
pop rdi
ret
mov edx, 0xf0
call fcn.00417ec0
cmp byte [rbx + 0xe8], 0
je 0x41540b
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x4153e5
mov eax, 0xffffffff
jmp 0x4153e5

Function at 0x415430
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 0x4155a1
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x415570
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x415570
test r10, r10
je 0x415570
mov byte [rsp + 0x21], r9b
lea r9, [rcx + 0x40]
xor eax, eax
mov ecx, 0x16
mov rdi, r9
mov word [rsp + 0x3e], ax
xor eax, eax
movdqu xmm1, xmmword [0x005e4460]
rep stosq qword [rdi], rax
lea r13, [rsp + 0x60]
mov ecx, 0x10
movdqu xmm2, xmmword [0x005e4470]
mov rdi, r13
mov byte [rsp + 0x20], dl
movdqu xmm0, xmmword [0x005e4440]
rep stosq qword [rdi], rax
movups xmmword [r12 + 0x20], xmm1
mov rcx, r13
mov qword [rsp + 0x2a], 0
movups xmmword [r12 + 0x30], xmm2
mov qword [rsp + 0x22], 0x101
pxor xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x32], 0
mov dword [rsp + 0x3a], 0
movups xmmword [r12], xmm0
movdqu xmm0, xmmword [0x005e4450]
pxor xmm0, xmmword [rsp + 0x30]
mov dword [r12 + 0xe4], edx
mov rdx, r10
movups xmmword [r12 + 0x10], xmm0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call sub.msvcrt.dll_memcpy
mov r8d, pe_nt_image_headers64
mov rdx, r13
mov rcx, r12
call fcn.004150a0
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.00417ec0
xor eax, eax
add rsp, 0xe0
pop rdi
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.00417ec0
cmp byte [r12 + 0xe8], 0
je 0x415591
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x415561
mov eax, 0xffffffff
jmp 0x415561
Function at 0x417ed0
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x828
mov rdi, rcx
mov rbx, rdx
test rcx, rcx
je 0x417ef0
test rdx, rdx
jne 0x417f01
add rsp, 0x828
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
ret
mov esi, dword [rdx + 0x18]
lea r9, [rsp + 0x20]
mov r8d, 0x400
mov r12, qword [rdx]
mov rcx, r9
mov eax, esi
shl rax, 0xa
lea rdx, [r12 + rax - 0x400]
call sub.msvcrt.dll_memcpy
mov r8d, dword [rbx + 0x1c]
lea rcx, [rsp + 0x420]
mov r9, rax
cmp r8d, 1
jbe 0x417fdb
cmp r8d, 3
jbe 0x418017
lea eax, [r8 - 4]
mov r11d, 3
lea r13d, [rsi + rsi - 1]
and eax, 0xfffffffe
lea r14d, [rax + 5]
mov r10d, r13d
add r13d, esi
mov rax, r9
mov ecx, r13d
shl r10, 0xa
xor edx, edx
shl rcx, 0xa
add r10, r12
add rcx, r12
nop dword [rax]
movdqu xmm0, xmmword [r10 + rdx]
pxor xmm0, xmmword [rax]
add rax, 0x20
movdqu xmm1, xmmword [r10 + rdx + 0x10]
movups xmmword [rax - 0x20], xmm0
pxor xmm1, xmmword [rax - 0x10]
movups xmmword [rax - 0x10], xmm1
movdqu xmm2, xmmword [rcx + rdx + 0x10]
movdqu xmm3, xmmword [rcx + rdx]
add rdx, 0x20
pxor xmm1, xmm2
movups xmmword [rax - 0x10], xmm1
pxor xmm0, xmm3
movups xmmword [rax - 0x20], xmm0
cmp rdx, 0x400
jne 0x417f80
lea eax, [r11 + 2]
add r13d, esi
cmp eax, r14d
je 0x41801d
mov r11d, eax
jmp 0x417f61
mov rdx, r9
mov r8d, 0x400
call sub.msvcrt.dll_memcpy
mov edx, dword [rdi + 8]
mov r9d, 0x400
mov rcx, qword [rdi]
mov r8, rax
call fcn.004159f0
mov edx, dword [rbx + 0x10]
mov rax, qword [rdi + 0x68]
mov rcx, qword [rbx]
shl rdx, 0xa
test rax, rax
je 0x418074
call rax
jmp 0x417ef0
mov r11d, 1
lea rcx, [rsp + 0x420]
add r11d, 1
mov r10d, r11d
imul r10d, esi
sub r10d, 1
mov edx, r10d
mov rax, r9
shl rdx, 0xa
add rdx, r12
nop dword [rax]
movdqu xmm0, xmmword [rdx]
add rax, 0x10
pxor xmm0, xmmword [rax - 0x10]
add rdx, 0x10
movups xmmword [rax - 0x10], xmm0
cmp rax, rcx
jne 0x418048
add r10d, esi
cmp r8d, r11d
jbe 0x417fdb
add r11d, 1
jmp 0x418034
call qword [sym.imp.msvcrt.dll__aligned_free]
jmp 0x417ef0
Function at 0x41c670
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
mov r9, r8
test rcx, rcx
je 0x41c6c0
test rdx, rdx
je 0x41c6c0
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 0x41c6b1
Function at 0x433e10
Capabilities:
Hash data using sha512

Disassembly:
push r13
push r12
sub rsp, 0x28
movdqu xmm1, xmmword [0x005e4dc0]
pxor xmm0, xmm0
movdqu xmm2, xmmword [0x005e4dd0]
movdqu xmm3, xmmword [0x005e4de0]
movdqu xmm4, xmmword [0x005e4df0]
mov r12, rcx
mov r13, rdx
movups xmmword [rcx + 0x80], xmm1
mov rdx, r8
movups xmmword [rcx + 0x90], xmm2
mov r8, r9
movups xmmword [rcx + 0xa0], xmm3
movups xmmword [rcx + 0xb0], xmm4
movups xmmword [rcx + 0xc0], xmm0
mov qword [rcx + 0xd0], 0
call fcn.00433a50
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp fcn.00433b60