joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1402610f0
Capabilities:
Link many functions at runtime

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
lea rcx, [0x1402720cb]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je case.0x14005b05a.498
mov rdi, rax
lea rdx, [0x1402720ec]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.0x14005b05a.498
mov rsi, rax
lea rdx, [0x1402720fa]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je case.0x14005b05a.498
mov rdi, rax
xor ebx, ebx
invalid
jmp 0x1402611d7
lea rcx, [0x14027dd34]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x14026124b
add byte [rax], al
add byte [rax], al
mov rsi, rax
lea rdx, str.NtCreateKeyedEvent
lea edx, str.NtCreateKeyedEvent
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
add byte [rax], al
test rax, rax
je 0x14026124b
invalid
mov rdi, rax
lea rdx, str.NtReleaseKeyedEvent
lea edx, str.NtReleaseKeyedEvent
add byte [rax - 0x77], cl
int1
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
adc eax, 0x4f3a
test rax, rax
ror byte [rdi], 0x84
lodsb al, byte [rsi]
add byte [rax], al
invalid
mov rbx, rax
lea rdx, str.NtWaitForKeyedEvent
invalid
sgdt [rax]
mov rcx, rsi
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
ror byte [rdi], 0x84
invalid
nop
add byte [rax], al
add byte [rax], al
mov rsi, rax
lea rcx, [rbp - 0x40]
mov edx, 0xc0000000
add byte [rax], al
add byte [rax], al
rol byte [rbp + 0x31], 0xc0
xor eax, eax
xor r9d, r9d
call rdi
test eax, eax
jne 0x14026124b
mov rdi, qword [rbp - 0x40]
movzx eax, byte [0x1402d3900]
mov edx, 0x18
xor ecx, ecx
call fcn.140097090
test rax, rax
je case.0x14005b0a5.417
mov rcx, rax
mov qword [rax], rbx
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
xor eax, eax
lock cmpxchg qword [0x1402d37b0], rcx
cmpxchg dword [0x1402d37b0], ecx
je 0x14026123f
mov rsi, rax
cmp qword [rcx], 0
mov qword [rbp - 8], rcx
je 0x140261229
mov rax, qword [rbp - 8]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x1402d3850]
xor edx, edx
mov r8, qword [rbp - 8]
mov eax, dword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
mov rax, rcx
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rax, str.parking_lot_requires_either_NT_Keyed_Events__WinXP__or_WaitOnAddress_WakeByAddress__Win8_
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x30], 8
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rdx, str.C:Usersdiddy.cargo_registry_srcindex.crates.io_6f17d22bba15001fparking_lot_core_0.9.10_src_thread_parkerwindowsmod.rs
lea rcx, [rbp - 0x40]
call fcn.14025f050
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rbx
mov dword [rbp - 8], ebx
mov ecx, 8
add byte [rax], al
add byte [rdx + 0x18], bh
add byte [rax], al
add al, ch
invalid
invalid
invalid
dec dword [rdi]
invalid
Function at 0x140263940
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.1400177a0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1402639c9
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x140263a01
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x140263a15
lea rcx, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x140263a36
mov r8, qword [rbp - 0x20]
mov rcx, qword [0x1402d3850]
xor edx, edx
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x140263a36
mov rcx, qword [0x1402d3850]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x1406e7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1406e71df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1406e7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e706f
add dl, dl
jne 0x1406e7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e70f6
xor eax, eax
add dl, dl
jne 0x1406e70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1406e71ad
add dl, dl
jne 0x1406e70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1406e70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1406e707e
mov eax, 1
add dl, dl
jne 0x1406e7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1406e7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e70fb
sub eax, ebx
mov ebx, 1
jne 0x1406e714c
mov ecx, 1
add dl, dl
jne 0x1406e712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1406e7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1406e7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1406e715d
cmp eax, 0x7d00
jae 0x1406e719b
cmp eax, 0x500
jb 0x1406e7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
cmp eax, 0x7f
ja 0x1406e719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1406e707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1406e71d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x1406e707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1400043f0]
mov dword [rax], 1
mov rax, qword [0x140004400]
mov dword [rax], 1
mov rax, qword [0x140004410]
mov dword [rax], 1
mov rax, qword [0x1400043a0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400015e0
Capabilities:
Execute command

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
call sym.__main
lea rax, str.timeout__T_100
mov rcx, rax
call sym.system
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001960
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x140002632
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140007108]
test eax, eax
je 0x1400026ca
lea rax, [0x1400070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140007110]
mov qword [rbp - 8], rax
jmp 0x1400026ae
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x1400026a2
cmp qword [rbp - 0x10], 0
je 0x1400026a2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140002668
lea rax, [0x1400070e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x1400026cb
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400027d0
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400027f8
mov eax, 0
jmp 0x140002846
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140002821
mov eax, 0
jmp 0x140002846
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x140002841
mov eax, 0
jmp 0x140002846
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x14000284c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x1400028ca
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x1400028c1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x1400028c1
mov rax, qword [rbp - 8]
jmp 0x1400028df
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140002894
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x1400025e8
Capabilities:
Parse pe header

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

Function at 0x1400061b4
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140006013
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140006013
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140006013
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140006013
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140006013
cmp dword [rcx + 0x84], 0xe
jbe 0x140006013
cmp dword [rcx + 0xf8], 0
je 0x140006013
mov ecx, ebx
call fcn.1400060d0
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.140005ea0
nop
cmp dword [rbp + 0x20], 0
je 0x140006061
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000606c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140005fa4
Function at 0x140012db4
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x30
movsxd rbp, ecx
mov r9, r8
mov rax, rbp
lea rcx, [0x14002b790]
and eax, 0x3f
mov r10, rbp
sar r10, 6
xor edi, edi
mov rsi, rdx
mov r14, rbp
lea r8, [rax + rax*8]
mov rax, qword [rcx + r10*8]
mov ecx, 4
mov qword [rsp + 0x78], rcx
mov r11, qword [rax + r8*8 + 0x28]
lea r12d, [rcx + 6]
test r9, r9
je 0x140012e12
cmp word [rdx], r12w
jne 0x140012e12
or byte [rax + r8*8 + 0x38], cl
jmp 0x140012e18
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140012f73
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140012f4e
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140012e51
mov rcx, r9
jmp 0x140012e74
cmp r9, rdx
jae 0x140012e8b
cmp word [r9], r12w
mov eax, 2
cmove rax, qword [rsp + 0x78]
add rcx, rax
mov eax, r12d
cmp word [r9], r12w
cmovne ax, r13w
mov word [rbx], ax
mov r9d, 0x1a
add rbx, 2
cmp rcx, rdx
jb 0x140012e35
jmp 0x140012f73
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rdi
mov r8d, 2
lea rdx, [rsp + 0x70]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140012f48
cmp dword [rsp + 0x80], edi
je 0x140012f48
mov rdx, r14
lea r11, [0x14002b790]
sar rdx, 6
and r14d, 0x3f
mov rax, qword [r11 + rdx*8]
lea r8, [r14 + r14*8]
test byte [rax + r8*8 + 0x38], 0x48
je 0x140012f21
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140012ef4
mov word [rbx], r12w
jmp 0x140012f6f
mov word [rbx], r13w
mov word [rsp + 0x78], ax
mov rax, qword [r11 + rdx*8]
lea rcx, [rax + r8*8]
mov al, byte [rsp + rdi + 0x78]
mov byte [rcx + rdi + 0x3a], al
inc rdi
cmp rdi, 2
jl 0x140012efd
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140012f6f
cmp word [rsp + 0x70], r12w
jne 0x140012f2e
cmp rbx, rsi
je 0x140012eee
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.14001877c
cmp word [rsp + 0x70], r12w
je 0x140012f73
mov word [rbx], r13w
jmp 0x140012f6f
lea r11, [0x14002b790]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140012f6b
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140012f73
mov word [rbx], r9w
add rbx, 2
sub rbx, rsi
sar rbx, 1
lea eax, [rbx + rbx]
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400137c8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, rcx
test rcx, rcx
jne 0x1400137fa
call fcn.14000ef28
mov dword [rax], 0x16
call fcn.14000edec
jmp 0x140013919
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140013919
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140013919
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140013829
lock or dword [rcx + 0x14], 0x10
jmp 0x140013919
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14001383d
call fcn.140019470
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.1400103d4
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140013260
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140013907
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x1400138d2
mov rcx, rsi
call fcn.1400103d4
cmp eax, edi
je 0x1400138bd
mov rcx, rsi
call fcn.1400103d4
cmp eax, 0xfffffffe
je 0x1400138bd
mov rcx, rsi
call fcn.1400103d4
movsxd rbx, eax
lea r14, [0x14002b790]
mov rcx, rsi
sar rbx, 6
call fcn.1400103d4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x1400138c4
lea rdx, [0x14002a2d0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400138d2
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x1400138f6
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x1400138f6
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x1400138f6
mov dword [rsi + 0x20], 0x1000
mov rax, qword [rsi]
add dword [rsi + 0x10], edi
movzx edi, byte [rax]
inc rax
mov qword [rsi], rax
jmp 0x14001391c
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rsi + 0x14], eax
and dword [rsi + 0x10], 0
or edi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop r14
ret
Function at 0x140014c14
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 0x140014c9b
mov rsi, rbx
cmp word [rax], bp
je 0x140014c5a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140014c44
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140014c40
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000ef84
mov rdi, rax
test rax, rax
je 0x140014c88
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140003f50
mov rbp, rdi
xor ecx, ecx
call fcn.14000ef48
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 0x14001a8f4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001877c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001877c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14001aa44
cmp rax, 0xffffffffffffffff
je 0x14001aa44
xor edi, edi
test rbp, rbp
jle 0x14001a9ef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140011050
mov rbx, rax
test rax, rax
jne 0x14001a97c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14001a9e5
mov edx, 0x8000
mov ecx, r14d
call fcn.14000dfe8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400122f8
cmp eax, 0xffffffff
je 0x14001a9c5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14001a98c
mov edx, r15d
mov ecx, r14d
call fcn.14000dfe8
jmp 0x14001a9e5
cmp byte [rsi + 0x38], dil
je 0x14001a9dc
cmp dword [rsi + 0x34], 5
jne 0x14001a9dc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14001a9e5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14000ef48
jmp 0x14001aa58
jns 0x14001aa58
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001877c
cmp rax, 0xffffffffffffffff
jne 0x14001aa10
cmp byte [rsi + 0x30], dil
je 0x14001aa58
mov edi, dword [rsi + 0x2c]
jmp 0x14001aa58
mov ecx, r14d
call fcn.1400155b8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14001aa58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x14001aa58
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14001aa51
mov eax, dword [rsi + 0x2c]
jmp 0x14001aa56
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001877c
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x14001b770
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001b798
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001b798
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001070
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
xor r8d, r8d
lea r10, [0x1800269f0]
mov r9d, r8d
test edx, edx
jle 0x1800011a0
cmp edx, 0x40
jb 0x1800011a0
movdqa xmm2, xmmword [0x180022f30]
mov ecx, edx
movdqa xmm3, xmmword [0x180022f10]
movdqa xmm4, xmmword [str.3333333333333333mmmmmmmmmmmmmmmmwwwwwwwwwwwwwwwwxxxxxxxxxxxxxxxx]
movdqa xmm5, xmmword [0x180022f40]
movaps xmmword [rsp + 0x10], xmm6
movdqa xmm6, xmmword [0x180022f20]
movaps xmmword [rsp], xmm7
movdqa xmm7, xmmword [0x180022f50]
and ecx, 0x8000003f
jge 0x1800010dc
dec ecx
or ecx, 0xffffffc0
inc ecx
mov eax, edx
sub eax, ecx
movsxd rcx, eax
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [r8 + r10]
add r9d, 0x40
pxor xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmmword [r8 + r10], xmm0
movdqu xmm1, xmmword [r8 + r10 + 0x10]
pxor xmm1, xmm2
pxor xmm1, xmm3
pxor xmm1, xmm4
pxor xmm1, xmm5
pxor xmm1, xmm6
pxor xmm1, xmm7
movdqu xmmword [r8 + r10 + 0x10], xmm1
movdqu xmm0, xmmword [r8 + r10 + 0x20]
pxor xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmmword [r8 + r10 + 0x20], xmm0
movdqu xmm0, xmmword [r8 + r10 + 0x30]
pxor xmm0, xmm2
pxor xmm0, xmm3
pxor xmm0, xmm4
pxor xmm0, xmm5
pxor xmm0, xmm6
pxor xmm0, xmm7
movdqu xmmword [r8 + r10 + 0x30], xmm0
add r8, 0x40
cmp r8, rcx
jl 0x1800010f0
movaps xmm7, xmmword [rsp]
movaps xmm6, xmmword [rsp + 0x10]
movsxd rax, r9d
movsxd rcx, edx
cmp rax, rcx
jge 0x1800011bd
nop dword [rax + rax]
xor byte [rax + r10], 0x34
inc rax
cmp rax, rcx
jl 0x1800011b0
add rsp, 0x28
ret