joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3bea5e840
Capabilities:
Encode data using xor

Disassembly:
mov r11, rdx
mov rax, rcx
mov r10, rdx
and r11, 0xfffffffffffffff8
add r11, rcx
movabs rcx, 0xc6a4a7935bd1e995
imul r10, rcx
xor r10, r8
cmp rax, r11
je 0x3bea5e898
nop word cs:[rax + rax]
mov r9, qword [rax]
add rax, 8
imul r9, rcx
mov r8, r9
shr r8, 0x2f
xor r8, r9
imul r8, rcx
xor r8, r10
mov r10, r8
imul r10, rcx
cmp r11, rax
jne 0x3bea5e870
and edx, 7
je 0x3bea5e8cd
sub edx, 1
movsxd rax, edx
xor edx, edx
nop dword [rax]
movzx ecx, byte [r11 + rax]
shl rdx, 8
sub rax, 1
add rdx, rcx
test eax, eax
jns 0x3bea5e8a8
xor rdx, r10
movabs r10, 0xc6a4a7935bd1e995
imul r10, rdx
movabs rax, 0xc6a4a7935bd1e995
mov rdx, r10
shr rdx, 0x2f
xor rdx, r10
imul rdx, rax
mov rax, rdx
shr rax, 0x2f
xor rax, rdx
ret

Function at 0x3bea5f5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, r8
test rdx, rdx
je 0x3bea5f5cc
movabs r9, 0x100000001b3
add rdx, rcx
nop dword [rax]
movsx r8, byte [rcx]
add rcx, 1
xor rax, r8
imul rax, r9
cmp rcx, rdx
jne 0x3bea5f5b8
ret
Function at 0x1400558d0
Capabilities:
Access peb ldr_data
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14005537c
test al, al
je 0x140055837
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.140055210
mov bl, al
mov ecx, dword [0x1400c7e90]
cmp ecx, 1
je 0x140055842
test ecx, ecx
jne 0x14005576d
mov dword [0x1400c7e90], 1
lea rdx, [0x1400b23e0]
lea rcx, [0x1400b23a8]
call fcn.140069c8c
test eax, eax
je 0x14005574e
mov eax, 0xff
jmp 0x140055827
lea rdx, [0x1400b23a0]
lea rcx, [0x1400b2378]
call fcn.140069c48
mov dword [0x1400c7e90], 2
jmp 0x140055775
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400554dc
call fcn.1400565c8
mov rbx, rax
cmp qword [rax], 0
je 0x1400557a8
mov rcx, rax
call fcn.140055444
test al, al
je 0x1400557a8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x1400b2350]
call fcn.1400565d0
mov rbx, rax
cmp qword [rax], 0
je 0x1400557ca
mov rcx, rax
call fcn.140055444
test al, al
je 0x1400557ca
mov rcx, qword [rbx]
call fcn.14006793c
call fcn.140068fd0
mov rdi, rax
call fcn.140069f80
mov rbx, qword [rax]
call fcn.140069f78
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
call main
mov ebx, eax
call fcn.140056374
test al, al
je 0x14005584c
test sil, sil
jne 0x140055801
call fcn.140067918
xor edx, edx
mov cl, 1
call fcn.140055500
mov eax, ebx
jmp 0x140055827
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.1400561e4
nop
mov ecx, 7
call fcn.1400561e4
mov ecx, ebx
call fcn.14006797c
nop
mov ecx, ebx
call fcn.140067928
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
call fcn.140068fd0
mov rdi, rax
call fcn.140069f80
mov rbx, qword [rax]
call fcn.140069f78
mov r8, rdi
mov rdx, rbx
mov ecx, dword [rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp main
sub rsp, 0x28
call fcn.1400564a4
add rsp, 0x28
jmp 0x1400556e0

Function at 0x140056374
Capabilities:
Parse pe header

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

Function at 0x14006797c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140067704
Function at 0x1400965b0
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400965e0
xor eax, eax
jmp 0x1400966a3
mov rbp, rbx
cmp word [rax], si
je 0x140096605
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400965ec
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400965e8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140096430
movsxd r14, eax
test eax, eax
jne 0x140096643
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x1400965d9
mov rcx, r14
call fcn.140092a8c
mov rdi, rax
test rax, rax
jne 0x14009665c
xor ecx, ecx
call fcn.140093040
jmp 0x140096638
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140096430
test eax, eax
jne 0x14009668d
mov rcx, rdi
call fcn.140093040
jmp 0x140096697
xor ecx, ecx
call fcn.140093040
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400a2948
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140094304
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400a29d2
cmp byte [rbp - 0x21], r15b
je 0x1400a29cd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400a2a08
call fcn.14009800c
test eax, eax
jne 0x1400a29f4
cmp byte [rbp - 0x21], r15b
je 0x1400a29ec
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400a2a08
cmp byte [rbp - 0x21], r15b
je 0x1400a2a05
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400930a4
test eax, eax
jne 0x1400a2aa8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140094304
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400a2a47
cmp byte [rbp - 0x21], r15b
je 0x1400a2a7c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400a2a7c
call fcn.14009800c
test eax, eax
jne 0x1400a2a68
cmp byte [rbp - 0x21], r15b
je 0x1400a2a61
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400a2a7c
cmp byte [rbp - 0x21], r15b
je 0x1400a2a79
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400930a4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400a2aa8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400a2aab
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400a2ab9
mov rcx, rdi
call fcn.140093040
cmp byte [rbp + 0x3f], r15b
je 0x1400a2ac8
mov rcx, qword [rbp + 0x27]
call fcn.140093040
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400af690
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400af6b8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400af6b8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002120
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov qword [rsp + 0x20], 0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14000215b
mov r8d, 0x104
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowTextW]
add rsp, 0x38
ret

Function at 0x140002440
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x260], 0
mov dword [rsp + 0x20], 0
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x260], rax
cmp qword [rsp + 0x260], 0xffffffffffffffff
jne 0x140002498
xor eax, eax
jmp 0x14000251a
mov dword [rsp + 0x20], 0x238
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
call sub.KERNEL32.dll_Process32FirstW
mov dword [rsp + 0x268], eax
jmp 0x1400024d4
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x260]
call sub.KERNEL32.dll_Process32NextW
mov dword [rsp + 0x268], eax
cmp dword [rsp + 0x268], 0
je 0x14000250a
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x4c]
call fcn.140056c80
test eax, eax
jne 0x140002508
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x14000251a
jmp 0x1400024bb
mov rcx, qword [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x270
pop rdi
ret
Function at 0x140008320
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
je 0x14000835d
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x140008369
mov al, 1
jmp 0x1400085d5
mov dword [rsp + 0x30], 8
call fcn.140007b10
mov rcx, qword [rsp + 0xe0]
mov rcx, qword [rcx]
mov qword [rsp + 0xa8], rcx
mov edx, eax
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rsp + 0xa8]
call qword [rax + 0x18]
mov dword [rsp + 0x70], eax
call fcn.140007b10
mov dword [rsp + 0x74], eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x74]
call fcn.140007ad0
movzx eax, al
test eax, eax
je 0x1400083c8
xor al, al
jmp 0x1400085d5
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.1400085e0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x40]
call fcn.140008650
mov rcx, rax
call fcn.140008690
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x40]
call fcn.140004890
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x40]
call fcn.140008650
mov rcx, rax
call fcn.140008690
mov rcx, qword [rsp + 0xe0]
add rcx, 0x8c
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0xb8]
mov r9, rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rax + 0x80]
call fcn.140008b10
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x1400084a0
cmp dword [rsp + 0xc0], 1
je 0x1400084af
cmp dword [rsp + 0xc0], 3
je 0x14000858d
jmp 0x1400085a9
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x89], 0
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.140008650
mov rcx, rax
call fcn.140008690
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jbe 0x140008542
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.140008650
mov rcx, rax
call fcn.140008690
mov rcx, qword [rsp + 0xe0]
mov r9, qword [rcx + 0x98]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, rax
call fcn.14005780c
cmp qword [rsp + 0x68], rax
je 0x140008542
mov byte [rsp + 0x98], 0
lea rcx, [rsp + 0x40]
call fcn.140004070
movzx eax, byte [rsp + 0x98]
jmp 0x1400085d5
mov rax, qword [rsp + 0xe0]
movzx eax, byte [rax + 0x89]
test eax, eax
jne 0x140008571
mov byte [rsp + 0x99], 1
lea rcx, [rsp + 0x40]
call fcn.140004070
movzx eax, byte [rsp + 0x99]
jmp 0x1400085d5
cmp qword [rsp + 0x68], 0
jne 0x14000858b
xor r8d, r8d
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.140006c40
jmp 0x1400085c5
mov byte [rsp + 0x9a], 1
lea rcx, [rsp + 0x40]
call fcn.140004070
movzx eax, byte [rsp + 0x9a]
jmp 0x1400085d5
mov byte [rsp + 0x9b], 0
lea rcx, [rsp + 0x40]
call fcn.140004070
movzx eax, byte [rsp + 0x9b]
jmp 0x1400085d5
jmp 0x1400083db
add rsp, 0xd8
ret
Function at 0x140009fe0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x148]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rax, qword [rsp + 0x60]
add rax, 0x138
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
add rax, 0x160
mov rdx, qword [rsp + 0x78]
mov rcx, rax
call fcn.14000ab30
mov rax, qword [rsp + 0x60]
add rax, 0x160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
shl rax, 1
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x360], eax
mov rax, qword [rsp + 0x60]
movsxd rax, dword [rax + 0x360]
mov rcx, qword [rsp + 0x60]
add rcx, 0x160
mov rdx, qword [rsp + 0x60]
add rdx, 0x160
mov qword [rsp + 0x38], rdx
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x38]
mov rcx, rax
call fcn.140055a90
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x360]
add eax, 8
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x364], eax
mov rax, qword [rsp + 0x60]
add rax, 0x370
mov rcx, rax
call fcn.140006ef0
add rax, 8
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax]
mov word [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
movzx r8d, word [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
call qword [rax]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x14000a16c
mov rax, qword [rsp + 0x60]
add rax, 0x140
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x138]
mov rax, qword [rax + 0x140]
sub rax, rcx
pxor xmm0, xmm0
cvtsi2sd xmm0, rax
mov rax, qword [rsp + 0x60]
pxor xmm1, xmm1
cvtsi2sd xmm1, qword [rax + 0x130]
divsd xmm1, qword [0x14008b9f8]
divsd xmm0, xmm1
mov rax, qword [rsp + 0x60]
movsd qword [rax + 0x128], xmm0
mov al, 1
jmp 0x14000a16e
xor al, al
add rsp, 0x58
ret
Function at 0x14000be40
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x2a0
mov ecx, 0x7532
call fcn.14005620c
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov r8d, 0x7532
xor edx, edx
mov rcx, qword [rsp + 0x38]
call fcn.140056120
mov rax, qword [rsp + 0x38]
mov byte [rax], 2
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x24], 0
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x28]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x14000beda
mov rax, qword [rsp + 0x38]
add rax, 2
lea r8, [0x14008bb68]
mov edx, 0x36b0
mov rcx, rax
call fcn.140056b18
jmp 0x14000bf93
mov qword [rsp + 0x40], 0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x14000bf13
mov rax, qword [rsp + 0x38]
add rax, 2
mov r8d, 0x104
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rax, qword [rsp + 0x38]
add rax, 2
lea rdx, [0x14008bb14]
mov rcx, rax
call fcn.140056c80
test eax, eax
jne 0x14000bf4c
mov rax, qword [rsp + 0x38]
add rax, 2
lea r8, [0x14008bb78]
mov edx, 0x3a98
mov rcx, rax
call fcn.140056b18
mov rax, qword [rsp + 0x38]
add rax, 2
mov rcx, qword [rsp + 0x38]
add rcx, 2
mov r9, rax
lea r8, [0x14008bb84]
mov edx, 0x3a98
call fcn.140056b18
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x54]
mov rdi, rax
xor eax, eax
mov ecx, 0x234
rep stosb byte [rdi], al
mov dword [rsp + 0x50], 0x238
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
add rax, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x2b0]
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x2b0]
mov rcx, qword [rcx + 8]
mov rax, qword [rax]
mov r8d, 0x7532
mov rdx, qword [rsp + 0x38]
call qword [rax + reloc.WS2_32.dll_recv]
cmp qword [rsp + 0x38], 0
je 0x14000c008
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x298], rax
mov rcx, qword [rsp + 0x298]
call fcn.140055a70
mov qword [rsp + 0x38], 0
add rsp, 0x2a0
pop rdi
ret
Function at 0x14000c020
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x620
mov r8d, 0x2d8
mov rdx, qword [rsp + 0x638]
lea rcx, [rsp + 0x50]
call fcn.140055a90
xor eax, eax
mov word [rsp + 0x340], ax
lea rax, [rsp + 0x342]
mov rdi, rax
xor eax, eax
mov ecx, 0x2ce
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, 1
mov edx, 0x40000000
lea rcx, [rsp + 0x260]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x330], rax
cmp qword [rsp + 0x330], 0xffffffffffffffff
jne 0x14000c0bc
xor eax, eax
jmp 0x14000c1b7
mov eax, dword [rsp + 0x640]
sub rax, 0x2d8
mov rcx, qword [rsp + 0x638]
add rcx, 0x2d8
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14000c105
xor eax, eax
jmp 0x14000c1b7
mov rcx, qword [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14000c146
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x260]
lea rdx, str._s__s
lea rcx, [rsp + 0x340]
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14000c15c
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x340]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x610], eax
cmp dword [rsp + 0x610], 0
je 0x14000c17d
cmp dword [rsp + 0x610], 1
je 0x14000c19a
jmp 0x14000c1b2
mov r8d, 5
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x630]
call fcn.14000c1c0
jmp 0x14000c1b2
xor r8d, r8d
lea rdx, [rsp + 0x340]
mov rcx, qword [rsp + 0x630]
call fcn.14000c1c0
mov eax, 1
add rsp, 0x620
pop rdi
ret
Function at 0x14000ce10
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x230], 0
je 0x14000ce3f
lea rax, [0x14008bd40]
mov qword [rsp + 0x38], rax
jmp 0x14000ce4b
lea rax, [0x14008bd50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
mov rdx, qword [rsp + 0x38]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x230], 0
je 0x14000cea7
lea rax, str.back
mov qword [rsp + 0x40], rax
jmp 0x14000ceb3
lea rax, str.main
mov qword [rsp + 0x40], rax
lea r8, [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14000cf16
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x14000cf16
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000cf21
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x58
ret
Function at 0x14000d100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov qword [rsp + 0x880], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x888], 0
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 1
mov byte [rsp + 0x70], 1
lea rcx, str.wininet.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x58], rax
lea rdx, str.InternetOpenW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.MSIE_6.0
call qword [rsp + 0x68]
mov qword [rsp + 0x880], rax
cmp qword [rsp + 0x880], 0
jne 0x14000d1b7
cmp qword [rsp + 0x58], 0
je 0x14000d1b0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000d36a
lea rdx, str.InternetOpenUrlW
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x880]
call qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14000d220
cmp qword [rsp + 0x58], 0
je 0x14000d219
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
jmp 0x14000d36a
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x8b8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x14000d31b
mov r8d, 0x800
xor edx, edx
lea rcx, [rsp + 0x80]
call fcn.140056120
lea rdx, str.InternetReadFile
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x890], rax
lea r9, [rsp + 0x888]
mov r8d, 0x800
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x890]
cmp dword [rsp + 0x44], 0
je 0x14000d2d1
movzx eax, word [rsp + 0x80]
cmp eax, 0x5a4d
je 0x14000d2d1
mov byte [rsp + 0x70], 0
jmp 0x14000d310
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x888]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [rsp + 0x888], 0
ja 0x14000d263
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, str.InternetCloseHandle
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0x48]
mov rcx, qword [rsp + 0x880]
call qword [rsp + 0x48]
cmp qword [rsp + 0x58], 0
je 0x14000d365
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx eax, byte [rsp + 0x70]
add rsp, 0x8a8
ret
Function at 0x14000d380
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000d3aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000d3aa
xor eax, eax
jmp 0x14000d3af
mov eax, 1
add rsp, 0x28
ret