joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400664d0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14007e040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400665a3
cmp byte [rcx + 0x71], 0
je 0x1400665a3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14006659f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140066564
sub eax, 1
je 0x140066568
cmp eax, 2
jne 0x14006659f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400670f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140066596
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14006659f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14006654c
xor al, al
jmp 0x14006654c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400670f0
add rsp, 0x60
pop rbx
ret

Function at 0x140067e40
Capabilities:
Parse pe header

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

Disassembly:
cld
pop r11
jmp 0x143c039cd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x143c039dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x143c039c5
lea eax, [rcx + 1]
jmp 0x143c039eb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x143c039fe
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x143c039e4
sub eax, 3
jb 0x143c03a1e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x143c03a6d
sar eax, 1
movsxd rbp, eax
jb 0x143c03a54
jmp 0x143c03a2c
add ebx, ebx
jne 0x143c03a2a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x143c03a54
inc ecx
add ebx, ebx
jne 0x143c03a3a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x143c03a54
call r11
adc ecx, ecx
add ebx, ebx
jne 0x143c03a4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x143c03a3c
add ecx, 2
jmp 0x143c03a59
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.143c03982
jmp 0x143c039cd
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
sub rsp, 0x28
lea rdi, [rsi + 0x3bfd000]
mov eax, dword [rdi]
or eax, eax
je 0x143c03ad9
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x3c2b350]
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 0x143c03a7d
jns 0x143c03ab2
movzx rdx, word [rdi]
add rdi, 2
jmp 0x143c03abc
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 0x143c03ad3
mov qword [rbx], rax
add rbx, 8
jmp 0x143c03a9d
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 0x143c03b1d
cmp al, 0xef
ja 0x143c03b05
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x143c03ae5
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x143c03af4
mov eax, dword [rdi]
add rdi, 4
jmp 0x143c03af4
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 + 0x23f]
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 0x143c03b71
sub rsp, 0xffffffffffffff80
jmp 0x1400e3118
Function at 0x1400113e0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400114aa
cmp byte [rcx + 0x72], 0
je 0x1400114aa
mov rax, qword [rcx]
mov qword [rsp + 0x68], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x14001149d
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14001145a
sub eax, 1
je 0x14001145e
cmp eax, 2
jne 0x14001149d
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x72], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x14001148b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call fcn.1400829ac
cmp rdi, rax
jne 0x14001149d
cmp byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x140014800
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140014822
xor eax, eax
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140014861
mov r8, qword [rcx + 0x58]
movsxd r9, dword [r8]
lea rcx, [rdx + r9*2]
cmp rdx, rcx
jae 0x140014861
lea eax, [r9 - 1]
mov dword [r8], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 2]
mov qword [rcx], rax
movzx eax, si
mov word [rdx], si
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x90], rbp
je 0x140014973
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400148a8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400148d1
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140081744
cmp ax, di
je 0x140014973
movzx edi, si
jmp 0x140014973
lea r8, [rsp + 0xa0]
mov word [rsp + 0x40], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x42]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x14001492d
sub eax, 1
je 0x14001492d
cmp eax, 2
jne 0x140014973
movzx ecx, word [rsp + 0x40]
jmp 0x1400148b4
mov rbp, qword [rsp + 0xa0]
lea rax, [rsp + 0x48]
sub rbp, rax
je 0x14001495d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rbp
mov edx, 1
call fcn.1400829ac
cmp rbp, rax
jne 0x140014973
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0xa8], rax
movzx eax, si
jne 0x140014976
movzx eax, di
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140017880
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
call qword [sym.imp.USER32.dll_SetProcessDPIAware]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
je 0x1400178a4
call fcn.1400174f0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rbx, rax
test rax, rax
jne 0x1400178dc
lea rcx, str.CommandLineToArgvW_failed_n
call fcn.140017a80
mov eax, 0xa0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
lea rcx, str.__MW_BOOTSTRAP_INSTALLER_UNITTEST__
call fcn.140066bf0
mov rdx, rbx
mov ecx, dword [rsp + 0x20]
test rax, rax
je 0x1400179b1
lea r8, [fcn.1400265e0]
call fcn.14000b7b0
mov edi, eax
test eax, eax
je 0x140017a5d
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], al
lea ecx, [rax + 0x20]
call fcn.14005541c
mov qword [rsp + 0x38], 0x14
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [str.Installation_failed.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400c4580]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x28], rax
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.1400265e0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140017a5d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400179a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017a79
call fcn.140055458
nop
jmp 0x140017a5d
lea r8, [0x140026590]
call fcn.14000b7b0
mov edi, eax
test eax, eax
je 0x140017a5d
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], al
lea ecx, [rax + 0x20]
call fcn.14005541c
mov qword [rsp + 0x38], 0x14
mov qword [rsp + 0x40], 0x1f
movups xmm0, xmmword [str.Installation_failed.]
movups xmmword [rax], xmm0
mov ecx, dword [0x1400c4580]
mov dword [rax + 0x10], ecx
mov byte [rax + 0x14], 0
mov qword [rsp + 0x28], rax
mov dl, 1
lea rcx, [rsp + 0x28]
call fcn.14001a630
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140017a5d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140017a57
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140017a73
call fcn.140055458
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140065fb8
nop
call fcn.140065fb8
int3
Function at 0x14001a300
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rdi, rcx
mov r9, qword [rcx + 0x18]
cmp r9, 8
jb 0x14001a33b
mov rdx, qword [rcx]
mov rcx, qword [rcx + 0x10]
lea r8, [rdx + rcx*2]
jmp 0x14001a346
mov rax, qword [rcx + 0x10]
lea r8, [rcx + rax*2]
mov rdx, rdi
mov r15d, reloc.SHELL32.dll_PathMakeUniqueName
cmp rdx, r8
je 0x14001a368
cmp word [rdx], 0x5c
jne 0x14001a35b
mov word [rdx], r15w
add rdx, 2
cmp rdx, r8
jne 0x14001a351
mov r9, qword [rdi + 0x18]
mov rcx, rdi
cmp r9, 8
jb 0x14001a374
mov rcx, qword [rdi]
call fcn.1400834d8
mov r14, rax
xor r12d, r12d
mov ebp, r12d
mov rsi, rax
mov r13d, 0xf000
nop dword [rax + rax]
mov edx, r15d
mov rcx, rsi
call fcn.1400586d0
mov rbx, rax
test rax, rax
je 0x14001a400
cmp rax, rsi
je 0x14001a3f6
mov word [rax], r12w
mov ebp, r12d
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.140081334
test eax, eax
je 0x14001a3cf
mov rcx, r14
call fcn.140083038
call fcn.1400833c8
jmp 0x14001a3f2
movzx eax, word [rsp + 0x26]
and ax, r13w
mov ecx, 0x4000
cmp ax, cx
je 0x14001a3f2
call fcn.1400833c8
mov dword [rax], 0x14
mov ebp, 0xffffffff
mov word [rbx], r15w
lea rsi, [rbx + 2]
test ebp, ebp
je 0x14001a390
jmp 0x14001a453
mov rbx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14001a40d
mov rbx, qword [rdi]
mov ebp, r12d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140081334
test eax, eax
je 0x14001a430
mov rcx, rbx
call fcn.140083038
call fcn.1400833c8
jmp 0x14001a453
movzx eax, word [rsp + 0x26]
and ax, r13w
mov ecx, 0x4000
cmp ax, cx
je 0x14001a453
call fcn.1400833c8
mov dword [rax], 0x14
mov ebp, 0xffffffff
mov rcx, r14
call fcn.14006618c
nop
mov rcx, rdi
call fcn.140007210
mov eax, ebp
lea r11, [rsp + 0x60]
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
Function at 0x140021360
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x450
mov rbx, rdx
mov rdi, rcx
xor eax, eax
mov qword [rcx], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
lea rdx, [rsp + 0x240]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x140021429
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400213ba
mov r9, qword [rbx]
lea rax, [rsp + 0x240]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_PathMakeUniqueName]
test eax, eax
je 0x140021429
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400213fc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140021429
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140021410
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000b680
nop
mov rcx, rbx
call fcn.14000ad90
mov rax, rdi
mov rbx, qword [rsp + 0x470]
add rsp, 0x450
pop rdi
ret

Function at 0x1400217d0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xb0
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x1400218ba
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140005ea0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x140021812
mov rcx, qword [rax]
lea rdx, [rsp + 0x78]
call fcn.140081334
test eax, eax
jne 0x1400218b2
mov rbp, qword [rbx + 0x10]
lea rcx, [rbp + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140055950
mov rsi, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140021857
mov rcx, qword [rbx]
mov rdx, rsi
sub rdx, rcx
nop dword [rax]
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140021860
xor ecx, ecx
mov dword [rsi + rbp*2], ecx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 3
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0x14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rsi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, rsi
call fcn.140055460
mov rcx, rbx
call fcn.14000ad90
mov rcx, rdi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
jmp fcn.14000ad90
Function at 0x140023f50
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x10040]
mov eax, 0x10140
call fcn.140055900
sub rsp, rax
mov r14, rdx
mov rsi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x70], 0x68
psrldq xmm0, 0xc
movd eax, xmm0
or eax, 1
mov dword [rbp - 0x54], eax
xor ebx, ebx
mov word [rbp - 0x50], bx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
movzx eax, bx
lea rdi, [rbp + 0x40]
mov ecx, 0x8000
rep stosw word [rdi], ax
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x140023fe6
mov rdx, qword [rdx]
add r8, r8
lea rcx, [rbp + 0x40]
call fcn.140057e90
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x140023fff
mov rcx, qword [rsi]
lea rax, [rsp + 0x50]
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], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14002409c
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x10080]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [rbp + 0x10080]
mov rcx, rsi
call fcn.14000ad90
nop
mov rcx, r14
call fcn.14000ad90
mov eax, edi
add rsp, 0x10140
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov edi, eax
lea rdx, str.Create_process_failed__
lea rcx, [rbp - 0x20]
call fcn.140005db0
nop
mov edx, edi
lea rcx, [rbp + 0x20]
call fcn.1400221c0
nop
lea rdx, [0x1400c49d8]
add rdx, rdi
mov r8, rax
lea rcx, [rbp]
call fcn.140020140
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140010ce0
nop
lea rcx, [rbp]
call fcn.1400071b0
nop
lea rcx, [rbp + 0x20]
call fcn.1400071b0
mov ecx, 0x18
call fcn.14005541c
mov rdi, rax
test rax, rax
je 0x140024122
lea rcx, [rbp - 0x20]
call fcn.14000c7d0
mov rdx, rax
mov rcx, rdi
call fcn.140006a40
mov rbx, rax
mov qword [rbp + 0x10088], rbx
lea rdx, [0x1400eb818]
lea rcx, [rbp + 0x10088]
call fcn.140056da8
int3
Function at 0x1400241b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x90
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400241d4
mov rcx, qword [rcx]
lea rdx, [rsp + 0x58]
call fcn.140081334
test eax, eax
jne 0x140024273
mov rsi, qword [rbx + 0x10]
lea rcx, [rsi + 2]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140055950
mov rdi, rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140024219
mov rcx, qword [rbx]
mov rdx, rdi
sub rdx, rcx
nop
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x140024220
xor ecx, ecx
mov dword [rdi + rsi*2], ecx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], 3
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], 0x14
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov rcx, rdi
call fcn.140055460
nop
mov rcx, rbx
call fcn.14000ad90
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14004aae4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400327e2
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400327c5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400327b0

Function at 0x14004aaf8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x14003281a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400327fd
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400327e8

Function at 0x140094364
Capabilities:
Parse pe header

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

Function at 0x1400a2b14
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1400a27b6
call fcn.1400833c8
mov dword [rax], 0x16
call fcn.140065f98
jmp 0x1400a2901
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a2901
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400a2901
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400a27e5
lock or dword [rcx + 0x14], 0x10
jmp 0x1400a2901
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400a27f9
call fcn.1400a304c
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400a2809
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400a280c
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14009dfc0
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1400a74c8
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400a28ef
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400a289d
mov rcx, rbx
call fcn.14009dfc0
cmp eax, 0xffffffff
je 0x1400a2888
mov rcx, rbx
call fcn.14009dfc0
cmp eax, 0xfffffffe
je 0x1400a2888
mov rcx, rbx
call fcn.14009dfc0
movsxd rdi, eax
lea r14, [0x1400f2c60]
mov rcx, rbx
sar rdi, 6
call fcn.14009dfc0
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400a288f
lea rdx, [0x1400eeab0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a289d
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400a28c1
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400a28c1
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400a28c1
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400a28df
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400a28ea
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400a2906
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400a2780
Function at 0x1400c8f0c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x14013d4b8], rbx
je 0x1400c8f58
cmp rax, rbx
jne 0x1400c8f4b
mov ebx, 1
mov esi, ebx
jmp 0x1400c8f5d
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x1400c8f30
mov ebx, 1
mov eax, dword [0x14013d4c0]
cmp eax, ebx
jne 0x1400c8f73
mov ecx, 0x1f
call sub.msvcrt.dll__amsg_exit
jmp 0x1400c8fd8
mov eax, dword [0x14013d4c0]
test eax, eax
jne 0x1400c8fd2
mov dword [0x14013d4c0], ebx
lea r15, [0x1400d6930]
lea rdi, [0x1400d6918]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], eax
cmp rdi, r15
jae 0x1400c8fc4
test eax, eax
jne 0x1400c8fc8
cmp qword [rdi], 0
je 0x1400c8fb9
mov rax, qword [rdi]
mov rcx, qword [case.0x140057c6a.0]
call rcx
mov dword [rsp + 0x20], eax
add rdi, 8
mov qword [rsp + 0x28], rdi
jmp 0x1400c8f9a
test eax, eax
je 0x1400c8fd8
mov eax, 0xff
jmp 0x1400c90b4
mov dword [0x14012d750], ebx
mov eax, dword [0x14013d4c0]
cmp eax, ebx
jne 0x1400c8fff
lea rdx, [0x1400d6910]
lea rcx, [0x1400d5fb0]
call sub.msvcrt.dll__initterm
mov dword [0x14013d4c0], 2
test esi, esi
jne 0x1400c900c
xor eax, eax
xchg qword [0x14013d4b8], rax
cmp qword [0x14013d4d8], 0
je 0x1400c9040
lea rcx, [0x14013d4d8]
call fcn.1400c9490
test eax, eax
je 0x1400c9040
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14013d4d8]
mov r9, qword [case.0x140057c6a.0]
call r9
mov r8, qword [0x14012d768]
mov rdx, qword [0x14012d760]
mov ecx, dword [0x14012d758]
call fcn.140009e00
mov dword [0x14012d74c], eax
cmp dword [0x14012d770], 0
jne 0x1400c9070
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14012d750], 0
jne 0x1400c9085
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14012d74c]
jmp 0x1400c90b4
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
sub rsp, 0x28
call fcn.1401d7000
add rsp, 0x28
jmp 0x1400c8f0c

Function at 0x1400c9390
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c93dc
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c93d4
cmp dword [rcx + 0x3c], edx
jl 0x1400c93d4
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400c93d4
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 0x1400c93dc
mov rax, rdx
add rsp, 0x18
ret