joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1801d0840
Capabilities:
Check if file exists

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rsi, r8
mov rbx, rdx
mov r14, rcx
test rdx, rdx
je 0x1801d0a45
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1801d0a45
mov qword [rbp - 0x78], 7
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
mov dword [rsp + 0x40], r12d
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x70]
mov rdx, rsi
mov rcx, rbx
call fcn.1801baa30
test eax, eax
jne 0x1801d08d2
mov ebx, r12d
jmp 0x1801d0a25
mov ecx, 0xa
call fcn.1800787b0
mov r15d, eax
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
lea r9, [rsp + 0x50]
mov r8d, eax
mov rdx, rsi
mov rcx, rbx
call fcn.1801bb1b0
test eax, eax
je 0x1801d09f1
mov dword [rsp + 0x40], r12d
lea rdi, [r14 + 0x20]
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
cmp rdi, rax
je 0x1801d0949
mov r9, rbx
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.18005cbe0
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, str.WanNengWBInput
lea rdx, str._s_s_Copy_d
lea rcx, [rbp - 0x50]
call fcn.18005c530
cmp word [rbp - 0x50], 0
jne 0x1801d0974
mov rbx, r12
jmp 0x1801d098a
lea rax, [rbp - 0x50]
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1801d0980
lea rsi, [r14 + 0x40]
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rsi
call fcn.18005c660
cmp qword [rsi + 0x18], 8
jb 0x1801d09a7
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x1801d09b1
mov rdi, qword [rdi]
lea rax, [r14 + 8]
lea rcx, [r14 + 0xc]
lea r8, [r14 + 0x10]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
mov rdx, rdi
mov rcx, r14
call fcn.1801dfea0
mov qword [r14 + 0x18], rax
cmp dword [rsp + 0x40], 0
jne 0x1801d09f1
test rax, rax
mov ebx, 1
jne 0x1801d09f4
mov ebx, r12d
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1801d0a11
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.18005cac0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1801d0a41
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.18005cac0
mov eax, ebx
jmp 0x1801d0a47
xor eax, eax
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1801d4679
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rcx, rdx
je 0x1801d48a5
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, r8
mov r12, rdx
mov r15, rcx
lea r14, [rcx + 0x28]
cmp r14, rdx
je 0x1801d4881
xor r13d, r13d
mov rbx, r14
movzx eax, word [r14]
mov word [rsp + 0x28], ax
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r13
mov word [rsp + 0x30], r13w
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x30]
call fcn.18005c590
nop
mov rdx, r15
lea rcx, [rsp + 0x28]
call qword [rbp]
test eax, eax
je 0x1801d476f
lea r8, [r14 + 0x28]
mov rdx, r14
mov rcx, r15
call fcn.1801d5090
movzx eax, word [rsp + 0x28]
mov word [r15], ax
lea rbx, [r15 + 8]
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x1801d476a
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1801d473d
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x1801d4755
mov rax, qword [rbx]
jmp 0x1801d4758
mov rax, rbx
mov word [rax], r13w
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18005c590
nop
jmp 0x1801d4857
lea rdi, [r14 - 0x28]
mov rdx, rdi
lea rcx, [rsp + 0x28]
call qword [rbp]
test eax, eax
je 0x1801d47fc
lea rsi, [r14 - 0x20]
nop word [rax + rax]
movzx eax, word [rdi]
mov word [rbx], ax
add rbx, 8
cmp rbx, rsi
je 0x1801d47e2
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1801d47b7
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x1801d47cf
mov rax, qword [rbx]
jmp 0x1801d47d2
mov rax, rbx
mov word [rax], r13w
mov rdx, rsi
mov rcx, rbx
call fcn.18005c590
nop
mov rbx, rdi
sub rdi, 0x28
sub rsi, 0x28
mov rdx, rdi
lea rcx, [rsp + 0x28]
call qword [rbp]
test eax, eax
jne 0x1801d4790
movzx eax, word [rsp + 0x28]
mov word [rbx], ax
add rbx, 8
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x1801d4857
mov r8, qword [rbx + 0x18]
cmp r8, 8
jb 0x1801d482a
inc r8
mov rdx, qword [rbx]
mov rcx, rbx
call fcn.18005cac0
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], r13
cmp qword [rbx + 0x18], 8
jb 0x1801d4842
mov rax, qword [rbx]
jmp 0x1801d4845
mov rax, rbx
mov word [rax], r13w
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18005c590
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x1801d4874
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.18005cac0
add r14, 0x28
cmp r14, r12
jne 0x1801d46c1
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801db1c0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1801db1f1
xor eax, eax
jmp 0x1801db2c3
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.180233580
lea rcx, [rsp + 0x40]
sub rcx, rbx
nop dword [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1801db210
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180079d40
xor edx, edx
lea rcx, [rsp + 0x250]
mov r8d, 0x208
call fcn.180233580
lea r8, [rdi + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x1801db255
mov r8, qword [r8]
lea r9, str.dict.conf
lea rdx, [0x1802abef8]
lea rcx, [rsp + 0x250]
call fcn.18005c530
cmp qword [rsp + 0x38], 8
lea rdx, [rsp + 0x20]
lea r9, [rsp + 0x250]
mov r8d, 1
cmovae rdx, qword [rsp + 0x20]
lea rcx, str.UseState
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r8, qword [rsp + 0x38]
xor ebx, ebx
cmp eax, 1
sete bl
cmp r8, 8
jb 0x1801db2c1
mov rdx, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
inc r8
call fcn.18005cac0
mov eax, ebx
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x488]
add rsp, 0x470
pop rdi
ret

Function at 0x1801db2f0
Capabilities:
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x670
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1801db32a
xor eax, eax
jmp 0x1801db461
xor edx, edx
lea rcx, [rsp + 0x450]
mov r8d, 0x208
call fcn.180233580
lea rcx, [rsp + 0x450]
sub rcx, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rcx + rbx], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1801db350
xor edx, edx
lea rcx, [rsp + 0x240]
mov r8d, 0x208
call fcn.180233580
lea r8, [rdi + 0xa0]
cmp qword [r8 + 0x18], 8
jb 0x1801db386
mov r8, qword [r8]
lea r9, str.dict.conf
lea rdx, [0x1802abef8]
lea rcx, [rsp + 0x240]
call fcn.18005c530
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call fcn.180233580
lea rax, [rsp + 0x240]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
lea r8, [0x1802abe4c]
mov dword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x450]
lea rcx, [0x1802bc3d0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x30]
cmp ax, word [0x1802abe4c]
jne 0x1801db409
movzx eax, word [rsp + 0x32]
cmp ax, word [0x1802abe4e]
je 0x1801db323
xor ebx, ebx
cmp word [rsp + 0x30], bx
jne 0x1801db417
mov r8d, ebx
jmp 0x1801db42a
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x1801db420
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18005c660
lea r9, [rsp + 0x240]
xor r8d, r8d
lea rdx, [rsp + 0x450]
lea rcx, str.size
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
mov dword [r14], eax
setne bl
mov eax, ebx
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0x698]
add rsp, 0x670
pop r14
pop rdi
pop rsi
ret
Function at 0x1801db6c0
Capabilities:
Get file size

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xb0
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rbx, rdx
mov rdi, rcx
add rcx, 0x18
xor edx, edx
mov r8d, 0x208
call fcn.180233580
xor esi, esi
mov dword [rdi + 0x220], esi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0x78], 0x18
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], esi
lea edx, [rsi + 1]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1801db751
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InitializeSecurityDescriptor___failed.Error__d_n
call fcn.18006efe0
nop
lea rdx, str.Everyone
lea rcx, [rsp + 0x50]
call fcn.18006e4a0
lea rdx, str.ALL_APPLICATION_PACKAGES
lea rcx, [rsp + 0x50]
call fcn.18006e4a0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1801db7db
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rdi + 0x220], eax
sub rdi, rbx
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rdi + rbx + 0x18], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x1801db7c0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
cmp rbx, rax
je 0x1801db825
mov rdi, qword [rbx]
test rdi, rdi
je 0x1801db814
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x98]
add rbx, 8
cmp rbx, rax
jne 0x1801db7f0
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rbx
test rbx, rbx
je 0x1801db849
mov r8, qword [rsp + 0xa0]
sub r8, rbx
sar r8, 3
mov rdx, rbx
call fcn.18006ee90
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1801db860
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov rax, rsp
push r14
sub rsp, 0xb0
mov qword [rax - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rbp, r8
mov rdi, rdx
mov rbx, rcx
call fcn.1801db6c0
mov r8, rbp
mov edx, 1
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rbx + 8], rax
xor esi, esi
test rax, rax
je 0x1801db8dd
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
je 0x1801db8dd
lea eax, [rsi + 1]
jmp 0x1801dba61
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1801db917
xor eax, eax
jmp 0x1801dba61
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], rsi
mov dword [rsp + 0x78], 0x18
lea rax, [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], esi
mov edx, 1
lea rcx, [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x1801db97e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InitializeSecurityDescriptor___failed.Error__d_n
call fcn.18006efe0
nop
lea rdx, str.Everyone
lea rcx, [rsp + 0x50]
call fcn.18006e4a0
lea rdx, str.ALL_APPLICATION_PACKAGES
lea rcx, [rsp + 0x50]
call fcn.18006e4a0
mov qword [rsp + 0x28], rbp
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rbx + 8], rax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 0x10], rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx + 0x10], 0
setne sil
mov rbx, qword [rsp + 0x90]
mov rax, qword [rsp + 0x98]
cmp rbx, rax
je 0x1801dba3b
mov rdi, qword [rbx]
test rdi, rdi
je 0x1801dba2a
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rax, qword [rsp + 0x98]
add rbx, 8
cmp rbx, rax
jne 0x1801dba06
mov rbx, qword [rsp + 0x90]
mov qword [rsp + 0x98], rbx
test rbx, rbx
je 0x1801dba5f
mov r8, qword [rsp + 0xa0]
sub r8, rbx
sar r8, 3
mov rdx, rbx
call fcn.18006ee90
mov eax, esi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1801dbba0
Capabilities:
Check if file exists
Get common file path
Move file

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp dword [rcx + 0x288], 0
mov rbx, rcx
je 0x1801dbc50
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.180233580
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp word [rsp + 0x20], 0
jne 0x1801dbbfa
xor r9d, r9d
jmp 0x1801dbc0e
lea rax, [rsp + 0x20]
or r9, 0xffffffffffffffff
inc r9
cmp word [rax + r9*2], 0
jne 0x1801dbc03
add rbx, 0x290
lea rdx, [rsp + 0x20]
mov rcx, rbx
xor r8d, r8d
call fcn.18005fea0
test rax, rax
jne 0x1801dbc50
cmp qword [rbx + 0x18], 8
jb 0x1801dbc34
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1801dbc50
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x240
pop rbx
ret
Function at 0x1801dc500
Capabilities:
Check if file exists

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
test rdx, rdx
je 0x1801dc682
mov rcx, rdx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1801dc682
mov qword [rsp + 0x78], 7
xor r14d, r14d
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x60]
mov rdx, rdi
mov rcx, rbx
call fcn.1801baa30
test eax, eax
jne 0x1801dc589
mov ebx, r14d
jmp 0x1801dc661
mov ecx, 0xa
call fcn.1800787b0
mov ebp, eax
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, rdi
mov rcx, rbx
call fcn.1801bb1b0
test eax, eax
je 0x1801dc62d
mov dword [rsp + 0x20], ebp
mov r9, rdi
lea r8, str.WanNengWBInput
lea rdx, str._s_s_Copy_d
lea rcx, [rsp + 0x80]
call fcn.18005c530
lea rbx, [rsi + 0x290]
lea rax, [rsp + 0x40]
cmp rbx, rax
je 0x1801dc607
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.18005cbe0
cmp qword [rbx + 0x18], 8
jb 0x1801dc611
mov rbx, qword [rbx]
lea r8, [rsp + 0x80]
mov rdx, rbx
mov rcx, rsi
call fcn.1801dbc70
test eax, eax
mov ebx, 1
jne 0x1801dc630
mov ebx, r14d
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x1801dc64d
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.18005cac0
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x1801dc67e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.18005cac0
mov eax, ebx
jmp 0x1801dc684
xor eax, eax
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x2a0
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1801debf9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp rcx, rdx
je 0x1801ded81
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0xa8], rbx
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov r15, r8
mov r12, rdx
mov rsi, rcx
lea rbp, [rcx + 0x28]
cmp rbp, rdx
je 0x1801ded5d
lea r14, [rbp - 0x28]
xor r13d, r13d
nop word [rax + rax]
mov rdi, rbp
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r13w
mov rdx, rbp
lea rcx, [rsp + 0x28]
call fcn.18005c590
lea rbx, [r14 + 0x48]
movzx eax, word [rbx]
mov word [rsp + 0x48], ax
mov rdx, rsi
lea rcx, [rsp + 0x28]
call qword [r15]
test al, al
je 0x1801decd8
cmp rsi, rbp
je 0x1801decc0
nop dword [rax]
nop dword [rax + rax]
lea rbx, [rbx - 0x28]
lea rdi, [rbx - 0x20]
lea rcx, [rbx + 8]
mov rdx, rdi
call fcn.18005bc10
movzx eax, word [rbx]
mov word [rbx + 0x28], ax
cmp rdi, rsi
jne 0x1801deca0
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.18005bc10
movzx eax, word [rsp + 0x48]
mov word [rsi + 0x20], ax
jmp 0x1801ded2f
mov rbx, r14
mov rdx, r14
lea rcx, [rsp + 0x28]
call qword [r15]
test al, al
je 0x1801ded19
nop word [rax + rax]
mov rdx, rbx
mov rcx, rdi
call fcn.18005bc10
movzx eax, word [rbx + 0x20]
mov word [rdi + 0x20], ax
mov rdi, rbx
sub rbx, 0x28
mov rdx, rbx
lea rcx, [rsp + 0x28]
call qword [r15]
test al, al
jne 0x1801decf0
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.18005bc10
movzx eax, word [rsp + 0x48]
mov word [rdi + 0x20], ax
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1801ded4c
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.18005cac0
add rbp, 0x28
add r14, 0x28
cmp rbp, r12
jne 0x1801dec50
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1802037a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801e3a40
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor eax, eax
mov rbx, rdx
mov rdi, rcx
mov dword [rdx + 8], eax
mov qword [rdx], rax
mov r9, rcx
lea rcx, [rsp + 0x38]
lea edx, [rax + 4]
lea r8d, [rax + 1]
call fcn.18023996c
cmp rax, 1
jne 0x1801e3ae7
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x38]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x3a]
shl ecx, 8
add ecx, eax
movzx eax, byte [rsp + 0x3b]
shl ecx, 8
add eax, ecx
mov dword [rbx + 8], eax
cmp eax, 0x7a1200
ja 0x1801e3ae7
add eax, 0xc
mov ecx, eax
mov dword [rbx + 8], eax
call fcn.180203f3c
mov ecx, dword [rsp + 0x38]
mov r9, rdi
mov qword [rbx], rax
mov r8d, 1
mov dword [rax], ecx
mov edx, dword [rbx + 8]
mov rcx, qword [rbx]
sub edx, 4
add rcx, 4
call fcn.18023996c
cmp rax, 1
jne 0x1801e3ae7
mov rax, qword [rbx]
mov eax, dword [rax + 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1801ea150
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
test rdx, rdx
lea rbx, str.undefined
mov rdi, rcx
mov ecx, 2
cmovne rbx, rdx
call fcn.180239f08
mov rcx, rax
lea rdx, str.libpng_error:__s
mov r8, rbx
call fcn.1801e3670
mov ecx, 2
call fcn.180239f08
mov rcx, rax
lea rdx, [0x1802b5be8]
call fcn.1801e3670
test rdi, rdi
je 0x1801ea1c4
mov rax, qword [rdi + 0x100]
test rax, rax
je 0x1801ea1c4
mov rcx, qword [rdi + 0x108]
test rcx, rcx
je 0x1801ea1c4
mov edx, 1
call rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x180204f08
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x90
mov rdi, rdx
mov dword [rax - 0x78], 0x70
xor edx, edx
mov esi, r8d
mov rbx, rcx
mov ebp, r9d
lea rcx, [rax - 0x74]
lea r8d, [rdx + 0x6c]
call fcn.180233580
mov eax, esi
mov qword [rsp + 0x38], rbx
neg eax
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rdi
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x200
mov dword [rsp + 0x24], ecx
call fcn.18006e1c0
xor ebx, ebx
lea rcx, str.runas
test eax, eax
cmovne rcx, qword [rsp + 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x180204f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
cmove eax, ebx
jmp 0x180204fb7
test esi, esi
je 0x180204fb2
mov rcx, qword [rsp + 0x88]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x180204fd0
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x180332088]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r15d, r9d
mov r12b, r8b
mov rsi, rdx
mov rdi, rcx
mov r14, qword [rbp + 0xa0]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.180233580
mov dword [rbp - 0x80], 0x68
xor edx, edx
lea r8d, [rbx + 0x18]
lea rcx, [rsp + 0x58]
call fcn.180233580
lea eax, [rbx + 7]
mov qword [rbp + 8], rax
mov qword [rbp], rbx
mov word [rbp - 0x10], bx
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
test rsi, rsi
je 0x1802050fc
cmp word [rsi], bx
jne 0x18020506a
mov eax, ebx
jmp 0x180205072
mov rcx, rsi
call fcn.1802547d0
mov r8, rax
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.18005c660
cmp qword [rbp + 0x20], rbx
je 0x1802050fc
lea rcx, [0x1802ad5fc]
call fcn.1802547d0
mov r8, rax
lea rdx, [0x1802ad5fc]
lea rcx, [rbp - 0x10]
call fcn.18005c660
cmp word [rdi], bx
jne 0x1802050b0
mov rax, rbx
jmp 0x1802050b8
mov rcx, rdi
call fcn.1802547d0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.18005ffc0
lea rcx, [0x1802ad600]
call fcn.1802547d0
mov r8, rax
lea rdx, [0x1802ad600]
lea rcx, [rbp - 0x10]
call fcn.18005ffc0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.18005bc80
jmp 0x18020511d
cmp word [rdi], bx
jne 0x180205106
mov rax, rbx
jmp 0x18020510e
mov rcx, rdi
call fcn.1802547d0
mov r8, rax
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.18005c660
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov ecx, 0x67
call fcn.1800668b0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov edi, 1
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1802051d1
test r12b, r12b
je 0x180205199
or edx, 0xffffffff
test r15d, r15d
cmovg edx, r15d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r14, r14
je 0x1802051b9
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1802051b9
mov eax, dword [rsp + 0x50]
mov dword [r14], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, edi
xor r8d, r8d
mov dl, dil
lea rcx, [rbp + 0x10]
call fcn.18005cb40
nop
xor r8d, r8d
mov dl, dil
lea rcx, [rbp - 0x10]
call fcn.18005cb40
mov eax, ebx
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1802037a0
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret