joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002090
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140001610
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x140002100]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rbx], rax
test rax, rax
je 0x1400020e8
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x140002950
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], r8
mov qword [rsp + 0x58], r9
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov ecx, 2
call fcn.1400060b0
lea rcx, str.Mingw_w64_runtime_failure:_n
mov edx, 0x1b
mov r8d, 1
mov r9, rax
call sub.msvcrt.dll_fwrite
mov ecx, 2
call fcn.1400060b0
mov r8, qword [rsp + 0x28]
mov rcx, rax
mov rdx, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
int3

Function at 0x1400061d0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rax, qword [0x140031008]
movzx edx, word [rax]
cmp edx, 0x5a4d
jne 0x14000623c
movsxd rdx, dword [rax + 0x3c]
cmp dword [rax + rdx], 0x4550
jne 0x14000623c
add rax, rdx
movzx edx, word [rax + 0x18]
cmp edx, 0x20b
jne 0x14000623c
movzx edx, word [rax + 6]
test edx, edx
je 0x14000623c
sub rcx, qword [0x140031008]
movzx r8d, word [rax + 0x14]
add rax, r8
add rax, 0x18
jmp 0x140006228
add rax, 0x28
dec edx
je 0x14000623c
mov r8d, dword [rax + 0xc]
cmp rcx, r8
jb 0x140006220
add r8d, dword [rax + 8]
cmp rcx, r8
jae 0x140006220
jmp 0x14000623e
xor eax, eax
ret

Function at 0x140006240
Capabilities:
Parse pe header

Disassembly:
mov rcx, qword [0x140031008]
movzx edx, word [rcx]
xor eax, eax
cmp edx, 0x5a4d
jne 0x140006275
movsxd rdx, dword [rcx + 0x3c]
cmp dword [rcx + rdx], 0x4550
jne 0x140006275
movzx r8d, word [rcx + rdx + 0x18]
cmp r8d, 0x20b
jne 0x140006275
movzx eax, word [rcx + rdx + 6]
ret

Function at 0x1400062f0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140031008]
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x14000631c
movsxd rcx, dword [rax + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x14000631c
movzx ecx, word [rax + rcx + 0x18]
cmp ecx, 0x20b
je 0x14000631e
xor eax, eax
ret

Function at 0x140006c40
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
call fcn.1400079a0
test al, al
je 0x140006c93
mov r14, qword [fcn.1400060b0]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:__Unwind_SetGR_context_p__reg_d__value0x_0llx__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140006c10
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rcx, rbx
mov edx, edi
mov r8, rsi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140007ab0
Function at 0x140007740
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x20], xmm6
mov rdi, rdx
mov rsi, rcx
cmp byte [0x14071801b], 1
jne 0x140007793
cmp byte [0x14071801a], 0
jne 0x1400077b2
jmp 0x1400077e4
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x1400077e4
mov rbx, qword [fcn.1400060b0]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_init_local_cursor_p__context_p__n
mov rcx, rax
mov r8, rsi
mov r9, rdi
call fcn.140004c00
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
lea rax, [0x1400322e8]
mov qword [rsi], rax
lea rax, [0x140718008]
mov qword [rsi + 8], rax
lea rax, [rsi + 0x580]
lea rcx, [rsi + 0xb0]
xorps xmm0, xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x50], xmm0
movaps xmmword [rsi + 0x60], xmm0
movaps xmmword [rsi + 0x70], xmm0
movaps xmmword [rsi + 0x80], xmm0
movaps xmmword [rsi + 0x90], xmm0
mov qword [rsi + 0xa0], 0
movaps xmmword [rsi + 0x580], xmm0
movaps xmmword [rsi + 0x590], xmm0
movaps xmmword [rsi + 0x5a0], xmm0
movaps xmmword [rsi + 0x5b0], xmm0
movaps xmmword [rsi + 0x5c0], xmm0
movaps xmmword [rsi + 0x5d0], xmm0
movaps xmmword [rsi + 0x5e0], xmm0
movaps xmmword [rsi + 0x5f0], xmm0
movaps xmmword [rsi + 0x600], xmm0
movaps xmmword [rsi + 0x610], xmm0
movaps xmmword [rsi + 0x620], xmm0
movaps xmmword [rsi + 0x630], xmm0
movaps xmmword [rsi + 0x640], xmm0
movups xmmword [rsi + 0x649], xmm0
mov qword [rsi + 0x80], rcx
mov qword [rsi + 0x98], rax
mov rbx, qword [rdi]
mov r14, qword [rdi + 8]
mov r15, qword [rdi + 0x80]
movups xmm6, xmmword [rdi + 0x10]
movdqu xmm0, xmmword [rdi + 0x30]
pshufd xmm7, xmm0, 0x4e
movdqu xmm0, xmmword [rdi + 0x20]
pshufd xmm8, xmm0, 0x4e
movups xmm9, xmmword [rdi + 0x40]
movups xmm10, xmmword [rdi + 0x50]
movups xmm11, xmmword [rdi + 0x60]
movups xmm12, xmmword [rdi + 0x70]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov dword [rsi + 0xe0], 0x10000b
mov qword [rsi + 0x128], rbx
movaps xmmword [rsi + 0x130], xmm6
mov qword [rsi + 0x140], r14
movdqu xmmword [rsi + 0x148], xmm7
movdqu xmmword [rsi + 0x158], xmm8
movups xmmword [rsi + 0x168], xmm9
movups xmmword [rsi + 0x178], xmm10
movups xmmword [rsi + 0x188], xmm11
movups xmmword [rsi + 0x198], xmm12
mov qword [rsi + 0x1a8], r15
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
mov rcx, rsi
xor edx, edx
call qword [0x14071c008]
xor eax, eax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm9, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x60]
movaps xmm11, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400079a0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x14071801b], 1
jne 0x1400079bc
cmp byte [0x14071801a], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x14071801a]
mov byte [0x14071801b], 1
add rsp, 0x28
ret

Function at 0x1400079f0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rsi, r8
mov edi, edx
mov rbx, rcx
cmp byte [0x14071801b], 1
jne 0x140007a15
cmp byte [0x14071801a], 0
jne 0x140007a34
jmp 0x140007a6d
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007a6d
mov r14, qword [fcn.1400060b0]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rsi
lea rdx, str.libunwind:___unw_get_reg_cursor_p__regNum_d__value_p__n
mov rcx, rax
mov r8, rbx
mov r9d, edi
call fcn.140004c00
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rcx, rbx
mov edx, edi
call qword [0x14071c008]
mov ecx, eax
mov eax, 0xffffe672
test cl, cl
je 0x140007aa1
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov edx, edi
call qword [0x14071c008]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x140007ab0
Capabilities:
Query environment variable

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov rbx, r8
mov edi, edx
mov rsi, rcx
cmp byte [0x14071801b], 1
jne 0x140007ad6
cmp byte [0x14071801a], 0
jne 0x140007af5
jmp 0x140007b2e
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007b2e
mov r14, qword [fcn.1400060b0]
mov ecx, 2
call r14
mov qword [rsp + 0x20], rbx
lea rdx, str.libunwind:___unw_set_reg_cursor_p__regNum_d__value0x_llx__n
mov rcx, rax
mov r8, rsi
mov r9d, edi
call fcn.140004c00
mov ecx, 2
call r14
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x10]
mov rcx, rsi
mov edx, edi
call qword [0x14071c008]
mov ebp, 0xffffe672
test al, al
je 0x140007bcf
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
mov edx, edi
mov r8, rbx
call qword [0x14071c008]
xor ebp, ebp
cmp edi, 0xffffffff
jne 0x140007bcf
mov rax, qword [rsi]
mov rax, qword [rax + 0x48]
lea rdx, [rsp + 0x28]
mov rcx, rsi
call qword [0x14071c008]
mov rax, qword [rsi]
mov rax, qword [rax + 0x68]
xor ebp, ebp
mov rcx, rsi
xor edx, edx
call qword [0x14071c008]
cmp qword [rsp + 0x48], 0
je 0x140007bcf
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
mov edx, 0xfffffffe
call qword [0x14071c008]
add rax, qword [rsp + 0x48]
mov rcx, qword [rsi]
mov r9, qword [rcx + 0x20]
mov rcx, rsi
mov edx, 0xfffffffe
mov r8, rax
mov rax, r9
call qword [0x14071c008]
mov eax, ebp
add rsp, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140007be0
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14071801b], 1
jne 0x140007bfd
cmp byte [0x14071801a], 0
jne 0x140007c1c
jmp 0x140007c4b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007c4b
mov rdi, qword [fcn.1400060b0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_step_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004c00
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x40]
mov r8, qword [0x14071c008]
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp r8

Function at 0x140007c70
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
cmp byte [0x14071801b], 1
jne 0x140007c91
cmp byte [0x14071801a], 0
jne 0x140007cb0
jmp 0x140007ce2
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007ce2
mov rbx, qword [fcn.1400060b0]
mov ecx, 2
call rbx
lea rdx, str.libunwind:___unw_get_proc_info_cursor_p__info_p__n
mov rcx, rax
mov r8, rdi
mov r9, rsi
call fcn.140004c00
mov ecx, 2
call rbx
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rdi]
mov rax, qword [rax + 0x48]
mov rcx, rdi
mov rdx, rsi
call qword [0x14071c008]
xor ecx, ecx
cmp qword [rsi + 8], 0
mov eax, 0xffffe66b
cmovne eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x140007d10
Capabilities:
Query environment variable

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rcx
cmp byte [0x14071801b], 1
jne 0x140007d2d
cmp byte [0x14071801a], 0
jne 0x140007d4c
jmp 0x140007d7b
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007d7b
mov rdi, qword [fcn.1400060b0]
mov ecx, 2
call rdi
lea rdx, str.libunwind:___unw_resume_cursor_p__n
mov rcx, rax
mov r8, rsi
call fcn.140004c00
mov ecx, 2
call rdi
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [rsi]
mov rax, qword [rax + 0x50]
mov rcx, rsi
call qword [0x14071c008]
mov eax, 0xffffe674
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140007da0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
cmp byte [0x14071801b], 1
jne 0x140007dcb
cmp byte [0x14071801a], 0
jne 0x140007dea
jmp 0x140007e22
lea rcx, str.LIBUNWIND_PRINT_APIS
call sub.msvcrt.dll_getenv
mov byte [0x14071801b], 1
test rax, rax
setne byte [0x14071801a]
je 0x140007e22
mov r15, qword [fcn.1400060b0]
mov ecx, 2
call r15
mov dword [rsp + 0x20], edi
lea rdx, str.libunwind:___unw_get_proc_name_cursor_p__buf_p__bufLen_lu__n
mov rcx, rax
mov r8, r14
mov r9, rbx
call fcn.140004c00
mov ecx, 2
call r15
mov rcx, rax
call sub.msvcrt.dll_fflush
mov rax, qword [r14]
mov rax, qword [rax + 0x60]
mov rcx, r14
mov rdx, rbx
mov r8, rdi
mov r9, rsi
call qword [0x14071c008]
xor ecx, ecx
test al, al
mov eax, 0xffffe674
cmovne eax, ecx
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x140007e60
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
cmp byte [0x140718019], 1
jne 0x140007e7c
cmp byte [0x140718018], 0
setne al
add rsp, 0x28
ret
lea rcx, str.LIBUNWIND_PRINT_UNWINDING
call sub.msvcrt.dll_getenv
test rax, rax
setne al
setne byte [0x140718018]
mov byte [0x140718019], 1
add rsp, 0x28
ret
Function at 0x40a5d0
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 0x40d938
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a5d0

Function at 0x40a620
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 0x40a6c2
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 0x40a6d5
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 0x40a6d0
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a668
mov eax, 1
jmp 0x40a6d7
cmp eax, 0x51
je 0x40a668
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 0x40bd40
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 0x40c080
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, [0x0040a500]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x004891e0]
mov r8, qword [rax]
test r8, r8
je 0x40c010
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x004891f0]
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 0x40c060
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40bfcb
cmp qword [rsp + 0x28], 0
jne 0x40c000
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a6f0
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.004649f0
mov r13, rax
jmp 0x40bfdf
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40bfa8
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c0a0
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 0x40bfb9
nop dword [rax]
mov r8, rsi
mov ecx, 1
xor r13d, r13d
lea rdx, str.Remote_config_read_failed:__s
call fcn.0040a6f0
jmp 0x40bfdf
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a6f0
jmp 0x40bfe8
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c0c0
lea rcx, str.ALL_PROXY
jmp 0x40c039
lea r8, [0x00484a03]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40bfa8
Function at 0x40d920
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 0x40d938
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a5d0
Function at 0x41ab90
Capabilities:
Hash data using sha256

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
vmovdqu xmm0, xmmword [0x00486e00]
vmovdqu xmm1, xmmword [0x00486e10]
lea r12, [rsp + 0x5f]
mov r14, rcx
mov r13, rdx
and r12, 0xffffffffffffffc0
mov rbx, r8
vmovups xmmword [r12 + 0x40], xmm0
vmovups xmmword [r12 + 0x50], xmm1
mov qword [r12 + 0x60], r8
cmp r8, 0x3f
jbe 0x41acb0
vmovdqu xmm2, xmmword [rdx]
lea rdi, [r12 + 0x40]
vmovdqu xmm3, xmmword [rdx + 0x10]
lea r15, [r13 + 0x40]
mov r8, rdi
mov rcx, rdi
vmovdqu xmm4, xmmword [rdx + 0x20]
vmovups xmmword [r12], xmm2
vmovdqu xmm5, xmmword [rdx + 0x30]
mov rdx, r12
vmovups xmmword [r12 + 0x10], xmm3
vmovups xmmword [r12 + 0x20], xmm4
vmovups xmmword [r12 + 0x30], xmm5
call fcn.0041fcc0
lea r8, [rbx - 0x40]
cmp r8, 0x3f
jbe 0x41ac7c
add rbx, 0xffffffffffffff80
mov rsi, r15
mov rbp, rbx
shr rbp, 6
lea rdx, [rbp + 2]
shl rdx, 6
add r13, rdx
nop word [rax + rax]
mov rdx, rsi
mov r8, rdi
mov rcx, rdi
call fcn.0041fcc0
add rsi, 0x40
cmp rsi, r13
jne 0x41ac50
lea rax, [rbp + 1]
shl rbp, 6
shl rax, 6
sub rbx, rbp
add r15, rax
mov r8, rbx
mov rdx, r15
mov rcx, r12
call sub.msvcrt.dll_memcpy
mov rdx, r14
mov rcx, r12
call fcn.0041a9d0
nop
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
call sub.msvcrt.dll_memcpy
jmp 0x41ac87
Function at 0x433bf0
Capabilities:
Hash data using sha256

Disassembly:
push r12
sub rsp, 0x20
mov r12, rcx
movsxd r8, r8d
call fcn.0041ab90
mov r8d, 0x20
mov rdx, r12
mov rcx, r12
add rsp, 0x20
pop r12
jmp fcn.0041ab90
Function at 0x435c30
Capabilities:
Hash data using sha256

Disassembly:
push r12
push rsi
push rbx
add rsp, 0xffffffffffffff80
vmovups xmmword [rsp + 0x60], xmm6
vmovups xmmword [rsp + 0x70], xmm8
vmovdqu xmm8, xmmword [0x004876a0]
xor r8d, r8d
vmovdqu xmm6, xmmword [0x004876b0]
lea r12, [rsp + 0x20]
mov rbx, rcx
mov rsi, rdx
vmovups xmmword [rsp + 0x20], xmm8
mov rcx, r12
vmovups xmmword [rsp + 0x30], xmm6
call fcn.00433c40
lea rdx, [rsi + 0x40]
xor r8d, r8d
call fcn.00433c40
xor r8d, r8d
mov rdx, r12
mov rcx, rbx
vmovdqu xmm2, xmmword [0x00487680]
vmovups xmmword [rbx], xmm8
vmovdqu xmm3, xmmword [0x00487690]
vmovups xmmword [rbx + 0x10], xmm6
vmovups xmmword [rsp + 0x40], xmm2
vmovups xmmword [rsp + 0x50], xmm3
call fcn.00433c40
vmovdqu xmm0, xmmword [0x004876c0]
vmovdqu xmm4, xmmword [rbx]
vmovdqu xmm5, xmmword [rbx + 0x10]
vmovups xmm6, xmmword [rsp + 0x60]
vpshufb xmm1, xmm4, xmm0
vmovups xmmword [rbx], xmm1
vmovups xmm8, xmmword [rsp + 0x70]
vpshufb xmm0, xmm5, xmm0
vmovups xmmword [rbx + 0x10], xmm0
sub rsp, 0xffffffffffffff80
pop rbx
pop rsi
pop r12
ret
Function at 0x462b60
Capabilities:
Hash data using djb2

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rdx
movsx rdx, byte [rdx]
test rdx, rdx
je 0x462c20
mov r8, rbp
mov esi, 0x1505
mov rax, rsi
add r8, 1
shl rax, 5
add rax, rdx
movsx rdx, byte [r8]
add rsi, rax
test rdx, rdx
jne 0x462b80
mov r8, qword [rcx + 0x10]
lea rdi, [0x00488160]
mov rax, rsi
xor edx, edx
add rcx, 0x18
div qword [rdi + r8*8]
mov rdi, qword [rcx - 0x10]
shl rdx, 4
add rdi, rdx
mov rbx, qword [rdi]
cmp rbx, rcx
jne 0x462bda
jmp 0x462c10
cmp rbx, qword [rdi + 8]
je 0x462c00
mov rbx, qword [rbx + 8]
cmp qword [rbx - 8], rsi
jne 0x462bd0
mov rdx, rbp
lea rcx, [rbx + 0x20]
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x462bd0
mov rax, qword [rbx + 0x10]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
xor eax, eax
cmp rbx, qword [rdi + 8]
jne 0x462bda
jmp 0x462bf4
mov esi, 0x1505
jmp 0x462b9a

Function at 0x465a40
Capabilities:
Hash data using djb2

Disassembly:
test rcx, rcx
je 0x465a58
mov eax, dword [rcx]
test eax, eax
jne 0x465a58
add rcx, 0x10
jmp fcn.00462b60
xor eax, eax
ret