joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400accf8
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400acacc
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400acacc
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400acacc
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400acacc
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400acacc
cmp dword [rcx + 0x84], 0xe
jbe 0x1400acacc
cmp dword [rcx + 0xf8], esi
je 0x1400acacc
mov ecx, r14d
call fcn.1400acc14
mov ecx, 2
call fcn.1400b5f30
nop
cmp byte [0x140100b00], 0
jne 0x1400acb96
mov r15d, 1
mov eax, r15d
xchg dword [0x140100af4], eax
test ebx, ebx
jne 0x1400acb3f
mov rdi, qword [0x1400fd018]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140100af8]
cmp rcx, rax
je 0x1400acb36
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140016dd0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140100d40]
jmp 0x1400acb4b
cmp ebx, r15d
jne 0x1400acb51
lea rcx, [0x140100d58]
call fcn.1400b2b50
nop
test ebx, ebx
jne 0x1400acb68
lea rdx, [0x1400c4f68]
lea rcx, [0x1400c4f48]
call fcn.1400b2ee4
lea rdx, [0x1400c4f78]
lea rcx, [0x1400c4f70]
call fcn.1400b2ee4
movzx eax, byte [0x140100b00]
test esi, esi
cmove eax, r15d
mov byte [0x140100b00], al
jmp 0x1400acb96
mov ecx, 2
call fcn.1400b5f84
test esi, esi
jne 0x1400acbad
mov ecx, r14d
call fcn.1400acbc8
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400aca5c
Function at 0x1401ab690
Capabilities:
Encode data using xor

Disassembly:
movzx eax, byte [rcx]
xor edx, edx
test al, al
je 0x1401ab6ba
nop dword [rax]
movsx eax, al
lea rcx, [rcx + 1]
xor eax, edx
xor eax, 0x561e12b0
shr eax, 1
imul edx, eax, 0x21
movzx eax, byte [rcx]
test al, al
jne 0x1401ab6a0
mov eax, edx
ret

Function at 0x1401ab6c0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rbx, qword [0x1401ad1f8]
lea r9, [rsp + 0x40]
mov rcx, rbx
mov edx, 0x1000
mov r8d, 4
call qword [fcn.1401ad200]
mov r11, qword [0x1401ad1e8]
mov r8, rbx
mov r9, qword [0x1401ad1e0]
mov r10d, 0x1000
mov edi, 0x40
nop dword [rax + rax]
movzx edx, byte [r8]
lea r8, [r8 + 1]
xor dl, r9b
mov ecx, edi
and ecx, 0x3f
mov rax, r11
shr rax, cl
add dl, al
mov byte [r8 - 1], dl
sub r10, 1
jne 0x1401ab710
lea r9, [rsp + 0x40]
mov edx, 0x1000
lea r8d, [r10 + 1]
mov rcx, rbx
call qword [fcn.1401ad200]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401ab760
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
lea r9, [rsp + 0x40]
mov edx, 0x1000
mov r8d, 4
mov rbx, rcx
call qword [fcn.1401ad200]
mov r11, qword [0x1401ad1e8]
mov r8, rbx
mov r9, qword [0x1401ad1e0]
mov r10d, 0x1000
mov edi, 0x40
nop
movzx edx, byte [r8]
lea r8, [r8 + 1]
mov ecx, edi
mov rax, r11
and ecx, 0x3f
shr rax, cl
sub dl, al
xor dl, r9b
mov byte [r8 - 1], dl
sub r10, 1
jne 0x1401ab7a0
lea r9, [rsp + 0x40]
mov edx, 0x1000
lea r8d, [r10 + 0x20]
mov rcx, rbx
call qword [fcn.1401ad200]
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1401ab860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rax, qword [0x1401ad1d8]
mov r14, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov r11, qword [rdi]
cmp r11, rdi
je 0x1401ab906
nop dword [rax]
mov r10, qword [r11 + 0x20]
movsxd rax, dword [r10 + 0x3c]
mov ecx, dword [rax + r10 + 0x88]
test ecx, ecx
je 0x1401ab8fe
mov esi, dword [r10 + rcx + 0x1c]
lea rax, [r10 + rcx]
mov r9d, dword [rax + 0x20]
add rsi, r10
mov ebp, dword [rax + 0x24]
add r9, r10
mov ebx, dword [rax + 0x18]
add rbp, r10
xor r8d, r8d
test ebx, ebx
je 0x1401ab8fe
nop word [rax + rax]
mov ecx, dword [r9]
add rcx, r10
call fcn.1401ab690
cmp eax, 0xa2b3228a
je 0x1401ab8f0
inc r8d
add r9, 4
cmp r8d, ebx
jb 0x1401ab8d0
jmp 0x1401ab8fe
movzx ecx, word [rbp + r8*2]
mov eax, dword [rsi + rcx*4]
add rax, r10
jne 0x1401ab908
mov r11, qword [r11]
cmp r11, rdi
jne 0x1401ab890
xor eax, eax
lea r9, [rsp + 0x48]
mov edx, 0x1000
mov r8d, 1
mov rcx, r14
call rax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x1400aafe0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.1400af580
sub rsp, rax
mov rax, qword [0x1400ea0e8]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x80], ax
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x1400ab0a2
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400ab04d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400ab040
cmp rcx, 1
jb 0x1400ab0fa
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400ab070
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400bbd18
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400ab030
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x1400ab0d3
lea rcx, [rsp + 0x80]
call fcn.1400be9dc
jmp 0x1400ab0d5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400af550
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400b18c8
int3
Function at 0x1400af0d0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400ea0e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x1400af175
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400af12d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400af120
cmp rcx, 1
jb 0x1400af1a6
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400af143
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400bbd18
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400af110
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400af550
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.1400b18c8
int3

Function at 0x1400af3e0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400ea0e8]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x1400af485
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400af43d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400af430
cmp rcx, 1
jb 0x1400af4b7
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x1400af453
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.1400bbd18
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400af420
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400af550
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.1400b18c8
int3

Function at 0x1400aff94
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400b2d37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b2d37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b2d37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b2d37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b2d37
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b2d37
cmp dword [rcx + 0xf8], 0
je 0x1400b2d37
mov ecx, ebx
call fcn.1400b2dd8
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400b2bc8
cmp dword [rbp + 0x20], 0
je 0x1400b2d84
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b2d8c
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b2cd0
Function at 0x140002884
Capabilities:
Parse pe header

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

Function at 0x140008858
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 0x1400086c3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400086c3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400086c3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400086c3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400086c3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400086c3
cmp dword [rcx + 0xf8], 0
je 0x1400086c3
mov ecx, ebx
call fcn.140008774
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.140008550
nop
cmp dword [rbp + 0x20], 0
je 0x140008711
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000871c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140008654

Function at 0x14000fb2c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14000fb42
mov al, 1
jmp 0x14000fba2
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14000fb53
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14000fba0
mov ecx, dword [rcx + 0x18]
nop
call fcn.1400117e0
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000fba0
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14000fba0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14000fba0
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14000fba2
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140010f40
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 0x140010f70
xor eax, eax
jmp 0x140011033
mov rbp, rbx
cmp word [rax], si
je 0x140010f95
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140010f7c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140010f78
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.140010e60
movsxd r14, eax
test eax, eax
jne 0x140010fd3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010f69
mov rcx, r14
call fcn.14000dd4c
mov rdi, rax
test rax, rax
jne 0x140010fec
xor ecx, ecx
call fcn.14000d0d4
jmp 0x140010fc8
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.140010e60
test eax, eax
jne 0x14001101d
mov rcx, rdi
call fcn.14000d0d4
jmp 0x140011027
xor ecx, ecx
call fcn.14000d0d4
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 0x140011050
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 0x1400110d7
mov rsi, rbx
cmp word [rax], bp
je 0x140011096
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140011080
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14001107c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14000dd4c
mov rdi, rax
test rax, rax
je 0x1400110c4
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400193f0
mov rbp, rdi
xor ecx, ecx
call fcn.14000d0d4
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 0x140015fe4
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.14000ac50
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001606e
cmp byte [rbp - 0x21], r15b
je 0x140016069
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400160a4
call fcn.14000d324
test eax, eax
jne 0x140016090
cmp byte [rbp - 0x21], r15b
je 0x140016088
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400160a4
cmp byte [rbp - 0x21], r15b
je 0x1400160a1
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.14000aad4
test eax, eax
jne 0x140016144
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000ac50
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400160e3
cmp byte [rbp - 0x21], r15b
je 0x140016118
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140016118
call fcn.14000d324
test eax, eax
jne 0x140016104
cmp byte [rbp - 0x21], r15b
je 0x1400160fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140016118
cmp byte [rbp - 0x21], r15b
je 0x140016115
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.14000aad4
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140016144
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140016147
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140016155
mov rcx, rdi
call fcn.14000d0d4
cmp byte [rbp + 0x3f], r15b
je 0x140016164
mov rcx, qword [rbp + 0x27]
call fcn.14000d0d4
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 0x140017e50
Capabilities:
Parse pe header

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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000d5d0
cmp r11, r10
ja 0x14000d646
cmp r10, rdx
ja 0x14000d658
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000d5d2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000d5b0
jmp 0x14000d634
ja 0x14000d5da
mov r11, r10
cmp rax, r8
jne 0x14000d574
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000d610
mov rdi, r8
sub ecx, edx
jns 0x14000d62b
jmp 0x14000d636
cmp r8, rsi
je 0x14000d667
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000d636
xor al, 1
cmp rdi, rsi
jne 0x14000d5f0
jmp 0x14000d636
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400fa360
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400fa0d0
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400fa150
int3
Function at 0x1400162c0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140016302
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 3
jbe 0x14001630a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14001631b
jmp 0x140016332
xor r10d, r10d
jmp 0x1400163bd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140016332
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140016349
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140016369
add r11, r8
jmp 0x14001649a
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140016432
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x1400163e0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 3
jbe 0x140016450
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x140016462
jmp 0x14001647c
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14001647c
lea rcx, [r8 + r10]
movzx esi, word [rdx + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x140016496
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140019960
Capabilities:
Generate random numbers via winapi

Disassembly:
sub rsp, 0x38
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
and al, 0x20
Function at 0x140026870
Capabilities:
Check for software breakpoints
Check os version
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1ce8
call fcn.1400f9320
sub rsp, rax
movaps xmmword [rsp + 0x1cd0], xmm11
movaps xmmword [rsp + 0x1cc0], xmm10
movaps xmmword [rsp + 0x1cb0], xmm9
movaps xmmword [rsp + 0x1ca0], xmm8
movaps xmmword [rsp + 0x1c90], xmm7
movdqa xmmword [rsp + 0x1c80], xmm6
mov rsi, rdx
mov qword [rsp + 0x108], rcx
movzx eax, byte [r8 + 0x16]
mov byte [rsp + 0x67], al
movzx eax, byte [r8 + 0x11]
mov byte [rsp + 0x3f], al
mov rax, qword [r8]
mov rcx, qword [r8 + 8]
mov qword [rsp + 0x2a8], rcx
mov qword [rsp + 0x2b0], rax
lea rax, [rax + 8]
mov qword [rsp + 0x2a0], rax
movzx eax, byte [r8 + 0x15]
mov byte [rsp + 0x66], al
movzx eax, byte [r8 + 0x13]
mov byte [rsp + 0x57], al
movzx eax, byte [r8 + 0x10]
mov byte [rsp + 0x65], al
movzx eax, byte [r8 + 0x14]
mov byte [rsp + 0x2e], al
pxor xmm6, xmm6
movaps xmm7, xmmword [0x140102600]
movss xmm8, dword [0x140102610]
movdqa xmm9, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmm10, xmmword [0x140102650]
movdqa xmm11, xmmword [0x140102830]
mov qword [rsp + 0x1b0], rdx