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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1801156f2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x180115739
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x180115792
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
sub rbp, 1
jne 0x180115750
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1801157d3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x180146292]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x180146293]
mov r8d, 1
call qword [rbx + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1801157a0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1801157ec
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x180115826
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x18011582b
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180115874
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x180115874
dec r8
sub rdx, 1
jne 0x18011585a
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140006270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400062e5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400062e5
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x1400062d5
nop
cmp rbx, rcx
jae 0x1400062e5
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x1400062c0
cmp rbx, rcx
jae 0x1400062e5
cmp word [rbx], 0
je 0x1400062e5
mov rax, rbx
jmp 0x1400062e7
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140009a00
Capabilities:
Delete registry key

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rdi, rcx
xor r15d, r15d
mov qword [r11 - 0x48], r15
mov qword [r11 - 0x38], r15
mov ebx, 7
mov qword [r11 - 0x30], rbx
mov word [r11 - 0x48], r15w
mov rdx, qword [str.pL__]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140009a51
lea rcx, [rsp + 0x40]
call fcn.14000a430
nop
mov r14, qword [rdi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r14
cmp rax, 1
jb 0x140009bf0
cmp qword [rdi + 0x18], 8
jb 0x140009a8e
mov rdi, qword [rdi]
mov qword [rsp + 0x20], r15
lea rbp, [r14 + 1]
lea rsi, [rsp + 0x20]
cmp rbp, 7
jbe 0x140009ad5
mov rbx, rbp
or rbx, 7
cmp rbx, rcx
jbe 0x140009ab3
mov rbx, rcx
jmp 0x140009abf
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x20]
call fcn.14000a240
mov rsi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbx
mov eax, 0x5c
mov word [rsi], ax
lea rcx, [rsi + 2]
lea r8, [r14 + r14]
mov rdx, rdi
call fcn.140245860
mov word [rsi + rbp*2], r15w
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000a2b0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140009b5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009b5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bf6
call fcn.1402434a4
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x140009bc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140009bbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009bea
call fcn.1402434a4
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.14024a84c
nop
call fcn.140007890
nop
call fcn.14024a84c
int3
Function at 0x14000ab50
Capabilities:
Hash data with md5

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
mov qword [rsp + 0x20], rcx
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
movzx edi, r8b
cmp qword [rdx + 0x18], 0x10
mov rbx, rcx
mov r8d, dword [rdx + 0x10]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x78], 0x67452301
mov dword [rsp + 0x7c], 0xefcdab89
mov dword [r11 - 0x28], 0x98badcfe
mov dword [r11 - 0x24], 0x10325476
jb 0x14000abc8
mov rdx, qword [rdx]
lea rcx, [rsp + 0x30]
call fcn.14000b880
movzx r8d, dil
lea rcx, [rsp + 0x30]
mov rdx, rbx
call fcn.14000a560
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1402435c0
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14000de30
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000df04
cmp byte [rcx + 0x72], 0
je 0x14000df04
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + Ordinal_26]
cmp di, ax
je 0x14000df00
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14000dec6
sub eax, 1
je 0x14000deca
cmp eax, 2
jne 0x14000df00
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000def7
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.1402588c0
cmp rdi, rax
jne 0x14000df00
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14000deae
xor al, al
jmp 0x14000deae
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x60
pop rbx
ret
Function at 0x14000fc80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14000fcb1
xor eax, eax
jmp 0x14000fdff
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x14000fcee
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x14000fcee
lea ecx, [r10 - 1]
movzx eax, si
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x14000fdff
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x14000fdf4
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x14000fd35
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
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 0x14000fd5e
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.140256d0c
cmp ax, di
je 0x14000fdf4
movzx edi, si
jmp 0x14000fdf4
lea r8, [rsp + 0x48]
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 + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + gethostname]
test eax, eax
je 0x14000fdb4
sub eax, 1
je 0x14000fdb4
cmp eax, 2
jne 0x14000fdf4
movzx ecx, word [rsp + 0x40]
jmp 0x14000fd41
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14000fde1
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call fcn.1402588c0
cmp rbp, rax
jne 0x14000fdf4
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
movzx eax, si
jne 0x14000fdf7
movzx eax, di
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140013770
Capabilities:
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xe0
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rsi, rdx
mov rdi, rcx
lea rdx, str.click
mov rcx, rsi
call fcn.14006b730
test al, al
je 0x140013995
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WLDAP32.dll_Ordinal_216]
nop
lea rdx, str.retryBtn
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003ea0
test bl, bl
je 0x140013817
lea rax, [rdi + 0x38]
mov qword [rsp + 0x28], rax
xor eax, eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [0x1400152a0]
xor edx, edx
xor ecx, ecx
call fcn.140258db0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140013995
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WLDAP32.dll_Ordinal_216]
nop
lea rdx, str.confirmBtn
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003ea0
test bl, bl
je 0x140013866
xor r9d, r9d
xor r8d, r8d
mov edx, 0x605
mov ecx, dword [rdi + 0x38]
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x140013995
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WLDAP32.dll_Ordinal_216]
nop
lea rdx, str.closeBtn
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003ea0
test bl, bl
je 0x1400138e1
mov rax, qword [0x140372930]
test rax, rax
jne 0x1400138cc
mov ecx, 0xb0
call fcn.140242f80
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400138c5
mov rcx, rax
call fcn.14001bce0
nop
mov qword [0x140372930], rax
mov rcx, rax
call fcn.14001e930
xor ecx, ecx
call qword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x140013995
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WLDAP32.dll_Ordinal_216]
nop
lea rdx, str.miniBtn
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003ea0
test bl, bl
je 0x140013930
lea rcx, [rdi - 0x28]
xor r9d, r9d
mov edx, 0x112
mov r8d, 0xf020
call fcn.140077720
jmp 0x140013995
mov rcx, qword [rsi + 0x110]
mov rax, qword [rcx]
lea rdx, [rsp + 0x40]
call qword [rax + reloc.WLDAP32.dll_Ordinal_216]
nop
lea rdx, str.urlBtn
mov rcx, rax
call fcn.14006b730
movzx ebx, al
lea rcx, [rsp + 0x40]
call fcn.140003ea0
test bl, bl
je 0x140013995
lea r8, [rdi + 0x18]
cmp qword [r8 + 0x18], 8
jb 0x140013974
mov r8, qword [r8]
mov dword [rsp + 0x28], 5
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea rdx, [0x140285288]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400150b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400150d5
cvtsi2ss xmm0, rdx
jmp 0x1400150ea
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call fcn.140258f00
movss xmm1, dword [0x1402865b0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140015118
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140015118
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x14001514a
cmp rbx, 0x200
jae 0x140015147
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14001514a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140014e30
Function at 0x14001e7e0
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
mov eax, 0x4e50
call fcn.140243620
sub rsp, rax
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x4e40], rax
mov rbx, rdx
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x4e20
call fcn.140245f10
lea r8, [0x1402895a0]
mov edx, 0x2710
lea rcx, [rsp + 0x20]
call fcn.140259008
mov r8, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x2710
call fcn.140258f88
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001e90a
lea rcx, [rsp + 0x20]
call fcn.14001fb50
lea rcx, [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test ebx, ebx
je 0x14001e87b
test eax, eax
jne 0x14001e90a
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001e900
cmp dword [rdi + 0xa8], 2
jl 0x14001e8a5
cmp qword [reloc.WS2_32.dll_getsockopt], 8
lea r8, [0x140368528]
cmovae r8, qword [0x140368528]
jmp 0x14001e8bc
cmp qword [reloc.WS2_32.dll_getsockopt], 8
lea r8, [0x140368508]
cmovae r8, qword [0x140368508]
mov edx, 0x603
mov r9d, 1
call fcn.140077720
mov rcx, qword [rdi]
lea r9, str.retryBtn
mov edx, 0x604
mov r8d, 1
call fcn.140077720
mov rcx, qword [rdi]
lea r9, str.urlBtn
mov edx, 0x604
mov r8d, 1
call fcn.140077720
inc dword [rdi + 0xa8]
xor eax, eax
jmp 0x14001e90f
mov eax, 1
mov rcx, qword [rsp + 0x4e40]
xor rcx, rsp
call fcn.1402435c0
mov rbx, qword [rsp + 0x4e70]
add rsp, 0x4e50
pop rdi
ret

Function at 0x14001e930
Capabilities:
Check if file exists
Delete directory

Disassembly:
mov rdx, qword [rcx + 0x78]
jmp fcn.14001e7e0
Function at 0x14001fb50
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x50a0
call fcn.140243620
sub rsp, rax
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x5090], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x270]
mov r8d, 0x4e20
call fcn.140245f10
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.140259008
lea r8, [0x14028adf8]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140258f88
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14001fc00
lea r8, [0x140284a60]
lea rdx, str.EmptyDirectory:
lea rcx, [rsp + 0x270]
call fcn.140039ff0
xor eax, eax
jmp 0x14001fcc9
lea rdx, [0x1402895ac]
lea rcx, [rsp + 0x4c]
call fcn.140256824
test eax, eax
je 0x14001fca5
lea rdx, [0x1402895b0]
lea rcx, [rsp + 0x4c]
call fcn.140256824
test eax, eax
je 0x14001fca5
mov r8, rdi
lea rcx, [rsp + 0x270]
mov edx, 0x2710
call fcn.140259008
lea r8, [0x140284c9c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140258f88
lea r8, [rsp + 0x4c]
mov edx, 0x2710
lea rcx, [rsp + 0x270]
call fcn.140258f88
test byte [rsp + 0x20], 0x10
lea rcx, [rsp + 0x270]
je 0x14001fc9b
call fcn.14001fb50
test eax, eax
je 0x14001fd05
lea rcx, [rsp + 0x270]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x14001fca1
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14001fcea
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14001fc00
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 1
mov rcx, qword [rsp + 0x5090]
xor rcx, rsp
call fcn.1402435c0
mov rbx, qword [rsp + 0x50b8]
add rsp, 0x50a0
pop rdi
ret
lea r8, [0x140284a60]
lea rdx, str.EmptyDirectory:
lea rcx, [rsp + 0x270]
call fcn.140039ff0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x14001fcc9
Function at 0x140022f20
Capabilities:
Check os version

Disassembly:
sub rsp, 0x158
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call fcn.140245f10
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x24], 6
setae al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1402435c0
add rsp, 0x158
ret

Function at 0x1400244b0
Capabilities:
Enumerate gui resources

Disassembly:
push rbx
sub rsp, 0x30
call fcn.140004ca0
mov rcx, rax
test rax, rax
je 0x140024534
mov rax, qword [rax]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rdx, str.LocalD85E4557_AFBC_4229_9628_6E78BFA45875
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400244e3
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.14000ae30
mov byte [rsp + 0x28], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x14001fe30]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002452e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
add rsp, 0x30
pop rbx
ret
mov ecx, 0x80004005
call fcn.140004b20
int3
Function at 0x140024a50
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14036e3c8]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
lea r8, [0x140284a60]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_Start...
call fcn.140039ff0
mov rcx, qword [rbx + 0xa0]
xor esi, esi
test rcx, rcx
je 0x140024aac
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xa0], rsi
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x34]
call fcn.140245f10
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x34], 6
jb 0x140024b84
call fcn.140004ca0
mov rcx, rax
test rax, rax
je 0x140024bd6
mov rax, qword [rax]
call qword [rax + Ordinal_26]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x140024b24
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.140005980
mov rbx, qword [rsp + 0x20]
mov r8d, 0x104
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test rbx, rbx
jne 0x140024b3e
mov eax, esi
jmp 0x140024b4e
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.14025660c
test eax, eax
js 0x140024bcb
cmp eax, dword [rbx - 0xc]
jg 0x140024bcb
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], si
mov rcx, rbx
call fcn.14002aa50
nop
mov eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x140024b8c
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + ioctlsocket]
jmp 0x140024b8c
mov rcx, rbx
call fcn.140025770
lea r8, [0x140284a60]
lea rdx, str.Updater:
lea rcx, str.RunAfterRemoveLocalUpdater_End...
call fcn.140039ff0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1402435c0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80070057
call fcn.140004b20
nop
mov ecx, 0x80004005
call fcn.140004b20
int3
Function at 0x140024bf0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x90
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
lea r8, [0x140284a60]
lea rdx, str.Updater:
lea rcx, str.RunMainUpdater_Start...
call fcn.140039ff0
mov rcx, qword [rbx + 0xa0]
test rcx, rcx
je 0x140024c42
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0xa0], 0
xorps xmm0, xmm0
lea rax, [0x140285288]
movups xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x28], 0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x24], 0x40
mov qword [rsp + 0x40], rdi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea r8, [0x140284a60]
lea rdx, str.Updater:
lea rcx, str.RunMainUpdater_End...
call fcn.140039ff0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret