joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003290
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.xwvOLYBrQhfriRoqnmecaqMEbkQzEgqpALZhcjJvKbrZxHtiVZLxrfDvEUIWdUQOXfXSOpcTdIshccZZMuxLPUHHbxWIBbZKmCkWrLdTqmwnqAWmOguGshJqPzXWEZoPqsiHTKpTeVRswsfVrRkHsbmxdRrdPwjvFElnPLbzrqeEDcQgxshcdFOFukBTaBPxhTxBVkXAsFiqAIRroFljAdsAiUKkVxOQ
mov r10, rax
sub rbx, rax
movabs rdi, 0x23456789abcdf013
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 1]
mov byte [r9 - 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [rbx + r9]
mov byte [r9], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 1]
mov byte [r9 + 1], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 2]
mov byte [r9 + 2], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 3]
mov byte [r9 + 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 6]
xor al, byte [rbx + r9 + 4]
mov byte [r9 + 4], al
mov rax, rdi
mul rcx
mov rax, rcx
lea r9, [r9 + 0xa]
sub rax, rdx
add r11d, 0xa
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 7]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 8]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 9]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
cmp r11d, 0xa
jb 0x1400032e0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140004d50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 2]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.xwvOLYBrQhfriRoqnmecaqMEbkQzEgqpALZhcjJvKbrZxHtiVZLxrfDvEUIWdUQOXfXSOpcTdIshccZZMuxLPUHHbxWIBbZKmCkWrLdTqmwnqAWmOguGshJqPzXWEZoPqsiHTKpTeVRswsfVrRkHsbmxdRrdPwjvFElnPLbzrqeEDcQgxshcdFOFukBTaBPxhTxBVkXAsFiqAIRroFljAdsAiUKkVxOQ
mov r10, rax
sub rbx, rax
movabs rdi, 0x23456789abcdf013
lea r9, [rax + 1]
nop dword [rax + rax]
movsxd r8, r11d
lea r9, [r9 + 6]
mov rax, rdi
mov rcx, r8
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 7]
mov byte [r9 - 7], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx - 6]
mov byte [r9 - 6], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 - 5]
mov byte [r9 - 5], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 - 4]
mov byte [r9 - 4], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 - 3]
mov byte [r9 - 3], al
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
xor al, byte [rbx + r9 - 2]
mov byte [r9 - 2], al
add r11d, 6
cmp r11d, 6
jb 0x140004da0
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140005d30
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor r11d, r11d
lea rsi, str.xwvOLYBrQhfriRoqnmecaqMEbkQzEgqpALZhcjJvKbrZxHtiVZLxrfDvEUIWdUQOXfXSOpcTdIshccZZMuxLPUHHbxWIBbZKmCkWrLdTqmwnqAWmOguGshJqPzXWEZoPqsiHTKpTeVRswsfVrRkHsbmxdRrdPwjvFElnPLbzrqeEDcQgxshcdFOFukBTaBPxhTxBVkXAsFiqAIRroFljAdsAiUKkVxOQ
mov r10, rax
sub rbx, rax
movabs rdi, 0x23456789abcdf013
lea r9, [rax + 2]
nop dword [rax + rax]
movsxd r8, r11d
mov rax, rdi
mul r8
mov rax, r8
mov rcx, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 1]
xor al, byte [rbx + r9 - 2]
movsx eax, al
mov word [r9 - 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 2]
xor al, byte [r9 + rbx]
movsx eax, al
mov word [r9], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 3]
xor al, byte [rbx + r9 + 2]
movsx eax, al
mov word [r9 + 2], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 4]
xor al, byte [rbx + r9 + 4]
movsx eax, al
mov word [r9 + 4], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
lea rcx, [r8 + 5]
xor al, byte [rbx + r9 + 6]
movsx eax, al
mov word [r9 + 6], ax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 7
imul rax, rax, 0xe1
sub rcx, rax
movzx eax, byte [rcx + rsi]
add r11d, 6
xor al, byte [rbx + r9 + 8]
lea r9, [r9 + 0xc]
movsx eax, al
mov word [r9 - 4], ax
cmp r11d, 6
jb 0x140005d80
mov rbx, qword [rsp + 0x30]
mov rax, r10
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14000ba00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
movsxd rax, dword [rcx + 0x3c]
mov r12, rdx
mov rdx, rcx
mov ecx, dword [rax + rcx + 0x88]
xor eax, eax
add rcx, rdx
mov dword [rbp - 0x2c], eax
mov qword [rbp - 0x28], rcx
mov r8d, dword [rcx + 0x1c]
mov r9d, dword [rcx + 0x20]
add r8, rdx
mov r10d, dword [rcx + 0x24]
add r9, rdx
add r10, rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
mov qword [rbp - 0x10], r10
cmp dword [rcx + 0x18], eax
jbe 0x14000bc2e
mov word [rbp + 0x50], 0x7778
mov word [rbp + 0x58], 0x7778
nop
mov esi, dword [r9 + rax*4]
lea rcx, [rbp + 0x50]
movzx eax, word [r10 + rax*2]
add rsi, rdx
xor edi, edi
mov r15d, dword [r8 + rax*4]
add r15, rdx
mov qword [rbp - 8], r15
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000bab4
nop dword [rax]
lea rcx, [rbp + 0x50]
inc rdi
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [rdi + rsi], cl
jne 0x14000baa0
lea rcx, [rbp + 0x58]
xor ebx, ebx
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [r12], cl
je 0x14000bae5
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
inc rbx
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [rbx + r12], cl
jne 0x14000bad0
cmp rdi, rbx
jne 0x14000bc02
mov r13, rsi
mov word [rbp - 0x50], 0x7778
sub r13, r12
mov r14, r12
nop dword [rax]
lea rcx, [rbp - 0x50]
xor ebx, ebx
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [rsi], cl
je 0x14000bb26
lea rcx, [rbp - 0x50]
inc rbx
call fcn.140001670
movzx ecx, byte [rax]
cmp byte [rbx + rsi], cl
jne 0x14000bb12
mov rax, r14
sub rax, r12
dec rbx
cmp rax, rbx
jae 0x14000bc28
movsx r15d, byte [r14 + r13]
lea rcx, [rbp - 0x4e]
mov dword [rbp - 0x4e], 0x770019
call fcn.140002550
movzx eax, word [rax]
cmp r15d, eax
jl 0x14000bb98
lea rcx, [rbp - 0x4a]
mov dword [rbp - 0x4a], 0x770002
call fcn.140002550
movzx ecx, word [rax]
cmp r15d, ecx
jg 0x14000bb98
lea rcx, [rbp - 0x46]
mov dword [rbp - 0x46], 0x770019
mov dword [rbp - 0x42], 0x770039
call fcn.140002550
lea rcx, [rbp - 0x42]
movzx ebx, byte [rax]
call fcn.140002550
movzx ecx, byte [rax]
sub cl, bl
add r15b, cl
movsx edi, byte [r14]
lea rcx, [rbp - 0x3e]
mov dword [rbp - 0x3e], 0x770019
call fcn.140002550
movzx eax, word [rax]
cmp edi, eax
jl 0x14000bbf5
lea rcx, [rbp - 0x3a]
mov dword [rbp - 0x3a], 0x770002
call fcn.140002550
movzx ecx, word [rax]
cmp edi, ecx
jg 0x14000bbf5
lea rcx, [rbp - 0x36]
mov dword [rbp - 0x36], 0x770019
mov dword [rbp - 0x32], 0x770039
call fcn.140002550
lea rcx, [rbp - 0x32]
movzx ebx, byte [rax]
call fcn.140002550
movzx ecx, byte [rax]
sub cl, bl
add dil, cl
cmp r15b, dil
jne 0x14000bc02
inc r14
jmp 0x14000bb00
mov eax, dword [rbp - 0x2c]
mov rcx, qword [rbp - 0x28]
inc eax
mov dword [rbp - 0x2c], eax
cmp eax, dword [rcx + 0x18]
jae 0x14000bc2e
mov rdx, qword [rbp + 0x40]
mov r8, qword [rbp - 0x20]
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x10]
jmp 0x14000ba70
mov rax, qword [rbp - 8]
jmp 0x14000bc30
xor eax, eax
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000d070
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x1400111c0]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x1f002b
mov dword [rbp - 0x1c], 0x230013
mov dword [rbp - 0x18], 0x6a0020
mov dword [rbp - 0x14], 0x5c0070
mov dword [rbp - 0x10], 0x40035
mov dword [rbp - 0xc], 0x72000a
call fcn.140002ba0
mov rcx, rax
call rbx
mov rbx, qword [0x1400111c0]
lea rcx, [rbp - 0x20]
mov qword [0x1400111a0], rax
mov dword [rbp - 0x20], 0x1e002f
mov dword [rbp - 0x1c], 0x260018
mov dword [rbp - 0x18], 0x3c0022
mov dword [rbp - 0x14], 0x5c0036
mov dword [rbp - 0x10], 0x40035
mov dword [rbp - 0xc], 0x72000a
call fcn.140002ba0
mov rcx, rax
call rbx
movdqa xmm0, xmmword [0x14000f8b0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400111b0], rax
mov word [rbp - 0x10], 0x3a18
mov byte [rbp - 0xe], 0x65
call fcn.1400052b0
mov rcx, qword [0x1400111a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140011130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x23131f2b
mov dword [rbp - 0x1c], 0x173a1c20
mov dword [rbp - 0x18], 0x17121d32
mov word [rbp - 0x14], 0x523e
call fcn.1400034f0
mov rcx, qword [0x1400111a0]
mov rdx, rax
call rbx
mov rbx, qword [0x140011130]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x2a021931
mov dword [rbp - 0x1c], 0x627373e
mov dword [rbp - 0x18], 0x1c03181e
mov word [rbp - 0x14], 0x5228
call fcn.1400034f0
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f950]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110e8], rax
mov byte [rbp - 0x10], 0x6e
call fcn.140004ef0
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f920]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110f0], rax
mov dword [rbp - 0x10], 0x6300010a
call fcn.140002750
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f880]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110e0], rax
mov byte [rbp - 0x10], 0x6e
call fcn.140004ef0
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f810]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x1400110d8], rax
mov dword [rbp - 0x10], 0x220b0207
mov byte [rbp - 0xc], 0x61
call fcn.140003820
mov rcx, qword [0x1400111b0]
mov rdx, rax
call rbx
movdqa xmm0, xmmword [0x14000f8f0]
lea rcx, [rbp - 0x20]
mov rbx, qword [0x140011130]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x10], 0x2c00
mov byte [rbp - 0xe], 0x65
call fcn.1400052b0
mov rcx, qword [0x1400111b0]
mov rdx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp rax
Function at 0x14000d590
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x66
mov dword [rbp - 0x20], 0x320033
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x10024
mov dword [rbp - 0x18], 0x150009
mov dword [rbp - 0x14], 0x330000
mov dword [rbp - 0x10], 0x2d0002
call fcn.140005ef0
mov rcx, rax
call 0x14000d590
mov qword [0x1400111b8], rax
lea rcx, [rbp - 0x20]
mov eax, 0x51
mov dword [rbp - 0x20], 0x320033
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x10024
mov dword [rbp - 0x18], 0x150009
mov dword [rbp - 0x14], 0x400071
call fcn.1400022f0
mov rcx, rax
call 0x14000d590
lea rcx, [rbp - 0x20]
mov qword [0x1400111a8], rax
mov dword [rbp - 0x20], 0x30016
mov dword [rbp - 0x1c], 0x230012
mov dword [rbp - 0x18], 0x590020
call fcn.140005d30
mov rcx, rax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x14000d590
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword gs:[0x60]
mov rsi, rcx
mov rdi, qword [rax + 0x18]
add rdi, 0x20
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14000d5f2
nop dword [rax + rax]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
mov r8, rax
call fcn.14000c560
test al, al
jne 0x14000d604
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x14000d5c0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400017f8
Capabilities:
Parse pe header

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

Function at 0x1400059fc
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400057ec
Function at 0x140008a60
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 0x140008a90
xor eax, eax
jmp 0x140008b53
mov rbp, rbx
cmp word [rax], si
je 0x140008ab5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x140008a9c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140008a98
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.1400089b0
movsxd r14, eax
test eax, eax
jne 0x140008af3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140008a89
mov rcx, r14
call fcn.140009914
mov rdi, rax
test rax, rax
jne 0x140008b0c
xor ecx, ecx
call fcn.140007040
jmp 0x140008ae8
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.1400089b0
test eax, eax
jne 0x140008b3d
mov rcx, rdi
call fcn.140007040
jmp 0x140008b47
xor ecx, ecx
call fcn.140007040
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 0x14000c01c
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.140007ab4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14000c0a6
cmp byte [rbp - 0x21], r15b
je 0x14000c0a1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14000c0dc
call fcn.14000a134
test eax, eax
jne 0x14000c0c8
cmp byte [rbp - 0x21], r15b
je 0x14000c0c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14000c0dc
cmp byte [rbp - 0x21], r15b
je 0x14000c0d9
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.140007090
test eax, eax
jne 0x14000c17c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140007ab4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14000c11b
cmp byte [rbp - 0x21], r15b
je 0x14000c150
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14000c150
call fcn.14000a134
test eax, eax
jne 0x14000c13c
cmp byte [rbp - 0x21], r15b
je 0x14000c135
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14000c150
cmp byte [rbp - 0x21], r15b
je 0x14000c14d
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.140007090
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14000c17c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14000c17f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14000c18d
mov rcx, rdi
call fcn.140007040
cmp byte [rbp + 0x3f], r15b
je 0x14000c19c
mov rcx, qword [rbp + 0x27]
call fcn.140007040
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 0x14000eff0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000f018
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14000f018
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x180001000
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x168
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18000103f
xor eax, eax
jmp 0x18000116d
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4550
je 0x18000106c
xor eax, eax
jmp 0x18000116d
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x40]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0xe0]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x20], 0
jmp 0x180001100
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x20], eax
jae 0x18000116b
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
movzx eax, word [rcx + rax*2]
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x60]
call fcn.180001230
cmp dword [rsp + 0x188], eax
jne 0x180001169
mov rax, qword [rsp + 0x68]
jmp 0x18000116d
jmp 0x1800010f6
xor eax, eax
add rsp, 0x168
pop rdi
pop rsi
ret

Function at 0x180001180
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword gs:[0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x18]
add rax, 0x20
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + 0x48]
test eax, eax
je 0x18000121b
mov rdx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.180001290
test eax, eax
je 0x180001201
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx + rax + 0x20]
jmp 0x180001229
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jne 0x1800011c8
xor eax, eax
add rsp, 0x48
ret
Function at 0x1800018a0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x38
lea rax, [0x1800040a0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x539
jle 0x180001951
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, eax
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cdqe
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
cdqe
mov qword [rsp + 0x20], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cdqe
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
cdqe
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
cdqe
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cdqe
mov qword [rsp + 0x20], rax
add rsp, 0x38
ret