joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1404bbf20
Capabilities:
Encode data using xor

Disassembly:
xchg rsp, rax
mov rsp, rax
xchg rsp, rax
xchg rbx, rcx
mov qword [rax + 0x10], rcx
xchg rcx, rbx
mov qword [rax + 0x18], rsi
mov dword [rsp - 0x34], 0x7b6b2470
nop
sub rsp, 8
mov qword [rsp], rdi
nop
sub rsp, 0x690e063e
add rsp, 0x690e05ee
mov dword [rax - 0x38], 0x4a577415
xor dword [rax - 0x38], 0x45cae53d
xor dword [rax - 0x38], 0x6c29caf3
xor dword [rax - 0x38], 0x79761ac1
sub dword [rax - 0x38], 0x1a6240be
xor esi, esi
mov dword [rax - 0x34], 0xa16b804
add dword [rax - 0x34], 0x31f766b4
sub dword [rax - 0x34], 0x171744de
add dword [rax - 0x34], 0x1e62fa24
sub dword [rax - 0x34], 0x42f1d3ae
xchg r11, rbx
mov r11, rcx
xchg r11, rbx
mov dword [rax - 0x30], 0x1ec487e4
add dword [rax - 0x30], 0x1bee3b10
add dword [rax - 0x30], 0x2adf6233
sub dword [rax - 0x30], 0x657124ef
mov dword [rax - 0x2c], 0x6ab7188
add dword [rax - 0x2c], 0x52eb6682
sub dword [rax - 0x2c], 0x2576e3b4
xor dword [rax - 0x2c], 0x344cf41a
mov dword [rax - 0x28], 0x2dbb59d6
sub dword [rax - 0x28], 0x2428098f
add dword [rax - 0x28], 0x74997d71
xor dword [rax - 0x28], 0x565962db
sub dword [rax - 0x28], 0x27f6aefc
mov qword [rsp + 0x60], rsi
mov rax, qword [rsp + 0x60]
mov dword [rsp - 0x1c], edi
nop dword [rax]
nop word [rax + rax]
xchg rbp, rcx
mov rbp, qword [rsp + 0x60]
xchg rcx, rbp
mov rax, qword [rsp + 0x60]
and cl, 3
shl cl, 1
shl cl, 2
movzx edx, word [rsp + rax*2 + 0x20]
mov eax, 0x35301bf2
xor eax, 0x7d9f4929
sub eax, 0x2734239c
add eax, 0x40fc176e
xor eax, 0x551555a6
shr eax, cl
xchg r8, r8
movzx ecx, al
xchg rbx, rax
mov rbx, qword [rsp + 0x60]
xchg rbx, rax
xor cx, dx
mov dword [rsp - 0x34], 0x291237b9
mov word [rsp + rax*2 + 0x34], cx
mov rax, qword [rsp + 0x60]
inc rax
mov qword [rsp + 0x60], rax
mov dword [rsp - 0xc], 0x39b4f3a6
mov rax, qword [rsp + 0x60]
cmp rax, 0xa
jb 0x1404bc01d
mov dword [rsp - 0x20], 0x39ff6572
xor edx, edx
mov word [rsp + 0x48], si
lea rcx, [rsp + 0x34]
call fcn.1400a3160
mov dword [rsp - 0x20], 0xa335ab1
xchg rbp, r8
mov rbp, rax
xchg rbp, r8
xchg r12, rax
mov qword [rbx + 0x210], r12
xchg r12, rax
xor eax, eax
lea rdi, [rsp + 0x34]
mov r8, r8
mov ecx, 0x32df6e14
sub ecx, 0x26e67bdf
add ecx, 0x1a3d0531
xor ecx, 0x2635f76c
rep stosb byte [rdi], al
test r8, r8
je 0x1404bc165
xchg rbp, rbp
lea rdx, [rbx + 0x218]
xchg r8, rcx
mov r8, rcx
xchg rcx, r8
call fcn.1404bc630
test al, al
jne 0x1404bc15d
mov dword [rsp - 0xc], 0x4993b858
xchg rcx, rdi
mov rdi, qword [rbx + 0x210]
xchg rdi, rcx
call fcn.1400a5750
xchg rbx, rbx
xor al, al
mov qword [rbx + 0x210], rsi
xchg r11, rbx
mov r11, qword [rsp + 0x68]
xchg rbx, r11
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
mov dword [rsp - 0x14], 0x5422e874
pop rdi
ret
mov al, 0x11
add al, 0x6b
xor al, 0x3b
sub al, 0x46
mov rbx, qword [rsp + 0x68]
mov rsp, rsp
mov rsi, qword [rsp + 0x70]
nop
sub rsp, 0x3859ce8
add rsp, 0x3859d38
nop
mov rdi, qword [rsp]
add rsp, 8
ret
Function at 0x140003990
Capabilities:
Enumerate process modules

Disassembly:
push rdi
mov eax, 0x2150
call fcn.14004e1c0
sub rsp, rax
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x2140], rax
mov r8d, ecx
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140003a5b
mov qword [rsp + 0x2168], rbx
lea r9, [rsp + 0x20]
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, 0x2000
mov dword [rsp + 0x20], ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
test eax, eax
je 0x140003a48
test dword [rsp + 0x20], 0xfffffff8
jbe 0x140003a48
mov rdx, qword [rsp + rbx*8 + 0x30]
lea r8, [rsp + 0x2030]
mov r9d, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140003a3b
lea rdx, [0x140288e00]
lea rcx, [rsp + 0x2030]
call fcn.1401eac40
test rax, rax
jne 0x140003a74
mov eax, dword [rsp + 0x20]
inc ebx
shr eax, 3
cmp ebx, eax
jb 0x140003a02
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rbx, qword [rsp + 0x2168]
mov rcx, qword [rsp + 0x2140]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x2150
pop rdi
ret
mov al, 1
jmp 0x140003a53
Function at 0x140007630
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, 0x13c8
call fcn.14004e1c0
sub rsp, rax
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
call fcn.140029dd0
mov dword [rsp + 0x24], eax
mov edx, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop dword [rax + rax]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x140007670
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x270
call fcn.14000edd0
mov ecx, eax
imul rax, rcx, 0x270f
cmp eax, 0x1ab2
ja 0x1400076cb
lea rcx, [rsp + 0x20]
call fcn.14000edd0
mov ecx, eax
imul rax, rcx, 0x270f
cmp eax, 0x1ab3
jb 0x1400076b1
shr rax, 0x20
add eax, 0x80000001
xor eax, 0x80000000
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x13c8
ret
Function at 0x140008650
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140008674
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140008702
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x1400086d0
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x1400086d0
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.14021f230
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x1400086ed
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x1400086f5
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140008691
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x1400087e0
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140008719
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000871b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000874d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.14021f230
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x1400087dd
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008788
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x1400087be
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1401f5e24
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x1400087dd
cmp rsi, rax
ja 0x140008791
test rsi, rsi
je 0x1400087dd
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1401f5e24
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14000edd0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14000ee31
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14000edf0
mov ecx, dword [r9]
jmp 0x14000ef1b
cmp ecx, 0x4e0
jb 0x14000ef1b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000ee50
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14000eea0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x14000f720
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000f839
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000f830
mov qword [rsp + 0x2a0], rbp
xor ebp, ebp
nop word [rax + rax]
lea rdx, [0x140288320]
lea rcx, [rsp + 0x4c]
call fcn.1401f6474
test eax, eax
jne 0x14000f7d1
mov edx, dword [rsp + 0x28]
lea rcx, [0x14000f640]
mov qword [0x1402d8100], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x1402d8100]
test rax, rax
je 0x14000f7d1
cmp qword [rbx], rbp
jne 0x14000f7d1
mov qword [rbx], rax
lea rdx, [0x140288338]
lea rcx, [rsp + 0x4c]
call fcn.1401f6474
test eax, eax
jne 0x14000f812
mov edx, dword [rsp + 0x28]
lea rcx, [0x14000f640]
mov qword [0x1402d8100], rbp
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [0x1402d8100]
test rax, rax
je 0x14000f812
cmp qword [rdi], rbp
jne 0x14000f812
mov qword [rdi], rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000f790
mov rbp, qword [rsp + 0x2a0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14004d990
add rsp, 0x270
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000fa80
Capabilities:
Create process on windows
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x510
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x500], rax
xor r14d, r14d
mov rbx, rcx
lea rcx, [rsp + 0x2f2]
mov word [rsp + 0x2f0], r14w
xor edx, edx
mov r8d, 0x206
mov ebp, r14d
call fcn.14021f8d0
lea r15, [0x1402882e8]
lea r12, [0x1402874d8]
xor edx, edx
mov ecx, 2
mov esi, r14d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000fc44
lea rdx, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14000fc3b
cmp qword [rbx + 0x18], 7
mov rdx, rbx
jbe 0x14000fb2e
mov rdx, qword [rbx]
lea rcx, [rsp + 0xdc]
call fcn.1401f6474
test eax, eax
je 0x14000fb56
lea rdx, [rsp + 0xb0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14000fb21
jmp 0x14000fb5d
mov esi, dword [rsp + 0xb8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x14000fc44
mov ebp, 1
mov r8d, esi
mov ecx, ebp
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000fb9c
mov edx, ebp
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx + 0x18], 7
mov r8, rbx
jbe 0x14000fba9
mov r8, qword [rbx]
lea rdx, [0x140288350]
lea rcx, [rsp + 0x2f0]
call fcn.1400025c0
lea rax, [rsp + 0x2f0]
mov dword [rsp + 0x30], VarBstrFromDisp
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r14d
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x14000fc2b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0xa0]
mov dword [rsp + 0xa0], r14d
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000fae0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov rcx, qword [rsp + 0x500]
xor rcx, rsp
call fcn.14004d990
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x14000fe90
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.14004e1c0
sub rsp, rax
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov r14, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
mov r8d, 0x3e
lea rdx, [0x140288388]
lea rcx, [rsp + 0x30]
call fcn.140004c40
nop
call fcn.140029dd0
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
mov ecx, 1
nop dword [rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x14000ff20
mov dword [rsp + 0x50], 0x270
mov ebp, dword [rsp + 0x40]
dec ebp
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], SafeArrayGetDim
mov byte [rbx], 0
mov dword [rsp + 0x20], 1
mov r13, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
test r14, r14
je 0x140010041
mov r12d, 0x80000000
xor ebp, r12d
nop word [rax + rax]
lea rcx, [rsp + 0x50]
cmp ebp, 0x7fffffff
jne 0x14000ffa6
call fcn.14000edd0
mov ecx, eax
jmp 0x14000ffe8
lea edi, [rbp - 0x7fffffff]
call fcn.14000edd0
mov esi, edi
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jae 0x14000ffe4
mov eax, edi
neg eax
xor edx, edx
div edi
mov edi, edx
cmp ecx, edx
jae 0x14000ffe4
nop dword [rax + rax]
lea rcx, [rsp + 0x50]
call fcn.14000edd0
mov ecx, eax
imul rcx, rsi
cmp ecx, edi
jb 0x14000ffd0
shr rcx, 0x20
lea eax, [rcx + r12]
xor eax, r12d
lea rcx, [rsp + 0x30]
cmp r13, 0xf
cmova rcx, r15
cdqe
movzx r9d, byte [rax + rcx]
mov rcx, qword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
cmp rcx, rdx
jae 0x14001002f
lea rax, [rcx + 1]
mov qword [rbx + 0x10], rax
mov rax, rbx
cmp rdx, 0xf
jbe 0x140010024
mov rax, qword [rbx]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140010037
mov rcx, rbx
call fcn.14000d970
sub r14, 1
jne 0x14000ff90
cmp r13, 0xf
jbe 0x140010074
lea rdx, [r13 + 1]
mov rax, r15
cmp rdx, 0x1000
jb 0x14001006c
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400100a8
mov rcx, r15
call fcn.140014a40
mov rax, rbx
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.14004d990
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1401f4404
int3
Function at 0x140010d80
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
xor ebx, ebx
mov r8d, 0x400
lea rdx, [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, 0xfffffbff
je 0x140010dff
mov eax, eax
cmp rax, 0x400
jae 0x140010f9b
mov byte [rbp + rax - 0x50], bl
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x140010df0
lea rdx, [rbp - 0x50]
jmp 0x140010e1a
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x140287308]
lea rcx, [rsp + 0x68]
call fcn.140004c40
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp - 0x78]
call fcn.1400121f0
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rcx, qword [rsp + 0x68]
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x140010ef0
lea rax, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rax, qword [rbp - 0x78]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rax
lea rax, [0x140288478]
mov qword [rsp + 0x48], rax
lea rax, [0x14028847c]
mov qword [rsp + 0x40], rax
lea rax, str._nul
mov qword [rsp + 0x38], rax
lea rax, [0x140288488]
mov qword [rsp + 0x30], rax
lea rax, [0x14028848c]
mov qword [rsp + 0x28], rax
lea rax, str.127.0.0.1
mov qword [rsp + 0x20], rax
lea r9, str.ping
lea r8, [0x1402884a4]
lea rdx, [0x1402884a8]
lea rcx, [0x1402884a8]
call fcn.1401f6364
cmp rax, 0xffffffffffffffff
je 0x140010ef0
mov bl, 1
jmp 0x140010ef2
xor bl, bl
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140010f29
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010f24
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010fa1
call fcn.140014a40
movdqa xmm0, xmmword [0x14028bad0]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140010f72
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010f95
call fcn.140014a40
movzx eax, bl
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14004d990
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x4c0
pop rbp
ret
call fcn.1401f4404
int3
call fcn.14004dc0c
nop
call fcn.1401f4404
nop
int3
Function at 0x140011140
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r13
push r14
push r15
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
mov rbx, qword [rsp + 0x60]
mov r12, r9
mov rcx, qword [rsp + 0x50]
mov r13, r8
mov rbp, qword [rsp + 0x58]
mov r15, rdx
mov qword [rsi], r8
mov qword [rbx], rcx
mov rax, qword [rsi]
cmp rax, r9
je 0x1400112d5
cmp rcx, rbp
je 0x1400112d5
mov r9d, 1
movzx edx, word [r15]
xor dil, dil
movzx ecx, word [rax]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp r9w, dx
jae 0x1400111dc
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x1400112fc
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x1400111f3
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x1400111f3
shl eax, 0xa
mov dil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140011206
movzx r8d, al
mov r10d, r14d
mov r11d, r14d
jmp 0x140011253
mov r8d, eax
cmp eax, 0x800
jae 0x140011220
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140011253
cmp eax, 0x10000
jae 0x14001123a
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140011253
shr r8d, 0x12
mov r10d, 3
movzx r11d, dil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, rbp
sub rdx, qword [rbx]
mov ecx, r9d
cmp rdx, rcx
jl 0x1400112d5
add qword [rsi], 2
test dil, dil
jne 0x140011274
cmp r10d, 3
jae 0x140011280
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jle 0x1400112ae
lea ecx, [r10 + r10*2]
add ecx, ecx
nop
sub ecx, 6
mov edx, eax
shr edx, cl
dec r9d
and dl, 0x3f
or dl, 0x80
mov byte [r8], dl
inc qword [rbx]
mov r8, qword [rbx]
test r9d, r9d
jg 0x140011290
shr eax, 0xa
mov r9d, 1
test dil, dil
mov ecx, r9d
cmovne ecx, eax
mov word [r15], cx
mov rax, qword [rsi]
cmp rax, r12
je 0x1400112d5
cmp qword [rbx], rbp
jne 0x14001119d
cmp r13, qword [rsi]
sete r14b
mov eax, r14d
mov rbx, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
ret
mov eax, 2
jmp 0x1400112df
Function at 0x140013d10
Capabilities:
Accept command line arguments
Check mutex on windows
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x1402c7100]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbp, rcx
mov dword [rsp + 0x28], 8
mov dword [rsp + 0x2c], 0xff
lea rcx, [rsp + 0x28]
call qword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov rcx, rbp
call fcn.14004f914
xor ecx, ecx
call fcn.140050dc4
mov ecx, 0x18
call fcn.14004d9b0
mov qword [rsp + 0x20], rax
xor ebx, ebx
test rax, rax
je 0x140013d97
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov rcx, rax
call fcn.140051f60
mov r14, rax
jmp 0x140013d9a
mov r14, rbx
lea rcx, str.CMFCVisualManagerWindows
call fcn.14005e6d4
lea rdx, str.Local_AppWizard_Generated_Applications
mov rcx, rbp
call fcn.1400637a8
lea r8, str.Global__MyUnique_CRX_INSTALLER__
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
test rax, rax
je 0x140013f4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140013ded
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140013f4d
xor edx, edx
lea rcx, str.C:UsersPublicdata
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r15, rax
mov r8d, dword [rsp + 0x20]
test r8d, r8d
jle 0x140013e8a
mov rdi, rax
lea r12, str.__update
nop word [rax + rax]
mov rdx, qword [rdi]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r12 + rax*2 + 2]
jne 0x140013e7f
add rax, 2
cmp rax, 9
je 0x140013e64
movzx ecx, word [rdx + rax*2]
cmp cx, word [r12 + rax*2]
je 0x140013e40
jmp 0x140013e7f
mov dword [0x1402d8108], 1
lea rcx, str.CMyInstallerApp_g_bUpdateParam__TRUE
call fcn.1400102d0
mov r8d, dword [rsp + 0x20]
inc ebx
add rdi, 8
cmp ebx, r8d
jl 0x140013e30
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor edx, edx
mov r8d, 0x178
lea rcx, [rsp + 0x30]
call fcn.14021f8d0
xor r8d, r8d
mov edx, 0x66
lea rcx, [rsp + 0x30]
call fcn.14006cf20
nop
lea rax, vtable.CMyInstallerDlg.0
mov qword [rsp + 0x30], rax
call fcn.14006da1c
call fcn.14006da1c
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x30]
call fcn.14006439c
test r14, r14
je 0x140013f0b
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.1400656c8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x188]
call fcn.14006ac24
lea rax, vtable.CBrush.0
mov qword [rsp + 0x170], rax
lea rcx, [rsp + 0x170]
call fcn.1400149d0
lea rcx, [rsp + 0x30]
call fcn.140063c24
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14004d990
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret