joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18002cf7c
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
mov eax, 0x1880
call fcn.18006c990
sub rsp, rax
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x1870], rax
lea rax, [rsp + 0x38]
mov rbx, rcx
mov r8, rcx
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x34]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x38], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x18002cff7
cmp dword [rsp + 0x34], 4
jne 0x18002cff7
mov eax, dword [rsp + 0x30]
jmp 0x18002cff9
xor eax, eax
test eax, eax
je 0x18002d0db
lea rcx, [rsp + 0x72]
xor edx, edx
mov r8d, 0x7fe
call fcn.1800575a0
mov r11d, 0x5b
lea rcx, [rsp + 0x70]
mov r8d, 0x400
mov rdx, rbx
mov word [rsp + 0x70], r11w
call qword [sym.imp.SHLWAPI.dll_StrNCatW]
lea rdx, [0x18007c050]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x40]
mov edx, 1
call fcn.18002871c
cmp qword [rax + 0x20], 8
jb 0x18002d061
mov rdx, qword [rax + 8]
jmp 0x18002d065
lea rdx, [rax + 8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
cmp qword [rsp + 0x60], 8
jb 0x18002d082
mov rcx, qword [rsp + 0x48]
call fcn.1800538dc
lea rdx, [0x18007c058]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0x1898]
lea rcx, [rsp + 0x70]
mov r8d, 0x400
call qword [sym.imp.SHLWAPI.dll_StrNCatW]
lea r9, [rsp + 0x18a0]
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x870]
mov edx, 0x800
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rsp + 0x870]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x1870]
xor rcx, rsp
call fcn.180052d60
add rsp, 0x1880
pop rbx
ret

Function at 0x18002d214
Capabilities:
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
mov eax, 0x2070
call fcn.18006c990
sub rsp, rax
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x2060], rax
call fcn.18002d32c
xor ebx, ebx
cmp al, bl
je 0x18002d312
lea rdx, [0x18007c078]
lea rcx, [rsp + 0x60]
mov word [rsp + 0x60], bx
mov word [rsp + 0x860], bx
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [0x18007bbf8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rcx, [rsp + 0x30]
call fcn.18002d0f4
cmp qword [rax + 0x20], 8
jb 0x18002d29e
mov r9, qword [rax + 8]
jmp 0x18002d2a2
lea r9, [rax + 8]
mov rax, qword [rsp + 0x2080]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x860]
mov edx, 0x400
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
cmp qword [rsp + 0x50], 8
jb 0x18002d2d9
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
lea r9, [rsp + 0x2088]
lea r8, [rsp + 0x860]
lea rcx, [rsp + 0x1060]
mov edx, 0x800
mov word [rsp + 0x1060], bx
call qword [sym.imp.SHLWAPI.dll_wvnsprintfW]
lea rcx, [rsp + 0x1060]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.180052d60
add rsp, 0x2070
pop rbx
ret
Function at 0x18002d32c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
lea rax, [r11 + 8]
lea r9, [r11 + 0x10]
lea r8, [0x18007c090]
mov qword [r11 - 0x10], rax
lea rax, [r11 + 0x18]
lea rdx, str.SoftwareWOW6432Nodeprojonepodlp_smpcache_
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], 4
mov qword [r11 - 0x18], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
cmp eax, ecx
jne 0x18002d37b
cmp dword [rsp + 0x48], 4
mov eax, dword [rsp + 0x50]
je 0x18002d37d
mov eax, ecx
cmp eax, 1
sete al
add rsp, 0x38
ret
Function at 0x1800453cc
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.1800575a0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logs_accelerator
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.18000d5e0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180052d60
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret

Function at 0x180045484
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
xor edi, edi
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x20], edi
mov word [rsp + 0x30], di
call fcn.1800575a0
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rdx, str.Logsignored
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x18], rdi
or rcx, 0xffffffffffffffff
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
xor eax, eax
lea rdi, [rsp + 0x30]
lea rdx, [rsp + 0x30]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.18000d5e0
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.180052d60
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x180045f9c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x280
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rdi, r8
mov esi, edx
mov rbx, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov word [rsp + 0x60], bp
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call fcn.1800575a0
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp esi, 1
jne 0x180046016
lea rdx, str.projonepodlp
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x18004602d
cmp esi, 2
jne 0x18004607a
lea rdx, str.projonepotcm
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp rdi, rbp
je 0x180046040
mov rdx, rdi
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.18000d5e0
mov rax, rbx
jmp 0x180046120
cmp esi, ebp
jne 0x1800460fb
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, [rsp + 0x30]
call fcn.180045f9c
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, ebp
je 0x1800460d3
mov r8, rdi
mov edx, 2
mov rcx, rbx
call fcn.180045f9c
nop
cmp qword [rsp + 0x50], 8
jb 0x1800460ce
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
mov rax, rbx
jmp 0x180046120
mov r8, rdi
mov edx, 1
mov rcx, rbx
call fcn.180045f9c
nop
cmp qword [rsp + 0x50], 8
jb 0x1800460f6
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
mov rax, rbx
jmp 0x180046120
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rbp
mov word [rbx + 8], bp
xor r8d, r8d
lea rdx, [0x18007a6b0]
mov rcx, rbx
call fcn.18000d5e0
mov rax, rbx
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180052d60
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x180046144
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
lea rcx, str.watermark_pictures
xor edi, edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0x104
jle 0x18004619f
mov qword [rbx + 0x20], 7
mov qword [rbx + 0x18], rdi
xor r8d, r8d
mov word [rbx + 8], di
lea rdx, [0x18007a6b0]
jmp 0x18004623f
lea rcx, [rsp + 0x32]
xor edx, edx
mov r8d, 0x40e
mov word [rsp + 0x30], di
call fcn.1800575a0
xor r9d, r9d
lea rdx, [rsp + 0x30]
lea r8d, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [rsp + 0x30], di
je 0x180046180
lea rdx, str.projone
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rdx, str.watermark_pictures
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x30]
call fcn.18002770c
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov qword [rbx + 0x18], rdi
lea rcx, [0x18007a6b0]
cmp eax, edi
mov qword [rbx + 0x20], 7
mov word [rbx + 8], di
lea rdx, [rsp + 0x30]
cmove rdx, rcx
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rbx
call fcn.18000d5e0
mov rax, rbx
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180052d60
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret
Function at 0x180049598
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rdx, rcx
lea r9, str..________.dirty
lea rcx, [rsp + 0x20]
mov r8d, 1
call fcn.1800273cc
mov r11, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x20]
mov rbx, qword [r11]
mov rsi, qword [rsp + 0x50]
test rdi, rdi
je 0x1800495df
cmp rdi, qword [rsp + 0x20]
je 0x1800495e4
call fcn.180053884
cmp rbx, rsi
je 0x180049674
test rdi, rdi
jne 0x1800495fc
call fcn.180053884
xor r11d, r11d
jmp 0x1800495ff
mov r11, qword [rdi]
cmp rbx, qword [r11 + 0x30]
jne 0x18004960a
call fcn.180053884
cmp qword [rbx + 0x38], 8
jb 0x180049617
mov rcx, qword [rbx + 0x20]
jmp 0x18004961b
lea rcx, [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test rdi, rdi
jne 0x18004962b
call fcn.180053884
cmp byte [rbx + 0x41], 0
je 0x180049638
call fcn.180053884
jmp 0x1800495ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x41], 0
jne 0x180049653
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x41], 0
je 0x180049642
jmp 0x1800495ce
mov rax, qword [rbx + 8]
jmp 0x180049666
cmp rbx, qword [rax + 0x10]
jne 0x18004966c
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x41], 0
je 0x180049659
mov rbx, rax
jmp 0x1800495ce
lea rcx, [rsp + 0x20]
call fcn.18000ac80
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x180049d68
Capabilities:
Check if file exists
Copy file
Get common file path
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, r8
mov rsi, rdx
lea rcx, [rsp + 0x52]
xor edi, edi
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x50], di
call fcn.1800575a0
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.drivers
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call fcn.180049598
lea rcx, [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x180049e13
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x180049e9b
lea rcx, [rsp + 0x50]
mov rdx, rsi
call fcn.180027e94
cmp eax, edi
jne 0x180049e9b
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
jne 0x180049e9b
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180049558
cmp qword [rsp + 0x40], 8
lea rdx, [rsp + 0x28]
cmovae rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x180049e84
lea rdx, [rsp + 0x50]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
neg eax
sbb edi, edi
not edi
and edi, 8
jmp 0x180049e89
mov edi, 9
cmp qword [rsp + 0x40], 8
jb 0x180049e9b
mov rcx, qword [rsp + 0x28]
call fcn.1800538dc
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.180052d60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18004ac8c
Capabilities:
Encrypt data using aes
Reference aes constants

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
xor eax, eax
xor esi, esi
mov rbp, r8
mov qword [rcx], rax
mov qword [rcx + 8], rax
mov eax, dword [rcx + 0x10]
shl eax, 2
mov r10, rdx
mov rbx, rcx
cmp eax, esi
mov r9d, esi
jle 0x18004acfa
mov eax, r9d
inc r9d
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [r10]
inc r10
mov byte [rcx + rdx*4], al
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp r9d, eax
jl 0x18004acc6
mov edx, dword [rbx + 0x18]
mov rcx, rbx
call fcn.18004ae00
mov edi, dword [rbx + 0x18]
lea r14, [0x180099440]
jmp 0x18004ad55
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x18004ad14
add r11, 4
sub r8, 1
jne 0x18004ad11
mov edx, edi
mov rcx, rbx
call fcn.18004ae00
mov rcx, rbx
call fcn.18004af40
mov rcx, rbx
dec edi
call fcn.18004aeb8
cmp edi, 1
mov r11, rbx
mov r8d, 4
jge 0x18004ad11
mov r9, rsi
movzx edx, byte [r11 + r9]
mov ecx, edx
and edx, 0xf
shr ecx, 4
shl rcx, 4
add rcx, rdx
mov al, byte [rcx + r14]
mov byte [r11 + r9], al
inc r9
cmp r9, 4
jl 0x18004ad70
add r11, 4
sub r8, 1
jne 0x18004ad6d
xor edx, edx
mov rcx, rbx
call fcn.18004ae00
mov eax, dword [rbx + 0x10]
shl eax, 2
cmp eax, esi
jle 0x18004ade4
mov eax, esi
inc esi
cdq
and edx, 3
add eax, edx
mov ecx, eax
and eax, 3
sub eax, edx
sar ecx, 2
movsxd rdx, eax
movsxd rax, ecx
lea rcx, [rbx + rax]
mov al, byte [rcx + rdx*4]
mov byte [rbp], al
mov eax, dword [rbx + 0x10]
inc rbp
shl eax, 2
cmp esi, eax
jl 0x18004adb3
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 0x18004ae00
Capabilities:
Encode data using xor

Disassembly:
movsxd rax, edx
mov r11d, 4
add rax, rax
mov r10, r11
lea rdx, [rcx + rax*8 + 0x3c]
xor r8d, r8d
mov r9, rdx
mov al, byte [r9]
add r9, r11
xor byte [rcx + r8], al
inc r8
cmp r8, r11
jl 0x18004ae1a
inc rdx
add rcx, r11
sub r10, 1
jne 0x18004ae14
repz ret
Function at 0x18004bcec
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x60
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r12, rdx
mov rbx, rcx
and dword [rsp + 0x20], 0
xor esi, esi
xor eax, eax
or r14, 0xffffffffffffffff
mov rcx, r14
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r13, rcx
mov qword [r11 - 0x38], 0xf
mov qword [r11 - 0x40], rax
mov byte [rsp + 0x38], al
je 0x18004bede
lea rdi, [0x18007d6b0]
movsx rax, byte [r12 + rsi]
mov cl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x18004bd72
cmp cl, r14b
je 0x18004bd5d
cmp cl, r14b
je 0x18004bede
movsx rax, byte [r12 + rsi]
mov bpl, byte [rax + rdi]
inc rsi
cmp rsi, r13
jae 0x18004bd91
cmp bpl, r14b
je 0x18004bd7b
cmp bpl, r14b
je 0x18004bede
mov r8b, bpl
sar r8b, 4
and r8b, 3
shl cl, 2
or r8b, cl
mov edx, 1
lea rcx, [rsp + 0x30]
call fcn.18002a588
jmp 0x18004bdc3
lea rdi, [0x18007d6b0]
mov al, byte [r12 + rsi]
inc rsi
cmp al, 0x3d
je 0x18004bea2
movsx rax, al
mov dil, byte [rax + rdi]
cmp rsi, r13
jae 0x18004bde4
cmp dil, r14b
je 0x18004bdbc
cmp dil, r14b
je 0x18004bede
mov r8b, dil
sar r8b, 2
and r8b, 0xf
shl bpl, 4
or r8b, bpl
mov ebp, 1
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18002a588
lea rdx, [0x18007d6b0]
mov al, byte [r12 + rsi]
add rsi, rbp
cmp al, 0x3d
je 0x18004be66
movsx rax, al
mov cl, byte [rax + rdx]
cmp rsi, r13
jae 0x18004be34
cmp cl, r14b
je 0x18004be18
cmp cl, r14b
je 0x18004bede
shl dil, 6
or dil, cl
mov r8b, dil
mov rdx, rbp
lea rcx, [rsp + 0x30]
call fcn.18002a588
cmp rsi, r13
lea rdi, [0x18007d6b0]
jb 0x18004bd5d
jmp 0x18004bede
mov qword [rbx + 0x20], sendto
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000ba90
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18004be9d
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
mov rax, rbx
jmp 0x18004bf18
mov qword [rbx + 0x20], sendto
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000ba90
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18004bed9
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
mov rax, rbx
jmp 0x18004bf18
mov qword [rbx + 0x20], sendto
and qword [rbx + 0x18], 0
mov byte [rbx + 8], 0
mov r9, r14
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000ba90
nop
cmp qword [rsp + 0x50], 0x10
jb 0x18004bf15
mov rcx, qword [rsp + 0x38]
call fcn.1800538dc
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180052d60
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18004bfa4
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [0x180097090]
xor rax, rsp
mov qword [rsp + 0xa0], rax
and dword [rsp + 0x20], 0
and dword [rsp + 0x44], 0
and dword [rsp + 0x40], 0
mov rbx, rcx
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x67452301
mov dword [rsp + 0x34], 0xefcdab89
mov dword [rsp + 0x38], 0x98badcfe
mov dword [rsp + 0x3c], 0x10325476
call fcn.18004cea0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x90]
call fcn.18004cf54
and qword [rbx + 0x18], 0
mov qword [rbx + 0x20], sendto
lea rdx, [rsp + 0x90]
mov r8d, sendto
mov rcx, rbx
mov byte [rbx + 8], 0
call fcn.18000d0c0
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.180052d60
add rsp, 0xb0
pop rbx
ret
Function at 0x180054577
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x180097090]
jne 0x180052d7a
rol rcx, 0x10
test cx, 0xffff
jne 0x180052d76
repz ret
ror rcx, 0x10
jmp 0x1800544d0
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x18009b2d0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x18009b3c8]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180054555
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x18009b2d0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180054577
mov rax, qword [rsp + 0x88]
mov qword [0x18009b3c8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x18009b368], rax
mov rax, qword [0x18009b3c8]
mov qword [0x18009b240], rax
mov rax, qword [rsp + 0x90]
mov qword [0x18009b350], rax
mov dword [0x18009b230], 0xc0000409
mov dword [0x18009b234], 1
mov rax, qword [0x180097090]
mov qword [rsp + 0x68], rax
mov rax, qword [0x180097098]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x18009b2c8], eax
mov ecx, 1
call fcn.180057588
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x180077bb8]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x18009b2c8], 0
jne 0x1800545fe
mov ecx, 1
call fcn.180057588
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x180055184
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180054ff8
Function at 0x18005d460
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180054860
xor ebx, ebx
mov rdi, rax
cmp qword [0x18009bf30], rbx
jne 0x18005d566
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18005d63b
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18005d63b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x18009bf30], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x18009bf38], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x18009bf40], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x18009bf50], rax
test rax, rax
je 0x18005d55d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x18009bf48], rax
jmp 0x18005d56d
mov rax, qword [0x18009bf48]
jmp 0x18005d574
mov rax, qword [0x18009bf48]
mov r11, qword [0x18009bf50]
cmp rax, rdi
je 0x18005d5dc
cmp r11, rdi
je 0x18005d5dc
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x18009bf50]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18005d5dc
test rax, rax
je 0x18005d5dc
call rsi
test rax, rax
je 0x18005d5d6
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18005d5d6
test byte [rsp + 0x38], 1
jne 0x18005d5dc
bts ebp, 0x15
jmp 0x18005d61a
mov rcx, qword [0x18009bf38]
cmp rcx, rdi
je 0x18005d61a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005d61a
call rax
mov rbx, rax
test rax, rax
je 0x18005d61a
mov rcx, qword [0x18009bf40]
cmp rcx, rdi
je 0x18005d61a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005d61a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x18009bf30]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18005d63b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18005d63d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18005e2f0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
nop
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18005e335
xor al, al
jmp 0x18005e3b3
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rsp + 0x50]
add rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x18005e35c
xor al, al
jmp 0x18005e3b3
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xe8]
mov rax, qword [rsp + 0x50]
add rax, rcx
cmp qword [rsp + 0x88], rax
jb 0x18005e3ab
mov rax, qword [rsp + 0x58]
mov eax, dword [rax + 0xe8]
mov rdx, qword [rsp + 0x50]
add rdx, rax
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax + 0xec]
mov rax, rdx
add rax, rcx
cmp qword [rsp + 0x88], rax
jae 0x18005e3ab
mov al, 1
jmp 0x18005e3b3
jmp 0x18005e3b1
xor al, al
add rsp, 0x78
ret

Function at 0x18005e430
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
mov rax, qword [0x18009c090]
mov qword [rsp + 0x20], rax
jmp 0x18005e450
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 8]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x18005e481
lea r9, [rsp + 0x28]
mov r8d, 0x40
mov edx, 0x10000
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18005e47f
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x18005e483
jmp 0x18005e442
xor eax, eax
add rsp, 0x38
ret