joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003f30
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1030
call fcn.140019560
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
xor r14d, r14d
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp word [rcx], r14w
je 0x1400040e3
call fcn.140004104
mov rcx, rbx
call fcn.14001e418
mov rcx, rbx
mov rbp, rax
call fcn.140004134
test al, al
je 0x140004018
mov rcx, rbx
call fcn.140004104
test al, al
je 0x140003fcc
lea rax, [rbp + 4]
cmp rdi, rax
jbe 0x1400040e3
mov r8, rdi
lea rdx, [0x14002e890]
mov rcx, rsi
call fcn.140007d74
mov rdx, rbx
mov r8, rdi
mov rcx, rsi
call fcn.140007d30
mov al, 1
jmp 0x1400040e5
cmp word [rbx], 0x5c
jne 0x1400040e3
cmp word [rbx + 2], 0x5c
jne 0x1400040e3
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x1400040e3
mov r8, rdi
lea rdx, [0x14002e890]
mov rcx, rsi
call fcn.140007d74
mov r8, rdi
lea rdx, [0x14002e8a0]
mov rcx, rsi
call fcn.140007d30
lea rdx, [rbx + 2]
jmp 0x140003fba
lea rdx, [rsp + 0x20]
mov ecx, 0x7ff
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1400040e3
cmp word [rbx], 0x5c
je 0x1400040ad
cmp word [rbx], 0x2f
je 0x1400040ad
mov edx, 0x800
lea rcx, [rsp + 0x20]
call fcn.140003a18
lea rcx, [rsp + 0x20]
call fcn.14001e418
lea rcx, [rax + 4]
add rcx, rbp
cmp rdi, rcx
jbe 0x1400040e3
mov r8, rdi
lea rdx, [0x14002e890]
mov rcx, rsi
call fcn.140007d74
mov r8, rdi
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140007d30
cmp word [rbx], 0x2e
jne 0x140003fb7
cmp word [rbx + 2], 0x5c
je 0x1400040a4
cmp word [rbx + 2], 0x2f
jne 0x140003fb7
add rbx, 4
jmp 0x140003fb7
lea rax, [rbp + 6]
cmp rdi, rax
jbe 0x1400040e3
mov r8, rdi
lea rdx, [0x14002e890]
mov rcx, rsi
call fcn.140007d74
mov r8, rdi
mov word [rsp + 0x24], r14w
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140007d30
jmp 0x140003fb7
xor al, al
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140019520
add rsp, 0x1030
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140005c5c
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
xor edi, edi
lea rbp, str.cw
mov ecx, edi
lea rsi, [0x140000000]
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
mov byte [rax + rsi + 0x45310], cl
inc ecx
cmp ecx, 0x100
jl 0x140005c85
mov r9b, byte [rdi + rbp]
mov dl, 2
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46011], r9b
mov byte [rsi + rdi*4 + 0x46010], r9b
mov byte [rsi + rdi*4 + 0x45c13], r9b
mov byte [rsi + rdi*4 + 0x45c10], r9b
mov byte [rsi + rdi*4 + 0x45813], r9b
mov byte [rsi + rdi*4 + 0x45812], r9b
mov byte [rsi + rdi*4 + 0x45412], r9b
mov byte [rsi + rdi*4 + 0x45411], r9b
call fcn.140006474
mov dl, 3
mov byte [rsi + rdi*4 + 0x46013], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x45c12], al
mov byte [rsi + rdi*4 + 0x45811], al
mov byte [rsi + rdi*4 + 0x45410], al
call fcn.140006474
movzx r9d, byte [rdi + rsi + 0x45310]
mov dl, 0xb
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46012], al
mov byte [rsi + rdi*4 + 0x45c11], al
mov byte [rsi + rdi*4 + 0x45810], al
mov byte [rsi + rdi*4 + 0x45413], al
call fcn.140006474
mov dl, 9
mov byte [rsi + rdi*4 + 0x47012], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c11], al
mov byte [rsi + rdi*4 + 0x46810], al
mov byte [rsi + rdi*4 + 0x46413], al
mov byte [rsi + r9*4 + 0x48012], al
mov byte [rsi + r9*4 + 0x47c11], al
mov byte [rsi + r9*4 + 0x47810], al
mov byte [rsi + r9*4 + 0x47413], al
call fcn.140006474
mov dl, 0xd
mov byte [rsi + rdi*4 + 0x47010], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c13], al
mov byte [rsi + rdi*4 + 0x46812], al
mov byte [rsi + rdi*4 + 0x46411], al
mov byte [rsi + r9*4 + 0x48010], al
mov byte [rsi + r9*4 + 0x47c13], al
mov byte [rsi + r9*4 + 0x47812], al
mov byte [rsi + r9*4 + 0x47411], al
call fcn.140006474
mov dl, 0xe
mov byte [rsi + rdi*4 + 0x47011], al
mov cl, r9b
mov byte [rsi + rdi*4 + 0x46c10], al
mov byte [rsi + rdi*4 + 0x46813], al
mov byte [rsi + rdi*4 + 0x46412], al
mov byte [rsi + r9*4 + 0x48011], al
mov byte [rsi + r9*4 + 0x47c10], al
mov byte [rsi + r9*4 + 0x47813], al
mov byte [rsi + r9*4 + 0x47412], al
call fcn.140006474
mov byte [rsi + rdi*4 + 0x47013], al
mov byte [rsi + rdi*4 + 0x46c12], al
mov byte [rsi + rdi*4 + 0x46811], al
mov byte [rsi + rdi*4 + 0x46410], al
inc rdi
mov byte [rsi + r9*4 + 0x48013], al
mov byte [rsi + r9*4 + 0x47c12], al
mov byte [rsi + r9*4 + 0x47811], al
mov byte [rsi + r9*4 + 0x47410], al
cmp rdi, 0x100
jl 0x140005c9c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400063fc
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov r11, r8
mov r10, rdx
movdqu xmm1, xmmword [rcx + 8]
test r8, r8
je 0x14000646e
mov rax, r10
add r10, 0x10
cmp byte [rcx + 1], 0
movdqu xmm0, xmmword [rax]
je 0x140006421
pxor xmm0, xmm1
movdqu xmm1, xmmword [rcx + 0x18]
movsxd rax, dword [rcx + 4]
pxor xmm1, xmm0
cmp rax, 1
jle 0x14000644f
lea rdx, [rcx + 0x28]
lea r8, [rax - 1]
movdqu xmm0, xmmword [rdx]
lea rdx, [rdx + 0x10]
aesenc xmm1, xmm0
sub r8, 1
jne 0x14000643c
add rax, rax
movdqu xmm0, xmmword [rcx + rax*8 + 0x18]
mov rax, r9
add r9, 0x10
aesenclast xmm1, xmm0
movdqu xmmword [rax], xmm1
sub r11, 1
jne 0x14000640c
movdqu xmmword [rcx + 8], xmm1
ret

Function at 0x140006474
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
xor r10b, r10b
mov r11b, dl
mov bl, cl
test dl, dl
je 0x1400064bc
mov al, r10b
xor al, bl
movzx r8d, al
test r11b, 1
movzx eax, r10b
cmove r8d, eax
mov al, bl
add al, al
mov r10b, r8b
mov r8b, bl
movzx edx, al
mov cl, dl
mov ebx, edx
xor cl, 0x1b
test r8b, r8b
movzx ecx, cl
cmovs ebx, ecx
shr r11b, 1
jne 0x140006485
mov rbx, qword [rsp + 8]
mov al, r10b
ret

Function at 0x1400064c8
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov esi, 1
mov rdi, rcx
cmp dword [rcx + 4], esi
jle 0x1400065af
lea rbx, [r11 - 0x38]
sub rbx, rcx
lea rbp, [rcx + 0x2a]
sub rbx, 0x2a
lea r15, [0x140000000]
xor r9d, r9d
mov r10, rbp
lea r14, [rbx + r9]
mov r11d, 4
movzx eax, byte [r10 + 1]
lea rdx, [r9 + rax*4]
movzx eax, byte [r10 - 1]
mov r8b, byte [rdx + r15 + 0x48010]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10 - 2]
xor r8b, byte [rcx + r15 + 0x47810]
lea rcx, [r9 + rax*4]
movzx eax, byte [r10]
xor r8b, byte [rcx + r15 + 0x47410]
lea rcx, [r9 + rax*4]
xor r8b, byte [rcx + r15 + 0x47c10]
mov byte [r14 + r10], r8b
lea r10, [r10 + 4]
sub r11, 1
jne 0x140006526
inc r9
cmp r9, 4
jl 0x140006519
movsxd rcx, esi
lea r8d, [r11 + 0x10]
shl rcx, 4
lea rdx, [rsp + 0x20]
add rcx, 0x18
add rcx, rdi
call fcn.14001b230
inc esi
add rbp, 0x10
sub rbx, 0x10
cmp esi, dword [rdi + 4]
jl 0x140006516
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140019520
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140006c64
Capabilities:
Encode data using xor

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, 0x20
mov r10, qword [0x140048420]
xor ebx, ebx
movzx ebp, r9b
mov r14b, r8b
mov rdi, rdx
mov rsi, rcx
test r10, r10
jne 0x140006d03
cmp byte [0x140048418], bl
jne 0x140006d03
lea rcx, str.Crypt32.dll
call fcn.140008044
mov qword [0x140048410], rax
test rax, rax
je 0x140006cec
lea rdx, str.CryptProtectMemory
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140048410]
lea rdx, str.CryptUnprotectMemory
mov qword [0x140048420], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140048428], rax
jmp 0x140006cf3
mov rax, qword [0x140048428]
mov r10, qword [0x140048420]
mov byte [0x140048418], 1
jmp 0x140006d0a
mov rax, qword [0x140048428]
mov rcx, rdi
mov r8d, ebp
and rcx, 0xfffffffffffffff0
test r14b, r14b
je 0x140006d5d
test r10, r10
je 0x140006d7a
mov edx, ecx
mov rax, r10
mov rcx, rsi
call qword [0x14002e478]
test eax, eax
jne 0x140006d95
lea rdx, str.CryptProtectMemory_failed
lea rbx, [0x140065260]
mov rcx, rbx
call fcn.140001b88
mov rcx, rbx
call fcn.140001e30
mov edx, 2
mov rcx, rbx
call fcn.140001b80
jmp 0x140006d95
test rax, rax
je 0x140006d7a
mov edx, ecx
mov rcx, rsi
call qword [0x14002e478]
test eax, eax
jne 0x140006d95
lea rdx, str.CryptUnprotectMemory_failed
jmp 0x140006d37
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
test rdi, rdi
je 0x140006d95
lea ecx, [rax + 0x4b]
add cl, bl
xor byte [rbx + rsi], cl
inc rbx
cmp rbx, rdi
jb 0x140006d85
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x14000768c
Capabilities:
Hash data using sha1

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov edi, dword [rcx + 0x18]
mov ebp, 0x38
mov r14, qword [rcx + 0x18]
and edi, 0x3f
shl r14, 3
mov rsi, rdx
mov rbx, rcx
mov byte [rdi + rcx + 0x20], 0x80
inc edi
cmp edi, ebp
je 0x14000771a
jbe 0x140007705
lea edx, [rbp + 8]
cmp edi, edx
jae 0x1400076ef
sub edx, edi
mov ecx, edi
add rcx, 0x20
mov r8d, edx
add rcx, rbx
xor edx, edx
call fcn.14001a580
xor edi, edi
lea r8, [rbx + 0x20]
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006e94
sub ebp, edi
mov ecx, edi
add rcx, 0x20
mov r8d, ebp
add rcx, rbx
xor edx, edx
call fcn.14001a580
mov rcx, r14
shr rcx, 0x20
call fcn.140021684
mov ecx, r14d
mov dword [rbx + 0x58], eax
call fcn.140021684
lea r8, [rbx + 0x20]
mov dword [rbx + 0x5c], eax
mov r9b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140006e94
mov rdx, rbx
mov ecx, 5
sub rdx, rsi
mov eax, dword [rdx + rsi]
mov dword [rsi], eax
lea rsi, [rsi + 4]
sub rcx, 1
jne 0x140007753
and qword [rbx + 0x18], rcx
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov dword [rbx + 0x10], 0xc3d2e1f0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140019520
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1400077ac
Capabilities:
Hash data using sha1

Disassembly:
and qword [rcx + 0x18], 0
mov dword [rcx], 0x67452301
mov dword [rcx + 4], 0xefcdab89
mov dword [rcx + 8], 0x98badcfe
mov dword [rcx + 0xc], 0x10325476
mov dword [rcx + 0x10], 0xc3d2e1f0
ret

Function at 0x140008044
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1030
call fcn.140019560
sub rsp, rax
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbx, rcx
mov edx, 0x800
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140008080
xor eax, eax
jmp 0x1400080a3
mov r9d, 0x800
lea r8, [rsp + 0x20]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.1400041c4
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.140019520
add rsp, 0x1030
pop rbx
ret
Function at 0x14000d670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [0x140058ac8], 0
je 0x14000d68b
or eax, 0xffffffff
jmp 0x14000d793
mov rax, qword [0x140048978]
test rax, rax
jg 0x14000d6ab
dec rax
mov qword [0x140048978], rax
and qword [0x1400589d8], 0
jmp 0x14000d683
mov rbx, qword [0x1400589d8]
test rbx, rbx
jg 0x14000d6ff
mov rcx, qword [0x1400589c8]
mov ebx, 0x2000
mov edx, ebx
call fcn.14000d910
movsxd rcx, eax
mov qword [0x1400589d8], rcx
test eax, eax
je 0x14000d6a1
cmp rcx, 0xffffffffffffffff
je 0x14000d735
mov rax, qword [0x1400589c8]
add qword [0x140058a18], rbx
mov qword [0x1400589d0], rax
call fcn.14000d0a4
mov rbx, qword [0x1400589d8]
mov rax, qword [0x1400489b0]
test byte [rax + 0x80], 1
je 0x14000d778
cmp byte [0x140059be1], 0
je 0x14000d74d
test rbx, rbx
je 0x14000d778
mov rdx, qword [0x1400589d0]
lea rcx, [0x140059be8]
mov r8, rbx
call fcn.140010e98
jmp 0x14000d771
lea rdx, [0x14006f52a]
lea rcx, [0x140065260]
call fcn.140001d8c
jmp 0x14000d6a1
mov rdi, qword [0x1400589d0]
test rbx, rbx
je 0x14000d778
call fcn.140010bec
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140010d60
inc rdi
sub rbx, 1
jne 0x14000d759
mov rbx, qword [0x1400589d8]
mov rax, qword [0x1400589d0]
dec rbx
mov qword [0x1400589d8], rbx
movzx eax, byte [rax]
inc qword [0x1400589d0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x140010c58
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov dil, r8b
mov rcx, rdx
call fcn.140010c0c
mov r8d, 0xc
lea rcx, [rsp + 0x20]
mov rdx, rbx
call fcn.14001b230
xor ebx, ebx
mov ecx, dword [0x140059b28]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rsp + rbx + 0x20], al
movzx ecx, byte [rsp + rbx + 0x20]
call fcn.140010d60
inc rbx
cmp rbx, 0xc
jl 0x140010c94
mov rax, qword [0x1400489b0]
movzx ecx, byte [0x140058a47]
test byte [rax + 0x80], 2
movzx eax, byte [0x140058a3f]
cmovne ecx, eax
movzx eax, byte [rsp + 0x2b]
cmp eax, ecx
je 0x140010cf2
or eax, 0xffffffff
jmp 0x140010d47
test dil, dil
je 0x140010d45
mov rbx, qword [0x1400589d8]
mov rax, qword [0x140048978]
mov rdi, qword [0x1400589d0]
movsxd rcx, ebx
cmp rcx, rax
cmovg ebx, eax
test ebx, ebx
je 0x140010d45
mov ecx, dword [0x140059b28]
and ecx, 0xfffd
or ecx, 2
mov eax, ecx
xor eax, 1
imul eax, ecx
shr eax, 8
xor byte [rdi], al
movzx ecx, byte [rdi]
call fcn.140010d60
inc rdi
sub ebx, 1
jne 0x140010d19
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140019520
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140010d60
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov r8, qword [0x140059b20]
mov eax, ecx
mov r9d, ecx
mov rdx, r8
mov rcx, qword [0x140059b28]
xor rdx, rax
movzx eax, dl
lea rdx, [0x140048550]
shr r8d, 8
xor r8d, dword [rdx + rax*4]
movzx eax, r8b
add eax, dword [0x140059b24]
imul eax, eax, 0x8088405
mov dword [0x140059b20], r8d
inc eax
mov dword [0x140059b24], eax
shr rax, 0x18
xor rax, rcx
shr ecx, 8
movzx eax, al
xor ecx, dword [rdx + rax*4]
mov eax, r9d
mov dword [0x140059b28], ecx
ret

Function at 0x140011030
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0xa0]
mov r12, rdx
lea rdx, [rsp + 0x20]
mov rsi, r9
mov r15, r8
mov rbx, rcx
call fcn.140011530
xor edi, edi
test rsi, rsi
je 0x1400110a8
cmp byte [r14], dil
je 0x1400110a8
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [rsi + 0x20]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [rsi + 0x30]
movups xmmword [rbx + 0x30], xmm1
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rbx + 0x40], xmm0
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rbx + 0x50], xmm1
jmp 0x1400110dc
lea rax, [rbx + 0x60]
mov ecx, 0x40
xor byte [rax], 0x6a
inc rax
sub rcx, 1
jne 0x1400110b1
mov rcx, rbx
call fcn.1400077ac
mov r8d, 0x40
lea rdx, [rbx + 0x60]
mov rcx, rbx
call fcn.1400077d4
test rsi, rsi
je 0x140011113
cmp byte [r14], dil
jne 0x140011113
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0x50], xmm1
mov byte [r14], 1
mov r8d, 0x14
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400077d4
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140011530
test r15, r15
je 0x14001114c
mov rcx, rdi
mov al, byte [rsp + rcx + 0x20]
inc edi
mov byte [rcx + r12], al
mov ecx, edi
cmp rcx, r15
jb 0x14001113b
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140019520
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140011168
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x60]
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
cmp r8, 0x40
jbe 0x1400111b4
call fcn.1400077ac
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400077d4
mov rdx, rbp
mov rcx, rbx
call fcn.140011530
mov edi, 0x14
jmp 0x1400111bc
mov rcx, rbp
call fcn.14001b230
xor eax, eax
mov qword [rbx + 0xa0], rdi
lea edx, [rax + 0x36]
test rdi, rdi
je 0x1400111e3
mov ecx, eax
xor byte [rcx + rbx + 0x60], dl
inc eax
mov rdi, qword [rbx + 0xa0]
mov ecx, eax
cmp rcx, rdi
jb 0x1400111cf
mov r8d, 0x40
lea rcx, [rbx + 0x60]
sub r8, rdi
add rcx, rdi
call fcn.14001a580
mov rcx, rbx
call fcn.1400077ac
mov r8d, 0x40
mov rdx, rbp
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp fcn.1400077d4
Function at 0x140011dc4
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x14003e858]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
mov rbx, rcx
mov rax, qword [rax + 0x20]
call qword [0x14002e478]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x40
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002e478]
cmp eax, 0x40
jne 0x140011eba
cmp byte [rsp + 0x20], 0x4d
jne 0x140011eba
cmp byte [rsp + 0x21], 0x5a
jne 0x140011eba
mov rax, qword [rbx]
xor r8d, r8d
mov edx, dword [rsp + 0x5c]
mov rcx, rbx
mov rax, qword [rax + 0x20]
call qword [0x14002e478]
mov rax, qword [rbx]
lea rdx, [rsp + 0x20]
mov r8d, 0x108
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [0x14002e478]
cmp eax, 0x108
jne 0x140011eba
cmp byte [rsp + 0x20], 0x50
jne 0x140011eba
cmp byte [rsp + 0x21], 0x45
jne 0x140011eba
cmp byte [rsp + 0x22], 0
jne 0x140011eba
cmp byte [rsp + 0x23], 0
jne 0x140011eba
cmp byte [rsp + 0x38], 0xb
jne 0x140011eba
cmp byte [rsp + 0x39], 1
jne 0x140011ea1
cmp dword [rbp - 0x6c], 4
jbe 0x140011ea1
mov eax, dword [rbp - 0x48]
jmp 0x140011ebc
cmp byte [rsp + 0x38], 0xb
jne 0x140011eba
cmp byte [rsp + 0x39], 2
jne 0x140011eba
cmp dword [rbp - 0x5c], 4
jbe 0x140011eba
mov eax, dword [rbp - 0x38]
jmp 0x140011ebc
xor eax, eax
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140019520
mov rbx, qword [rsp + 0x158]
add rsp, 0x140
pop rbp
ret
Function at 0x140012844
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x40
mov rax, qword [rdx]
mov r9, rdx
and qword [r11 + 0x20], 0
lea rdx, [r11 + 0x20]
and qword [r11 + 0x10], 0
mov rdi, rcx
mov rcx, r9
mov rsi, r8
mov rax, qword [rax + 0x90]
call qword [0x14002e478]
mov ebx, eax
test eax, eax
js 0x1400128ff
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001290d
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x140030800]
mov rax, qword [rax]
call qword [0x14002e478]
mov ebx, eax
test eax, eax
js 0x1400128ed
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x14002e478]
mov ebx, eax
test eax, eax
js 0x1400128db
mov rcx, qword [rsp + 0x58]
mov rdx, rsi
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
call qword [0x14002e478]
mov ebx, eax
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002e478]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002e478]
test ebx, ebx
js 0x14001290d
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x14001297e
cmp qword [rdi + 0x10], 0
je 0x14001297e
cmp qword [rdi + 0x48], 0
jne 0x14001297e
mov rdx, qword [rdi + 0x40]
test rdx, rdx
je 0x14001297e
mov rcx, rdi
call fcn.140013110
mov rsi, rax
test rax, rax
je 0x14001297e
mov rcx, qword [rdi + 8]
xor r9d, r9d
mov dword [rsp + 0x30], 0x204
xor r8d, r8d
and dword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea edx, [r9 + 1]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rdi + 0x10]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rdi + 0x10]
mov rdx, rsi
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, rsi
call fcn.14001e6d8
mov rsi, qword [rsp + 0x60]
shr ebx, 0x1f
xor bl, 1
mov al, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140013bec
Capabilities:
Get common file path

Disassembly:
sub rsp, 0x28
mov rax, rdx
mov rdx, rcx
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret
Function at 0x140013c9c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rdx, rcx
lea r8, [0x14002f970]
mov rcx, qword [0x140061218]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140013e1a
mov rcx, qword [0x140061218]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
je 0x140013e1a
mov rcx, qword [0x140061218]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140013e1a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x140013e1a
and qword [rsp + 0x58], 0
mov edx, edi
mov ecx, 2
mov esi, edi
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x140013e13
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140013e0a
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.14001b230
and qword [rsp + 0x48], 0
lea r8, [rsp + 0x48]
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x140013e01
mov rsi, qword [rsp + 0x48]
lea ecx, [rax + 0x18]
call sub.gdiplus.dll_GdipAlloc
mov rbx, rax
test rax, rax
je 0x140013dae
and qword [rsp + 0x50], 0
lea rax, [0x14002f940]
lea rdx, [rsp + 0x50]
mov qword [rbx], rax
mov rcx, rsi
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [rbx + 0x10], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 8], rax
jmp 0x140013db0
xor ebx, ebx
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14002e478]
test rbx, rbx
je 0x140013e01
mov eax, dword [rbx + 0x10]
and dword [rbx + 0x10], 0
test eax, eax
jne 0x140013ded
mov rcx, qword [rbx + 8]
lea rdx, [rsp + 0x58]
mov r8d, 0xffffff
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x140013ded
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax]
call qword [0x14002e478]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rax, qword [rsp + 0x58]
jmp 0x140013e1c
xor eax, eax
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400142bc
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret