joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140022048
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 0x14002207a
call fcn.140016ac4
mov dword [rax], 0x16
call fcn.140010b44
jmp 0x140022199
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140022199
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140022199
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400220a9
lock or dword [rcx + 0x14], 0x10
jmp 0x140022199
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400220bd
call fcn.1400236ac
mov rdi, qword [rsi + 8]
mov rcx, rsi
mov ebx, dword [rsi + 0x20]
mov qword [rsi], rdi
call fcn.14001fa54
mov r8d, ebx
mov rdx, rdi
mov ecx, eax
call fcn.140022e28
mov dword [rsi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140022187
mov eax, dword [rsi + 0x14]
or edi, 0xffffffff
test al, 6
jne 0x140022152
mov rcx, rsi
call fcn.14001fa54
cmp eax, edi
je 0x14002213d
mov rcx, rsi
call fcn.14001fa54
cmp eax, 0xfffffffe
je 0x14002213d
mov rcx, rsi
call fcn.14001fa54
movsxd rbx, eax
lea r14, [0x14004b660]
mov rcx, rsi
sar rbx, 6
call fcn.14001fa54
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140022144
lea rdx, [0x1400493e0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140022152
lock or dword [rsi + 0x14], 0x20
cmp dword [rsi + 0x20], 0x200
jne 0x140022176
mov eax, dword [rsi + 0x14]
shr eax, 6
test al, 1
je 0x140022176
mov eax, dword [rsi + 0x14]
shr eax, 8
test al, 1
jne 0x140022176
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 0x14002219c
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 0x1400224c4
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.14000a880
sub rsp, rax
mov rax, qword [0x140049030]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14001fa54
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x140022513
mov rax, rbp
jmp 0x14002261b
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 + 0x4b660]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.140023600
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x4b660]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140022617
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 0x140022617
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.140023600
test rax, rax
js 0x140022617
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140022617
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140022609
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140022609
cmp byte [rcx], 0xd
jne 0x1400225ef
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x1400225fe
cmp byte [rcx + 1], 0xa
jne 0x1400225fe
inc rcx
jmp 0x1400225fe
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x49430]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1400225d1
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x14002261b
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.14000a3d0
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 0x14002297c
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, [0x14004b660]
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 0x1400229da
cmp word [rdx], r12w
jne 0x1400229da
or byte [rax + r8*8 + 0x38], cl
jmp 0x1400229e0
and byte [rax + r8*8 + 0x38], 0xfb
lea rdx, [rdx + r9*2]
mov rcx, rsi
mov rbx, rsi
cmp rsi, rdx
jae 0x140022b3b
mov r9d, 0x1a
lea r13d, [r9 - 0xd]
movzx eax, word [rcx]
cmp ax, r9w
je 0x140022b16
lea r9, [rcx + 2]
cmp ax, r13w
je 0x140022a19
mov rcx, r9
jmp 0x140022a3c
cmp r9, rdx
jae 0x140022a53
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 0x1400229fd
jmp 0x140022b3b
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 0x140022b10
cmp dword [rsp + 0x80], edi
je 0x140022b10
mov rdx, r14
lea r11, [0x14004b660]
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 0x140022ae9
movzx eax, word [rsp + 0x70]
cmp ax, r12w
jne 0x140022abc
mov word [rbx], r12w
jmp 0x140022b37
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 0x140022ac5
mov rax, qword [r11 + rdx*8]
mov byte [rax + r8*8 + 0x3c], r12b
jmp 0x140022b37
cmp word [rsp + 0x70], r12w
jne 0x140022af6
cmp rbx, rsi
je 0x140022ab6
mov rdx, 0xfffffffffffffffe
mov ecx, ebp
lea r8d, [rdx + 3]
call fcn.140023608
cmp word [rsp + 0x70], r12w
je 0x140022b3b
mov word [rbx], r13w
jmp 0x140022b37
lea r11, [0x14004b660]
mov rcx, qword [r11 + r10*8]
mov al, byte [rcx + r8*8 + 0x38]
test al, 0x40
jne 0x140022b33
or al, 2
mov byte [rcx + r8*8 + 0x38], al
jmp 0x140022b3b
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 0x140024e74
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 0x140024efb
mov rsi, rbx
cmp word [rax], bp
je 0x140024eba
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140024ea4
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140024ea0
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14001d6b8
mov rdi, rax
test rax, rax
je 0x140024ee8
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000c2f0
mov rbp, rdi
xor ecx, ecx
call fcn.14001d67c
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 0x14002c528
Capabilities:
Hash data using sha256

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
and qword [rcx], 0
mov rax, r8
and qword [rcx + 8], 0
mov rdi, rdx
mov rdx, rax
mov dword [rcx + 0x50], 0x6a09e667
mov r8, r9
mov dword [rcx + 0x54], 0xbb67ae85
mov rbx, rcx
mov dword [rcx + 0x58], 0x3c6ef372
mov dword [rcx + 0x5c], 0xa54ff53a
mov dword [rcx + 0x60], 0x510e527f
mov dword [rcx + 0x64], 0x9b05688c
mov dword [rcx + 0x68], 0x1f83d9ab
mov dword [rcx + 0x6c], 0x5be0cd19
call fcn.14002c874
mov rdx, rdi
mov rcx, rbx
call fcn.14002c620
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x14002fecc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rbx, qword [0x14004bc98]
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x3e001b
mov dword [rbp - 0x1c], 0x21002b
mov dword [rbp - 0x18], 0x770034
mov dword [rbp - 0x14], 0x4a0070
mov dword [rbp - 0x10], 0x40002
mov dword [rbp - 0xc], 0x730022
call fcn.140007204
mov rcx, qword [rax]
call rbx
mov rbx, qword [0x14004bc98]
lea rcx, [rbp - 0x20]
mov qword [0x14004bc78], rax
mov dword [rbp - 0x20], 0x3f001f
mov dword [rbp - 0x1c], 0x240020
mov dword [rbp - 0x18], 0x210036
mov dword [rbp - 0x14], 0x4a0036
mov dword [rbp - 0x10], 0x40002
mov dword [rbp - 0xc], 0x730022
call fcn.140007204
mov rcx, qword [rax]
call rbx
movdqa xmm0, xmmword [0x140043440]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bc88], rax
mov word [rbp - 0x10], 0x2024
mov byte [rbp - 0xe], 0x53
call fcn.140007848
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x212b3e1b
mov dword [rbp - 0x1c], 0x13a0134
mov dword [rbp - 0x18], 0x163a1d05
mov word [rbp - 0x14], 0x6424
call fcn.140007340
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x283a3801
mov dword [rbp - 0x1c], 0x10272a2a
mov dword [rbp - 0x18], 0x1d2b1829
mov word [rbp - 0x14], 0x6432
call fcn.140007340
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140032728
movdqa xmm0, xmmword [0x1400433e0]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbf0], rax
mov byte [rbp - 0x10], 0x52
call fcn.140007790
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140032728
movdqa xmm0, xmmword [0x140043490]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbf8], rax
mov dword [rbp - 0x10], 0x65361b36
call fcn.140007000
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140032728
movdqa xmm0, xmmword [0x140043460]
lea rcx, [rbp - 0x20]
movdqu xmmword [rbp - 0x20], xmm0
mov qword [0x14004bbe8], rax
mov byte [rbp - 0x10], 0x52
call fcn.140007790
mov rcx, qword [0x14004bc88]
mov rdx, qword [rax]
call fcn.140032728
movdqa xmm0, xmmword [0x1400434d0]
lea rcx, [rbp - 0x20]
mov qword [0x14004bbe0], rax
mov eax, 0x4a
mov byte [rbp - 0xc], al
movdqu xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x10], 0x243d183b
call fcn.1400073f8
movdqa xmm0, xmmword [0x140043480]
lea rcx, [rbp - 0x20]
mov word [rbp - 0x10], 0x363c
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0xe], 0x53
call fcn.140007848
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400308d8
Capabilities:
Access peb ldr_data

Disassembly:
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]
jmp 0x140030914
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000b28c
test rax, rax
jne 0x14003092b
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140030900
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14003091b
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x4e
mov dword [rbp - 0x20], 0x130003
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3001c
mov dword [rbp - 0x18], 0x8001d
mov dword [rbp - 0x14], 0x250000
mov dword [rbp - 0x10], 0x2d0035
call fcn.140007b00
mov rcx, qword [rax]
call 0x1400308d8
mov qword [0x14004bc90], rax
lea rcx, [rbp - 0x20]
mov eax, 0x66
mov dword [rbp - 0x20], 0x130003
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3001c
mov dword [rbp - 0x18], 0x8001d
mov dword [rbp - 0x14], 0x560071
call fcn.14000647c
mov rcx, qword [rax]
call 0x1400308d8
lea rcx, [rbp - 0x20]
mov qword [0x14004bc80], rax
mov dword [rbp - 0x20], 0x220026
mov dword [rbp - 0x1c], 0x21002a
mov dword [rbp - 0x18], 0x440034
call fcn.140007a78
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x1400308d8

Function at 0x140032728
Capabilities:
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
mov r10, rdx
mov r9, rcx
test rcx, rcx
je 0x1400327a9
test rdx, rdx
je 0x1400327a9
movsxd rax, dword [rcx + 0x3c]
mov r8d, dword [rax + rcx + 0x88]
add r8, rcx
mov edi, dword [r8 + 0x1c]
mov edx, dword [r8 + 0x20]
add rdi, rcx
mov esi, dword [r8 + 0x24]
add rdx, rcx
mov ebp, dword [r8 + 0x18]
add rsi, rcx
xor ecx, ecx
test ebp, ebp
je 0x1400327a9
mov eax, dword [rdx]
mov rbx, r10
add rax, r9
sub rbx, rax
movzx r8d, byte [rax]
movzx r11d, byte [rax + rbx]
sub r8d, r11d
jne 0x14003279a
inc rax
test r11d, r11d
jne 0x140032784
test r8d, r8d
je 0x1400327c0
inc ecx
add rdx, 4
cmp ecx, ebp
jb 0x140032779
xor eax, eax
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
movzx ecx, word [rsi + rcx*2]
mov eax, dword [rdi + rcx*4]
add rax, r9
jmp 0x1400327ab
Function at 0x140032844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
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]
jmp 0x140030914
mov rcx, qword [rbx + 0x40]
mov rdx, rsi
call fcn.14000b28c
test rax, rax
jne 0x14003092b
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x140030900
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 0x20]
jmp 0x14003091b
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov eax, 0x4e
mov dword [rbp - 0x20], 0x130003
lea rcx, [rbp - 0x20]
mov word [rbp - 0xc], ax
mov dword [rbp - 0x1c], 0x3001c
mov dword [rbp - 0x18], 0x8001d
mov dword [rbp - 0x14], 0x250000
mov dword [rbp - 0x10], 0x2d0035
call fcn.140007b00
mov rcx, qword [rax]
call 0x1400308d8
mov qword [0x14004bc90], rax
lea rcx, [rbp - 0x20]
mov eax, 0x66
mov dword [rbp - 0x20], 0x130003
mov word [rbp - 0x10], ax
mov dword [rbp - 0x1c], 0x3001c
mov dword [rbp - 0x18], 0x8001d
mov dword [rbp - 0x14], 0x560071
call fcn.14000647c
mov rcx, qword [rax]
call 0x1400308d8
lea rcx, [rbp - 0x20]
mov qword [0x14004bc80], rax
mov dword [rbp - 0x20], 0x220026
mov dword [rbp - 0x1c], 0x21002a
mov dword [rbp - 0x18], 0x440034
call fcn.140007a78
mov rcx, qword [rax]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
jmp 0x1400308d8

Function at 0x140032920
Capabilities:
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
movsxd rax, dword [rcx + 0x3c]
xor ebx, ebx
mov r13, rdx
mov rsi, rcx
mov edi, dword [rax + rcx + 0x88]
add rdi, rcx
mov r14d, dword [rdi + 0x1c]
mov r15d, dword [rdi + 0x20]
add r14, rcx
mov r12d, dword [rdi + 0x24]
add r15, rcx
add r12, rcx
cmp dword [rdi + 0x18], ebx
jbe 0x140032993
movzx eax, word [r12 + rbx*2]
mov rdx, r13
mov ecx, dword [r15 + rbx*4]
add rcx, rsi
mov ebp, dword [r14 + rax*4]
add rbp, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x1400329b2
inc ebx
cmp ebx, dword [rdi + 0x18]
jb 0x14003296c
xor eax, eax
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 rax, rbp
jmp 0x140032995
Function at 0x140001c60
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, r8
mov ebx, ecx
mov r8d, 0x30
lea rcx, [0x1400429c8]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
movzx edx, bx
lea r8, [0x14003a694]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
xor ecx, ecx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001d50
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x140001d40
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov r8d, esi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x140001d52
xor eax, eax
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140006b20
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001ef0
Capabilities:
Encode data using xor
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x40
lea rcx, str.C:Program_Files__x86_3ShapeDongle_Server_Service_
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
movdqa xmm0, xmmword [0x14003b290]
xor ebx, ebx
movdqu xmmword [rbp - 0x1c], xmm0
mov edx, ebx
mov dword [rbp - 0x20], 0xf
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x5d]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x140001f22
lea r8, [rbp - 0x1c]
mov qword [rsp + 0x50], rdi
mov ecx, 0x68
mov byte [rbp + rax - 0x1c], bl
call fcn.140001c60
test eax, eax
je 0x1400020be
movdqa xmm0, xmmword [0x14003b350]
xor ecx, ecx
mov edi, 0x10
mov byte [rbp - 0xc], 0xb3
mov eax, edi
mov edx, ebx
mov dword [rbp - 0x20], eax
movdqu xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
nop
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x5d]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x140001f80
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], bl
mov ecx, 0x65
call fcn.140001c60
test eax, eax
je 0x1400020be
movdqa xmm0, xmmword [0x14003b310]
xor eax, eax
movdqu xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0xb], ax
mov edx, ebx
mov byte [rbp - 9], al
mov dword [rbp - 0x20], edi
mov byte [rbp - 0xc], 0xb3
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x5d]
inc edx
xor byte [rcx], al
mov edi, dword [rbp - 0x20]
cmp edx, edi
jb 0x140001fd0
lea r8, [rbp - 0x1c]
mov byte [rbp + rdi - 0x1c], bl
mov ecx, 0x67
call fcn.140001c60
test eax, eax
je 0x1400020be
movdqa xmm0, xmmword [0x14003b1b0]
mov edx, ebx
mov eax, 0xc
mov dword [rbp - 0x20], eax
movdqu xmmword [rbp - 0x1c], xmm0
test eax, eax
je 0x140002037
nop dword [rax]
mov eax, edx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rdx - 0x5d]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp edx, eax
jb 0x140002020
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], bl
mov ecx, 0x69
call fcn.140001c60
test eax, eax
je 0x1400020be
movdqa xmm0, xmmword [0x14003b2f0]
mov eax, 0x16
mov dword [rbp - 0x20], eax
mov dword [rbp - 0xc], 0xce9bd3da
mov dword [rbp - 8], 0xb9d4da
movdqu xmmword [rbp - 0x1c], xmm0
test eax, eax
je 0x140002097
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rbp - 0x1c]
add rcx, rax
lea eax, [rbx - 0x5d]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x20]
cmp ebx, eax
jb 0x140002080
lea r8, [rbp - 0x1c]
mov byte [rbp + rax - 0x1c], 0
mov ecx, 0x66
call fcn.140001c60
test eax, eax
je 0x1400020be
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rbp
ret
lea rdx, str.Output_Program_file_error.._n
call fcn.140003730
lea rcx, str.pause
call fcn.14000f29c
mov ecx, 0xffffffff
call fcn.14000cf84
int3
Function at 0x140002800
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140040020]
xor rax, rsp
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [0x14003b3b0]
mov ecx, 0x39
movdqa xmm1, xmmword [0x14003b240]
xor eax, eax
movdqa xmmword [rbp - 0x40], xmm0
movdqa xmm0, xmmword [0x14003b1e0]
movdqa xmmword [rbp - 0x20], xmm0
mov dword [rbp - 0x50], ecx
mov dword [rbp - 0x4c], 0xf2e3ebf0
mov dword [rbp - 0x48], 0xeffbe9f0
mov dword [rbp - 0x44], 0xcdc4e1f7
movdqa xmmword [rbp - 0x30], xmm1
mov ecx, eax
lea rdx, [rbp - 0x4c]
add rdx, rcx
lea ecx, [rax - 0x5d]
inc eax
xor byte [rdx], cl
mov ecx, dword [rbp - 0x50]
cmp eax, ecx
jb 0x140002860
mov byte [rbp + rcx - 0x4c], 0
lea rax, [rbp - 0x10]
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.EnableLUA
mov dword [rbp - 0x10], 0
lea rdx, [rbp - 0x4c]
mov dword [rbp - 0xc], 1
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
lea rax, [rbp - 0xc]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, str.EnableLinkedConnections
mov rcx, 0xffffffff80000002
lea rdx, [rbp - 0x4c]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140006b20
add rsp, 0x80
pop rbp
ret

Function at 0x140002900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
movdqa xmm0, xmmword [0x14003b360]
xor ebx, ebx
movdqa xmm1, xmmword [0x14003b370]
mov edx, ebx
mov eax, 0x38
movdqa xmmword [rbp - 0x30], xmm0
movdqa xmm0, xmmword [0x14003b1c0]
movdqa xmmword [rbp - 0x10], xmm0
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], 0xc3d2cbd3
mov dword [rbp - 0x38], 0xcdcfcbd5
mov dword [rbp - 0x34], 0xebfe818b
movdqa xmmword [rbp - 0x20], xmm1
test eax, eax
je 0x140002977
nop dword [rax]
mov eax, edx
lea rcx, [rbp - 0x3c]
add rcx, rax
lea eax, [rdx - 0x5d]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x40]
cmp edx, eax
jb 0x140002960
lea rcx, [rbp - 0x3c]
mov byte [rbp + rax - 0x3c], bl
call fcn.14000f29c
movdqa xmm0, xmmword [0x14003b300]
xor ecx, ecx
movdqa xmm1, xmmword [0x14003b390]
mov eax, 0x30
mov dword [rbp - 0x40], eax
mov byte [rbp - 0xc], 0xd3
mov word [rbp - 0xb], cx
mov byte [rbp - 9], cl
movdqu xmmword [rbp - 0x3c], xmm0
movdqa xmm0, xmmword [0x14003b280]
movdqu xmmword [rbp - 0x1c], xmm0
movdqu xmmword [rbp - 0x2c], xmm1
test eax, eax
je 0x1400029e7
nop dword [rax]
nop dword [rax + rax]
mov eax, ebx
lea rcx, [rbp - 0x3c]
add rcx, rax
lea eax, [rbx - 0x5d]
inc ebx
xor byte [rcx], al
mov eax, dword [rbp - 0x40]
cmp ebx, eax
jb 0x1400029d0
lea rcx, [rbp - 0x3c]
mov byte [rbp + rax - 0x3c], 0
call fcn.14000f29c
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rbp
ret