joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140048e31
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6b8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x80], rcx
mov rdx, qword [rdx + 0x400]
add rdx, 0x10
lea rsi, [rsp + 0x1c0]
mov rcx, rsi
call fcn.14000bb9f
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.24_srcproto_streams_streams.rs
mov rcx, rsi
call fcn.14003f2ed
mov rcx, qword [rax + 0x28]
or rcx, qword [rax + 0x38]
je 0x140048e90
mov rcx, rax
call fcn.140089cef
jmp 0x140048ebc
mov rsi, qword [rax + 0x230]
mov rcx, rax
call fcn.140089cef
cmp rsi, 1
ja 0x140048ebc
mov rdx, qword [rdi + 0x400]
add rdx, 0x10
lea rcx, [rdi + 0x3a0]
call fcn.140051c82
mov rax, qword [rdi + 0x378]
cmp rax, 2
jne 0x140048ed7
mov qword [rsp + 0x1c0], 2
jmp 0x140048f37
lea rsi, [rdi + 0x378]
lea rdx, [rdi + 0x390]
test rax, rax
je 0x140048f0c
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x140048f1a
mov rcx, qword [rdi + 0x380]
mov rax, qword [rdi + 0x388]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x1c0]
mov rcx, r15
mov rdx, rsi
call fcn.14008eac7
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x398]
mov rcx, qword [rsp + 0x1c0]
mov rdx, qword [rsp + 0x1c8]
movups xmm0, xmmword [rsp + 0x1d0]
movaps xmmword [rsp + 0x450], xmm0
mov qword [rsp + 0x440], rcx
mov qword [rsp + 0x448], rdx
mov qword [rsp + 0x460], rax
cmp dword [rsp + 0x440], 2
je 0x140048f95
lea rdx, [rsp + 0x458]
lea rcx, [rsp + 0x440]
call fcn.14008eb22
mov qword [rsp + 0x5c8], 2
and qword [rsp + 0x5e8], 0
lea r15, [rdi + 0x48]
lea rax, [rdi + 0x3a0]
mov qword [rsp + 0x1a8], rax
lea rax, [rdi + 0x410]
mov qword [rsp + 0x1a0], rax
lea r13, [rsp + 0xd8]
lea r14, [rsp + 0x1c0]
mov dword [rsp + 0x6c], eax
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x88], r15
Function at 0x14006f3cc
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rax, r8
mov r14, rdx
mov rsi, rcx
lea rdi, [rsp + 0x50]
mov r8d, 0xb
mov rcx, rdi
mov rdx, rax
call fcn.14006f513
lea r13, [rsp + 0x30]
mov dword [r13], 0x800
lea r15, [rsp + 0x34]
and dword [r15], 0
mov ecx, 0x800
call fcn.1400795d6
mov rbx, rdx
lea r12, [rsp + 0x38]
mov qword [r12], rax
mov qword [r12 + 8], rdx
and qword [r12 + 0x10], 0
mov rdi, qword [rdi + 8]
mov rbp, qword [sym.imp.advapi32.dll_RegQueryValueExW]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call rbp
cmp eax, 0xea
jne 0x14006f46f
mov edx, dword [rsp + 0x30]
mov rcx, r12
call fcn.14000311b
mov rbx, qword [rsp + 0x40]
jmp 0x14006f43d
test eax, eax
jne 0x14006f491
mov eax, dword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x34]
cmp eax, 0xb
jbe 0x14006f4b9
movabs rax, 0xde00000002
jmp 0x14006f499
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call fcn.140026635
jmp 0x14006f4cd
mov rcx, qword [rsp + 0x48]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call fcn.140031455
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140075100
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140005580
cmp rax, rcx
je 0x140075125
cmp rdx, 4
jae 0x140075128
xor eax, eax
xor r8d, r8d
jmp 0x1400751c0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14009a5a0]
movdqa xmm3, xmmword [0x14009a5b0]
pxor xmm1, xmm1
nop dword [rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140075150
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400751d7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400751c0
ret
Function at 0x1400789fb
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xb8
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0x98], xmm0
movups xmmword [rsp + 0x88], xmm0
movups xmmword [rsp + 0x78], xmm0
mov dword [rsp + 0x68], 4
mov dword [rsp + 0xb0], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x140078a69
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x90], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x98], rdx
cmp qword [rcx + 0x30], rax
je 0x140078aa4
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140078a9b
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1400f7318]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x140078a88
jmp 0x140078a9d
xor edx, edx
mov dword [rsp + 0xa0], edx
mov r15, qword [rcx + 0x10]
lea rsi, [r15*8]
test r15, r15
je 0x140078af6
mov rax, r15
shr rax, 0x3c
jne 0x140078bb8
mov rbx, qword [rcx + 8]
mov ecx, 8
mov rdx, rsi
call fcn.14008ec97
test rax, rax
je 0x140078bbd
mov rdi, rax
xor eax, eax
mov rcx, qword [rbx + rax*8]
mov qword [rdi + rax*8], rcx
inc rax
cmp r15, rax
jne 0x140078ae1
mov eax, r15d
jmp 0x140078afd
xor eax, eax
mov edi, 8
lea rcx, [rsp + 0x68]
mov dword [rcx + 4], eax
mov qword [rcx + 8], rdi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and qword [rsp + 0x40], 0
lea rdx, [0x1400cbb03]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x140078b54
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x140078b8c
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov ecx, 8
mov edx, 0x20
call fcn.14008ec97
test rax, rax
je 0x140078bca
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r12
xor r14d, r14d
test r15, r15
je 0x140078ba1
mov edx, 8
mov rcx, rdi
mov r8, rsi
call fcn.14000bb80
mov rax, r14
mov rdx, rbx
add rsp, 0xb8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call fcn.1400024c0
mov ecx, 8
mov rdx, rsi
call fcn.1400969e0
mov ecx, 8
mov edx, 0x20
call fcn.1400969e0
int3

Function at 0x140079248
Capabilities:
Get remote cert context via schannel

Disassembly:
sub rsp, 0x28
lea r8, [rsp + 0x20]
and qword [r8], 0
mov edx, 0x53
call qword [sym.imp.secur32.dll_QueryContextAttributesW]
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x140079272
mov rdx, qword [rsp + 0x20]
jmp 0x14007927a
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140079c45
Capabilities:
Set socket configuration

Disassembly:
sub rsp, 0x38
mov eax, edx
lea r9, [rsp + 0x34]
mov dword [r9], r8d
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, eax
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x140079c72
xor eax, eax
jmp 0x140079c77
call fcn.14002aeda
nop
add rsp, 0x38
ret
Function at 0x140083370
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1400ff2e0]
mov ecx, 0x10
mov edx, 8
call fcn.140002330
test rax, rax
je 0x140083447
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400834e0]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x140083439
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x140083416
mov rdx, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.1400023c0
mov edx, 8
mov rcx, qword [rbp - 0x18]
call fcn.1400023c0
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400969e0
ud2

Function at 0x140083610
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov qword [rbp - 8], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x20]
mov edx, 0x10
call qword [sym.imp.advapi32.dll_SystemFunction036]
test al, al
je 0x140083653
mov rax, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rsp, 0x80
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
lea rax, [fcn.140080dc0]
mov qword [rbp - 0x28], rax
lea rax, str.fallback_RNG_broken:
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x40], 0
lea rax, [rbp - 0x30]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], 1
lea rdx, str.library_std_src_syswindows_rand.rs
lea rcx, [rbp - 0x60]
call fcn.140096c60
ud2

Function at 0x140086a30
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
and al, 0x20

Function at 0x14008c1cd
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x14008c1d4
test al, 1
je 0x14008c1f3
test al, 2
jne 0x14008c20b
xor rax, 3
add rsp, 0x28
ret
lea rcx, str.assertion_failed:_prev.is_running__
lea r8, [0x1400d15c8]
mov edx, 0x23
call fcn.140096e20
lea rcx, str.assertion_failed:__prev.is_complete__
lea r8, [0x1400d1608]
mov edx, 0x25
call fcn.140096e20
int3
Function at 0x14008cabd
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.14008bae3
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x14008caf9
xor eax, eax
jmp 0x14008cb07
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret
Function at 0x14008cd5d
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0xc0]
lea rbp, [rsp + 0x3a]
lea r13, [rsp + 0x52]
xor ecx, ecx
cmp qword [rdx + 0x18], 0xffffffffffffffff
lea r15, [rdx + 0x18]
cmove r15, rcx
mov r12d, 0x7fffffff
cmp rax, r12
cmovb r12, rax
lea rsi, [rsp + 0x30]
mov qword [rsp + 0x40], r15
mov rdx, qword [r14 + 0x10]
mov rcx, rsi
mov r8, rbx
call fcn.14008cab5
mov al, byte [rsp + 0x39]
cmp al, 3
je 0x14008cecf
mov rcx, qword [rsp + 0x30]
cmp al, 2
je 0x14008cedd
mov dl, byte [rsp + 0x38]
movzx r8d, word [rbp + 4]
mov word [r13 + 4], r8w
mov r8d, dword [rbp]
mov dword [r13], r8d
mov qword [rsp + 0x48], rcx
mov byte [rsp + 0x50], dl
mov byte [rsp + 0x51], al
mov rcx, r15
lea rdx, str.C:Users_fhnir.cargo_registry_srcindex.crates.io_6f17d22bba15001f_tokio_1.35.1_srciopoll_evented.rs
call fcn.14001f138
mov rcx, qword [r15]
mov rdx, rdi
mov r8d, r12d
xor r9d, r9d
call qword [sym.imp.ws2_32.dll_send]
cmp eax, 0xffffffff
jne 0x14008ceef
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov rcx, rsi
call fcn.14000edb6
cmp al, 0xd
jne 0x14008ce9f
mov rax, qword [r15 + 8]
test rax, rax
je 0x14008ce9f
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
lock inc qword [rdx]
jle 0x14008cf21
mov r15, r14
mov r14, rbx
add rcx, 0x10
mov r8, qword [rax + 0x10]
mov r9b, byte [rax + 0x18]
call fcn.14002b771
mov rbx, rax
xor ecx, ecx
call fcn.140029d76
test rbx, rbx
je 0x14008ce94
mov ecx, 1
mov rdx, rsi
call fcn.14002b896
mov rsi, rbx
mov rbx, r14
mov r14, r15
mov r15, qword [rsp + 0x40]
mov rcx, rsi
call fcn.140087a56
cmp al, 0xd
jne 0x14008cf00
mov qword [rsp + 0x30], rsi
mov rcx, r14
lea rdx, [rsp + 0x48]
call fcn.14008c852
lea rsi, [rsp + 0x30]
mov rcx, rsi
call fcn.140087ccf
jmp 0x14008cdb3
mov rax, qword [rsp + 0x28]
mov qword [rax], 2
jmp 0x14008cf10
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rcx
jmp 0x14008cf10
cdqe
mov rcx, qword [rsp + 0x28]
and qword [rcx], 0
mov qword [rcx + 8], rax
jmp 0x14008cf10
mov rax, qword [rsp + 0x28]
mov qword [rax], 1
mov qword [rax + 8], rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
ud2
Function at 0x1400965d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14009661a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14009661a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14009661a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14009661a
cmp dword [rcx + 0x84], 0xe
jbe 0x14009661a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14009661c
xor al, al
add rsp, 0x28
ret
Function at 0x140003074
Capabilities:
Parse pe header

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

Function at 0x1400097dc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400095cc
Function at 0x14000be8c
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 0x14000bf13
mov rsi, rbx
cmp word [rax], bp
je 0x14000bed2
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14000bebc
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14000beb8
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000a8cc
mov rdi, rax
test rax, rax
je 0x14000bf00
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400041c0
mov rbp, rdi
xor ecx, ecx
call fcn.14000abb4
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 0x14003b170
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x14003b17d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x14003b18d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x14003b175
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x14003b1a5
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x14003b192
sub eax, 3
jb 0x14003b1bf
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14003b1f6
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x14003b1e6
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14003b1e4
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14003b1d3
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.14003b132
jmp 0x14003b17d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x21e00
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14003b246
cmp rsi, rcx
jae 0x14003b24e
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x14003b22d
cmp al, 0x8f
ja 0x14003b22d
cmp byte [rsi - 2], 0xf
je 0x14003b233
sub al, 0xe8
cmp al, 1
ja 0x14003b217
cmp rsi, rcx
jae 0x14003b24e
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x14003b21d
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x14003b24e
lodsb al, byte [rsi]
jmp 0x14003b22d
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x39000]
mov eax, dword [rdi]
or eax, eax
je 0x14003b2ab
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3b000]
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 0x14003b25b
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 0x14003b2a5
mov qword [rbx], rax
add rbx, 8
jmp 0x14003b27b
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 0x14003b2e5
cmp al, 0xef
ja 0x14003b2d7
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x14003b2b7
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x14003b2c6
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 + 0x22f]
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 0x14003b339
sub rsp, 0xffffffffffffff80
jmp 0x14000451c
Function at 0x10000212c
Capabilities:
Accept command line arguments

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x10000c110]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rax, [0x10000c794]
mov rbx, rcx
mov dword [rsp + 0x20], 0x67727473
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea edx, [r9 + 1]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov rcx, rbx
call fcn.1000021a0
lea rcx, [rsp + 0x20]
call fcn.100008b3c
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.100009a00
add rsp, 0x40
pop rbx
ret
Function at 0x10000300c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x48
and dword [rsp + 0x30], 0
lea rax, [r11 + 0x20]
lea r9, [r11 - 0x18]
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x28], r8
xor r8d, r8d
mov dword [rsp + 0x68], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x48
ret

Function at 0x100003058
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r11d, eax
movzx eax, ax
or eax, 0x80070000
test r11d, r11d
cmovle eax, r11d
add rsp, 0x38
ret
Function at 0x100005700
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x10000c110]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor edi, edi
mov rsi, rcx
lea rax, [0x10000c794]
and dword [rsp + 0x20], edi
mov rbp, rdx
lea r8, [rsp + 0x20]
lea ecx, [rdi + 5]
xor edx, edx
mov dword [rsp + 0x28], 0x67727473
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1000057a8
mov ecx, dword [rsp + 0x20]
lea eax, [rdi + 2]
mul rcx
lea rcx, [rdi - 1]
cmovo rax, rcx
mov rcx, rax
call fcn.100009a32
xor ebx, ebx
lea r8, [rsp + 0x20]
mov rdi, rax
mov eax, 0x8007000e
mov ecx, 5
test rdi, rdi
mov rdx, rdi
cmove ebx, eax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x1000057a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1000057d3
lea rcx, [rsp + 0x28]
mov r8d, 0x2906
mov rdx, rsi
call fcn.100008da8
mov ebx, eax
test eax, eax
js 0x1000057d3
mov rdx, qword [rsp + 0x30]
mov r8, rdi
mov rcx, rbp
call fcn.100008ebc
mov ebx, eax
test rdi, rdi
je 0x1000057e0
mov rcx, rdi
call fcn.100009a26
lea rcx, [rsp + 0x28]
call fcn.100008b3c
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.100009a00
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x100006bd0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
sub rsp, 0x30
lea rsi, [rcx + 0x20]
xor edx, edx
mov rbx, rcx
lea r9, [0x100001f08]
lea rcx, [0x100001f58]
lea r8d, [rdx + 0x15]
mov qword [rax - 0x28], rsi
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
js 0x100006d5c
mov ecx, 0x30
call fcn.100009a32
test rax, rax
je 0x100006c3b
mov r8, qword [rbx + 0xa8]
mov rdx, qword [rbx + 8]
mov rcx, rax
call fcn.1000071b8
jmp 0x100006c3d
xor eax, eax
mov qword [rbx + 0x98], rax
test rax, rax
jne 0x100006c61
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
mov r8d, 0x4e28
call fcn.10000752c
mov edi, 0x8007000e
test edi, edi
js 0x100006d6f
mov rcx, qword [rbx + 0x10]
cmp dword [rcx + 0x50], 0
je 0x100006c95
mov rcx, qword [rcx + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100006c95
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x100006d6f
mov rax, qword [rbx + 0x10]
lea r9, [rbx + 0xb0]
lea r8, [rbx + 0xb8]
mov rcx, qword [rax + 0x28]
xor edx, edx
call fcn.100006d90
mov edi, eax
test eax, eax
jns 0x100006ccb
mov r8d, 0x4e29
jmp 0x100006d62
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x100006cdd
lea rcx, [rax + 8]
jmp 0x100006cdf
xor ecx, ecx
mov rdx, qword [rsi]
lea r8, [rbx + 0x28]
call fcn.100009470
mov edi, eax
test eax, eax
js 0x100006d5c
mov rcx, qword [rbx + 0x10]
lea rdi, [rbx + 0x70]
cmp dword [rcx + 4], 0
jne 0x100006d05
and qword [rdi], 0
jmp 0x100006d12
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x38]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rcx, qword [rbx + 0x28]
mov r9d, dword [rbx + 0xb8]
mov r8, qword [rbx + 0x98]
mov qword [rbx + 0x78], rax
mov rax, qword [rbx + 0xb0]
mov dword [rbx + 0x88], 1
mov r10, qword [rcx]
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [r10 + 0x18]
mov edi, eax
test eax, eax
jns 0x100006d6f
mov r8d, 0x4e27
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 8]
call fcn.10000752c
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
add rsp, 0x30
pop r13
pop r12
pop rdi
ret