joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1422750
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x142275d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x142276d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1422755
lea eax, [rcx + 1]
jmp 0x142277b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x142278e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1422774
sub eax, 3
jb 0x14227ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14227fd
sar eax, 1
movsxd rbp, eax
jb 0x14227e4
jmp 0x14227bc
add ebx, ebx
jne 0x14227ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14227e4
inc ecx
add ebx, ebx
jne 0x14227ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x14227e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14227dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14227cc
add ecx, 2
jmp 0x14227e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.01422712
jmp 0x142275d
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x100e000]
mov eax, dword [rdi]
or eax, eax
je 0x1422859
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x1022000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1422809
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x1422853
mov qword [rbx], rax
add rbx, 8
jmp 0x1422829
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x142289d
cmp al, 0xef
ja 0x1422885
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1422865
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1422874
mov eax, dword [rdi]
add rdi, 4
jmp 0x1422874
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x14228f1
sub rsp, 0xffffffffffffff80
jmp 0x45bb20
Function at 0x180011168
Capabilities:
Write file on windows

Disassembly:
jmp 0x180011670
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x180
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1a8]
mov rax, qword [0x18001c008]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x180021002]
call fcn.1800112d0
lea rax, str.c:programdata1.txt
mov qword [rbp + 0x48], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
lea rax, [rbp + 0x64]
lea rcx, str.test
mov rdi, rax
mov rsi, rcx
mov ecx, 5
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x24]
mov r8d, 5
lea rdx, [rbp + 0x64]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x168]
mov dword [rbp + 0x134], eax
mov eax, 1
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x180019960]
call fcn.18001127b
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.18001115e
lea rsp, [rbp + 0x140]
pop rdi
pop rsi
pop rbp
ret

Function at 0x18001119a
Capabilities:
Terminate process

Disassembly:
jmp 0x180012d20
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 0x140001431
Capabilities:
Execute syscall

Disassembly:
mov r10, rcx
mov eax, dword [section..data]
syscall
ret

Function at 0x140001d2c
Capabilities:
Parse pe header

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

Function at 0x140e4dc30
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub rsi, 4
bsr rdx, rcx
xadd dh, dl
bts edx, r9d
mov edx, dword [rsi]
clc
stc
xor edx, r9d
bswap edx
jmp 0x140e56ccd
jmp rbp
movsxd rdx, edx
cmp r13b, 0x7b
test dil, 0xff
add rbp, rdx
jmp 0x140dcb310
push rbp
not bpl
xchg bp, bp
push rbx
bswap rbp
push rdx
cdq
movsx edx, sp
mov rbp, r9
push rsi
movzx edx, ax
xchg dl, dl
push rcx
push r9
movsx edx, bx
push r8
movzx r9w, dl
xchg r9w, r9w
cwd
push r14
cmovo r9, rbp
push r10
movzx rsi, dx
setb sil
push r13
cqo
push rax
rdtsc
cqo
push r11
pushfq
cqo
push r15
cdq
movsxd rsi, esi
push r12
push rdi
movabs rdx, 0
movzx r11, si
movsx r9d, sp
xchg bpl, r11b
push rdx
lahf
movzx esi, r13w
cdqe
mov rsi, qword [rsp + 0x90]
mov r11d, r11d
inc esi
not esi
sbb bpl, bpl
sub esi, 0x5fe63442
movzx eax, sp
movsxd r11, r10d
ror r9b, 0x21
not esi
bts r9, r10
movsx ax, r8b
add rsi, rdx
movabs rdx, 0x100000000
btc rax, r11
sar rbp, 0xe3
sub ah, bl
lea rsi, [rsi + rdx]
mov r11, rsp
cqo
sub rsp, 0x180
and rsp, 0xfffffffffffffff0
bt r9w, 0xed
lahf
rdtsc
mov r9, rsi
cdq
ror al, cl
adc dh, ah
movabs rax, 0
sub bp, r9w
cmc
sub r9, rax
cqo
shl bp, 0xf
lea rbp, [0x140e4dd24]
jmp 0x140da89ac
dec edx
rol edx, 1
push r9
movsxd r9, r11d
movsx r9, r13w
test ax, di
xor dword [rsp], edx
sub r9w, r14w
pop r9
jmp 0x140dcb69c
ror edx, 1
cmp dil, spl
cmc
add edx, 0x3ae958d6
bswap edx
jmp 0x140e4e68a
Function at 0x140016f50
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140162b60], rbx
je 0x140016fb7
cmp rax, rbx
jne 0x140016faa
mov ebx, 1
mov esi, ebx
jmp 0x140016fbc
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x140016f8f
mov ebx, 1
mov eax, dword [0x140162b68]
cmp eax, ebx
jne 0x140016fd4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x140017040
mov eax, dword [0x140162b68]
test eax, eax
jne 0x140017035
mov dword [0x140162b68], ebx
lea r15, [0x1400fc020]
lea rdi, [0x1400fc008]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x140017027
test eax, eax
jne 0x14001702b
cmp qword [rdi], r14
je 0x14001701c
mov rax, qword [rdi]
mov rcx, qword [0x1400fbf30]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140016ffe
test eax, eax
je 0x14001703b
mov eax, 0xff
jmp 0x140017196
mov dword [0x140162554], ebx
mov edi, 0x1f
mov eax, dword [0x140162b68]
cmp eax, ebx
jne 0x140017067
lea rdx, [0x1400fc000]
lea rcx, [0x1400fbf38]
call sub.msvcrt.dll__initterm
mov dword [0x140162b68], 2
test esi, esi
jne 0x140017075
mov rax, r14
xchg qword [0x140162b60], rax
cmp qword [0x140162b80], r14
je 0x1400170a8
lea rcx, [0x140162b80]
call fcn.140017a70
test eax, eax
je 0x1400170a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140162b80]
mov r9, qword [0x1400fbf30]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400170c1
mov eax, 0xff
jmp 0x140017196
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140017147
test ax, ax
je 0x1400170dc
test edx, edx
jne 0x140017147
sub ax, bx
cmp ax, di
ja 0x1400170f2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400170dc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400147a0
mov dword [0x140162550], eax
cmp dword [0x140162570], r14d
jne 0x140017130
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140162554], r14d
jne 0x140017145
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x140162550]
jmp 0x140017196
cmp ax, 0x22
jne 0x14001715b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400170ca
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1401ff000
add rsp, 0x28
jmp 0x140016f50
Function at 0x14001795c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400179a8
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400179a0
cmp dword [rcx + 0x3c], edx
jl 0x1400179a0
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400179a0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400179a8
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14001d380
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
sub rsp, 0x20
and qword [rcx + 0x18], 0
mov rbx, rcx
and qword [rcx + 0x20], 0
xor edx, edx
and qword [rcx + 0x28], 0
mov r8d, 0x800
and qword [rcx + 0x30], 0
and qword [rcx + 0x38], 0
mov byte [rcx + 0x10], 0
lea rcx, str.amsi.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x14001d4a2
lea rdx, str.AmsiInitialize
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, str.AmsiUninitialize
mov qword [rbx + 0x18], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, str.AmsiScanBuffer
mov qword [rbx + 0x28], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, str.AmsiOpenSession
mov qword [rbx + 0x20], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov rcx, qword [rbx]
lea rdx, str.AmsiCloseSession
mov qword [rbx + 0x30], rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
cmp qword [rbx + 0x18], 0
mov qword [rbx + 0x38], rax
je 0x14001d48d
cmp qword [rbx + 0x20], 0
je 0x14001d48d
cmp qword [rbx + 0x28], 0
je 0x14001d48d
cmp qword [rbx + 0x30], 0
je 0x14001d48d
test rax, rax
je 0x14001d48d
mov rax, qword [rbx + 0x18]
lea rdx, [rbx + 8]
lea rcx, str.VSSAMSI
call qword [0x1400fbf30]
test eax, eax
js 0x14001d48d
mov byte [rbx + 0x10], 1
cmp byte [rbx + 0x10], 0
jne 0x14001d4a2
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop dword [rax + rax]
mov rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x140045a74
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
and qword [rcx + 8], 0
xorps xmm0, xmm0
and dword [rcx + 0x18], 0
xor eax, eax
and qword [rcx + 0x20], 0
mov rbx, rcx
and dword [rcx + 0x28], 0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rax
mov byte [rcx + 0x58], al
add rcx, 0x60
call fcn.14001cdec
and qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
lea rdi, [rbx + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov dword [rdi], 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftOle
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140045b5c
and dword [rsp + 0x48], eax
lea r9, [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rdx, str.EnableATLEnumClassLock
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x40], 4
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
cmp dword [rsp + 0x48], 4
mov ecx, 0xd
cmovne eax, ecx
test eax, eax
je 0x140045b4b
mov dword [rdi], 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
lea rax, [0x1400faa08]
mov qword [rbx], rax
call fcn.1400121a0
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400c8ac0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x810]
sub rsp, 0x910
mov rax, qword [0x1401623e0]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov rdi, rcx
call qword [sym.imp.VssTrace.DLL_Ordinal_11]
nop dword [rax + rax]
cmp eax, dword [rdi + 4]
je 0x1400c8c34
mov rdx, qword [rdi + 0x28]
lea r8, [rsp + 0x50]
mov ecx, dword [rdi + 0x24]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rdi + 4], eax
call qword [sym.imp.VssTrace.DLL_Ordinal_8]
nop dword [rax + rax]
test eax, eax
je 0x1400c8b2e
mov eax, dword [rsp + 0x50]
jmp 0x1400c8b4a
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x1400c8b3e
call fcn.1400c5470
jmp 0x1400c8b4a
call qword [sym.imp.VssTrace.DLL_Ordinal_6]
nop dword [rax + rax]
mov dword [rdi], eax
mov eax, dword [rdi + 4]
cmp dword [0x140162400], eax
je 0x1400c8c34
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x800
call sub.msvcrt.dll_memset
lea rdx, [rbp]
call fcn.1400c4f14
lea rax, str.base_stor_vssmodules_trace_fntracer.cpp
mov dword [rsp + 0x70], 0x24f
mov qword [rsp + 0x58], rax
lea rcx, [rbp - 0x80]
xor edx, edx
mov dword [rsp + 0x74], reloc.VssTrace.DLL_Ordinal_11
lea rax, str.CVssFunctionTracer::UpdateLocalIsTracingEnabledFlag
mov dword [rsp + 0x78], 0xff
mov qword [rsp + 0x60], rax
lea rax, str.TRCTRCC
mov qword [rsp + 0x68], rax
lea r8d, [rdx + 0x78]
mov dword [rbp - 8], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
nop dword [rax + rax]
mov rbx, rax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcessId]
nop dword [rax + rax]
mov ecx, dword [rdi + 4]
lea r8, str.TRACING_STARTED
mov dword [rsp + 0x48], ecx
lea rdx, [rsp + 0x58]
mov ecx, dword [0x140162400]
mov r9d, 0x78
mov dword [rsp + 0x40], ecx
lea rcx, [rbp]
mov qword [rsp + 0x38], rcx
mov rcx, rdi
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, str.Tracing_started_or_updated._PID_d__CommandLine__s___UserName__s_._SQN__d_____d_
mov qword [rsp + 0x20], rax
call fcn.140004780
mov eax, dword [rdi + 4]
mov dword [0x140162400], eax
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.1400171f0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x1400dbfbc
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x40], r12
lea r13, str.CVssRegistryKey::SetBinaryValue
mov qword [rsp + 0x48], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x16a
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400c3710
nop
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], rsi
mov r9d, 3
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x1400dc10e
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x17d
mov dword [rsp + 0x5c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x60], 0xff
mov dword [rbp - 0x20], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov rcx, qword [rdi + 0x18]
test ebx, ebx
jle 0x1400dc0da
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x38], 0x48
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, str.RegSetValueExW_0x_08lx__s_0_REG_BINARY__p._lu_
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x10]
call fcn.1400c7578
nop
lea rcx, [rbp - 0x10]
call fcn.1400069e0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14001124e
Capabilities:
Terminate process

Disassembly:
jmp 0x140013c70
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 0x1400112e9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014fc0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014fe0
xor al, al
jmp 0x140015061
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014ff3
xor al, al
jmp 0x140015061
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 0x14001501d
xor al, al
jmp 0x140015061
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015031
xor al, al
jmp 0x140015061
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140015043
xor al, al
jmp 0x140015061
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001505f
xor al, al
jmp 0x140015061
mov al, 1
add rsp, 0x38
ret
Function at 0x40a610
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 0x40db48
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a610

Function at 0x40a660
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 0x40a702
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 0x40a715
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 0x40a710
movsxd rdx, dword [rsp + 0x34]
sub ebx, edx
add rsi, rdx
test ebx, ebx
jg 0x40a6a8
mov eax, 1
jmp 0x40a717
cmp eax, 0x51
je 0x40a6a8
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 0x40bf30
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 0x40c270
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, [0x0040a540]
mov edx, 0x4e2b
mov rcx, r12
call rbx
lea r8, [rsp + 0x20]
mov edx, 0x2711
mov rcx, r12
call rbx
mov rax, qword [0x0066e2f0]
mov r8, qword [rax]
test r8, r8
je 0x40c200
mov edx, 0x2714
mov rcx, r12
call rbx
mov rax, qword [0x0066e300]
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 0x40c250
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x40c1bb
cmp qword [rsp + 0x28], 0
jne 0x40c1f0
lea rdx, str.Empty_data_received_for_config
mov ecx, 1
xor r13d, r13d
call fcn.0040a730
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.005d9770
mov r13, rax
jmp 0x40c1cf
lea rcx, str.http_proxy
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c198
lea rcx, str.all_proxy
call sub.msvcrt.dll_getenv
lea rcx, str.all_proxy
test rax, rax
je 0x40c290
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 0x40c1a9
nop dword [rax]
mov r8, rsi
mov ecx, 1
xor r13d, r13d
lea rdx, str.Remote_config_read_failed:__s
call fcn.0040a730
jmp 0x40c1cf
lea rdx, str.Remote_config_init_failed_
mov ecx, 1
xor r13d, r13d
call fcn.0040a730
jmp 0x40c1d8
lea rcx, str.ALL_PROXY
call sub.msvcrt.dll_getenv
test rax, rax
je 0x40c2b0
lea rcx, str.ALL_PROXY
jmp 0x40c229
lea r8, [0x00619c03]
mov edx, 0x2714
mov rcx, r12
call rbx
jmp 0x40c198
Function at 0x40db30
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 0x40db48
mov eax, 1
ret
mov rcx, qword [rcx + 0x118]
jmp 0x40a610