joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000bb20
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rdx
push rdi
push r14
sub rsp, 0x88
cmp dword [0x180054458], 0
mov r14d, dword [rcx + 0x10]
mov rdi, rcx
je 0x18000bb61
lea r9, str.CreateArrDir__________dwSize_:__d_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x20], r14d
call fcn.180004760
test r14d, r14d
jne 0x18000bb75
lea eax, [r14 + 1]
add rsp, 0x88
pop r14
pop rdi
ret
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x80], r12
xor esi, esi
xor ebx, ebx
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r15
test r14d, r14d
je 0x18000bd1d
nop dword [rax]
xor r13d, r13d
test rbx, rbx
js 0x18000bd99
cmp rbx, qword [rdi + 0x10]
jge 0x18000bd99
mov rax, qword [rdi + 8]
xor edx, edx
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x18000bd0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp rbx, qword [rdi + 0x10]
mov r15d, eax
jge 0x18000bd93
mov rcx, qword [rdi + 8]
mov r12, qword [rcx + rbx*8]
mov rcx, r12
call fcn.180002940
test eax, eax
je 0x18000bc0d
or ebp, 0xffffffff
jmp 0x18000bcb5
xor eax, eax
lea r8, [rsp + 0x40]
xor edx, edx
mov rcx, r12
or ebp, 0xffffffff
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
cmovne ebp, dword [rsp + 0x40]
cmp ebp, 0xffffffff
je 0x18000bcb5
test bpl, 0x10
jne 0x18000bc86
movsxd rcx, esi
test esi, esi
js 0x18000bd87
cmp rcx, qword [rdi + 0x10]
jge 0x18000bd87
mov rax, qword [rdi + 8]
lea rdx, [rax + rcx*8]
mov rcx, qword [rsp + 0xa8]
call fcn.18000b5e0
mov r13d, eax
cmp dword [0x180054458], 0
je 0x18000bd06
lea r9, str.CreateArrDir__bRetry_:__d___dwDstFileAttri_:__08x_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r13d
call fcn.180004760
cmp dword [0x180054458], 0
je 0x18000bd06
movsxd rcx, esi
test esi, esi
js 0x18000bd8d
cmp rcx, qword [rdi + 0x10]
jge 0x18000bd8d
mov rax, qword [rdi + 8]
mov dword [rsp + 0x30], ebp
lea r9, str.CreateArrDir__Path_:__s___dwError_:__d___dwDstFileAttri_:__08x_
mov rax, qword [rax + rcx*8]
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call fcn.180004760
test r13d, r13d
jne 0x18000bbb0
inc esi
inc rbx
cmp esi, r14d
jb 0x18000bbb0
cmp dword [0x180054458], 0
je 0x18000bd50
lea r9, str.CreateArrDir_____bRet_:__d___dwSize_:__d_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0
call fcn.180004760
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x70]
xor eax, eax
add rsp, 0x88
pop r14
pop rdi
ret
call fcn.18000fe84
int3
call fcn.18000fe84
int3
call fcn.18000fe84
int3
call fcn.18000fe84
int3
Function at 0x18000bda0
Capabilities:
Delete directory

Disassembly:
push rdi
push r13
push r15
sub rsp, 0x50
cmp dword [0x180054458], 0
mov r15d, dword [rcx + 0x10]
mov r13, rdx
mov rdi, rcx
je 0x18000bddf
lea r9, str.DeleteArrDir__________dwSize_:__d_
lea r8, str.ifocms
lea rcx, [0x180054358]
or edx, 0xffffffff
mov dword [rsp + 0x20], r15d
call fcn.180004760
mov qword [rsp + 0x40], r14
test r15d, r15d
jne 0x18000bdfc
lea eax, [r15 + 1]
mov r14, qword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r13
pop rdi
ret
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x48], r12
lea r12d, [r15 - 1]
mov r14d, 1
movsxd rsi, r12d
test r12d, r12d
js 0x18000beff
nop dword [rax]
xor ebp, ebp
test rsi, rsi
js 0x18000bf70
cmp rsi, qword [rdi + 0x10]
jge 0x18000bf70
mov rax, qword [rdi + 8]
mov rcx, qword [rax + rsi*8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x18000bee1
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x18000be6f
mov dword [r13 + 0x5530], eax
movsxd rbx, r12d
test r12d, r12d
js 0x18000bf6a
cmp rbx, qword [rdi + 0x10]
jge 0x18000bf6a
mov rax, qword [rdi + 8]
mov rcx, r13
lea rdx, [rax + rbx*8]
call fcn.18000b5e0
mov ebp, eax
cmp dword [0x180054458], r14d
je 0x18000bee1
test r12d, r12d
js 0x18000bf64
cmp rbx, qword [rdi + 0x10]
jge 0x18000bf64
mov rax, qword [rdi + 8]
lea r9, str.DeleteArrDir_1__bRetry_:__d____s_
lea r8, str.ifocms
mov rax, qword [rax + rbx*8]
lea rcx, [0x180054358]
or edx, 0xffffffff
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
call fcn.180004760
test ebp, ebp
jne 0x18000be32
cmp dword [r13 + 0x5628], ebp
jne 0x18000beff
dec rsi
sub r12d, 1
jns 0x18000be30
cmp dword [0x180054458], 0
je 0x18000bf3b
mov r9d, dword [r13 + 0x5628]
lea r8, str.ifocms
lea rcx, [0x180054358]
mov dword [rsp + 0x30], r9d
lea r9, str.DeleteArrDir_____bRet_:__d___dwSize_:__d___IsUserDoEnd_:__d_
or edx, 0xffffffff
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r14d
call fcn.180004760
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x48]
mov eax, r14d
mov r14, qword [rsp + 0x40]
add rsp, 0x50
pop r15
pop r13
pop rdi
ret
call fcn.18000fe84
int3
call fcn.18000fe84
int3
call fcn.18000fe84
int3
Function at 0x18001a82c
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbp, rcx
mov rcx, qword [rcx + 0x40]
mov rbx, r8
call fcn.1800197f0
mov rsi, rax
test rax, rax
je 0x18001a8a8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edi, eax
test rbx, rbx
je 0x18001a8a3
cmp dword [rbx], 0x40
jb 0x18001a8a3
mov rcx, qword [rbp + 0x40]
or dword [rbx + 4], 1
or qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 8], rcx
xor r9d, r9d
xor r8d, r8d
mov edx, 0x87
mov rcx, rsi
mov qword [rbx + 0x10], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
bt rax, 0xd
jb 0x18001a8a3
or dword [rbx + 4], 0x80000002
mov rax, rdi
jmp 0x18001a8ac
or rax, 0xffffffffffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1800241d4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.18002ba74
nop
cmp dword [0x1800528d8], 1
je 0x180024180
mov dword [0x1800528d4], 1
mov byte [0x1800528d0], r12b
test ebx, ebx
jne 0x18002416c
mov rcx, qword [0x180056130]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180024159
mov rcx, qword [0x180056128]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1800240f8
call fcn.180024b84
cmp qword [rdi], rax
jne 0x1800240f8
jmp 0x1800240de
cmp rdi, rsi
jb 0x180024159
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.180024b84
mov qword [rdi], rax
call rbx
mov rcx, qword [0x180056130]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x180056128]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x180024137
cmp r13, rax
je 0x180024157
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1800240de
lea rdx, [0x180039a80]
lea rcx, [0x180039a68]
call fcn.180023f28
lea rdx, [0x180039a90]
lea rcx, [0x180039a88]
call fcn.180023f28
nop
test r12d, r12d
je 0x18002418f
mov ecx, 8
call fcn.18002b974
test r12d, r12d
jne 0x1800241ba
mov dword [0x1800528d8], 1
lea ecx, [r12 + 8]
call fcn.18002b974
mov ecx, r15d
call fcn.180023ebc
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x180024048
Function at 0x180024ad7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x18004d080]
jne 0x1800218aa
rol rcx, 0x10
test cx, 0xffff
jne 0x1800218a6
repz ret
ror rcx, 0x10
jmp 0x180024a30
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x180052980]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x180052a78]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x180024ab5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x180052980]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x180024ad7
mov rax, qword [rsp + 0x88]
mov qword [0x180052a78], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x180052a18], rax
mov rax, qword [0x180052a78]
mov qword [0x1800528f0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x180052a00], rax
mov dword [0x1800528e0], 0xc0000409
mov dword [0x1800528e4], 1
mov rax, qword [0x18004d080]
mov qword [rsp + 0x68], rax
mov rax, qword [0x18004d088]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x180052978], eax
mov ecx, 1
call fcn.18002d214
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x18003d650]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x180052978], 0
jne 0x180024b5e
mov ecx, 1
call fcn.18002d214
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x18002f708
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.180024b84
xor ebx, ebx
mov rdi, rax
cmp qword [0x1800536d0], rbx
jne 0x18002f80e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x18002f8e3
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18002f8e3
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18003f1d0]
mov rcx, rsi
mov qword [0x1800536d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x18003f1b8]
mov rcx, rsi
mov qword [0x1800536d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x1800536e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x1800536f0], rax
test rax, rax
je 0x18002f805
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x1800536e8], rax
jmp 0x18002f815
mov rax, qword [0x1800536e8]
jmp 0x18002f81c
mov rax, qword [0x1800536e8]
mov r11, qword [0x1800536f0]
cmp rax, rdi
je 0x18002f884
cmp r11, rdi
je 0x18002f884
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x1800536f0]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x18002f884
test rax, rax
je 0x18002f884
call rsi
test rax, rax
je 0x18002f87e
lea rcx, [rsp + 0x88]
mov r9d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x18002f87e
test byte [rsp + 0x38], 1
jne 0x18002f884
bts ebp, 0x15
jmp 0x18002f8c2
mov rcx, qword [0x1800536d8]
cmp rcx, rdi
je 0x18002f8c2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002f8c2
call rax
mov rbx, rax
test rax, rax
je 0x18002f8c2
mov rcx, qword [0x1800536e0]
cmp rcx, rdi
je 0x18002f8c2
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002f8c2
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1800536d0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x18002f8e3
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x18002f8e5
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000277c
Capabilities:
Parse pe header

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

Function at 0x1400084f0
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000855f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000855f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000855f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000855f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000855f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000855f
cmp dword [rcx + 0xf8], 0
je 0x14000855f
mov ecx, ebx
call fcn.140008610
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400083ec
nop
cmp dword [rbp + 0x20], 0
je 0x1400085ad
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400085b8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400084f0

Function at 0x1400086f4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400084f0
Function at 0x14000db70
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14000dba0
xor eax, eax
jmp 0x14000dc63
mov rbp, rbx
cmp word [rax], si
je 0x14000dbc5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000dbac
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000dba8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14000da90
movsxd r14, eax
test eax, eax
jne 0x14000dc03
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000db99
mov rcx, r14
call fcn.14000a1ec
mov rdi, rax
test rax, rax
jne 0x14000dc1c
xor ecx, ecx
call fcn.140009574
jmp 0x14000dbf8
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14000da90
test eax, eax
jne 0x14000dc4d
mov rcx, rdi
call fcn.140009574
jmp 0x14000dc57
xor ecx, ecx
call fcn.140009574
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140011f8c
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140011fa2
mov al, 1
jmp 0x140012002
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140011fb3
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140012000
mov ecx, dword [rcx + 0x18]
nop
call fcn.14000e490
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140012000
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140012000
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140012000
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140012002
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x140013040
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000c024
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400130ca
cmp byte [rbp - 0x21], r15b
je 0x1400130c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140013100
call fcn.1400097c4
test eax, eax
jne 0x1400130ec
cmp byte [rbp - 0x21], r15b
je 0x1400130e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140013100
cmp byte [rbp - 0x21], r15b
je 0x1400130fd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c1dc
test eax, eax
jne 0x1400131a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000c024
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001313f
cmp byte [rbp - 0x21], r15b
je 0x140013174
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013174
call fcn.1400097c4
test eax, eax
jne 0x140013160
cmp byte [rbp - 0x21], r15b
je 0x140013159
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013174
cmp byte [rbp - 0x21], r15b
je 0x140013171
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c1dc
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400131a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400131a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400131b1
mov rcx, rdi
call fcn.140009574
cmp byte [rbp + 0x3f], r15b
je 0x1400131c0
mov rcx, qword [rbp + 0x27]
call fcn.140009574
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x140015730
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140015758
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140015758
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400021d0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400e7100]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, rcx
mov qword [rsp + 0x50], rcx
xor esi, esi
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x68], rsi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400022c9
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov qword [rbx + 0x10], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400023db
mov rdx, qword [rsp + 0x60]
call fcn.140005f60
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x58]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x1400022bc
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002406
mov rcx, r8
call fcn.140082b70
jmp 0x1400023db
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1400023b8
nop
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140002305
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x28]
call fcn.140002850
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, qword [rsp + 0x68]
je 0x140002355
mov eax, dword [rsp + 0x20]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x28], si
add qword [rsp + 0x60], 0x28
jmp 0x140002369
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400066e0
mov rdx, qword [rsp + 0x40]
cmp rdx, 7
jbe 0x1400023a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000239d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000240c
call fcn.140082b70
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400022e0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x58]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
mov rax, rbx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140082b50
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14008e6a0
nop
call fcn.14008e6a0
nop
int3