joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008300
Capabilities:
Start service

Disassembly:
sub rsp, 0x28
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140008316
add rsp, 0x28
ret
call fcn.140008320
int3

Function at 0x140008990
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov rdx, qword [rcx + 8]
movabs rbx, 0xdd7f77557d034be0
mov r9, qword [rcx]
mov rax, rdx
imul rax, rbx
movabs r11, 0x9078485ac73a0400
lea r10, [r9 + rdx]
xor rax, r11
cmp r9, r10
je 0x140008a0a
mov qword [rsp + 0x10], rdi
movabs rdi, 0x6df7bfb0443d4fe0
nop
movsx rdx, byte [r9]
inc r9
mov rcx, rdx
imul rcx, rdx
imul rdx, rcx
mov r8, rdx
imul r8, rdx
add r8, rax
xor r8, r11
imul r8, rbx
xor r8, rdx
add r8, rdi
imul rax, r8
xor rax, r8
cmp r9, r10
jne 0x1400089d0
mov rdi, qword [rsp + 0x10]
pop rbx
ret

Function at 0x140008a10
Capabilities:
Encode data using xor

Disassembly:
push rbx
mov rdx, qword [rcx + 8]
movabs rbx, 0x10b3c101a0132800
mov r9, qword [rcx]
mov rax, rdx
imul rax, rbx
movabs r11, 0x485f0ac04020000
lea r10, [r9 + rdx]
xor rax, r11
cmp r9, r10
je 0x140008a8a
mov qword [rsp + 0x10], rdi
movabs rdi, 0x1539b1ada4152800
nop
movsx rdx, byte [r9]
inc r9
mov rcx, rdx
imul rcx, rdx
imul rdx, rcx
mov r8, rdx
imul r8, rdx
add r8, rax
xor r8, r11
imul r8, rbx
xor r8, rdx
add r8, rdi
imul rax, r8
xor rax, r8
cmp r9, r10
jne 0x140008a50
mov rdi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x140009160
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403ae348]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movdqa xmm0, xmmword [str.Ua3_r4H]
xor eax, eax
xor ebx, ebx
mov byte [rbp - 9], 0x34
mov r8, rcx
mov qword [rbp + 7], rax
mov ecx, ebx
mov word [rbp + 0xf], ax
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp + 0x11], al
movabs r9, 0xaaaaaaaaaaaaaaab
nop dword [rax]
mov rax, r9
mul rcx
shr rdx, 2
lea rax, [rdx + rdx*2]
mov rdx, rcx
add rax, rax
sub rdx, rax
movzx eax, byte [rbp + rdx - 0x19]
lea rdx, [rbp - 8]
xor al, byte [rbp + rcx - 0x13]
mov byte [rbp + rcx + 7], al
inc rcx
lea rax, [rbp - 0x13]
add rax, rcx
cmp rax, rdx
jne 0x1400091c0
movzx edx, byte [rbp + 0x11]
mov rcx, r8
movzx eax, word [rbp + 0xf]
test dl, dl
movsd xmm0, qword [rbp + 7]
mov word [rbp - 0x11], ax
lea rax, [rbp - 0x19]
mov qword [rbp + 7], rax
mov rax, rbx
setne al
movsd qword [rbp - 0x19], xmm0
add rax, 0xa
mov byte [rbp - 0xf], dl
mov qword [rbp + 0xf], rax
lea rdx, [rbp + 7]
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp + 7], xmm0
call fcn.14000f5c0
mov qword [0x1403af3f8], rax
mov ecx, 0x5702
xor eax, eax
mov dword [rbp + 0x17], 0x25605702
xorps xmm0, xmm0
mov dword [rbp + 0x1b], 0xba395de8
mov dword [rbp + 0x1f], 0x8939d48c
mov r8, rbx
mov dword [rbp + 0x23], 0x954cf0de
movabs r10, 0xe38e38e38e38e38f
lea r9d, [rax + 0xa]
mov dword [rbp + 0x27], 0x576c0b29
mov dword [rbp + 0x2b], 0x5d8c2514
mov dword [rbp + 0x2f], 0xd4e0ba55
mov dword [rbp + 0x33], 0xf0ba8917
mov dword [rbp + 0x37], 0xb459520
mov word [rbp + 0x3b], cx
movups xmmword [rbp - 0x19], xmm0
mov dword [rbp - 9], eax
nop dword [rax]
mov rcx, r8
mov rax, r10
mul r8
shr rdx, 3
lea rax, [rdx + rdx*8]
sub rcx, rax
movzx eax, word [rbp + rcx*2 + 0x17]
xor ax, word [rbp + r8*2 + 0x29]
mov word [rbp + r8*2 - 0x19], ax
inc r8
sub r9, 1
jne 0x1400092b0
movups xmm0, xmmword [rbp - 0x19]
mov eax, dword [rbp - 9]
lea rcx, [rbp + 0x17]
mov qword [rbp - 0x19], rcx
lea rcx, [rbp - 0x19]
mov dword [rbp + 0x27], eax
shr eax, 0x10
test ax, ax
movups xmmword [rbp + 0x17], xmm0
setne bl
xor edx, edx
add rbx, 9
mov qword [rbp - 0x11], rbx
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
call fcn.1400101d0
mov rdi, rax
lea rbx, [0x14039e590]
lea rax, [rbp + 7]
mov qword [rbp - 0x19], rax
lea rsi, str.Ua3_r4H
lea rax, [0x1400088b0]
mov qword [rbp - 0x11], rax
movaps xmm6, xmmword [rbp - 0x19]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp - 0x19]
mov qword [rbp + 7], rbx
mov rcx, rdi
movdqa xmmword [rbp - 0x19], xmm6
call fcn.14000fe80
mov rcx, qword [rbx]
add rbx, 0x30
mov qword [rcx], rax
cmp rbx, rsi
jne 0x140009350
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140014160
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
Function at 0x14000a500
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
xor r14d, r14d
mov rdi, rcx
mov esi, r14d
mov ebp, r14d
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r10, qword [rdi]
mov ecx, dword [r10]
cmp ecx, 0x270
jne 0x14000a5a4
lea rax, [r10 + 8]
mov r9d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r9, 1
jne 0x14000a560
mov ecx, dword [r10]
jmp 0x14000a687
cmp ecx, 0x4e0
jb 0x14000a687
lea r11, [r10 + 0x9c4]
mov ebx, 0xe3
mov eax, dword [r11]
nop
mov edx, dword [r11 + 4]
lea r8, [r11 + 4]
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 + 0x634]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14000a5c0
lea r11, [r10 + 0xd50]
mov ebx, 0x18c
mov eax, dword [r11]
nop dword [rax + rax]
mov edx, eax
lea r8, [r11 + 4]
xor edx, dword [r8]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r11 - 0xd4c]
xor ecx, edx
mov dword [r11 - 0x9c0], ecx
lea r11, [r8]
sub rbx, 1
jne 0x14000a610
mov edx, dword [r10 + 0x1380]
xor edx, dword [r10 + 4]
btr edx, 0x1f
xor edx, dword [r10 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 + 0x9c0], ecx
mov ecx, r14d
mov dword [r10], r14d
mov eax, ecx
mov edx, dword [r10 + rax*4 + 4]
lea eax, [rcx + 1]
mov ecx, edx
mov dword [r10], eax
mov eax, dword [r10 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rdx, rcx
shr rdx, 0x12
xor rdx, rcx
cmp rdx, qword [rdi + 0x10]
ja 0x14000a540
add rbp, qword [rdi + 8]
or rsi, rdx
cmp rbp, 0x40
jb 0x14000a530
mov rbx, qword [rsp + 0x10]
mov rax, rsi
mov rsi, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x28]
pop r14
ret
Function at 0x14000aef0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov eax, 0x1400
call fcn.140014100
sub rsp, rax
mov rax, qword [0x1403ae348]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov esi, r8d
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rdx
call fcn.14001375c
mov r8d, eax
mov ebp, 0xffffffff
mov dword [rsp + 0x13e4], ebp
mov dword [rsp + 0x64], eax
mov edx, 1
nop dword [rax]
nop word [rax + rax]
mov eax, r8d
shr eax, 0x1e
xor eax, r8d
imul r8d, eax, 0x6c078965
add r8d, edx
mov dword [rsp + rdx*4 + 0x64], r8d
inc rdx
cmp rdx, 0x270
jb 0x14000af50
mov dword [rsp + 0x60], 0x270
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000b0d0
nop
mov rdx, qword [rsp + 0x28]
sub rdx, qword [rsp + 0x20]
sar rdx, 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop
dec rcx
shr rax, 1
cmp rax, rbp
ja 0x14000afb0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x40]
test rdx, rdx
jne 0x14000afd6
call fcn.14000a500
jmp 0x14000afdb
call fcn.1400028c0
mov rcx, rax
mov rax, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x20]
sub rax, rdx
sar rax, 2
cmp rax, rcx
jbe 0x14000b088
mov ecx, dword [rdx + rcx*4]
mov qword [rbx], 0
mov byte [rbx + 8], 0
mov edx, esi
call fcn.140008f00
mov rcx, qword [rbx]
mov qword [rbx], rax
cmp rcx, 1
jl 0x14000b020
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14000b05c
mov rdx, qword [rsp + 0x30]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b082
call fcn.140013d94
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.140014160
mov rbx, qword [rsp + 0x1438]
add rsp, 0x1400
pop rdi
pop rsi
pop rbp
ret
call fcn.14001a534
nop
call fcn.14000a880
nop
int3
Function at 0x14000d170
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1403ae348]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x39], rcx
mov qword [rcx + 8], rcx
lea rax, [0x14039f0f0]
mov qword [rcx], rax
xorps xmm0, xmm0
movups xmmword [rcx + 0x18], xmm0
xor r11d, r11d
mov qword [rcx + 0x28], r11
mov qword [rcx + 0x30], 0xf
mov byte [rcx + 0x18], r11b
mov dword [rbp - 0x31], 0x8536d12a
mov dword [rbp - 0x2d], 0x4c1403d2
mov edx, 0xc489
mov dword [rbp - 0x29], 0xd144c489
mov dword [rbp - 0x25], 0x3b68542
mov dword [rbp - 0x21], 0xc4e54c78
mov dword [rbp - 0x1d], 0x8552d104
mov dword [rbp - 0x19], 0x4c7803be
mov word [rbp - 0x15], dx
xor eax, eax
movups xmmword [rbp - 9], xmm0
mov dword [rbp + 7], eax
mov r8d, r11d
lea r9d, [r11 + 0xa]
movabs r10, 0xcccccccccccccccd
nop dword [rax]
mov rax, r10
mul r8
shr rdx, 2
lea rax, [rdx + rdx*4]
mov rcx, r8
sub rcx, rax
movzx eax, word [rbp + r8*2 - 0x27]
xor ax, word [rbp + rcx*2 - 0x31]
mov word [rbp + r8*2 - 9], ax
inc r8
sub r9, 1
jne 0x14000d220
movups xmm0, xmmword [rbp - 9]
movups xmmword [rbp - 0x31], xmm0
mov ecx, dword [rbp + 7]
mov dword [rbp - 0x21], ecx
lea rax, [rbp - 0x31]
mov qword [rbp - 0x69], rax
shr ecx, 0x10
mov rax, r11
test cx, cx
setne al
add rax, 9
mov qword [rbp - 0x61], rax
movaps xmm6, xmmword [rbp - 0x69]
movdqa xmmword [rbp - 9], xmm6
mov qword [rbp - 0x69], r11
lea rax, [rbp - 9]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x69]
mov qword [rbp - 0x41], rax
mov rax, qword gs:[0x60]
mov rbx, qword [rax + 0x18]
mov rbx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x30]
test rdx, rdx
je 0x14000d2e3
nop
movzx ecx, word [rbx + 0x58]
shr rcx, 1
mov rax, qword [rbx + 0x60]
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rcx
mov r8, rdx
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x49]
call fcn.14000c260
test al, al
jne 0x14000d2e3
mov rbx, qword [rbx]
mov rdx, qword [rbx + 0x30]
test rdx, rdx
jne 0x14000d2b0
mov rax, qword [rbp - 0x69]
test rax, rax
je 0x14000d319
mov qword [rdi + 0x10], rax
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140014160
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
movdqa xmmword [rbp - 0x59], xmm6
lea rdx, [rbp - 0x59]
lea rcx, [rbp + 0x17]
call fcn.140005350
nop
mov rcx, rax
call fcn.140010b60
int3
Function at 0x1400100a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rdi, rdx
test cl, cl
jne 0x140010154
lea r14, [0x1403af498]
mov qword [rsp + 0x30], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
lea rax, [0x1403af480]
mov qword [rsp + 0x38], rax
mov rsi, qword [0x1403af488]
mov rbx, qword [0x1403af480]
cmp rbx, rsi
je 0x140010149
mov rbp, qword [rdi + 8]
mov rdi, qword [rdi]
add rbx, 8
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140010111
mov rcx, qword [rbx]
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x40], xmm0
mov r8, qword [rbx - 8]
lea rdx, [rsp + 0x40]
mov rcx, rdi
call rbp
test al, al
jne 0x140010149
add rbx, 0x48
lea rax, [rbx - 8]
cmp rax, rsi
jne 0x140010104
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x1400101b2
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rbx, qword [rcx + 0x10]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400101b2
mov rsi, qword [rdx]
mov rdi, qword [rdx + 8]
nop word [rax + rax]
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], rax
movzx eax, word [rbx + 0x58]
shr rax, 1
mov qword [rsp + 0x28], rax
mov r8, rcx
lea rdx, [rsp + 0x20]
mov rcx, rsi
call rdi
test al, al
jne 0x1400101b2
mov rbx, qword [rbx]
mov rcx, qword [rbx + 0x30]
test rcx, rcx
jne 0x140010180
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x1400117e0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x38
mov r9, qword [rcx + 8]
mov r10, rdx
cmp r9, 0x40
jb 0x140011898
mov r8, qword [rcx]
mov eax, 0x5a4d
cmp word [r8], ax
je 0x14001180d
mov eax, 0xc000012f
add rsp, 0x38
ret
movsxd rdx, dword [r8 + 0x3c]
lea rax, [rdx + 0x108]
cmp r9, rax
jb 0x140011898
add rdx, r8
mov eax, 0x4550
cmp word [rdx], ax
jne 0x140011898
movzx eax, byte [rdx + 0x16]
shr al, 1
test al, 1
je 0x140011898
movzx eax, word [rdx + 0x18]
mov r8d, 0x10b
cmp ax, r8w
je 0x140011870
mov r8d, 0x20b
cmp ax, r8w
jne 0x140011898
movups xmm0, xmmword [rcx]
mov r8, r10
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.1400112a0
test al, al
je 0x140011898
xor eax, eax
add rsp, 0x38
ret
movups xmm0, xmmword [rcx]
mov r8, r10
lea rcx, [rsp + 0x20]
movaps xmmword [rsp + 0x20], xmm0
call fcn.140010fb0
xor ecx, ecx
mov edx, 0xc000007b
test al, al
cmove ecx, edx
mov eax, ecx
add rsp, 0x38
ret
mov eax, 0xc000007b
add rsp, 0x38
ret
Function at 0x140013784
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x140013808
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1403a0170]
cmp byte [rcx + rax], 0
je 0x140013808
dec r8
sub rdx, 1
jne 0x1400137ee
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400147a0
Capabilities:
Parse pe header

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

Function at 0x14001cf6c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001cd5c
Function at 0x14002300c
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 0x14002303c
xor eax, eax
jmp 0x1400230ff
mov rbp, rbx
cmp word [rax], si
je 0x140023061
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140023048
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140023044
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.140022f5c
movsxd r14, eax
test eax, eax
jne 0x14002309f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140023035
mov rcx, r14
call fcn.14001f620
mov rdi, rax
test rax, rax
jne 0x1400230b8
xor ecx, ecx
call fcn.14001e950
jmp 0x140023094
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.140022f5c
test eax, eax
jne 0x1400230e9
mov rcx, rdi
call fcn.14001e950
jmp 0x1400230f3
xor ecx, ecx
call fcn.14001e950
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 0x140027a84
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.14001c744
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140027b0e
cmp byte [rbp - 0x21], r15b
je 0x140027b09
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140027b44
call fcn.14001eba4
test eax, eax
jne 0x140027b30
cmp byte [rbp - 0x21], r15b
je 0x140027b28
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140027b44
cmp byte [rbp - 0x21], r15b
je 0x140027b41
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.1400216d8
test eax, eax
jne 0x140027be4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14001c744
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x140027b83
cmp byte [rbp - 0x21], r15b
je 0x140027bb8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140027bb8
call fcn.14001eba4
test eax, eax
jne 0x140027ba4
cmp byte [rbp - 0x21], r15b
je 0x140027b9d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140027bb8
cmp byte [rbp - 0x21], r15b
je 0x140027bb5
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.1400216d8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140027be4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140027be7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140027bf5
mov rcx, rdi
call fcn.14001e950
cmp byte [rbp + 0x3f], r15b
je 0x140027c04
mov rcx, qword [rbp + 0x27]
call fcn.14001e950
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 0x14002a1b0
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x40
mov rcx, qword [rcx]
lea r9, [rsp + 0x50]
xor eax, eax
mov rbx, r8
mov r8d, dword [rdx + 8]
mov rdx, qword [rdx]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002a1e7
mov eax, dword [rsp + 0x50]
add rsp, 0x40
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
call fcn.1400088a0
mov qword [rsp + 0x38], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
add rsp, 0x40
pop rbx
ret
Function at 0x14002a210
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, rdx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14002a23f
mov rax, qword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
call fcn.1400088a0
mov qword [rsp + 0x28], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rbx], xmm0
add rsp, 0x30
pop rbx
ret
Function at 0x140003f4c
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call 0x140156000
add rsp, 0x28
jmp 0x140003f70
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x14001d938], rdi
jne 0x140008848
mov eax, dword [0x14001d930]
cmp eax, 1
je 0x140008868
mov eax, dword [0x14001d930]
cmp eax, ebx
jne 0x14000887f
mov dword [0x14001d930], 1
lea r13, [0x140014218]
lea rdi, [0x140014200]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x14000401c
cmp eax, ebx
jne 0x14000401c
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x140004011
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x140003ffa
cmp eax, ebx
jne 0x140008875
mov eax, dword [0x14001d930]
cmp eax, 1
jne 0x14000404c
lea rdx, [0x1400141f8]
lea rcx, [0x1400141c0]
call sub.msvcrt.dll__initterm
mov dword [0x14001d930], 2
cmp r12d, ebx
jne 0x14000405b
mov rax, rbx
xchg qword [0x14001d938], rax
cmp qword [0x14001d950], rbx
jne 0x14000888e
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
je 0x1400088b7
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
jbe 0x14000409f
cmp word [rcx], 0x22
je 0x140008912
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140004084
cmp word [rcx], bx
jne 0x1400088c1
cmp word [rcx], bx
jne 0x1400088ce
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.1400040e8
nop
jmp 0x1400088e6
cmp rax, rdi
jne 0x140008858
mov r12d, 1
jmp 0x140003fba
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003fa9
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x140004024
mov eax, 0xff
jmp 0x140008951
mov dword [0x14001db2c], 1
jmp 0x140004024
lea rcx, [0x14001d950]
call fcn.140011e1c
cmp eax, ebx
je 0x140004068
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x14001d950]
nop
jmp 0x140004068
mov eax, 0xff
jmp 0x140008951
cmp edx, ebx
je 0x1400040a8
jmp 0x14000408a
cmp word [rcx], 0x20
ja 0x1400040b1
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400040a8
mov dword [0x14001db28], eax
cmp dword [0x14001d30c], ebx
jne 0x1400088fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14001db2c], ebx
jne 0x140008910
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14001db28]
jmp 0x140008951
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
jmp 0x140004094
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret