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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
xor al, al
push edi
xor edi, edi
test esi, esi
je 0x1009f477
push ebx
mov ecx, dword [ebp + 8]
mov dl, byte [edi + ecx]
xor dl, al
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
xor al, 0x8c
and bl, 1
movzx edx, al
movzx eax, cl
cmove edx, eax
mov cl, dl
shr cl, 1
mov al, cl
xor al, 0x8c
and dl, 1
movzx ebx, al
movzx eax, cl
cmove ebx, eax
mov cl, bl
shr cl, 1
mov al, cl
movzx ecx, cl
xor al, 0x8c
and bl, 1
movzx eax, al
cmove eax, ecx
inc edi
cmp edi, esi
jb 0x1009f3c5
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x100a0bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10108d33
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x8c], 0
mov dword [ebx], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
push 0x201
push dword [0x10144f18]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100a0ab0
mov edi, dword [ebp - 0x8c]
test eax, eax
jne 0x100a0da1
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.100cdc50
add esp, 0xc
mov dword [ebp - 0x78], 0x64
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x10119d0c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a0da1
mov eax, dword [ebp - 0x7c]
cmp eax, 1
je 0x100a0c95
cmp eax, 2
jne 0x100a0da1
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x100a0cb6
test cl, 1
jne 0x100a0da1
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x76], 0
je 0x100a0cbc
jmp 0x100a0da1
xor eax, eax
mov word [ebp - 0x74], ax
shr ecx, 1
cmp ecx, 0x2d
jne 0x100a0da1
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100a0dcc
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
call fcn.1009ee20
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0
push eax
lea eax, [ebp - 0x20]
push 0x10119d14
push eax
call fcn.100a1240
mov esi, dword [ebp - 0x78]
push 0x2a
push esi
call fcn.1009f3b0
movzx eax, al
add esp, 0x14
cmp dword [ebp - 0x7c], eax
jne 0x100a0d85
lea edx, [ebp - 0x74]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100a0d26
sub edx, ecx
lea eax, [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
sar edx, 1
push edx
push eax
call fcn.100a0de0
push dword [0x10144f20]
lea eax, [ebp - 0x74]
push dword [0x10144f1c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x100a0d62
mov dword [ebx], 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a0d7e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
jmp 0x100a0da3
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a0da1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
test edi, edi
je 0x100a0dae
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009640
int3
Function at 0x100a0f40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10108d68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10145fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x202
push dword [0x10144f18]
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100a0ab0
test eax, eax
je 0x100a1068
mov esi, dword [ebp - 0x18]
mov edi, dword [0x10144f18]
mov dword [ebp - 0x10], 0
test esi, esi
je 0x100a1013
cmp dword [esi], 0
je 0x100a1006
push 0x10119bc0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x100a0fd3
mov eax, 1
jmp 0x100a1034
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100a100c
push 0
push dword [esi]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call eax
jmp 0x100a1034
cmp dword [esi + 4], 0
jne 0x100a1013
mov eax, 1
jmp 0x100a1034
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x20206
push 0
push 0
push 0
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100a105e
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x100a1046
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x200
test eax, eax
je 0x100a106b
xor ebx, ebx
jmp 0x100a110f
mov esi, dword [ebp - 0x20]
xor ebx, ebx
jmp 0x100a110f
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x100a10c8
mov ecx, dword [ebx]
test ecx, ecx
je 0x100a112e
push ecx
push eax
call fcn.100d7367
add esp, 8
test eax, eax
je 0x100a10c8
mov edx, dword [edi]
test edx, edx
je 0x100a10c8
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a10a0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push str.m2_old
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebx]
test edx, edx
jne 0x100a10d3
lea eax, [edx + 0xd]
jmp 0x100a1108
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a10e0
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push 0x10119d0c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ebx, ebx
test eax, eax
sete bl
test esi, esi
je 0x100a111a
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009640
int3
Function at 0x100a2730
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a27a1
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x100a276f
cmp eax, 2
jne 0x100a278b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x100a279b
test ecx, ecx
je 0x100a2796
test cl, 1
jne 0x100a278b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x100a279b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x100a84f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109631
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [edi], 0
call fcn.10009850
mov ecx, eax
test ecx, ecx
je 0x100a8684
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 1
push eax
push 0xf003f
push 0
push dword [ebp + 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a8645
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x18], xmm0
push eax
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a8637
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100a8645
add eax, 0x10
push 0x1014c030
push eax
mov dword [ebp - 0x20], eax
call fcn.100b2851
mov esi, eax
add esp, 8
test esi, esi
je 0x100a8645
push dword [ebp - 0x20]
push 0
push esi
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
push esi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x100a85fa
push esi
call fcn.100b21e5
add esp, 4
jmp 0x100a8645
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a8600
sub ecx, edx
sar ecx, 1
je 0x100a862e
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a8616
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.1000a120
push esi
call fcn.100b21e5
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100a8645
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a8664
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.10009640
int3
Function at 0x100a8690
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov esi, edi
mov dword [ebp - 0xc], eax
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100a86b4
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0xf003f
push 0
push dword [ebp + 0xc]
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x100a8716
lea eax, [esi*2 + 2]
push eax
push edi
push 1
push 0
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb ebx, ebx
mov eax, dword [ebp - 8]
inc ebx
test eax, eax
je 0x100a8716
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xc]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100a8731
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b254d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100a8b70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101096d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10145fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
call fcn.100078e0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
or ebx, 0xffffffff
test eax, eax
je 0x100a8ca4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.100096b0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov edi, dword [esi - 0xc]
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [edi + edi]
mov dword [ebp - 0x1c], eax
add eax, 2
push eax
push 0x2000
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
jne 0x100a8c0c
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x100a8c87
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
push 0
push eax
call fcn.100cdc50
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
add esp, 0xc
or eax, ecx
jge 0x100a8c40
push 0
lea ecx, [ebp - 0x14]
call fcn.10009b70
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
push eax
push esi
push eax
push dword [ebp - 0x20]
call fcn.10036810
push dword [esi - 8]
push esi
call fcn.100d705c
add esp, 0x18
test eax, eax
js 0x100a8cd9
cmp eax, dword [esi - 8]
jg 0x100a8cd9
xor ecx, ecx
mov dword [esi - 0xc], eax
push edi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edi, 1
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a8ca6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100a8ca6
xor edi, edi
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x100a8cc5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10009640
int3
Function at 0x100a8cf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x210], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 1
push dword [ebp + 0x1c]
lea eax, [ebp - 0x20c]
push edi
push ebx
push dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
call fcn.100b0dc0
mov ecx, dword [ebp - 4]
add esp, 0x1c
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100b254d
mov esp, ebp
pop ebp
ret

Function at 0x100a9990
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
mov ecx, esp
push edi
call fcn.100078e0
lea eax, [ebp - 0x20c]
push eax
call fcn.100b1990
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
call fcn.100b254d
mov esp, ebp
pop ebp
ret
Function at 0x100a9c10
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010983b
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x448], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp + 0x10]
push 0x208
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x218]
push 0
push eax
mov dword [ebp - 0x43c], ebx
call fcn.100cdc50
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.100d7d7d
add esp, 0x18
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x428], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9cc0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.1000b050
push 1
push 0x1010df7c
lea ecx, [ebp - 0x438]
mov dword [ebp - 4], 0
call fcn.10018620
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100cdc50
mov ebx, dword [ebp - 0x424]
xor esi, esi
mov edi, dword [ebp - 0x438]
add esp, 0xc
cmp dword [ebp - 0x428], esi
jbe 0x100a9d80
nop word [eax + eax]
cmp ebx, 8
lea eax, [ebp - 0x438]
cmovae eax, edi
movzx eax, word [eax + esi*2]
mov ecx, eax
mov word [ebp + esi*2 - 0x420], ax
cmp ecx, 0x5c
je 0x100a9d54
cmp ecx, 0x2f
jne 0x100a9d77
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a9d77
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100a9dc8
inc esi
cmp esi, dword [ebp - 0x428]
jb 0x100a9d30
push dword [ebp - 0x43c]
push dword [ebp - 0x440]
push dword [ebp - 0x444]
push dword [ebp - 0x448]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
cmp ebx, 8
jb 0x100a9dd6
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x100a9dcc
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a9df4
jmp 0x100a9dcc
xor esi, esi
jmp 0x100a9da0
push ecx
push edi
call fcn.100b21ce
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret
call fcn.100d129a
int3

Function at 0x100a9e60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100a9e89
mov ecx, edx
push esi
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a9e70
sub ecx, esi
sar ecx, 1
pop esi
lea ecx, [ecx*2 + 2]
jmp 0x100a9e8e
mov ecx, 2
push ecx
push edx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebp
ret
Function at 0x100aaa50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109968
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x10145fb4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x14]
push edi
mov dword [ebp - 0x1c], edi
call fcn.10075512
add esp, 4
test eax, eax
je 0x100aaa96
push eax
call fcn.1007591b
add esp, 4
lea eax, [esi + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov eax, dword [eax]
mov esi, dword [eax]
mov dword [ebp - 0x10], esi
cmp esi, eax
je 0x100aabe7
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x34]
add eax, 4
push eax
call fcn.10007a20
mov ecx, dword [ebp + 8]
mov eax, ecx
cmp dword [ecx + 0x14], 8
jb 0x100aaace
mov eax, dword [ecx]
cmp dword [ebp - 0x20], 8
lea ebx, [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x24]
cmovae ebx, ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0x10]
jne 0x100aab05
test edx, edx
je 0x100aab01
sub ebx, eax
nop
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x100aab05
add eax, 2
sub edx, 1
jne 0x100aaaf0
mov bl, 1
jmp 0x100aab07
xor bl, bl
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x100aab41
mov edx, dword [ebp - 0x18]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100aab37
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100aac18
push ecx
push edx
call fcn.100b21ce
add esp, 8
test bl, bl
je 0x100aabd1
mov ebx, dword [esi + 0x14]
mov ecx, dword [ebx + 0x64]
test ecx, ecx
je 0x100aab61
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [ebp + 0xc], 0
je 0x100aab79
cmp dword [ebx + 0x48], 8
lea eax, [ebx + 0x34]
jb 0x100aab72
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x64], 0
mov dword [ebp - 0x10], esi
call fcn.100149e0
mov ecx, dword [ebp - 0x14]
push esi
call fcn.100abf50
mov ebx, eax
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x100aabbe
or ecx, 0xffffffff
lock xadd dword [esi + 4], ecx
jne 0x100aabbe
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x100aabbe
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x1c
push ebx
call fcn.100b21ce
mov esi, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x10], esi
jmp 0x100aabdc
lea ecx, [ebp - 0x10]
call fcn.100149e0
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp esi, dword [eax]
jne 0x100aaab2
push edi
mov dword [ebp - 4], 1
call fcn.10075537
add esp, 4
test eax, eax
je 0x100aac04
push eax
call fcn.1007591b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.100d129a
int3
Function at 0x100ac260
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10109c4a
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x10145fb4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x248], esi
xor eax, eax
mov dword [esi], vtable.ExtractFileImp.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 7
mov word [esi + 0xc], ax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], 7
mov dword [ebp - 4], eax
mov word [esi + 0x24], ax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 7
mov word [esi + 0x3c], ax
push 0x208
push eax
mov dword [esi + 0x54], eax
mov byte [esi + 0x58], al
lea eax, [ebp - 0x218]
push eax
mov byte [ebp - 4], 2
call fcn.100cdc50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x10000000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call ebx
mov edi, dword [ebp + 8]
test edi, edi
jle 0x100ac33e
nop
lea eax, [ebp - 0x218]
push eax
call ebx
sub edi, 1
jne 0x100ac330
push str.Utils7z.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100ac454
lea eax, [ebp - 0x218]
push eax
call fcn.100f7450
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
call fcn.100aac20
add esp, 4
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0x100acad0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x23c], 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x234], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x244]
push eax
movups xmmword [ebp - 0x230], xmm0
call dword [sym.imp.USER32.dll_RegisterClassW]
push 0
push dword [ebp - 0x234]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push SysReAllocString
push str.title
push dword [ebp - 0x21c]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0x54], eax
test eax, eax
jne 0x100ac436
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x100ac454
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100ac454
mov edx, dword [ebp - 0x21c]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100ac454
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100b254d
mov esp, ebp
pop ebp
ret 4