joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180058f20
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
cmp eax, 0x292209d9
jne 0x180058f5c
lea r8, str.Local4324138564045534201296117129824129601553381728521351488x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x30], rax
jmp 0x180058f84
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
xor r9d, r9d
mov r8, qword [rsp + 0xb8]
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1800628f0
mov eax, SafeArrayDestroy
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x180058fdd
movsx rax, word [rsp + 0x20]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
mov dword [rsp + 0x24], 0xffffffff
lea rcx, [rsp + 0x40]
call fcn.180063140
test rax, rax
je 0x18005904a
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180059970
mov ecx, dword [rsp + 0x24]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], 8
jmp 0x180059020
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x180059048
mov eax, dword [rsp + 0x24]
shr eax, 1
mov ecx, dword [rsp + 0x24]
and ecx, 1
xor edx, edx
sub edx, ecx
mov ecx, edx
and ecx, 0xedb88320
xor eax, ecx
mov dword [rsp + 0x24], eax
jmp 0x180059016
jmp 0x180058fe5
mov eax, dword [rsp + 0x24]
not eax
mov rcx, qword [rsp + 0xb0]
mov dword [rcx], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
add eax, 0x1204e30
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
xor eax, eax
add rsp, 0xa8
ret
Function at 0x1800597b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x38
cmp qword [rsp + 0x50], 0
jne 0x1800597f6
cmp dword [rsp + 0x48], 0xffffffff
jne 0x1800597f6
mov rax, qword [rsp + 0x40]
mov ecx, 8
sub rcx, qword [rax + 8]
mov rax, rcx
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x40]
call fcn.1800597b0
jmp 0x1800598fd
mov eax, SafeArrayUnaccessData
mov word [rsp + 0x20], ax
movsx rax, word [rsp + 0x20]
lea rcx, [0x180095500]
cmp dword [rcx + rax*4], 1
jne 0x180059835
movsx rax, word [rsp + 0x20]
lea rcx, [0x180095500]
mov eax, dword [rcx + rax*4]
inc eax
movsx rcx, word [rsp + 0x20]
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx ecx, al
mov eax, dword [rsp + 0x48]
shl eax, cl
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x5c]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x5c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
add rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax + 8], 8
jb 0x1800598fb
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xfffffe07
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x5c]
and eax, 0xff
mov edx, eax
mov rcx, qword [rsp + 0x40]
call fcn.1800596b0
movzx eax, al
test eax, eax
jne 0x1800598cd
xor al, al
jmp 0x1800598fd
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x5c]
shr eax, 8
mov rcx, qword [rsp + 0x40]
mov dword [rcx + 0x5c], eax
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
sub rax, 8
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
jmp 0x180059872
mov al, 1
add rsp, 0x38
ret
Function at 0x18005ef80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
cmp dword [rax + 0x1c], ecx
jge 0x18005f12e
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xffffee07
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x10]
cmp dword [rax + 0x14], ecx
jne 0x18005eff2
mov eax, 0xffffffff
jmp 0x18005f1a6
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x1c]
shl eax, cl
mov ecx, dword [rsp + 0x20]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x14]
inc eax
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x14], eax
mov eax, 4
imul rax, rax, 3
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
add eax, 0x10c9e2c4
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x1c]
add eax, 8
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x1c], eax
lea rax, [0x18008ab44]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
movsx eax, al
cmp eax, 0x61
jne 0x18005f0d6
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x18005f0d6
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov edx, dword [rcx + rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, 4
imul rcx, rcx, 0xc
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
cmp eax, 0x74ee2e51
jne 0x18005f101
lea r8, str.Local16739705042515484164704606009616176641562864045020724x
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x40], rax
jmp 0x18005f129
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
jmp 0x18005ef99
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
sub eax, ecx
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x1c], eax
mov eax, dword [rsp + 0x68]
movzx ecx, al
mov eax, dword [rsp + 0x20]
shr eax, cl
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x18], eax
mov eax, dword [rsp + 0x68]
mov ecx, 1
mov dword [rsp + 0x28], ecx
movzx ecx, al
mov eax, dword [rsp + 0x28]
shl eax, cl
dec eax
mov ecx, dword [rsp + 0x20]
and ecx, eax
mov eax, ecx
jmp 0x18005f1a6
add rsp, 0x58
ret
Function at 0x180060a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov eax, 4
imul rax, rax, 1
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xffffe9a6
mov ecx, 4
imul rcx, rcx, 1
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
mov qword [rsp + 0x28], 0
jmp 0x180060a77
mov rax, qword [rsp + 0x28]
add rax, 4
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x28], rax
jae 0x180060b82
mov rax, qword [rsp + 0x28]
shr rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
mov dword [rsp + 0x20], SafeArrayGetDim
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov ecx, dword [rsp + 0x20]
movsxd rcx, ecx
lea rdx, [0x180095500]
mov dword [rdx + rcx*4], eax
mov rax, qword [rsp + 0x28]
shr rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
shr eax, 8
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx + 1], al
mov rax, qword [rsp + 0x28]
shr rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
shr eax, 0x10
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx + 2], al
mov rax, qword [rsp + 0x28]
shr rax, 2
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx + rax*4]
shr eax, 0x18
and eax, 0xff
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx + 3], al
mov eax, 4
imul rax, rax, 2
lea rcx, [0x180095500]
mov eax, dword [rcx + rax]
xor eax, 0xffffe985
mov ecx, 4
imul rcx, rcx, 2
lea rdx, [0x180095500]
mov dword [rdx + rcx], eax
jmp 0x180060a69
add rsp, 0x38
ret
Function at 0x180071fc0
Capabilities:
Read .ini file

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
cmp eax, 0xb73f83d1
jne 0x180072003
lea r8, [0x1800991b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
mov qword [rsp + 0x28], rax
jmp 0x18007202b
mov eax, 4
imul rax, rax, 0xb
lea rcx, [0x180093cf0]
mov eax, dword [rcx + rax]
inc eax
mov ecx, 4
imul rcx, rcx, 0xb
lea rdx, [0x180093cf0]
mov dword [rdx + rcx], eax
mov r9, qword [rsp + 0x60]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
jmp 0x180072072
add rsp, 0x38
ret
Function at 0x1400020b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x1400021ab
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x1400021b3
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400021ea
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x1400021c0
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x140002215
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x14000223b
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x140002220
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a350
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a395
xor al, al
jmp 0x14000a3e2
cmp word [rbx], 0
je 0x14000a3ad
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a3a0
cmp word [rsp + 0x30], 0
je 0x14000a3db
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a403
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a3c0
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000b560
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f640
int3
Function at 0x14000abe0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001f640
sub rsp, rax
mov rax, qword [0x14002c008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x14002dd70]
lea rsi, [0x140032da0]
mov rdi, rcx
test r11d, r11d
jne 0x14000ac59
mov r8d, 0x1000
lea rdx, str._HOME_
lea rcx, [rsp + 0x20]
call fcn.14000a410
test al, al
je 0x14000ad3f
lea rcx, [rsp + 0x20]
call fcn.140013c8c
movsxd r11, dword [0x14002dd70]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x14002dd70], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000ac94
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000ac84
add rax, 2
test ecx, ecx
jne 0x14000ac70
test edx, edx
je 0x14000acb7
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000ac64
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000aca0
cmp rax, 2
jne 0x14000acbb
cmp word [rdi + 2], 0x3a
jne 0x14000acbb
mov al, 1
jmp 0x14000ad1e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000ace8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000ace8
mov bl, 1
jmp 0x14000acec
test bl, bl
je 0x14000ad13
cmp dword [0x14002dd70], 0x400
jge 0x14000ad13
mov rcx, rdi
call fcn.140013c8c
movsxd rdx, dword [0x14002dd70]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x14002dd70], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000b560
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str._HOME_
call fcn.14000aa30
int3
Function at 0x14000ae60
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x14002dd78]
test rcx, rcx
je 0x14000ae9b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000ae8e
mov rcx, qword [0x14002dd78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x14002dd78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14003cdd0], 0
je 0x14000af8e
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140028880]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400305a0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000af6f
test al, 0x10
je 0x14000af6f
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000af15
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000be34
Capabilities:
Parse pe header

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

Function at 0x14000f634
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 0x14000f493
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f493
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f493
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f493
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f493
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f493
cmp dword [rcx + 0xf8], 0
je 0x14000f493
mov ecx, ebx
call fcn.14000f550
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.14000f320
nop
cmp dword [rbp + 0x20], 0
je 0x14000f4e1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f4ec
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f424
Function at 0x140018ae0
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 0x140018b67
mov rsi, rbx
cmp word [rax], bp
je 0x140018b26
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018b10
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018b0c
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016320
mov rdi, rax
test rax, rax
je 0x140018b54
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d400
mov rbp, rdi
xor ecx, ecx
call fcn.140015364
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 0x14001f550
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x1400036d3
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x1400036d3
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x1400035d9
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x1400036f7
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1400035ef
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x1400035ef
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140003602
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14000364d
mov r9d, eax
cmp eax, 0x800
jae 0x14000361c
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14000364d
cmp eax, 0x10000
jae 0x140003636
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14000364d
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x1400036d3
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x140003671
cmp r10d, 3
jae 0x14000367d
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x1400036ae
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x140003690
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x14000358e
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x1400036e2
Function at 0x140005710
Capabilities:
Parse pe header

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

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140090870]
mov dword [rax], 1
mov rax, qword [0x140090880]
mov dword [rax], 1
mov rax, qword [0x140090890]
mov dword [rax], 1
mov rax, qword [0x140090860]
mov dword [rax], 1
mov rax, qword [0x140090710]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014de
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x14000150a
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x140001530
cmp eax, 0x20b
je 0x140001557
jmp 0x140001586
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x140001543
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x140001572
mov eax, 0
jmp 0x14000158b
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x14000158b
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140004c1e
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp - 8], 0
cmp qword [rbp + 0x18], 0
je 0x140004c4e
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.nimCStrLen
mov rdx, rax
jmp 0x140004c53
mov edx, 0
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret

Function at 0x14000eb43
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp - 8], 0
mov rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x18]
mov r9, qword [rbp + 0x10]
mov r8, rdx
mov edx, 1
mov rcx, rax
call sym.fwrite
mov qword [rbp - 8], rax
mov dword [rbp - 0xc], 0
mov rcx, qword [rbp + 0x10]
call sym.fflush
mov dword [rbp - 0xc], eax
nop
add rsp, 0x30
pop rbp
ret