joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140088f50
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov ebp, r9d
mov r15, r8
mov r14, rdx
mov rsi, rcx
call fcn.140089160
mov rdi, rax
add ebp, 0xffffffff
je 0x14008912f
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r12
xor r12d, r12d
nop dword [rax]
mov r9, qword [rsi]
shl rdi, 0x20
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x140088ff4
lea rax, [r9 + 8]
mov r10d, ecx
nop dword [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 r10, 1
jne 0x140088fb0
mov ecx, dword [r9]
jmp 0x1400890d6
cmp ecx, 0x4e0
jb 0x1400890d6
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov ebx, dword [r10]
mov eax, ebx
mov r8, r10
mov ebx, dword [r10 + 4]
mov edx, eax
xor edx, ebx
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140089010
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov ebx, dword [r10]
nop dword [rax]
mov eax, ebx
mov r8, r10
mov ebx, dword [r10 + 4]
mov edx, eax
xor edx, ebx
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub r11, 1
jne 0x140089060
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov ecx, r12d
mov dword [r9], r12d
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 rax, rcx
shr rax, 0x12
xor rax, rcx
or rdi, rax
add ebp, 0xffffffff
jne 0x140088f90
mov r12, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rax, r15
mov rsi, qword [rsp + 0x58]
mul rdi
mov qword [r14], rax
mov rax, r14
mov qword [r14 + 8], rdx
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
Function at 0x140089160
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1400891c1
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140089180
mov ecx, dword [r9]
jmp 0x1400892ab
cmp ecx, 0x4e0
jb 0x1400892ab
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x1400891e0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140089230
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 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 rax, rcx
shr rax, 0x12
xor rax, rcx
add rsp, 8
ret
Function at 0x1400e2460
Capabilities:
Parse pe header

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

Function at 0x1400e9a9c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.14010c750
sub rsp, rax
mov rax, qword [0x14015e040]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.1400f9c94
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x1400e9aeb
mov rax, rbp
jmp 0x1400e9bf3
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x2fe440]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.1400f9f24
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x2fe440]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x1400e9bef
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400e9bef
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.1400f9f24
test rax, rax
js 0x1400e9bef
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x1400e9bef
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x1400e9be1
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x1400e9be1
cmp byte [rcx], 0xd
jne 0x1400e9bc7
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400e9bd6
cmp byte [rcx + 1], 0xa
jne 0x1400e9bd6
inc rcx
jmp 0x1400e9bd6
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x15e410]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400e9ba9
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x1400e9bf3
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14010c6a0
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f4a1c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x1400f4a53
call fcn.1400f7c6c
mov dword [rax], 0x16
call fcn.1400f4670
xor eax, eax
jmp 0x1400f4ae1
mov rdx, r9
mov rcx, r8
call fcn.1400f49b8
mov rbx, rax
test rax, rax
je 0x1400f4ade
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x1400f48e4]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400f4acb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400f7be0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400f4ab2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400f4ac1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.1400fb38c
jmp 0x1400f4ade
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400f4adb
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x1400f525c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400f5058
Function at 0x1400fa6a8
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1402fe440]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x1400fa6ff
cmp word [rdx], r13w
jne 0x1400fa6ff
or byte [rax + rdi*8 + 0x38], cl
jmp 0x1400fa704
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400fa829
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400fa84a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400fa73d
mov rdx, r9
mov word [rbx], cx
jmp 0x1400fa764
cmp r9, r8
jae 0x1400fa774
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400fa71e
jmp 0x1400fa829
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400fa81e
cmp dword [rsp + 0x80], esi
je 0x1400fa81e
lea r8, [0x1402fe440]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x1400fa7f6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x1400fa7c6
mov word [rbx], r13w
jmp 0x1400fa826
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x1400fa7d3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400fa826
cmp word [rsp + 0x70], r13w
jne 0x1400fa803
cmp rbx, r14
je 0x1400fa7c0
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400f9f2c
cmp word [rsp + 0x70], r13w
je 0x1400fa829
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1402fe440]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400fa823
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400fa829
Function at 0x1400fe79c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400fe7b2
mov al, 1
jmp 0x1400fe812
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400fe7c3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x1400fe810
mov ecx, dword [rcx + 0x18]
nop
call fcn.140102e9c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400fe810
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400fe810
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1400fe810
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x1400fe812
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140101e74
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 0x140101ea4
xor eax, eax
jmp 0x140101f67
mov rbp, rbx
cmp word [rax], si
je 0x140101ec9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140101eb0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140101eac
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.140101d94
movsxd r14, eax
test eax, eax
jne 0x140101f07
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140101e9d
mov rcx, r14
call fcn.1400fd238
mov rdi, rax
test rax, rax
jne 0x140101f20
xor ecx, ecx
call fcn.1400fb38c
jmp 0x140101efc
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.140101d94
test eax, eax
jne 0x140101f51
mov rcx, rdi
call fcn.1400fb38c
jmp 0x140101f5b
xor ecx, ecx
call fcn.1400fb38c
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 0x140105580
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.1400fa348
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x140105621
cmp ebx, dword [rsp + 0x30]
je 0x14010561a
test esi, esi
je 0x14010561a
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1401055f5
sub r8w, 0x61
cmp r8w, 0x19
ja 0x140105602
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1401055df
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x140105606
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x140105623
mov eax, 1
jmp 0x140105623
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14010a66c
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.1400eff24
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14010a6f6
cmp byte [rbp - 0x21], r15b
je 0x14010a6f1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14010a72c
call fcn.1400fb6e8
test eax, eax
jne 0x14010a718
cmp byte [rbp - 0x21], r15b
je 0x14010a710
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14010a72c
cmp byte [rbp - 0x21], r15b
je 0x14010a729
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.1400f8af0
test eax, eax
jne 0x14010a7cc
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400eff24
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14010a76b
cmp byte [rbp - 0x21], r15b
je 0x14010a7a0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14010a7a0
call fcn.1400fb6e8
test eax, eax
jne 0x14010a78c
cmp byte [rbp - 0x21], r15b
je 0x14010a785
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14010a7a0
cmp byte [rbp - 0x21], r15b
je 0x14010a79d
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.1400f8af0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14010a7cc
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14010a7cf
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14010a7dd
mov rcx, rdi
call fcn.1400fb38c
cmp byte [rbp + 0x3f], r15b
je 0x14010a7ec
mov rcx, qword [rbp + 0x27]
call fcn.1400fb38c
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 0x14010b700
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.1400f9f2c
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400f9f2c
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x14010b850
cmp rax, 0xffffffffffffffff
je 0x14010b850
xor edi, edi
test rbp, rbp
jle 0x14010b7fb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.1400fb314
mov rbx, rax
test rax, rax
jne 0x14010b788
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x14010b7f1
mov edx, 0x8000
mov ecx, r14d
call fcn.1400f618c
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.1400fcb2c
cmp eax, 0xffffffff
je 0x14010b7d1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14010b798
mov edx, r15d
mov ecx, r14d
call fcn.1400f618c
jmp 0x14010b7f1
cmp byte [rsi + 0x38], dil
je 0x14010b7e8
cmp dword [rsi + 0x34], 5
jne 0x14010b7e8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x14010b7f1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400fb38c
jmp 0x14010b864
jns 0x14010b864
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400f9f2c
cmp rax, 0xffffffffffffffff
jne 0x14010b81c
cmp byte [rsi + 0x30], dil
je 0x14010b864
mov edi, dword [rsi + 0x2c]
jmp 0x14010b864
mov ecx, r14d
call fcn.140102e9c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x14010b864
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 0x14010b864
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14010b85d
mov eax, dword [rsi + 0x2c]
jmp 0x14010b862
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400f9f2c
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 0x14010c840
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14010c868
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14010c868
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000ec1c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub rsp, 0x88
mov byte [rsp + 0x28], 0x5c
mov byte [rsp + 0x29], 0x41
mov byte [rsp + 0x2a], VarBstrFromDisp
mov byte [rsp + 0x2b], VarBstrFromDisp
mov byte [rsp + 0x2c], 0x6c
mov byte [rsp + 0x2d], 0x69
mov byte [rsp + 0x2e], 0x63
mov byte [rsp + 0x2f], 0x61
mov byte [rsp + 0x30], 0x74
mov byte [rsp + 0x31], 0x69
mov byte [rsp + 0x32], VarBstrFromDisp
mov byte [rsp + 0x33], VarBstrFromDisp
mov byte [rsp + 0x34], 0x73
mov byte [rsp + 0x35], 0x5c
mov byte [rsp + 0x36], 0x56
mov byte [rsp + 0x37], 0x4d
mov byte [rsp + 0x38], 0x77
mov byte [rsp + 0x39], 0x61
mov byte [rsp + 0x3a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x3b], 0x65
mov byte [rsp + 0x3c], 0x48
mov byte [rsp + 0x3d], VarBstrFromDisp
mov byte [rsp + 0x3e], 0x73
mov byte [rsp + 0x3f], 0x74
mov byte [rsp + 0x40], 0x4f
mov byte [rsp + 0x41], VarBstrFromDisp
mov byte [rsp + 0x42], 0x65
mov byte [rsp + 0x43], VarBstrFromDisp
mov byte [rsp + 0x44], 0x2e
mov byte [rsp + 0x45], 0x65
mov byte [rsp + 0x46], 0x78
mov byte [rsp + 0x47], 0x65
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x50], 0x53
mov byte [rsp + 0x51], 0x4f
mov byte [rsp + 0x52], 0x46
mov byte [rsp + 0x53], 0x54
mov byte [rsp + 0x54], 0x57
mov byte [rsp + 0x55], 0x41
mov byte [rsp + 0x56], 0x52
mov byte [rsp + 0x57], 0x45
mov byte [rsp + 0x58], 0x5c
mov byte [rsp + 0x59], 0x4f
mov byte [rsp + 0x5a], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x5b], 0x61
mov byte [rsp + 0x5c], 0x63
mov byte [rsp + 0x5d], 0x6c
mov byte [rsp + 0x5e], 0x65
mov byte [rsp + 0x5f], 0x5c
mov byte [rsp + 0x60], 0x56
mov byte [rsp + 0x61], 0x69
mov byte [rsp + 0x62], reloc.OLEAUT32.dll_VarBstrFromDisp
mov byte [rsp + 0x63], 0x74
mov byte [rsp + 0x64], 0x75
mov byte [rsp + 0x65], 0x61
mov byte [rsp + 0x66], 0x6c
mov byte [rsp + 0x67], 0x42
mov byte [rsp + 0x68], VarBstrFromDisp
mov byte [rsp + 0x69], 0x78
mov byte [rsp + 0x6a], 0x20
mov byte [rsp + 0x6b], 0x47
mov byte [rsp + 0x6c], 0x75
mov byte [rsp + 0x6d], 0x65
mov byte [rsp + 0x6e], 0x73
mov byte [rsp + 0x6f], 0x74
mov byte [rsp + 0x70], 0x20
mov byte [rsp + 0x71], 0x41
mov byte [rsp + 0x72], 0x64
mov byte [rsp + 0x73], 0x64
mov byte [rsp + 0x74], 0x69
mov byte [rsp + 0x75], 0x74
mov byte [rsp + 0x76], 0x69
mov byte [rsp + 0x77], VarBstrFromDisp
mov byte [rsp + 0x78], VarBstrFromDisp
mov byte [rsp + 0x79], 0x73
mov byte [rsp + 0x7a], 0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000edc0
xor eax, eax
jmp 0x14000ede6
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x14000ede1
xor eax, eax
jmp 0x14000ede6
mov eax, 1
add rsp, 0x88
ret