joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140f3b1a0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140f3b1ad
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140f3b1bd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140f3b1a5
lea eax, [rcx + 1]
jmp 0x140f3b1cb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140f3b1de
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140f3b1c4
sub eax, 3
jb 0x140f3b1fe
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140f3b24d
sar eax, 1
movsxd rbp, eax
jb 0x140f3b234
jmp 0x140f3b20c
add ebx, ebx
jne 0x140f3b20a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140f3b234
inc ecx
add ebx, ebx
jne 0x140f3b21a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140f3b234
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140f3b22d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140f3b21c
add ecx, 2
jmp 0x140f3b239
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140f3b162
jmp 0x140f3b1ad
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x2e600
mov dl, 0xe
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140f3b299
cmp rsi, rcx
jae 0x140f3b2a1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140f3b280
cmp al, 0x8f
ja 0x140f3b280
cmp byte [rsi - 2], 0xf
je 0x140f3b286
sub al, 0xe8
cmp al, 1
ja 0x140f3b26a
cmp rsi, rcx
jae 0x140f3b2a1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140f3b270
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140f3b2a1
lodsb al, byte [rsi]
jmp 0x140f3b280
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xf39000]
mov eax, dword [rdi]
or eax, eax
je 0x140f3b2fe
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xf46c3c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140f3b2ae
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140f3b2f8
mov qword [rbx], rax
add rbx, 8
jmp 0x140f3b2ce
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140f3b338
cmp al, 0xef
ja 0x140f3b32a
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140f3b30a
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140f3b319
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1a7]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140f3b38c
sub rsp, 0xffffffffffffff80
jmp 0x140008084
Function at 0x140005b50
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005c5c
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005bd3
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005c77
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.14000cee0
lea rdi, [rsp + 0x20]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.1400101a0
lea r8, str.updater.ini
mov rcx, rdi
mov rdx, rsi
call fcn.14000d2c0
test eax, eax
je 0x140005c5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005c5c
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005cb8
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.14000cee0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400195d0
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rcx, [0x14003a1b8]
call fcn.14000e720
cmp dword [0x14003a1b8], 0xffffffff
jne 0x140005bbd
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e8d8
lea rcx, [0x14003a1b8]
call fcn.14000e788
jmp 0x140005bbd
lea rcx, [0x14003a1b8]
call fcn.14000e720
cmp dword [0x14003a1b8], 0xffffffff
jne 0x140005c44
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e8d8
lea rcx, [0x14003a1b8]
call fcn.14000e788
jmp 0x140005c44

Function at 0x140005d00
Capabilities:
Copy file
Create directory
Create process on windows
Read file on windows
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1198
call fcn.140020330
sub rsp, rax
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x1190], rax
cmp ecx, 2
jg 0x140005d68
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000680d
lea rcx, [0x140039fa8]
lea rdx, str.Not_enough_command_line_arguments_to_execute_a_service_command
jmp 0x140005eea
mov rsi, rdx
mov edi, ecx
lea rbx, [rsp + 0xb40]
mov r8d, 0x20a
mov rcx, rbx
xor edx, edx
call fcn.1400101a0
mov rcx, rbx
call fcn.14000e3a0
mov ebx, eax
lea rcx, [0x14003a1b8]
call fcn.14000e720
cmp dword [0x14003a1b8], 0xffffffff
jne 0x140005d55
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e8d8
lea rcx, [0x14003a1b8]
call fcn.14000e788
jmp 0x140005d55
Function at 0x140001000
Capabilities:
Change the wallpaper

Disassembly:
sub rsp, 0x28
xor edx, edx
lea r8, str.image.jpg
mov r9d, 3
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r9d, 0x44
lea r8, str.YOU_HAVE_BEEN_HACKED
lea rdx, str.YOU_ARE_GAY__
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x140001089
cmp eax, 7
jne 0x1400010ba
lea r9d, [rax + 0x3d]
xor ecx, ecx
lea r8, str.GAY__
lea rdx, str.ARE_YOU_REALLY_NOT_GAY__
call qword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x140001084
lea r9d, [rax + 0x3a]
xor ecx, ecx
lea r8, str.ITS_WRONG
lea rdx, str.ITS_WRONG
call qword [sym.imp.USER32.dll_MessageBoxW]
lea rdx, str.YOU_SO_STUPID
jmp 0x140001090
cmp eax, 7
jne 0x1400010ba
lea rdx, str.I_KNOW_AHAHAHAHA
mov r9d, 0x40
lea r8, str.YOU_SO_STUPID
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r8d, 0x20000
lea rcx, str.all_my_fallas.wav
xor edx, edx
call qword [sym.imp.WINMM.dll_PlaySoundA]
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400019f0
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x140009d0d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140009d1d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140009d05
lea eax, [rcx + 1]
call r11
adc eax, eax
add ebx, ebx
jne 0x140009d35
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140009d22
sub eax, 3
jb 0x140009d4f
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140009d86
movsxd rbp, eax
lea eax, [rcx + 1]
call r11
adc ecx, ecx
call r11
adc ecx, ecx
jne 0x140009d76
mov ecx, eax
add eax, 2
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140009d74
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140009d63
cmp rbp, 0xfffffffffffff300
adc ecx, eax
call fcn.140009cc2
jmp 0x140009d0d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x1c00
mov dl, 6
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140009dd2
cmp rsi, rcx
jae 0x140009dda
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140009db9
cmp al, 0x8f
ja 0x140009db9
cmp byte [rsi - 2], 0xf
je 0x140009dbf
sub al, 0xe8
cmp al, 1
ja 0x140009da3
cmp rsi, rcx
jae 0x140009dda
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140009da9
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140009dda
lodsb al, byte [rsi]
jmp 0x140009db9
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x7000]
mov eax, dword [rdi]
or eax, eax
je 0x140009e37
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x933c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140009de7
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140009e31
mov qword [rbx], rax
add rbx, 8
jmp 0x140009e07
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x207]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140009e8f
sub rsp, 0xffffffffffffff80
jmp 0x1400013b0
Function at 0x14000d630
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140016c60], rbx
je 0x14000d697
cmp rax, rbx
jne 0x14000d68a
mov ebx, 1
mov esi, ebx
jmp 0x14000d69c
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000d66f
mov ebx, 1
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d6b4
mov edi, 0x1f
mov ecx, edi
call fcn.1400a8000
jmp 0x14000d720
mov eax, dword [0x140016c68]
test eax, eax
jne 0x14000d715
mov dword [0x140016c68], ebx
lea r15, [0x140010ba8]
lea rdi, [0x140010b90]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000d707
test eax, eax
jne 0x14000d70b
cmp qword [rdi], r14
je 0x14000d6fc
mov rax, qword [rdi]
mov rcx, qword [0x140010b48]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000d6de
test eax, eax
je 0x14000d71b
mov eax, 0xff
jmp 0x14000d876
mov dword [0x1400163e4], ebx
mov edi, 0x1f
mov eax, dword [0x140016c68]
cmp eax, ebx
jne 0x14000d747
lea rdx, [0x140010b88]
lea rcx, [0x140010b50]
call sub.msvcrt.dll__initterm
mov dword [0x140016c68], 2
test esi, esi
jne 0x14000d755
mov rax, r14
xchg qword [0x140016c60], rax
cmp qword [0x140016c80], r14
je 0x14000d788
lea rcx, [0x140016c80]
call fcn.14000dce0
test eax, eax
je 0x14000d788
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140016c80]
mov r9, qword [0x140010b48]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000d7a1
mov eax, 0xff
jmp 0x14000d876
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000d827
test ax, ax
je 0x14000d7bc
test edx, edx
jne 0x14000d827
sub ax, bx
cmp ax, di
ja 0x14000d7d2
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000d7bc
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001a68
mov dword [0x1400163e0], eax
cmp dword [0x140016400], r14d
jne 0x14000d810
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400163e4], r14d
jne 0x14000d825
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400163e0]
jmp 0x14000d876
cmp ax, 0x22
jne 0x14000d83b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000d7aa
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000dd74
add rsp, 0x28
jmp 0x14000d630
Function at 0x14000c43c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140014c60], rbx
je 0x14000c4a3
cmp rax, rbx
jne 0x14000c496
mov ebx, 1
mov esi, ebx
jmp 0x14000c4a8
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000c47b
mov ebx, 1
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c4c0
mov edi, 0x1f
mov ecx, edi
call fcn.140152000
jmp 0x14000c52c
mov eax, dword [0x140014c68]
test eax, eax
jne 0x14000c521
mov dword [0x140014c68], ebx
lea r15, [0x14000eba0]
lea rdi, [0x14000eb88]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x14000c513
test eax, eax
jne 0x14000c517
cmp qword [rdi], r14
je 0x14000c508
mov rax, qword [rdi]
mov rcx, qword [0x14000eb40]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x14000c4ea
test eax, eax
je 0x14000c527
mov eax, 0xff
jmp 0x14000c682
mov dword [0x1400143e4], ebx
mov edi, 0x1f
mov eax, dword [0x140014c68]
cmp eax, ebx
jne 0x14000c553
lea rdx, [0x14000eb80]
lea rcx, [0x14000eb48]
call sub.msvcrt.dll__initterm
mov dword [0x140014c68], 2
test esi, esi
jne 0x14000c561
mov rax, r14
xchg qword [0x140014c60], rax
cmp qword [0x140014c80], r14
je 0x14000c594
lea rcx, [0x140014c80]
call fcn.14000ca70
test eax, eax
je 0x14000c594
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140014c80]
mov r9, qword [0x14000eb40]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000c5ad
mov eax, 0xff
jmp 0x14000c682
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x14000c633
test ax, ax
je 0x14000c5c8
test edx, edx
jne 0x14000c633
sub ax, bx
cmp ax, di
ja 0x14000c5de
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x14000c5c8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001878
mov dword [0x1400143e0], eax
cmp dword [0x140014400], r14d
jne 0x14000c61c
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400143e4], r14d
jne 0x14000c631
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400143e0]
jmp 0x14000c682
cmp ax, 0x22
jne 0x14000c647
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x14000c5b6
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14000caf0
add rsp, 0x28
jmp 0x14000c43c
Function at 0x140003410
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x2a0
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x208
call fcn.1400045b0
mov r8d, 0x104
lea rdx, [rsp + 0x90]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400034c1
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.1400045b0
lea rax, str.runas
mov dword [rsp + 0x20], 0x70
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
lea rax, [rsp + 0x90]
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x50], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400034c1
mov rcx, qword [rsp + 0x88]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x2a0
pop rbx
ret
Function at 0x1400038f0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0xe0
mov rbx, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rsi, rax
mov eax, SafeArrayAllocDescriptor
mov word [rsi], ax
lea r8, [rsi + 2]
movzx edx, word [rdi]
test dx, dx
je 0x140003952
mov rcx, rdi
sub rcx, r8
nop dword [rax]
mov word [r8], dx
add r8, 2
movzx edx, word [rcx + r8]
test dx, dx
jne 0x140003940
mov word [r8], ax
add r8, 2
test rbx, rbx
je 0x140003994
cmp word [rbx], 0
je 0x140003994
mov eax, SafeArrayAllocDescriptor
mov word [r8], ax
add r8, 2
movzx eax, word [rbx]
test ax, ax
je 0x140003994
nop word [rax + rax]
mov word [r8], ax
lea rbx, [rbx + 2]
movzx eax, word [rbx]
add r8, 2
test ax, ax
jne 0x140003980
xor ebx, ebx
lea rcx, [rsp + 0x74]
mov word [r8], bx
xor edx, edx
lea r8d, [rbx + 0x64]
call fcn.1400045b0
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x58], rax
xor r8d, r8d
mov qword [rsp + 0x60], rax
mov rdx, rsi
lea rax, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x50]
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140004170
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x230
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.1400045b0
mov ebx, 0x104
lea rcx, [rsp + 0x20]
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x1400041b9
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rdi
ret
mov rcx, rbx
lea rax, [rsp + 0x20]
cmp word [rax], 0
je 0x1400041d1
add rax, 2
sub rcx, 1
jne 0x1400041c1
xor r10d, r10d
test rcx, rcx
je 0x1400041e1
mov rax, rbx
sub rax, rcx
jmp 0x1400041e4
mov rax, r10
test rcx, rcx
je 0x140004240
mov rdx, rbx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140004231
add rax, 0x7ffffefa
lea r9, str.Microsoft.NET_
add rax, rdx
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140004231
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004231
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004210
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rbx
lea rax, [rsp + 0x20]
cmp word [rax], r10w
je 0x140004258
add rax, 2
sub rcx, 1
jne 0x140004248
test rcx, rcx
je 0x140004265
mov rax, rbx
sub rax, rcx
jmp 0x140004268
mov rax, r10
test rcx, rcx
je 0x1400042c1
mov rdx, rbx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x1400042b2
add rax, 0x7ffffefa
lea r9, str.Framework64
add rax, rdx
sub r9, rcx
test rax, rax
je 0x1400042b2
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x1400042b2
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004291
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rbx
lea rax, [rsp + 0x20]
nop dword [rax]
cmp word [rax], r10w
je 0x1400042e0
add rax, 2
sub rcx, 1
jne 0x1400042d0
test rcx, rcx
je 0x1400042ed
mov rax, rbx
sub rax, rcx
jmp 0x1400042f0
mov rax, r10
test rcx, rcx
je 0x140004350
mov rdx, rbx
lea rcx, [rsp + 0x20]
lea rcx, [rcx + rax*2]
sub rdx, rax
je 0x140004341
add rax, 0x7ffffefa
lea r9, str._v4.0.30319
add rax, rdx
sub r9, rcx
nop dword [rax]
test rax, rax
je 0x140004341
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140004341
mov word [rcx], r8w
dec rax
add rcx, 2
sub rdx, 1
jne 0x140004320
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r10w
lea rdx, [rsp + 0x20]
mov rcx, rdi
sub rdx, rdi
nop dword [rax + rax]
lea rax, [rbx + 0x7ffffefa]
test rax, rax
je 0x140004382
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140004382
mov word [rcx], ax
add rcx, 2
sub rbx, 1
jne 0x140004360
lea rax, [rcx - 2]
test rbx, rbx
cmovne rax, rcx
mov rcx, rdi
mov word [rax], r10w
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov rbx, qword [rsp + 0x240]
test eax, eax
setne al
add rsp, 0x230
pop rdi
ret
Function at 0x140004430
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x260
mov dil, 1
lea rbx, str.SYSTEMCurrentControlSetControlSecurityProvidersSCHANNELProtocolsTLS_1.1Client
xor esi, esi
lea rbp, str.LDLS4.SplashWindow
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx]
lea rax, [rsp + 0x280]
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x288]
mov dword [rsp + 0x280], esi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400044f1
mov rdx, qword [rbx + 8]
lea rax, [rbx + 0x10]
mov rcx, qword [rsp + 0x288]
mov r9d, 4
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x288]
test eax, eax
movzx edi, dil
cmovne edi, esi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400044f4
xor dil, dil
add rbx, 0x18
cmp rbx, rbp
jne 0x140004460
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
call fcn.1400045b0
lea rcx, [rsp + 0x50]
call fcn.140002f60
test al, al
je 0x140004566
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
xor r9d, r9d
lea rcx, [rsp + 0x50]
mov edx, eax
xor r8d, r8d
lea rax, [rsp + 0x280]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80000044
call qword [sym.imp.WS2_32.dll_WSCSetApplicationCategory]
test eax, eax
jne 0x140004566
test dil, dil
je 0x140004566
mov al, 1
jmp 0x140004568
xor al, al
mov rbx, qword [rsp + 0x290]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret