joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012b68
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rsi, rdx
xor edi, edi
cmp rdx, rdi
je 0x1012d0c
lea rdx, [0x01005540]
lea rcx, [rsp + 0x20]
call fcn.0100f9f8
nop
mov ebx, 0x208
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.0100fe90
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
or edx, 0xffffffff
lea rcx, [rsp + 0x20]
call fcn.0100ff00
mov r11, qword [rsp + 0x20]
cmp qword [r11 - 0x10], rdi
je 0x1012c77
mov rax, qword [0x01045880]
mov qword [rsp + 0x68], rax
lea ebp, [rdi + 1]
mov rdx, rbp
lea rcx, [rsp + 0x68]
call fcn.0100ff6c
mov r8, rbp
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.0101009c
mov rdx, qword [rax]
mov rax, qword [rsp + 0x68]
sub rdx, rax
movzx r8d, word [rax]
movzx ecx, word [rax + rdx]
sub r8d, ecx
jne 0x1012c25
add rax, 2
test ecx, ecx
jne 0x1012c10
movzx ebx, dil
cmp r8d, edi
cmovne ebx, ebp
lea rcx, [rsp + 0x28]
call fcn.0100f940
lea rcx, [rsp + 0x68]
call fcn.0100f940
cmp bl, dil
je 0x1012c64
mov eax, 0x5c
mov word [rsp + 0x68], ax
lea r8, [rsp + 0x68]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.0100fdac
lea rdx, [0x01006440]
lea rcx, [rsp + 0x20]
call fcn.0100fe4c
jmp 0x1012c88
lea rdx, [0x01006440]
lea rcx, [rsp + 0x20]
call fcn.0100fb60
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
cmp rax, rdi
jne 0x1012ca9
lea rcx, [rsp + 0x20]
call fcn.0100f940
xor eax, eax
jmp 0x1012d0e
lea rdx, [0x01006458]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
jne 0x1012cd6
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x20]
call fcn.0100f940
xor eax, eax
jmp 0x1012d0e
mov dword [rsp + 0x78], edi
lea r8, [rsp + 0x78]
mov edx, 0x1000
mov rcx, rsi
call rax
cmp eax, edi
je 0x1012cf4
mov edi, dword [rsp + 0x78]
shr edi, 2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x20]
call fcn.0100f940
mov eax, edi
jmp 0x1012d0e
xor eax, eax
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1014324
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rdx, [0x01005540]
lea rcx, [rsp + 0x48]
call fcn.0100f9f8
mov ebx, 0x208
lea rcx, [rsp + 0x48]
mov rdx, rbx
call fcn.0100fe90
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rsp + 0x48]
or edx, 0xffffffff
call fcn.0100ff00
mov rax, qword [rsp + 0x48]
xor ebp, ebp
mov esi, 1
cmp qword [rax - 0x10], rbp
je 0x101441f
mov rax, qword [0x01045880]
lea rcx, [rsp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x40], rax
call fcn.0100ff6c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
mov r8, rsi
call fcn.0101009c
mov rcx, qword [rsp + 0x40]
mov r8, qword [rax]
sub r8, rcx
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x10143ce
add rcx, 2
test eax, eax
jne 0x10143ba
cmp edx, ebp
lea rcx, [rsp + 0x50]
movzx ebx, bpl
cmovne ebx, esi
call fcn.0100f940
lea rcx, [rsp + 0x40]
call fcn.0100f940
cmp bl, bpl
je 0x101440c
mov eax, 0x5c
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x48]
mov rdx, rsi
mov word [rsp + 0x40], ax
call fcn.0100fdac
lea rdx, [0x010082a0]
lea rcx, [rsp + 0x48]
call fcn.0100fe4c
jmp 0x1014430
lea rdx, [0x010082a0]
lea rcx, [rsp + 0x48]
call fcn.0100fb60
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi], rax
cmp rax, rbp
je 0x1014446
mov dword [rdi + 8], esi
mov ebx, dword [rdi + 8]
lea rcx, [rsp + 0x48]
call fcn.0100f940
mov eax, ebx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1014468
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
lea r8, [rax - 0x18]
lea rdx, [0x010082c0]
and qword [rax - 0x18], rsi
and dword [rax + 0x20], esi
and dword [rax + 0x18], esi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x101456a
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rsi
lea rdx, [0x010082f0]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x101456a
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x101456a
lea ecx, [rsi + 0x40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x101456a
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x010082f0]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1014561
cmp dword [rsp + 0x68], 7
jne 0x1014561
mov rdi, rbx
cmp byte [rbx], sil
je 0x1014561
lea rdx, [0x01008368]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x101455c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
cdqe
add rdi, rax
cmp byte [rdi], sil
jne 0x1014531
jmp 0x1014561
mov esi, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x101457a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
Function at 0x1014594
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rcx
mov edi, 0x114
lea rcx, [rsp + 0x20]
mov r8, rdi
xor edx, edx
call fcn.01034300
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x30], 2
jne 0x10146cc
mov eax, dword [rsp + 0x24]
cmp eax, 4
jbe 0x10145f9
cmp dword [rsp + 0x28], 0
ja 0x10145fe
cmp eax, 5
jbe 0x101460a
mov dword [rbx + 0xc], 1
jmp 0x10146cc
cmp eax, 4
jbe 0x10146ba
lea rcx, [0x01008300]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x10146cc
lea rdx, [0x01008318]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x10146cc
mov r8b, 6
mov edx, 0x40
xor ecx, ecx
call rax
lea rcx, [0x01008330]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x10146cc
lea rdx, [0x01008350]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x10146cc
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, 0x11c
call fcn.01034300
mov eax, 0x10
lea rcx, [rsp + 0x140]
lea edx, [rax + 0x30]
mov r8, rsi
mov dword [rsp + 0x140], 0x11c
mov word [rsp + 0x258], ax
call rdi
jmp 0x10146c9
lea rdx, [0x01008368]
mov rcx, rbx
call fcn.01014468
mov dword [rbx + 0xc], eax
mov eax, dword [rbx + 0xc]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.01028cb0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1016ff8
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov r12, rdx
mov r15, rcx
lea rdx, [0x01005540]
mov rcx, r12
mov rbp, r8
call fcn.0100f9f8
mov rdx, qword [rbp]
mov r13, qword [rdx - 0x10]
xor edx, edx
mov r14d, edx
mov rbx, rdx
cmp r13, rdx
jbe 0x101723e
lea esi, [rdx + 1]
lea r8d, [rdx + 0x22]
cmp r14d, esi
jne 0x10170bd
mov rcx, qword [rbp]
movzx eax, word [rcx + rbx*2]
cmp ax, r8w
jne 0x10170a3
lea rdi, [rbx + 1]
cmp rdi, r13
jae 0x101709b
cmp word [rcx + rbx*2 + 2], r8w
jne 0x101709b
mov word [rsp + 0x20], r8w
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, r12
call fcn.0100fdac
mov rbx, rdi
jmp 0x101722a
mov r14d, edx
jmp 0x1017232
lea r8, [rsp + 0x20]
mov rdx, rsi
mov rcx, r12
mov word [rsp + 0x20], ax
call fcn.0100fdac
jmp 0x101722a
mov rax, qword [rbp]
cmp word [rax + rbx*2], r8w
jne 0x10170d0
mov r14d, esi
jmp 0x1017232
cmp word [rax + rbx*2], 0x20
je 0x1017232
cmp word [rax + rbx*2], 0x2b
je 0x1017232
lea rdx, [rsp + 0x40]
mov r9d, 9
mov r8, rbx
mov rcx, rbp
call fcn.01010024
xor edx, edx
lea rdi, [0x01009978]
mov rsi, qword [rax]
lea ecx, [rdx + 0xa]
repe cmpsw word [rsi], word [rdi]
je 0x1017115
sbb edx, edx
sbb edx, 0xffffffff
xor eax, eax
lea rcx, [rsp + 0x40]
lea esi, [rax + 1]
movzx edi, al
cmp edx, eax
cmove edi, esi
call fcn.0100f940
test dil, dil
je 0x1017175
mov rax, qword [0x01045880]
lea rdx, [r15 + 0x100]
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
call fcn.0100faec
mov rdx, qword [rsp + 0x28]
mov r8, rdx
mov rdx, qword [rdx - 0x10]
mov rcx, r12
call fcn.0100fdac
lea rcx, [rsp + 0x28]
add rbx, 9
call fcn.0100f940
jmp 0x1017203
lea rdx, [rsp + 0x38]
mov r9d, 9
mov r8, rbx
mov rcx, rbp
call fcn.01010024
xor edx, edx
lea rdi, [0x01009990]
mov rsi, qword [rax]
lea ecx, [rdx + 0xa]
repe cmpsw word [rsi], word [rdi]
je 0x10171a4
sbb edx, edx
sbb edx, 0xffffffff
xor eax, eax
lea rcx, [rsp + 0x38]
lea esi, [rax + 1]
movzx edi, al
cmp edx, eax
cmove edi, esi
call fcn.0100f940
xor edx, edx
cmp dil, dl
je 0x1017205
lea rcx, [rsp + 0x50]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.0100f9f8
mov rdx, qword [rsp + 0x30]
mov rcx, r12
mov r8, rdx
mov rdx, qword [rdx - 0x10]
call fcn.0100fdac
lea rcx, [rsp + 0x30]
call fcn.0100f940
add rbx, 9
xor edx, edx
cmp rbx, r13
jae 0x101722c
mov rax, qword [rbp]
lea rdx, [rax + rbx*2]
cmp word [rdx], 0x20
je 0x101722a
cmp word [rdx], 0x2b
je 0x101722a
add rbx, rsi
add rdx, 2
cmp rbx, r13
jb 0x1017212
xor edx, edx
mov r8d, 0x22
add rbx, rsi
cmp rbx, r13
jb 0x1017059
mov rcx, rbp
call fcn.0100f940
mov rax, r12
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.01028cb0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1017d0c
Capabilities:
Query service status

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
sub rsp, 0x40
lea rcx, [0x0100a1f8]
mov rbp, rdx
call fcn.01011d38
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
xor edi, edi
mov rsi, rax
cmp rax, rdi
jne 0x1017d62
lea rcx, [0x0100a240]
call fcn.01011d38
mov edi, 0xfffffffe
jmp 0x1017de2
mov rdx, qword [rbp]
mov r8d, 4
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r12, rax
cmp rax, rdi
jne 0x1017d97
lea rcx, [0x0100a2b0]
call fcn.01011d38
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
or edi, 0xffffffff
jmp 0x1017de2
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, r12
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp ebx, edi
jne 0x1017dcb
lea rcx, [0x0100a320]
call fcn.01011d38
jmp 0x1017de2
cmp dword [rsp + 0x24], 4
lea rcx, [0x0100a3a0]
sete dil
mov edx, edi
call fcn.01011d38
mov rcx, rbp
call fcn.0100f940
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret
Function at 0x1018ea4
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, qword [0x01046b88]
cmp rdx, qword [rbx + 0x130]
jne 0x101907e
lea rcx, [0x0100b150]
call fcn.01011d38
cmp dword [rbx + 0x144], 0
je 0x1018f91
inc dword [rbx + 0x14c]
mov edx, dword [rbx + 0x14c]
lea rcx, [0x0100b180]
call fcn.01011d38
cmp dword [rbx + 0x14c], 3
jl 0x1018f91
lea rcx, [0x0100b1f0]
call fcn.01011d38
mov rcx, qword [rbx + 0x150]
and dword [rbx + 0x144], 0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1018f48
test al, 1
je 0x1018f37
mov rcx, qword [rbx + 0x150]
and eax, 0xfffffffe
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbx + 0x150]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1018f91
lea rcx, [0x0100b250]
call fcn.01011d38
inc dword [rbx + 0x148]
cmp dword [rbx + 0x148], 5
jl 0x1018f80
and dword [0x01046db4], 0
mov dword [0x01046b80], 4
mov dword [0x01046b84], 8
jmp 0x1018f91
and dword [rbx + 0x14c], 0
mov dword [rbx + 0x144], 1
cmp dword [rbx + 0x15c], 0
je 0x1019058
inc dword [rbx + 0x164]
mov edx, dword [rbx + 0x164]
lea rcx, [0x0100b2b0]
call fcn.01011d38
cmp dword [rbx + 0x164], 3
jl 0x1019058
lea rcx, [0x0100b320]
call fcn.01011d38
mov rcx, qword [rbx + 0x168]
and dword [rbx + 0x15c], 0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x101900f
test al, 1
je 0x1018ffe
mov rcx, qword [rbx + 0x168]
and eax, 0xfffffffe
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rbx + 0x168]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1019058
lea rcx, [0x0100b380]
call fcn.01011d38
inc dword [rbx + 0x160]
cmp dword [rbx + 0x160], 5
jl 0x1019047
and dword [0x01046db4], 0
mov dword [0x01046b80], 4
mov dword [0x01046b84], 0xe
jmp 0x1019058
and dword [rbx + 0x164], 0
mov dword [rbx + 0x15c], 1
cmp dword [rbx + 0x144], 0
jne 0x101907e
cmp dword [rbx + 0x15c], 0
jne 0x101907e
mov rcx, qword [rbx + 8]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_SendMessageW]
add rsp, 0x20
pop rbx
ret
Function at 0x101908c
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x2d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rdi, r9
mov rbx, r8
lea rcx, [0x0100b3e8]
call fcn.01011d38
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.0100f990
nop
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.0100f990
nop
mov rdx, qword [rsp + 0x40]
lea rcx, [0x0100b410]
call fcn.01011d38
mov rdx, qword [rsp + 0x38]
lea rcx, [0x0100b430]
call fcn.01011d38
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov r8, qword [rsp + 0x40]
mov rdx, 0xffffffff80000003
lea rcx, [rsp + 0x50]
call fcn.01020df8
nop
cmp dword [rsp + 0x60], 0
jne 0x101916c
lea rax, [0x0100d8d8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.01020f9c
nop
lea rcx, [rsp + 0x38]
call fcn.0100f940
nop
lea rcx, [rsp + 0x40]
call fcn.0100f940
jmp 0x1019300
lea rdx, [0x010053c0]
lea rcx, [rsp + 0x30]
call fcn.0100f990
nop
mov dword [rsp + 0x20], 0x100
lea r9, [rsp + 0x30]
mov r8, qword [rsp + 0x38]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.01021270
nop
lea rcx, [rsp + 0x30]
call fcn.0100f940
mov rbx, qword [rsp + 0x48]
mov rdx, rbx
lea rcx, [0x0100b448]
call fcn.01011d38
lea rdx, [0x0100b464]
mov rcx, rbx
call fcn.010297a4
test rax, rax
jne 0x10191d7
or eax, 0xffffffff
jmp 0x10191dd
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x1019201
lea rdx, [0x0100b470]
mov rcx, rbx
call fcn.010297a4
test rax, rax
jne 0x10191fb
or eax, 0xffffffff
jmp 0x1019201
sub rax, rbx
sar rax, 1
test eax, eax
js 0x10192c9
lea rdx, [0x0100a670]
mov rcx, rbx
call fcn.010297a4
mov rdi, rax
test rax, rax
je 0x10192c9
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x10192c9
lea ecx, [rdi + 1]
movsxd rsi, ecx
cmp rsi, qword [rbx - 0x10]
ja 0x10192c9
lea rcx, [rbx + rsi*2]
lea rdx, [0x0100a670]
call fcn.010297a4
test rax, rax
je 0x10192c9
sub rax, rbx
sar rax, 1
test eax, eax
js 0x10192c9
sub eax, edi
dec eax
movsxd r9, eax
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.01010024
mov rdx, qword [rsp + 0x30]
lea rcx, [0x0100b478]
call fcn.01011d38
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.0100fe90
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x10192bf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x30]
call fcn.0100f940
lea rcx, [rsp + 0x48]
call fcn.0100f940
nop
lea rax, [0x0100d8d8]
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.01020f9c
nop
lea rcx, [rsp + 0x38]
call fcn.0100f940
nop
lea rcx, [rsp + 0x40]
call fcn.0100f940
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.01028cb0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x101932c
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r12
sub rsp, 0x40
mov rax, qword [0x01045880]
lea rcx, [r11 - 0x18]
mov rbp, r9
mov r12, r8
mov rbx, rdx
mov qword [r11 - 0x18], rax
call fcn.0100f8bc
mov rsi, qword [rsp + 0x70]
test rsi, rsi
je 0x10193bf
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x10193bf
mov edi, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rdi
call fcn.0100fe90
lea r8, [0x010053c0]
mov rdx, rbp
mov rcx, r12
mov r9, rax
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0x30]
or edx, 0xffffffff
call fcn.0100ff00
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.0100f74c
lea rcx, [rsp + 0x30]
call fcn.0100f940
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop r12
ret
Function at 0x10199bc
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov rax, qword [0x01044480]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r13, rdx
xor r15d, r15d
lea rdx, [rsp + 0x40]
mov rcx, r13
mov r14d, r15d
mov ebp, r15d
mov ebx, r15d
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x1019c05
lea rcx, [rsp + 0x28]
mov rdx, r13
call fcn.0100f990
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
mov r8d, 3
call fcn.0101009c
xor edx, edx
lea rdi, [0x0100bbe0]
mov rsi, qword [rax]
lea ecx, [rdx + 5]
repe cmpsw word [rsi], word [rdi]
je 0x1019a52
sbb edx, edx
sbb edx, 0xffffffff
cmp edx, r15d
lea rcx, [rsp + 0x20]
movzx edi, r15b
mov esi, 1
cmove edi, esi
call fcn.0100f940
lea rcx, [rsp + 0x28]
cmp dil, r15b
jne 0x1019a9f
test byte [rsp + 0x40], 0x10
cmovne ebx, esi
call fcn.0100f940
lea rdx, [rsp + 0x40]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r15d
je 0x1019aa4
cmp ebx, r15d
jne 0x1019aa4
jmp 0x1019a17
call fcn.0100f940
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp ebx, r15d
je 0x1019c05
lea rdx, [0x010053c0]
lea rcx, [rsp + 0x28]
call fcn.0100f990
lea rcx, [rsp + 0x28]
mov rdx, r13
call fcn.0100fb60
lea r8, [0x0100bbe0]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.0100fcd0
lea rcx, [rsp + 0x28]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0x20]
call fcn.0100f940
lea rcx, [rsp + 0x28]
xor edx, edx
call fcn.0100fe90
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1019bfb
lea rdx, [0x010053c0]
lea rcx, [rsp + 0x20]
call fcn.0100f990
test byte [rsp + 0x40], 0x10
jne 0x1019bc5
lea rcx, [rsp + 0x20]
mov rdx, r13
call fcn.0100fb60
lea r8, [0x010093a8]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.0100fcd0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0x30]
call fcn.0100f940
lea r8, [rsp + 0x6c]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.0100fcd0
lea rcx, [rsp + 0x20]
mov rdx, rax
call fcn.0100faec
lea rcx, [rsp + 0x38]
call fcn.0100f940
lea rcx, [rsp + 0x20]
xor edx, edx
call fcn.0100fe90
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, r15d
je 0x1019bc5
add ebp, esi
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, r15d
jne 0x1019b39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x20]
mov r14d, esi
call fcn.0100f940
lea rcx, [rsp + 0x28]
call fcn.0100f940
mov eax, 0xffffff9d
cmp r14d, r15d
cmovne eax, ebp
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.01028cb0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
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 0x101aa08
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [0x0100c110]
xor edx, edx
call fcn.01011d38
mov rax, qword [0x01045880]
lea r9, [0x0100c198]
lea r8, [0x0100c1c8]
lea rdx, [0x01009db8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
xor ebx, ebx
call fcn.01010648
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
call fcn.01020df8
cmp dword [rsp + 0x40], ebx
je 0x101aa9c
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x30]
call fcn.01020f9c
mov ebx, 1
lea rax, [0x0100d8d8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.01020f9c
lea rcx, [rsp + 0x68]
call fcn.0100f940
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x101aad0
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rdi, rcx
lea rcx, [0x0100c110]
mov edx, 0x200
call fcn.01011d38
mov rax, qword [0x01045880]
lea r9, [0x0100c198]
lea r8, [0x0100c1c8]
lea rdx, [0x01009db8]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], rax
xor ebx, ebx
call fcn.01010648
mov r8, qword [rsp + 0x68]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf023f
mov dword [rsp + 0x20], ebx
call fcn.01020df8
cmp dword [rsp + 0x40], ebx
je 0x101ab67
mov rdx, qword [rdi + 0x108]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea rcx, [rsp + 0x30]
call fcn.01020f9c
mov ebx, 1
lea rax, [0x0100d8d8]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
call fcn.01020f9c
lea rcx, [rsp + 0x68]
call fcn.0100f940
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret