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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r9
mov r14, r8
mov rax, rcx
mov qword [rcx + 0x38], rdx
lea rsi, [rbp - 0x48]
mov rcx, rsi
mov qword [rbp - 8], rax
mov rdx, rax
call fcn.1400d8914
mov eax, dword [rbp - 0x48]
cmp eax, 2
jne 0x1400d86a0
mov rsi, qword [rbp - 0x40]
jmp 0x1400d8881
test eax, eax
mov r12, qword [rbp - 8]
je 0x1400d8835
mov rdx, qword [r12 + 0x98]
cmp rdx, qword [r12 + 0x90]
jne 0x1400d8871
mov rdi, qword [rbp - 0x40]
mov eax, edi
shr rdi, 0x20
cmp rbx, rdi
cmovb rdi, rbx
mov r15d, dword [rbp - 0x44]
lea rbx, [rdi + r15]
add rax, rbx
cmp rdx, rax
jae 0x1400d86ff
lea rcx, [r12 + 0x80]
mov rdx, rax
call fcn.1400d9a49
mov r12, qword [rbp - 8]
mov rdx, qword [r12 + 0x90]
mov rcx, qword [r12 + 0x88]
lea rax, [0x14029ab18]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, rbx
call fcn.1400d9a9a
lea rcx, [0x14029ab30]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r8, r14
mov r9, rdi
call fcn.1400ff070
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea r9, [0x14029ab48]
mov r8, r15
call fcn.1400d9ab1
mov r14, rax
mov r12, rdx
xor eax, eax
test r14, r14
cmove r12d, eax
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea rax, [0x14029ab60]
mov qword [rsp + 0x20], rax
mov r8, r15
mov r9, rbx
call fcn.1400d9a9a
mov r15, rax
mov r13, rdx
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x88]
mov rdx, qword [rax + 0x90]
lea r9, [0x14029ab78]
mov r8, rbx
call fcn.14000eed9
xor ecx, ecx
test r15, r15
cmove r13d, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x44], 7
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], r13d
mov dword [rbp - 0x34], 1
mov qword [rbp - 0x30], r15
mov dword [rbp - 0x28], edx
mov dword [rbp - 0x24], 6
mov qword [rbp - 0x20], rax
movabs rax, 0x400000000
lea r8, [rbp - 0x58]
mov qword [r8], rax
mov qword [r8 + 8], rsi
mov rax, qword [rbp - 8]
lea rcx, [rax + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.secur32.dll_EncryptMessage]
mov esi, eax
test eax, eax
je 0x1400d8841
shl rsi, 0x20
or rsi, 2
jmp 0x1400d8881
movabs rsi, 0x8009031700000002
jmp 0x1400d8885
mov eax, dword [rbp - 0x38]
add eax, dword [rbp - 0x48]
add eax, dword [rbp - 0x28]
mov r12, qword [rbp - 8]
cmp qword [r12 + 0x90], rax
jb 0x1400d8860
mov qword [r12 + 0x90], rax
and qword [r12 + 0x98], 0
mov qword [r12 + 0x118], rdi
mov rcx, r12
call fcn.1400d998b
test rax, rax
je 0x1400d88ca
mov rsi, rdx
mov r12, qword [rbp - 8]
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x40], rsi
mov rcx, rsi
call fcn.140068006
and qword [r12 + 0x38], 0
cmp al, 0xd
jne 0x1400d88b0
lea rcx, [rbp - 0x40]
call fcn.14007b22f
push 2
jmp 0x1400d88b2
push 1
pop rax
mov rdx, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rax, qword [rbp - 8]
mov rsi, qword [rax + 0x118]
and qword [rax + 0x38], 0
xor eax, eax
jmp 0x1400d88b3
cmp dword [rcx], 2
jne 0x1400d864c
add rcx, 8
jmp fcn.14012c455
Function at 0x1400dbf74
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x178]
mov rcx, qword [rdx + 0x168]
mov rdx, qword [rdx + 0x170]
lea r9, [0x14029aae8]
call fcn.1400d9ab1
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1f0]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x1400dc0e4
test eax, eax
je 0x1400dc05c
cmp eax, 0x90317
je 0x1400dc0de
cmp eax, 0x90321
jne 0x1400dc102
mov dword [rdi + 0x1d0], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1d4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.1400dbf15
and qword [rdi + 0x210], 0
mov byte [rsi + 1], bl
jmp 0x1400dc110
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x168]
mov rdx, qword [rdi + 0x170]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x140]
and qword [rdi + 0x150], 0
call fcn.1400d9e54
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.14008e323
and qword [rdi + 0x158], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x178]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.1400dbf15
xor eax, eax
cmp qword [rdi + 0x178], rbx
sete al
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
jmp 0x1400dc110
mov byte [rsi + 1], 1
jmp 0x1400dc0fe
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x210], rax
mov byte [rsi + 1], 0
xor ebx, ebx
jmp 0x1400dc110
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400f087b
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rax, r8
mov rbx, rdx
mov rsi, rcx
lea rcx, [rbp - 0x38]
push 0xb
pop r8
mov rdx, rax
call fcn.1400f063c
mov dword [rbp - 4], 0x800
and dword [rbp - 8], 0
lea rcx, [rbp - 0x20]
mov edx, 0x800
call fcn.1400d1b20
mov rdi, qword [rbp - 0x30]
lea r13, [rbp - 4]
lea r15, [rbp - 8]
lea r12, [rbp - 0x20]
mov r14, qword [rbp - 0x18]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r14
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
mov r9, r15
call sub.advapi32.dll_RegQueryValueExW
cmp eax, 0xea
jne 0x1400f090d
mov edx, dword [rbp - 4]
mov rcx, r12
call fcn.14008e367
jmp 0x1400f08da
test eax, eax
jne 0x1400f092c
mov eax, dword [rbp - 4]
mov qword [rbp - 0x10], rax
mov eax, dword [rbp - 8]
cmp eax, 0xb
jbe 0x1400f0953
movabs rax, 0xde00000002
jmp 0x1400f0934
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rcx, qword [rbp - 0x20]
mov rdx, r14
call fcn.14008660c
jmp 0x1400f0965
mov rcx, qword [rbp - 0x10]
mov qword [rsi + 0x10], rcx
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
mov byte [rsi + 0x18], al
mov rcx, qword [rbp - 0x38]
mov rdx, rdi
call fcn.140007e3c
nop
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1400fa2b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400fa2d5
cmp rax, rcx
je 0x1400fa2db
cmp rdx, 4
jae 0x1400fa2e2
xor eax, eax
xor r8d, r8d
jmp 0x1400fa380
pop rbp
jmp fcn.140055f00
xor eax, eax
jmp 0x1400fa397
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14025dbc0]
movdqa xmm3, xmmword [0x14025dbd0]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x1400fa310
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x1400fa397
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x1400fa380
pop rbp
ret
Function at 0x1400fe648
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0xf0
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x68], 0xfffffffffffffffe
xorps xmm0, xmm0
movaps xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x30], 4
mov dword [rbp + 0x18], 0x400010
movabs rax, 0x8000000000000000
cmp qword [rcx + 0x18], rax
je 0x1400fe6a8
mov edx, dword [rcx + 0x28]
mov dword [rbp - 8], edx
mov rdx, qword [rcx + 0x20]
mov qword [rbp], rdx
cmp qword [rcx + 0x30], rax
je 0x1400fe6df
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400fe6da
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1402cf1e4]
xor r10d, r10d
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400fe6c7
jmp 0x1400fe6dc
xor edx, edx
mov dword [rbp + 8], edx
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1400fe733
lea rsi, [r14*8]
mov rax, r14
shr rax, 0x3c
jne 0x1400fe7f2
mov rbx, qword [rcx + 8]
push 8
pop rdi
mov rcx, rdi
mov rdx, rsi
call fcn.140096829
test rax, rax
je 0x1400fe7f4
xor edx, edx
mov rcx, qword [rbx + rdx*8]
mov qword [rax + rdx*8], rcx
inc rdx
cmp r14, rdx
jne 0x1400fe71a
mov qword [rbp + 0x60], r14
mov edx, r14d
jmp 0x1400fe73e
xor eax, eax
mov qword [rbp + 0x60], rax
push 8
pop rax
xor edx, edx
lea rcx, [rbp - 0x30]
mov dword [rcx + 4], edx
mov qword [rbp + 0x58], rax
mov qword [rcx + 8], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
and qword [rsp + 0x40], 0
mov qword [rsp + 0x20], rcx
lea rdx, [0x1402a028b]
push 2
pop r8
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
mov esi, eax
test eax, eax
je 0x1400fe79a
shl rsi, 0x20
or rsi, 2
push 1
add dword [rdi + 0x48], ebx
mov ecx, dword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
jmp 0x1400fe7d9
movaps xmm0, xmmword [rbp + 0x40]
push 1
pop rax
mov qword [rbp + 0x20], rax
and byte [r8 - 0x77], r9b
sub byte [r15], r9b
adc dword [rbp + 0x30], eax
push 8
pop rcx
push 0x20
pop rdx
call fcn.140096829
test rax, rax
mov rcx, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x58]
je 0x1400fe7ff
mov rsi, rax
movups xmm0, xmmword [rbp + 0x20]
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor edi, edi
call fcn.1400fdf96
mov rax, rdi
mov rdx, rsi
add rsp, 0xf0
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
xor edi, edi
mov rcx, rdi
mov rdx, rsi
call fcn.1402567b0
push 8
pop rcx
push 0x20
pop rdx
call fcn.1402567d0
ud2

Function at 0x1400feff0
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]
adc eax, 0x15e830
mov edx, eax
xor eax, eax
test edx, edx
setne cl
jne 0x1400ff01a
mov rdx, qword [rsp + 0x20]
jmp 0x1400ff022
shl rdx, 0x20
or rdx, 2
mov al, cl
add rsp, 0x28
ret
Function at 0x140104014
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 0x140104041
xor eax, eax
jmp 0x140104046
call fcn.14008b578
nop
add rsp, 0x38
ret

Function at 0x140104d50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x1402a3ad8]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x140104dc1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x140104dee
test eax, eax
js 0x140104dcd
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x140104de4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, [0x1402a3b38]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.1401045b0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140104670
mov ecx, 7
int 0x29
ud2

Function at 0x1401090e0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x420], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x60]
call fcn.140109510
mov rax, qword [rbp - 0x60]
movabs rdi, 0x8000000000000000
or byte [rax + 0x39], 0xf8

Function at 0x14010a1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
Function at 0x14010f840
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x140339230]
cmp rax, 3
jne 0x14010fa32
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x14010fa42
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x14010f8d8
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14010f994
inc rdx
cmp rax, rdx
jne 0x14010f8c0
jmp 0x14010f9fd
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x14010f90e
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x14010f994
inc rdx
cmp rcx, rdx
jne 0x14010f8f0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x14010f912
jmp 0x14010f95e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x14025dbf0]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x14010f95e
add rcx, 0x10
cmp rcx, rdx
jbe 0x14010f930
sub rax, rcx
je 0x14010f9fd
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x14010f991
inc rdx
cmp rax, rdx
jne 0x14010f980
jmp 0x14010f9fd
add rdx, rcx
cmp rdx, rdi
jne 0x14010f9fd
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x14010fa11
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x14010fa29
lea rax, str._0_
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14010fa54
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x14010fa54
mov rbx, rdx
call fcn.14025ae30
mov rdx, rbx
jmp 0x14010f87c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.14025ae90
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401103d0
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 [0x1403392d8]
mov edx, 0x10
xor ecx, ecx
call fcn.140110e60
test rax, rax
je 0x1401104b0
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x140110550]
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 0x1401104a2
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
je 0x140110467
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x14011047f
mov rdx, qword [rax + 0x10]
call fcn.140050eb0
mov edx, 8
mov rcx, qword [rbp - 0x20]
call fcn.140050eb0
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 - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1402567d0
ud2
Function at 0x140115e90
Capabilities:
Copy file

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbp, [rsp + 0x80]
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, r9
mov rdi, r8
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x38]
call fcn.140109510
mov rax, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x140115f03
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call case.0x1400dcfb7.972
mov rax, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x48]
cmp rax, rbx
jne 0x140115f16
mov eax, 1
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 8], rax
mov qword [rbp], rdx
lea rcx, [rbp - 0x38]
mov rdx, rdi
mov r8, rsi
call fcn.140109510
mov rax, qword [rbp - 0x38]
mov rsi, qword [rbp - 0x30]
cmp rax, rbx
je 0x140115f64
mov rcx, qword [rbp - 0x28]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rcx
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x20]
call case.0x1400dcfb7.972
mov rdi, qword [rbp - 0x50]
mov rsi, qword [rbp - 0x48]
cmp rdi, rbx
jne 0x140115f93
mov rcx, qword [rbp]
mov r14, qword [rbp - 8]
mov rdx, rsi
mov eax, 1
test r14, r14
je 0x140115f08
mov rsi, rdx
mov edx, 2
call fcn.140050eb0
mov eax, 1
mov rdx, rsi
jmp 0x140115f08
mov qword [rbp - 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r8, [0x140116080]
lea r9, [rbp - 0x20]
mov rcx, qword [rbp]
mov rbx, rcx
mov rdx, rsi
call qword [sym.imp.kernel32.dll_CopyFileExW]
test eax, eax
mov r14, qword [rbp - 8]
je 0x14011600a
mov rdx, qword [rbp - 0x20]
test rdi, rdi
je 0x140115feb
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.140050eb0
mov rdx, rdi
test r14, r14
je 0x140116003
mov rsi, rdx
mov edx, 2
mov rcx, rbx
call fcn.140050eb0
mov rdx, rsi
xor eax, eax
jmp 0x140115f08
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
test rdi, rdi
je 0x140116032
mov rdi, rdx
mov edx, 2
mov rcx, rsi
call fcn.140050eb0
mov rdx, rdi
mov rcx, rbx
jmp 0x140115f6f
Function at 0x14011733a
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rsi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x1401173df
mov rdi, rax
lea rbx, [rbp - 0x20]
and qword [rbx], 0
mov qword [rbx + 8], 8
and qword [rbx + 0x10], 0
movsxd rax, dword [rbp - 4]
lea r12, [rdi + rax*8]
lea r14, [rbp - 0x38]
mov r13, rdi
cmp r13, r12
je 0x1401173c5
mov r15, qword [r13]
mov rcx, r15
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140116cae
mov rcx, rbx
mov rdx, r14
call fcn.1401176a1
add r13, 8
jmp 0x140117395
mov rcx, rdi
call qword [sym.imp.kernel32.dll_LocalFree]
mov rax, qword [rbp - 0x10]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rsi], xmm0
jmp 0x1401173f0
and qword [rsi], 0
mov qword [rsi + 8], 8
and qword [rsi + 0x10], 0
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14011ef03
Capabilities:
Get memory capacity

Disassembly:
push rsi
push rdi
sub rsp, 0xe8
movaps xmmword [rsp + 0xd0], xmm6
mov rsi, rcx
xorps xmm6, xmm6
lea rdi, [rsp + 0x90]
movaps xmmword [rdi], xmm6
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
mov dword [rdi], 0x40
mov rcx, rdi
call sub.kernel32.dll_GlobalMemoryStatusEx
mov rax, qword [rdi + 8]
mov qword [rsi + 0x138], rax
mov rax, qword [rdi + 0x10]
mov qword [rsi + 0x140], rax
lea rcx, [rsp + 0x20]
movaps xmmword [rcx + 0x50], xmm6
movaps xmmword [rcx + 0x40], xmm6
movaps xmmword [rcx + 0x30], xmm6
movaps xmmword [rcx + 0x20], xmm6
movaps xmmword [rcx + 0x10], xmm6
movaps xmmword [rcx], xmm6
and qword [rcx + 0x60], 0
mov edx, 0x68
call sub.psapi.dll_GetPerformanceInfo
cmp eax, 1
jne 0x14011efd6
mov rdx, qword [rsp + 0x30]
mov r9, qword [rsp + 0x40]
xor r10d, r10d
sub rdx, r9
cmovb rdx, r10
mov rcx, qword [rsp + 0x70]
mov rax, rcx
mul rdx
mov r8, rax
mov r11, 0xffffffffffffffff
cmovo r8, r11
mov rdx, qword [rsp + 0x28]
sub rdx, r9
cmovb rdx, r10
mov rax, rcx
mul rdx
cmovo rax, r11
mov qword [rsi + 0x148], r8
mov qword [rsi + 0x150], rax
movaps xmm6, xmmword [rsp + 0xd0]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x140120247
Capabilities:
Get disk size

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
imul rbx, rdx, 0x90
xor r14d, r14d
lea rdi, [rsp + 0x28]
mov r15, rcx
cmp rbx, r14
je 0x1401202ac
cmp qword [r15 + 0x78], 0
je 0x14012029c
and qword [rsp + 0x28], 0
mov rcx, qword [rsi + r14 + 0x50]
xor edx, edx
xor r8d, r8d
mov r9, rdi
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x14012029c
mov rax, qword [rsp + 0x28]
mov qword [rsi + r14 + 0x80], rax
add r15, 0x90
add r14, 0x90
jmp 0x140120267
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret