joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140016350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbx
push rsi
push r14
sub rsp, 0x140
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov esi, r8d
mov r10, rdx
mov r14, rcx
lea eax, [rsi - 2]
cmp eax, 0x3e
ja 0x140016514
cmp byte [rsp + 0x180], 0
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r15
je 0x1400163ab
lea r15, str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz__
cmp esi, 0x24
jbe 0x1400163b2
lea r15, str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ__
mov r11d, 1
mov ebp, 0x100
cmp r9d, r11d
mov ecx, ebp
cmovae r11d, r9d
xor r13b, r13b
test r10, r10
jns 0x140016404
movzx eax, byte [rsp + 0x11f]
neg r10
cmp byte [rsp + 0x1a0], 0
mov ecx, 0x29
mov r13b, 1
cmovne eax, ecx
movzx ecx, byte [rsp + 0x1a0]
xor ecx, 1
mov byte [rsp + 0x11f], al
add ecx, 0xff
movzx edi, byte [rsp + 0x188]
xor ebx, ebx
mov r9d, ebx
test r10, r10
jne 0x14001641b
test r11d, r11d
je 0x14001646f
test dil, dil
je 0x140016442
test r9d, r9d
je 0x140016442
test ecx, ecx
je 0x14001646f
mov eax, 0xaaaaaaab
mul r9d
shr edx, 1
lea edx, [rdx + rdx*2]
cmp r9d, edx
jne 0x140016446
dec ecx
mov byte [rsp + rcx + 0x20], dil
test ecx, ecx
je 0x14001646f
xor edx, edx
mov rax, r10
div rsi
dec ecx
inc r9d
mov r10, rax
test r11d, r11d
movzx eax, byte [rdx + r15]
mov byte [rsp + rcx + 0x20], al
lea eax, [r11 - 1]
cmove eax, r11d
mov r11d, eax
jmp 0x140016411
mov r15, qword [rsp + 0x130]
test r13b, r13b
mov r13, qword [rsp + 0x138]
je 0x1400164a5
test ecx, ecx
je 0x1400164cd
dec ecx
mov byte [rsp + rcx + 0x20], 0x2d
cmp byte [rsp + 0x1a0], bl
je 0x1400164cd
test ecx, ecx
je 0x1400164cd
dec ecx
mov byte [rsp + rcx + 0x20], 0x28
jmp 0x1400164cd
cmp byte [rsp + 0x190], bl
je 0x1400164b9
test ecx, ecx
je 0x1400164b9
dec ecx
mov byte [rsp + rcx + 0x20], 0x2b
cmp byte [rsp + 0x198], bl
je 0x1400164cd
test ecx, ecx
je 0x1400164cd
dec ecx
mov byte [rsp + rcx + 0x20], 0x20
sub ebp, ecx
mov eax, ecx
lea rsi, [rsp + 0x20]
mov edi, ebp
mov rbp, qword [rsp + 0x168]
add rsi, rax
je 0x140016507
mov ecx, edi
call fcn.1400139b0
mov rbx, rax
test rax, rax
je 0x140016507
test rdi, rdi
je 0x140016507
mov rcx, qword [rax]
mov r8d, edi
mov rdx, rsi
call fcn.14003f330
mov rdi, qword [rsp + 0x170]
mov qword [r14], rbx
jmp 0x140016519
xor ebx, ebx
mov qword [rcx], rbx
mov rax, r14
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x140
pop r14
pop rsi
pop rbx
ret
Function at 0x14002eaf0
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [0x140098668], 0
je 0x14002eb60
mov edx, 0x40
lea rcx, [rsp + 0x20]
call fcn.14003f5e0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [0x14009ce20]
test eax, eax
mov byte [0x140098668], 0
cmovne rcx, qword [rsp + 0x28]
mov qword [0x14009ce20], rcx
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x78
ret
mov rax, qword [0x14009ce20]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x78
ret

Function at 0x1400386b0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rcx
mov qword [rbp - 0x29], rcx
xor esi, esi
mov qword [rbp + 0xf], rsi
lea rdx, str.Caption
lea rcx, [rbp - 0x19]
call fcn.14003a0f0
nop
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 0x29]
call fcn.14003a0f0
nop
lea r8, [rbp - 0x19]
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.140051900
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.14002c980
nop
lea rcx, [rbp - 9]
call fcn.14002abf0
nop
lea rcx, [rbp - 0x29]
call fcn.14003a200
nop
lea rcx, [rbp - 0x19]
call fcn.14003a200
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14003875f
cmp qword [rcx + 8], rsi
je 0x14003875f
mov qword [rdi], rcx
mov qword [rbp + 0xf], rsi
jmp 0x14003883f
call fcn.140051640
mov rbx, rax
mov qword [rbp + 7], rsi
mov rdx, rax
lea rcx, [rbp + 7]
call fcn.140037c50
cmp word [rbx + 8], 0
je 0x14003882a
lea rdx, [0x14007eda8]
lea rcx, [rbp - 9]
call fcn.14003a080
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x19]
call fcn.140039ff0
movzx edx, word [rbx + 8]
mov byte [rsp + 0x20], 0
xor r9d, r9d
lea r8d, [r9 + 0xa]
lea rcx, [rbp - 0x29]
call fcn.14001fc40
mov rbx, rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.140039f40
lea rdx, [rbp - 9]
lea rcx, [rbp + 0x27]
call fcn.140039f40
mov rdx, rbx
lea rcx, [rbp + 0x37]
call fcn.140039f00
mov r8d, 3
lea rdx, [rbp + 0x17]
mov rcx, rdi
call fcn.1400204f0
lea r9, [fcn.14003a200]
mov edx, 0x10
lea r8d, [rdx - 0xd]
lea rcx, [rbp + 0x17]
call fcn.14005a5ec
nop
lea rcx, [rbp - 0x29]
call fcn.14001bff0
lea rcx, [rbp - 0x19]
call fcn.14003a200
lea rcx, [rbp - 9]
call fcn.14003a200
jmp 0x140038835
mov rax, qword [rbp + 7]
mov qword [rdi], rax
mov qword [rbp + 7], rsi
lea rcx, [rbp + 7]
call fcn.14001bff0
nop
lea rcx, [rbp + 0xf]
call fcn.14001bff0
mov rax, rdi
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140038c10
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x440
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x400
call fcn.14005c570
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1f4
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14001e5e0
mov rax, rbx
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x440
pop rbx
ret

Function at 0x140039380
Capabilities:
Enumerate disk volumes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r12, rcx
mov qword [rsp + 0x28], rcx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov r13, rax
xor esi, esi
cmp rax, 0xffffffffffffffff
jne 0x1400393dd
mov qword [r12], rsi
jmp 0x14003947b
mov rbx, rsi
lea rbp, [0x14008d200]
nop word [rax + rax]
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x28]
call fcn.14001e5e0
mov rdi, rax
test rbx, rbx
je 0x1400394af
mov rbp, qword [rbx + 0x30]
lea r14, [rbp + 1]
lea r8, [rbx + 0x38]
mov r9, r14
mov edx, 8
lea rcx, [rbx + 0x28]
call fcn.14002efa0
test al, al
je 0x140039445
mov rcx, qword [rbx + 0x28]
mov rax, qword [rdi]
mov qword [rcx + rbp*8], rax
mov qword [rdi], rsi
mov qword [rbx + 0x30], r14
lea rbp, [0x14008d200]
lea rcx, [rsp + 0x28]
call fcn.14001bff0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
jne 0x1400393f0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindVolumeClose]
mov qword [r12], rbx
mov rax, r12
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov qword [rdi], rsi
mov ecx, 0x40
call fcn.14005a6bc
mov rdi, rax
test rax, rax
je 0x140039534
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
mov rcx, rax
call fcn.14002ec10
mov qword [rdi], rbp
mov qword [rdi + 0x28], rsi
mov qword [rdi + 0x30], rsi
mov qword [rdi + 0x38], rsi
mov ecx, 8
call fcn.14003f370
test rax, rax
je 0x140039527
mov rcx, qword [rsp + 0x20]
mov qword [rax], rcx
mov qword [rsp + 0x20], rsi
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x30], 1
mov qword [rdi + 0x38], 1
jmp 0x140039537
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rdi, rsi
lea rcx, [rsp + 0x20]
call fcn.14001bff0
test rdi, rdi
je 0x14003944c
mov rcx, rdi
call fcn.140027e60
mov rbx, rdi
jmp 0x14003944c
Function at 0x140039560
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov qword [rsp + 0x20], rcx
mov rbx, rcx
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
xor eax, eax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rax
call fcn.1400398c0
mov rax, qword [rsp + 0x28]
lea rcx, [0x14007b500]
test rax, rax
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov r8d, 0x104
cmovne rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
test eax, eax
je 0x1400395e7
mov r8, 0xffffffffffffffff
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14001e5e0
jmp 0x1400395ee
mov qword [rbx], 0
lea rcx, [rsp + 0x28]
call fcn.14003a1d0
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x260
pop rbx
ret
Function at 0x1400410e0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rdi, rcx
cmp dword [0x1400a00c0], 0
jne 0x1400411f1
lea rcx, [0x1400a00c8]
call fcn.140037ba0
cmp dword [0x1400a00c0], 0
jne 0x1400411e5
mov rbx, qword [0x14009a230]
lea rdx, str.SerialNumber
lea rcx, [rsp + 0x30]
call fcn.14003a0f0
nop
lea rdx, str.SELECT__FROM_Win32_BIOS
lea rcx, [rsp + 0x20]
call fcn.14003a0f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140051900
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14002c980
mov rdx, rbx
mov rcx, rax
call fcn.140025da0
lea rcx, [rsp + 0x60]
call fcn.14001bff0
lea rcx, [rsp + 0x40]
call fcn.14002abf0
nop
lea rcx, [rsp + 0x20]
call fcn.14003a200
nop
lea rcx, [rsp + 0x30]
call fcn.14003a200
mov rbx, qword [0x14009a230]
mov ecx, 0x18
call fcn.14005a6bc
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400411db
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rdx, [0x14007edc0]
mov qword [rax], rdx
mov qword [rax + 8], rbx
lea rdx, [0x1400a00c4]
mov qword [rax + 0x10], rdx
mov rcx, rax
call fcn.140050fc0
mov dword [0x1400a00c0], 1
lea rcx, [0x1400a00c8]
call fcn.140037be0
mov rdx, qword [0x14009a230]
mov rcx, rdi
call fcn.14001b4c0
mov rax, rdi
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x140041ac0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x100
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rsi, rcx
call fcn.140051dd0
xor edi, edi
test rax, rax
je 0x140041b43
lea edx, [rdi + 0x55]
mov word [rsp + 0x40], di
lea rcx, [rsp + 0x40]
call rax
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x28]
call fcn.14003a0f0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.140041c70
lea rcx, [rsp + 0x28]
movzx ebx, al
call fcn.14003a200
test bl, bl
je 0x140041b43
mov rcx, qword [rsp + 0x20]
mov qword [rsi], rcx
jmp 0x140041bd1
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov r9d, 3
mov word [rsp + 0x3c], di
lea r8, [rsp + 0x3c]
mov byte [rsp + 0x3e], dil
mov ecx, eax
mov ebx, eax
lea edx, [r9 + 0x56]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov r9d, 3
mov word [rsp + 0x38], di
lea r8, [rsp + 0x38]
mov byte [rsp + 0x3a], dil
mov ecx, ebx
lea edx, [r9 + 0x57]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
movzx ecx, byte [rsp + 0x38]
test cl, cl
je 0x140041bab
movzx eax, byte [rsp + 0x39]
test al, al
je 0x140041bab
mov r8d, eax
shl r8d, 8
or r8d, ecx
jmp 0x140041bae
mov r8d, edi
movzx eax, byte [rsp + 0x3c]
test al, al
je 0x140041bc7
movzx ecx, byte [rsp + 0x3d]
test cl, cl
je 0x140041bc7
mov edi, ecx
shl edi, 8
or edi, eax
mov edx, edi
mov rcx, rsi
call fcn.140041a50
mov rax, rsi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140046f30
Capabilities:
Allocate thread local storage
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x1400a0392], 0
jne 0x140046f5c
mov byte [0x1400a0392], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14009bb70], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14009bb74], eax
mov ecx, dword [0x14009bb70]
cmp ecx, 0xffffffff
je 0x140046f7a
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140046f7a
mov rax, qword [rax]
add rsp, 0x28
ret
xor eax, eax
add rsp, 0x28
ret

Function at 0x140046f90
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [0x1400a0392], 0
mov rbx, rcx
jne 0x140046fc1
mov byte [0x1400a0392], 1
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14009bb70], eax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x14009bb74], eax
cmp dword [0x14009bb70], 0xffffffff
je 0x140046ff5
mov edx, 8
lea ecx, [rdx + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
test rax, rax
je 0x140046ff5
mov qword [rax], rbx
mov rdx, rax
mov ecx, dword [0x14009bb70]
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x20
pop rbx
ret

Function at 0x140047060
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ebx, edx
mov rdi, rcx
mov dword [rsp + 0x30], 0
call fcn.140027e60
lea rax, [rsp + 0x30]
mov edx, ebx
mov qword [rsp + 0x28], rax
lea r8, [0x140046e90]
mov r9, rdi
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x1400470c2
mov rcx, rdi
call fcn.140027dd0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005a330
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140051a60
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbp, rdx
mov rsi, rcx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rsp + 0x20], rsi
lea r9, [0x14007fd88]
xor edx, edx
lea r8d, [r14 + 1]
lea rcx, [0x14007fd78]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140051af2
xor eax, eax
jmp 0x140051c68
mov ecx, 0x18
call fcn.14005a6bc
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140051b3b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r14
mov dword [rbx + 0x10], 1
lea rcx, [0x14007fd98]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140051c98
jmp 0x140051b3e
mov rbx, r14
mov qword [rsp + 0x50], rbx
test rbx, rbx
je 0x140051c8d
mov rcx, qword [rsi]
add rsi, 8
mov rax, qword [rcx]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
test eax, eax
js 0x140051c28
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsi]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140051c28
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rdx, rbp
lea rcx, [rsp + 0x60]
call fcn.1400398c0
nop
mov qword [rsp + 0x58], r14
lea r8, [0x14007b500]
mov rax, qword [rsp + 0x60]
test rax, rax
cmovne r8, rax
mov rcx, qword [rsi]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r14
mov r9d, 0x30
lea rdx, [0x14007fdb0]
call qword [rax + 0xa0]
mov rsi, qword [rsp + 0x58]
test eax, eax
cmovs rsi, r14
lea rcx, [rsp + 0x60]
call fcn.14003a1d0
jmp 0x140051c2b
mov rsi, r14
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x140051c65
mov rcx, qword [rbx]
test rcx, rcx
je 0x140051c46
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140051c58
call fcn.14005a6f8
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.14005a6f8
mov rax, rsi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005a330
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.14005b590
nop
mov ecx, 0x8007000e
call fcn.14005b590
int3
Function at 0x140052410
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
mov rdi, rdx
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
je 0x14005245e
xor ecx, ecx
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov r8d, edi
mov qword [rsp + 0x20], rcx
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14005a330
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140056130
Capabilities:
Initialize winhttp library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov r14, rcx
xor esi, esi
cmp dword [0x1400a04c8], esi
jne 0x14005629f
lea rcx, [0x1400a04d0]
call fcn.140037ba0
cmp dword [0x1400a04c8], esi
jne 0x140056293
mov r15, qword [0x14009c1e8]
mov ecx, 0x80
call fcn.14005a6bc
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14005623d
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
movups xmmword [rax + 0x70], xmm0
mov rcx, rax
call fcn.140027b30
lea rax, [0x140080650]
mov qword [rdi], rax
lea rcx, [rdi + 0x20]
call fcn.14002ebe0
mov qword [rdi + 0x48], rsi
mov qword [rdi + 0x50], rsi
mov qword [rdi + 0x58], rsi
lea rax, [0x140080610]
mov qword [rdi + 0x20], rax
mov qword [rdi + 0x68], rsi
mov qword [rdi + 0x78], rsi
mov dword [rdi + 0x60], esi
mov dword [rdi + 0x70], esi
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.Windows_Client
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [rdi + 0x18], rax
xor r9d, r9d
mov r8d, 0x6e0000
lea rdx, [0x140055200]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
mov dword [r15 + 8], esi
test rdi, rdi
je 0x140056244
mov rcx, rdi
call fcn.140027e60
jmp 0x140056244
mov rdi, rsi
mov dword [r15 + 8], esi
mov qword [r15], rdi
mov rbx, qword [0x14009c1e8]
mov ecx, 0x18
call fcn.14005a6bc
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140056289
xorps xmm0, xmm0
movups xmmword [rax], xmm0
lea rdx, [0x14007f8b0]
mov qword [rax], rdx
mov qword [rax + 8], rbx
lea rdx, [0x1400a04cc]
mov qword [rax + 0x10], rdx
mov rcx, rax
call fcn.140050fc0
mov dword [0x1400a04c8], 1
lea rcx, [0x1400a04d0]
call fcn.140037be0
cmp byte [0x1400a04cc], 0
jne 0x1400562d7
mov rbx, qword [0x14009c1e8]
cmp qword [rbx], 0
je 0x1400562d7
lea rcx, [rbx + 8]
call fcn.140037ba0
mov rsi, qword [rbx]
test rsi, rsi
je 0x1400562ce
mov rcx, rsi
call fcn.140027e60
lea rcx, [rbx + 8]
call fcn.140037be0
mov rax, r14
mov qword [r14], rsi
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x140056e20
Capabilities:
Get file size

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x140056e3e
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140056e3e
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x140067d28
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140067b24
Function at 0x14006d21c
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 0x14006d2a3
mov rsi, rbx
cmp word [rax], bp
je 0x14006d262
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14006d24c
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14006d248
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.1400690dc
mov rdi, rax
test rax, rax
je 0x14006d290
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14005c890
mov rbp, rdi
xor ecx, ecx
call fcn.1400690a0
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 0x140001cb0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r15
sub rsp, 0x20
xor edi, edi
lea r9, [rsp + 0x58]
mov rbp, r8
mov rsi, rdx
xor r8d, r8d
xor edx, edx
lea ecx, [rdi + 0xb]
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov r15d, 0x100
jmp 0x140001d54
test rdi, rdi
je 0x140001cf7
mov edx, 0x6864694e
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rax, qword [0x1400121d8]
mov edx, dword [rsp + 0x58]
test rax, rax
je 0x140001d24
cmp dword [0x1400121d0], 0x4a61
jb 0x140001d24
mov r8d, 0x6864694e
mov rcx, r15
call qword [0x1400102b0]
jmp 0x140001d35
mov ecx, 1
mov r8d, 0x6864694e
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rdi, rax
test rax, rax
je 0x140001d97
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x58]
mov rdx, rax
mov ecx, 0xb
call sub.ntoskrnl.exe_ZwQuerySystemInformation
mov ebx, eax
cmp eax, 0xc0000004
je 0x140001ce4
test eax, eax
js 0x140001dd7
test rdi, rdi
je 0x140001dd7
mov r9d, dword [rdi]
xor edx, edx
test r9d, r9d
je 0x140001dd7
lea rcx, [rdi + 0x20]
mov r8, qword [rcx - 8]
cmp rsi, r8
jb 0x140001d87
mov eax, dword [rcx]
add rax, r8
cmp rsi, rax
jb 0x140001d9e
inc edx
add rcx, 0x128
cmp edx, r9d
jb 0x140001d74
jmp 0x140001dd7
mov ebx, 0xc000009a
jmp 0x140001dd7
mov eax, edx
imul r8, rax, 0x128
add r8, 0x30
add r8, rdi
je 0x140001dd2
or rax, 0xffffffffffffffff
inc rax
cmp byte [r8 + rax], 0
jne 0x140001db4
cmp rax, r15
ja 0x140001dd7
mov rdx, r15
mov rcx, rbp
call sub.ntoskrnl.exe_strcpy_s
test eax, eax
je 0x140001dd7
mov ebx, 0xc0000001
mov rbp, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r15
pop rdi
pop rsi
ret