joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18003d344
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9b, r9b
je 0x18003d396
test r8, r8
je 0x18003d3b9
movabs r9, 0x100000001b3
mov al, byte [rbx + r10]
mov dl, byte [rbx + r10]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [rbx + r10]
cmp dl, 0x19
cmova ecx, eax
inc r10
imul r11, r9
movsx rax, cl
xor r11, rax
cmp r10, r8
jb 0x18003d366
jmp 0x18003d3b9
test r8, r8
je 0x18003d3b9
movabs r9, 0x100000001b3
movsx rcx, byte [rdx + r10]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x18003d3a5
mov rbx, qword [rsp + 8]
mov rax, r11
ret
xor r8d, r8d
cmp byte [rcx], r8b
je 0x18003e036
inc r8
cmp byte [rcx + r8], 0
jne 0x18003e02c
mov r9b, dl
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x18003d344

Function at 0x18003d3ec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r8d, r8d
movzx eax, byte [rdx + r8]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 8
jb 0x18003d3c7
mov rax, rcx
ret
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x18003d3c4

Function at 0x18003e024
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
xor r10d, r10d
mov rbx, rdx
mov r11, rcx
test r9b, r9b
je 0x18003d396
test r8, r8
je 0x18003d3b9
movabs r9, 0x100000001b3
mov al, byte [rbx + r10]
mov dl, byte [rbx + r10]
add al, 0x20
movzx ecx, al
sub dl, 0x41
movzx eax, byte [rbx + r10]
cmp dl, 0x19
cmova ecx, eax
inc r10
imul r11, r9
movsx rax, cl
xor r11, rax
cmp r10, r8
jb 0x18003d366
jmp 0x18003d3b9
test r8, r8
je 0x18003d3b9
movabs r9, 0x100000001b3
movsx rcx, byte [rdx + r10]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x18003d3a5
mov rbx, qword [rsp + 8]
mov rax, r11
ret
xor r8d, r8d
cmp byte [rcx], r8b
je 0x18003e036
inc r8
cmp byte [rcx + r8], 0
jne 0x18003e02c
mov r9b, dl
mov rdx, rcx
movabs rcx, 0xcbf29ce484222325
jmp 0x18003d344

Function at 0x18003ea54
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x48
xor r11d, r11d
mov r8, rcx
mov edx, r11d
cmp word [rcx], r11w
je 0x18003ea71
inc rdx
cmp word [rcx + rdx*2], r11w
jne 0x18003ea67
movabs r9, 0xcbf29ce484222325
mov r10, r11
test rdx, rdx
je 0x18003eabb
movzx eax, word [r8 + r10*2]
movzx ecx, word [r8 + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [r8 + r10*2]
inc r10
movzx eax, cx
movabs rcx, 0x100000001b3
imul r9, rcx
xor r9, rax
cmp r10, rdx
jb 0x18003ea83
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], r11
lea rcx, [0x18003ea44]
mov qword [rsp + 0x30], r11
mov qword [rsp + 0x20], r9
call fcn.18003eb8c
neg al
sbb rax, rax
and rax, qword [rsp + 0x28]
add rsp, 0x48
ret
Function at 0x180043630
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov rdi, qword [rsp + 0x28]
xor r10d, r10d
mov rsi, r8
mov rbx, rdx
test rdx, rdx
je 0x1800436bc
mov r11d, r10d
cmp byte [rdi], r10b
je 0x180043663
inc r11
cmp byte [rdi + r11], r10b
jne 0x18004365a
movabs r8, 0xcbf29ce484222325
test r11, r11
je 0x1800436aa
mov dl, byte [rdi + r10]
mov al, byte [rdi + r10]
sub dl, 0x41
add al, 0x20
movzx ecx, al
cmp dl, 0x19
movzx eax, byte [rdi + r10]
cmova ecx, eax
inc r10
movsx rdx, cl
movabs rcx, 0x100000001b3
imul r8, rcx
xor r8, rdx
cmp r10, r11
jb 0x180043672
cmp r8, qword [rbx]
jne 0x1800436bc
mov qword [rbx + 0x10], rsi
mov al, 1
mov word [rbx + 8], r9w
jmp 0x1800436be
xor al, al
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret

Function at 0x1800436d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov r13, r8
xor edx, edx
mov rdi, rcx
test r12, r12
je 0x180043799
test rcx, rcx
je 0x180043799
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180043799
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
jne 0x180043799
test rax, rax
je 0x180043799
add rax, 0x88
je 0x180043799
mov ebx, dword [rax]
add rbx, rcx
je 0x180043799
cmp dword [rbx + 0x1c], edx
je 0x180043799
cmp dword [rbx + 0x20], edx
je 0x180043799
cmp dword [rbx + 0x24], edx
je 0x180043799
mov r14d, dword [rbx + 0x1c]
mov esi, edx
mov ebp, dword [rbx + 0x20]
add r14, rcx
mov r15d, dword [rbx + 0x24]
add rbp, rcx
add r15, rcx
cmp dword [rbx + 0x18], edx
jbe 0x180043799
mov ecx, esi
movzx r8d, word [r15 + rcx*2]
cmp dword [r14 + r8*4], edx
je 0x180043792
cmp dword [rbp + rcx*4], edx
je 0x180043792
mov r9d, dword [rbp + rcx*4]
mov rcx, r13
mov edx, dword [r14 + r8*4]
add r9, rdi
add rdx, rdi
call r12
xor edx, edx
test al, al
jne 0x1800437b8
inc esi
cmp esi, dword [rbx + 0x18]
jb 0x180043764
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov al, 1
jmp 0x18004379b
Function at 0x18004d78c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
xor r10d, r10d
mov r11, rcx
test r9b, r9b
je 0x18004d7d6
test r8, r8
je 0x18004d7f9
movabs r9, 0x100000001b3
movzx eax, word [rdx + r10*2]
movzx ecx, word [rdx + r10*2]
sub ax, 0x41
add cx, 0x20
cmp ax, 0x19
cmova cx, word [rdx + r10*2]
inc r10
imul r11, r9
movzx eax, cx
xor r11, rax
cmp r10, r8
jb 0x18004d7a6
jmp 0x18004d7f9
test r8, r8
je 0x18004d7f9
movabs r9, 0x100000001b3
movzx ecx, word [rdx + r10*2]
inc r10
imul r11, r9
xor r11, rcx
cmp r10, r8
jb 0x18004d7e5
mov rax, r11
ret
Function at 0x180068810
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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 rax, qword gs:[0x60]
mov r15, rcx
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov ebx, dword [rcx + r8 + 0x88]
add rbx, r8
cmp rbx, r8
je 0x1800688b7
mov r10d, dword [rbx + 0x18]
test r10d, r10d
je 0x1800688b7
mov esi, dword [rbx + 0x20]
dec r10d
mov edi, 0x55a8ce2a
lea rcx, [rsi + r10*4]
mov r9d, dword [rcx + r8]
add r9, r8
mov r11b, byte [r9]
inc r9
test r11b, r11b
je 0x1800688b2
movsx ecx, r11b
sub r11b, 0x41
mov edx, ecx
or edx, 0x20
cmp r11b, 0x19
mov r11b, byte [r9]
cmova edx, ecx
inc r9
xor edx, edi
imul edi, edx, 0x1000193
test r11b, r11b
jne 0x180068883
cmp edi, 0xa4aedc9e
je 0x1800688bc
test r10d, r10d
jne 0x180068865
mov rax, qword [rax]
jmp 0x180068841
mov ecx, dword [rbx + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [rbx + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r8
xor ecx, ecx
xor r8d, r8d
call rax
mov rcx, 0xffffffffffffffff
lea r12, [rax + 1]
mov eax, 2
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.18003ee28
mov rcx, qword gs:[0x60]
mov rbp, rax
mov rcx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x10]
mov r9, qword [rcx + 0x30]
movsxd rdx, dword [r9 + 0x3c]
mov r10d, dword [rdx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x180068982
mov r11d, dword [r10 + 0x18]
test r11d, r11d
je 0x180068982
mov r14d, dword [r10 + 0x20]
dec r11d
mov edi, 0x575fb9e5
lea rax, [r14 + r11*4]
mov r8d, dword [rax + r9]
add r8, r9
mov bl, byte [r8]
inc r8
test bl, bl
je 0x18006897d
movsx eax, bl
sub bl, 0x41
mov edx, eax
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r8]
cmova edx, eax
inc r8
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180068952
cmp edi, 0x874857e5
je 0x180068987
test r11d, r11d
jne 0x180068935
mov rcx, qword [rcx]
jmp 0x180068910
mov ecx, dword [r10 + 0x24]
mov r8, r12
add rcx, r9
movzx edx, word [rcx + r11*2]
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, r9
mov rcx, rbp
call rax
mov rbx, qword [rsp + 0x40]
mov rax, rbp
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x180080350
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18008046b
movabs rax, 0x575593f14ec29cf
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9c5537812be839b
mov qword [r11 - 0x20], rax
movabs rax, 0x720736796d88468d
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9c5537812daf1fa
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x1800803e2
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x1800803d7
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x180080428
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x1800803f4
mov rax, qword [0x1800a1250]
test rax, rax
jne 0x18008044f
call fcn.18003e9c0
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.18003d468
mov qword [0x1800a1250], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.18003de64
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x18008047c
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18008383c
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x180080490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x1800805ab
movabs rax, 0x1a605f2b14ec29cf
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9c5537812daf18e
mov qword [r11 - 0x20], rax
movabs rax, 0x720736796d88468d
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9c5537812daf1fa
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180080522
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x180080517
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x180080568
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x180080534
mov rax, qword [0x1800a1250]
test rax, rax
jne 0x18008058f
call fcn.18003e9c0
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.18003d468
mov qword [0x1800a1250], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.18003de64
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x1800805bc
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18008383c
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800813f4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
push rdi
sub rsp, 0x40
lea rax, [rcx - 0x10000]
mov rsi, rcx
movabs rcx, 0x7ffffffeffff
mov rbx, rdx
cmp rax, rcx
ja 0x18008150f
movabs rax, 0x575593f09e923c5
xor r9d, r9d
mov qword [r11 - 0x28], rax
movabs rax, 0x9c5537812be839b
mov qword [r11 - 0x20], rax
movabs rax, 0x720736796d88468d
movdqa xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rax, 0x9c5537812daf1fa
mov qword [rsp + 0x38], rax
xorps xmm0, xmmword [rsp + 0x30]
movq rax, xmm0
movdqa xmmword [rsp + 0x20], xmm0
test al, al
je 0x180081486
inc r9
cmp byte [rsp + r9 + 0x20], 0
jne 0x18008147b
xor r10d, r10d
movabs rdi, 0xcbf29ce484222325
test r9, r9
je 0x1800814cc
movzx edx, byte [rsp + r10 + 0x20]
lea eax, [rdx + 0x20]
movzx ecx, al
lea r8d, [rdx - 0x41]
cmp r8b, 0x19
cmova ecx, edx
inc r10
movsx rax, cl
movabs rcx, 0x100000001b3
imul rdi, rcx
xor rdi, rax
cmp r10, r9
jb 0x180081498
mov rax, qword [0x1800a1250]
test rax, rax
jne 0x1800814f3
call fcn.18003e9c0
mov rcx, rax
lea rdx, str.PlayerEyes
call fcn.18003d468
mov qword [0x1800a1250], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call fcn.18003de64
mov rdx, rsi
mov rcx, rbx
mov r8, qword [rax]
call r8
jmp 0x180081520
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, rbx
call fcn.18008383c
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x18008539c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
lea rax, [rcx - 0x10000]
movabs rdx, 0x7ffffffeffff
cmp rax, rdx
ja 0x180085425
mov rax, qword [rcx]
xor r9d, r9d
test rax, rax
je 0x180085425
mov rbx, qword [rax + 0x10]
mov r10d, r9d
cmp byte [rbx], r9b
je 0x1800853d7
inc r10
cmp byte [rbx + r10], r9b
jne 0x1800853ce
movabs r11, 0xcbf29ce484222325
test r10, r10
je 0x180085420
mov al, byte [rbx + r9]
movzx ecx, byte [rbx + r9]
add al, 0x20
mov r8b, byte [rbx + r9]
sub r8b, 0x41
movzx edx, al
cmp r8b, 0x19
movabs rax, 0x100000001b3
cmova edx, ecx
inc r9
imul r11, rax
movsx rcx, dl
xor r11, rcx
cmp r9, r10
jb 0x1800853e6
mov rax, r11
jmp 0x180085427
xor eax, eax
mov rbx, qword [rsp + 8]
ret
Function at 0x1800859a8
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

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, 0x30
mov rbp, rcx
cmp edx, 1
jne 0x180085b46
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180085a50
mov r10d, dword [r9 + 0x18]
test r10d, r10d
je 0x180085a50
mov r14d, dword [r9 + 0x20]
dec r10d
mov edi, 0xfef79d3
lea rcx, [r14 + r10*4]
mov r11d, dword [rcx + r8]
add r11, r8
mov bl, byte [r11]
inc r11
test bl, bl
je 0x180085a4b
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r11]
cmova edx, ecx
inc r11
xor edx, edi
imul edi, edx, 0x1000193
test bl, bl
jne 0x180085a20
cmp edi, 0x106f7ced
je 0x180085a55
test r10d, r10d
jne 0x180085a03
mov rax, qword [rax]
jmp 0x1800859de
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r10*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
mov rcx, rbp
add rax, r8
call rax
mov rax, qword [0x1800a16f0]
test rax, rax
jne 0x180085b2b
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r9d, dword [rcx + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x180085b06
mov r11d, dword [r9 + 0x18]
test r11d, r11d
je 0x180085b06
mov r14d, dword [r9 + 0x20]
dec r11d
mov esi, 0x9fb8003f
lea rcx, [r14 + r11*4]
mov r10d, dword [rcx + r8]
add r10, r8
mov bl, byte [r10]
inc r10
test bl, bl
je 0x180085b01
movsx ecx, bl
sub bl, 0x41
mov edx, ecx
or edx, 0x20
cmp bl, 0x19
mov bl, byte [r10]
cmova edx, ecx
inc r10
xor edx, esi
imul esi, edx, 0x1000193
test bl, bl
jne 0x180085ad6
cmp esi, 0x81c215e7
je 0x180085b0b
test r11d, r11d
jne 0x180085ab9
mov rax, qword [rax]
jmp 0x180085a94
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + r11*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
mov qword [0x1800a16f0], rax
and qword [rsp + 0x28], 0
lea r8, [0x180085994]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call rax
mov rbx, qword [rsp + 0x40]
mov eax, 1
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14001eb00
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.140022ac0
sub rsp, rax
mov rax, qword [0x140060b00]
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 0x14001ebc2
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001eb6d
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14001eb60
cmp rcx, 1
jb 0x14001ec1a
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 0x14001eb90
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14003207c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14001eb50
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001ebf3
lea rcx, [rsp + 0x80]
call fcn.140034eb4
jmp 0x14001ebf5
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.1400227f0
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140031e28
int3
Function at 0x140022370
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140060b00]
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 0x140022415
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400223cd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400223c0
cmp rcx, 1
jb 0x140022446
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 0x1400223e3
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14003207c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400223b0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400227f0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.140031e28
int3

Function at 0x140022680
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140060b00]
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 0x140022725
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x1400226dd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x1400226d0
cmp rcx, 1
jb 0x140022757
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 0x1400226f3
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14003207c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x1400226c0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400227f0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140031e28
int3

Function at 0x140023224
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002326e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002326e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002326e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002326e
cmp dword [rcx + 0x84], 0xe
jbe 0x14002326e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140023270
xor al, al
add rsp, 0x28
ret
Function at 0x140028668
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 0x1400284d3
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400284d3
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400284d3
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400284d3
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400284d3
cmp dword [rcx + 0x84], 0xe
jbe 0x1400284d3
cmp dword [rcx + 0xf8], 0
je 0x1400284d3
mov ecx, ebx
call fcn.140028584
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.140028360
nop
cmp dword [rbp + 0x20], 0
je 0x140028521
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14002852c
int3
xor r8d, r8d
xor edx, edx
jmp 0x140028464
Function at 0x14003a120
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 0x14003a1a7
mov rsi, rbx
cmp word [rax], bp
je 0x14003a166
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x14003a150
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x14003a14c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140034fa0
mov rdi, rax
test rax, rax
je 0x14003a194
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400404a0
mov rbp, rdi
xor ecx, ecx
call fcn.140035ed4
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 0x14003dd1c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14003dd32
mov al, 1
jmp 0x14003dd92
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14003dd43
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003dd90
mov ecx, dword [rcx + 0x18]
nop
call fcn.14003a8c4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14003dd90
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14003dd90
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14003dd90
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14003dd92
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140040280
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400402a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400402a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret