joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10115c9
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push 0x1011640
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x101162b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x1011630
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1021992
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
cmp dword [ebp - 8], 4
jne 0x1011622
cmp dword [ebp - 0xc], 1
jne 0x1011622
inc esi
jmp 0x1011622

Function at 0x10119c9
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, ecx
push dword [eax + 0x14]
lea eax, [ebp - 0x24]
push 0x100a03c
push 0x10
push eax
xor ebx, ebx
call fcn.0100a257
add esp, 0x10
test eax, eax
jl 0x1011a31
lea eax, [ebp - 0x28]
push eax
push 2
push ebx
push esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1011a31
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x1011a28
mov bl, 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.01002a8b
leave
ret 4
Function at 0x101692a
Capabilities:
Get disk information

Disassembly:
push 0x228
mov eax, 0x1043c51
call fcn.01002a3a
mov ebx, dword [ebp + 8]
mov esi, ecx
push dword [esi + 0x14]
lea ecx, [ebp - 0x1f8]
call fcn.0100883d
push dword [esi + 0x10]
xor edi, edi
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 4], edi
call fcn.0100883d
push ebx
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 1
call fcn.01003f3f
mov ebx, dword [ebp - 0x1ec]
mov eax, dword [ebx - 0xc]
dec eax
push eax
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 2
call fcn.01004428
movzx eax, ax
cmp ax, 0x2a
je 0x101fef1
cmp ax, 0x5c
je 0x10169a6
cmp ax, 0x2f
jne 0x101ff05
lea ecx, [ebp - 0x234]
call fcn.01004f6d
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x1ec]
push eax
mov byte [ebp - 4], 3
call fcn.01019917
xor esi, esi
cmp eax, edi
jne 0x101a44a
cmp dword [ebp - 0x220], edi
je 0x101ff20
push ebx
lea ecx, [ebp - 0x1f0]
call fcn.0100883d
push esi
push dword [ebp - 0x1f0]
mov byte [ebp - 4], 7
push dword [ebp - 0x1f4]
push dword [ebp - 0x1f8]
call fcn.01016a5e
mov dword [ebp - 0x1ec], eax
cmp eax, 0x80070005
je 0x101ff2d
push dword [ebp - 0x1f0]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 0x234]
call fcn.01002a01
lea ecx, [ebx - 0x10]
call fcn.01002990
push dword [ebp - 0x1f4]
call esi
push dword [ebp - 0x1f8]
call esi
mov eax, dword [ebp - 0x1ec]
call fcn.01002a77
ret 4
cmp eax, 1
jne 0x10169e1
xor esi, esi
push edi
lea ecx, [ebp - 0x1e8]
inc esi
call fcn.01003d9c
push ebx
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 4
call fcn.01003e3b
lea eax, [ebp - 0x208]
push eax
lea ecx, [ebp - 0x1e8]
call fcn.01013188
mov eax, dword [ebp - 0x200]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x208]
lea eax, [eax + ecx*2]
push eax
lea ecx, [ebp - 0x1f0]
call fcn.010035a2
push 3
lea eax, [ebp - 0x1fc]
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 5
call fcn.010079d6
push eax
lea ecx, [ebp - 0x1f0]
mov byte [ebp - 4], 6
call fcn.01003fbc
mov ecx, dword [ebp - 0x1fc]
add ecx, 0xfffffff0
call fcn.01002990
push 0xa
lea eax, [ebp - 0x24]
push eax
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 0x1f0]
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, edi
jne 0x101ff26
mov ecx, dword [ebp - 0x1f0]
add ecx, 0xfffffff0
call fcn.01002990
lea ecx, [ebp - 0x1e8]
mov byte [ebp - 4], 3
call fcn.01003cec
jmp 0x10169e1
mov ebx, dword [ebx - 0xc]
push 1
dec ebx
push ebx
lea ecx, [ebp - 0x1ec]
call fcn.01007ddc
jmp 0x101ff15
push 0x1003488
lea ecx, [ebp - 0x1ec]
call fcn.01012ecd
mov ebx, dword [ebp - 0x1ec]
jmp 0x10169a6
inc esi
jmp 0x10169e1
xor esi, esi
jmp 0x101a4f7
mov dword [ebp - 0x1ec], edi
jmp 0x1016a1a
Function at 0x1016d22
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x104a040], 0
je 0x1019962
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01002a8b
leave
ret
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x801c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1016d46
lea eax, [ebp - 0x20c]
push eax
push 0x1009cbc
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
je 0x10215b9
mov byte [0x104a040], 1
jmp 0x1016d44
call fcn.0100f56e
jmp 0x1016d46

Function at 0x1017352
Capabilities:
Read file via mapping

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x1017363
mov eax, dword [eax]
mov dword [esi + 0x48], eax
inc dword [esi + 0x48]
call fcn.01017380
test eax, eax
jl 0x101fb4a
mov ecx, esi
pop esi
jmp fcn.01006149
pop esi
ret
Function at 0x10189fa
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
push 0x2001f
push edi
push ecx
xor esi, esi
push eax
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.0101750d
mov ebx, eax
cmp ebx, esi
jne 0x101f44f
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x1018aaa
cmp eax, esi
jne 0x101f465
push edi
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x210]
call fcn.010197c1
cmp eax, esi
je 0x1018a50
jmp 0x101f465
lea ecx, [ebp - 0x210]
call fcn.01004887
lea ecx, [ebp - 0x210]
call fcn.01004887
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002a8b
leave
ret 0xc
lea ecx, [ebp - 0x210]
call fcn.01004887
push ebx
call fcn.0100a7a1
jmp 0x1018ac2
push eax
call fcn.0100a7a1
mov esi, eax
jmp 0x1018aaa
Function at 0x1018c9a
Capabilities:
Get common file path

Disassembly:
push 0x60
mov eax, 0x1043b61
call fcn.010015e0
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
push 0x2001f
push dword [0x104b7fc]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], edi
call fcn.0100484b
lea eax, [ebp - 0x20]
push eax
push 0x1009c74
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20], edi
call fcn.0100480c
cmp eax, edi
je 0x1018d9f
mov ecx, dword [ebx + 0x3c]
push dword [ecx]
call fcn.01007a64
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push 0x1018d7c
call sub.SHELL32.dll_SHGetKnownFolderPath
cmp eax, edi
jl 0x1018d9f
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.010035a2
push dword [ebp - 0x18]
mov byte [ebp - 4], 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.01007a16
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x14], edi
je 0x1018d8c
mov ecx, dword [ebx + 0x3c]
lea eax, [ebp - 0x14]
push eax
call fcn.010079b5
mov esi, eax
cmp dword [esi + 0x2c], edi
je 0x1018d3a
cmp dword [esi + 4], 2
jne 0x1018d3a
push edi
mov ecx, esi
call fcn.010036f0
mov eax, dword [eax]
push 0x1009cd8
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x1018d3a
jmp 0x101fe8f
lea ecx, [ebp - 0x4c]
call fcn.01003b4c
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.01002990
lea ecx, [ebp - 0x2c]
call fcn.01004887
call fcn.010015c0
ret
push 1
mov ecx, esi
call fcn.010036f0
push eax
lea ecx, [ebp - 0x6c]
call fcn.01007a16
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.01007d37
lea ecx, [ebp - 0x6c]
mov esi, eax
mov byte [ebp - 4], 2
call fcn.01003b4c
cmp esi, edi
je 0x101fec8
or dword [ebp - 0x10], 1
jmp 0x101fecc
or dword [ebp - 0x10], 2
push dword [ebp - 0x10]
lea ecx, [ebp - 0x2c]
push 0x1009c74
call fcn.01015d71
jmp 0x1018d3a
Function at 0x10197c1
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push edi
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0101750d
mov ebx, eax
cmp ebx, esi
jne 0x101f425
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call ebx
test eax, eax
je 0x101f437
lea ecx, [ebp - 0x214]
call fcn.01004887
mov ecx, dword [ebp - 0x218]
push edi
push dword [ebp - 0x21c]
call fcn.010198a0
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.01004887
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002a8b
leave
ret 8
cmp eax, esi
je 0x1019825
jmp 0x1019875
lea ecx, [ebp - 0x214]
call fcn.01004887
mov eax, ebx
jmp 0x1019884
push edi
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.010197c1
jmp 0x1019895

Function at 0x10265f5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x100a758
push 0x80000002
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
test eax, eax
jl 0x102666b
and dword [ebp + 8], 0
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x1026674
push 0
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push eax
call fcn.0100a7a1
test eax, eax
jl 0x1026662
cmp dword [ebp + 8], 1
jne 0x1026662
mov byte [esi], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
leave
ret 4

Function at 0x10266dd
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 2
push 0
push 0x1026758
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov esi, eax
test esi, esi
jl 0x1026739
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x1026740
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
call fcn.0100a7a1
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x10267ad
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x414]
push eax
push 9
xor esi, esi
push esi
push 0x1026910
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
jne 0x10268df
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x40c]
push eax
mov dword [ebp - 0x410], esi
push esi
jmp 0x102687d
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push 2
push 0x1026900
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x414]
mov dword [ebp - 0x41c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x102685f
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push 0x10223bc
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x102689a
inc dword [ebp - 0x410]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x410]
push dword [ebp - 0x414]
mov dword [ebp - 0x418], 0x100
call ebx
mov edi, eax
cmp edi, esi
jne 0x10268c6
jmp 0x102680c
push 4
lea eax, [ebp - 0x410]
push eax
push 4
push 0x1022398
push 0x1022330
push 0x80000002
mov dword [ebp - 0x410], 1
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
mov edi, eax
pop ebx
cmp edi, 0x103
jne 0x10268d1
xor edi, edi
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10268eb
cmp edi, 2
je 0x10268e9
cmp edi, 3
jne 0x10268eb
xor edi, edi
push edi
call fcn.0100a7a1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01002a8b
leave
ret

Function at 0x10269c5
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
and dword [esi], 0
and dword [ebp + 8], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x10
push 0x1022398
push 0x1022330
push 0x80000002
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1026a0e
xor ecx, ecx
inc ecx
test byte [ebp + 8], cl
je 0x1026a1c
mov dword [esi], ecx
jmp 0x1026a1c
cmp eax, 2
je 0x1026a18
cmp eax, 3
jne 0x1026a1c
xor eax, eax
and dword [esi], eax
push eax
call fcn.0100a7a1
pop esi
leave
ret 4
Function at 0x1026c9c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x6c], 0
push esi
lea eax, [ebp - 0x6c]
push eax
push 0xf003f
push 0
push 0x100a758
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov esi, eax
test esi, esi
jl 0x1026d6b
lea eax, [ebp - 0x78]
push eax
push 0x800
push 1
mov dword [ebp - 0x78], 0xc
call dword [sym.imp.KERNEL32.dll_GetNLSVersion]
test eax, eax
je 0x1026d54
xor eax, eax
push 0x62
push eax
mov word [ebp - 0x68], ax
lea eax, [ebp - 0x66]
push eax
call sub.msvcrt.dll_memset
push dword [ebp - 0x70]
lea eax, [ebp - 0x68]
push dword [ebp - 0x74]
push 4
push 0x100c204
push 0x32
push eax
call fcn.0100a257
mov esi, eax
add esp, 0x24
test esi, esi
jl 0x1026d62
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x68]
push eax
push 1
push 0x100c1d8
push 0
push dword [ebp - 0x6c]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x1026d5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100a7a1
mov esi, eax
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01002a8b
leave
ret

Function at 0x1026d91
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
cmp dword [0x104a3ac], ebx
je 0x1026e03
mov al, byte [0x104a3b0]
cmp al, 4
jae 0x1026db0
cmp al, bl
jne 0x1026e03
mov eax, dword [0x104a398]
mov ecx, dword [0x104a39c]
mov edx, 0x200
mov esi, 0x80000000
and eax, edx
and ecx, esi
or eax, ecx
je 0x1026e03
mov eax, dword [0x104a3a0]
push edi
mov edi, dword [0x104a3a4]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x1026e02
cmp edx, edi
jne 0x1026e02
push dword [ebp + 8]
push 0x1026e98
push dword [0x104a134]
push dword [0x104a130]
call fcn.010379eb
pop edi
lea eax, [ebp - 4]
push eax
push 0xf003f
push ebx
push 0x100a758
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov esi, eax
cmp esi, ebx
jl 0x1026e82
cmp dword [ebp + 8], 1
jne 0x1026e5f
call fcn.01026c9c
mov esi, eax
cmp esi, ebx
jl 0x1026e82
push 0x100fc6c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, 2
je 0x1026e55
cmp eax, 3
jne 0x1026e57
xor eax, eax
push eax
call fcn.0100a7a1
mov esi, eax
cmp esi, ebx
jl 0x1026e82
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0x100a71c
push ebx
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push eax
call fcn.0100a7a1
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x1026e90
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x1027cd9
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x103ef38
call fcn.010015e0
lea eax, [ebp - 0x10]
push eax
push 0xf003f
xor esi, esi
push esi
push 0x100a758
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
call fcn.0100a7a1
mov edi, eax
cmp edi, esi
jl 0x1027d39
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1022420
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push eax
call fcn.0100a7a1
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, esi
jge 0x1027d71
push esi
lea ecx, [ebp - 0x18]
call fcn.01026f3f
mov dword [ebp - 4], esi
mov esi, dword [ebp + 0xc]
push 0x7d0
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.0102629d
mov eax, dword [esi]
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, esi
push 0x1027d7c
call dword [eax + 0x10]
lea ecx, [ebp - 0x18]
call fcn.010261ea
mov eax, edi
call fcn.010015c0
ret 8

Function at 0x1027f17
Capabilities:
Get common file path

Disassembly:
push 0x218
mov eax, 0x103f043
call fcn.01002a3a
mov eax, dword [ebp + 0x28]
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push eax
xor ebx, ebx
inc ebx
push ebx
push 0
push dword [ebp + 0x14]
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jl 0x1027ffb
push 0x1007d24
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.0100f84f
mov esi, eax
test esi, esi
jl 0x1028059
push 0x1009ca8
lea ecx, [ebp - 0x21c]
call fcn.0100883d
and dword [ebp - 4], 0
mov esi, dword [ebp - 0x21c]
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
mov ebx, 0x8007000e
add esi, ebx
js 0x1027fed
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01026b36
mov esi, dword [ebp - 0x21c]
neg esi
sbb esi, esi
and esi, 0x7ff8fff2
add esi, ebx
js 0x1027fed
push dword [ebp - 0x220]
push edi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp - 0x21c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.010266a9
mov esi, eax
push dword [ebp - 0x21c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1028059
push 0
lea ecx, [ebp - 0x224]
call fcn.01026f3f
push 0x7df
lea eax, [ebp - 0x224]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0102629d
push dword [edi + 8]
mov ecx, edi
call fcn.0100fcfc
push dword [ebp + 0x14]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 8]
push 0x101742c
sub edx, ecx
push edx
lea eax, [eax + ecx*2]
push eax
call fcn.0100a257
add esp, 0x10
push 0xffffffffffffffff
mov ecx, edi
call fcn.01010357
lea ecx, [ebp - 0x224]
call fcn.010261ea
mov eax, esi
call fcn.01002a77
ret 0x24
Function at 0x102993d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x104a044]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp dword [0x104a04c], 0x7d6
push edi
mov dword [ebp - 0x218], eax
jl 0x1029999
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0xffffffffffffffff
push 0x4400
sub esp, 0x10
mov edi, esp
mov esi, 0x1029a78
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.01026509
mov esi, eax
jmp 0x1029a06
call fcn.010263a5
test eax, eax
je 0x1029a01
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0x104
call dword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
test eax, eax
jne 0x10299de
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x10299d8
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
test esi, esi
jl 0x1029a33
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x10299fa
xor ecx, ecx
mov word [eax], cx
jmp 0x1029a06
mov esi, 0x80070057
jmp 0x1029a06
mov esi, 0x80004001
test esi, esi
jl 0x1029a33
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx], eax
test eax, eax
jne 0x1029a2f
mov esi, 0x8007000e
test esi, esi
jge 0x1029a62
push 0
lea ecx, [ebp - 0x214]
call fcn.01026f3f
mov ecx, dword [ebp - 0x218]
push 0x7de
lea eax, [ebp - 0x214]
push eax
call fcn.0102629d
lea ecx, [ebp - 0x214]
call fcn.010261ea
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002a8b
leave
ret 8
Function at 0x1029a8d
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x103f42d
call fcn.01002a3a
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x224]
push eax
mov dword [ebp - 0x230], edi
call fcn.0102659b
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x1029cce
lea eax, [ebp - 0x225]
push eax
mov byte [ebp - 0x225], bl
call fcn.010265f5
mov esi, eax
mov dword [ebp - 0x22c], ebx
cmp esi, ebx
mov dword [ebp - 4], ebx
jl 0x1029cc0
cmp byte [ebp - 0x225], bl
je 0x1029b1f
mov eax, dword [0x1022458]
mov dword [ebp - 0x18], eax
mov eax, dword [0x102245c]
mov dword [ebp - 0x14], eax
mov ax, word [ebp - 0x224]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x22c]
call fcn.01026b10
jmp 0x1029b2c
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.0102993d
mov esi, eax
cmp esi, ebx
jl 0x1029cc0
push 0x1009ca8
lea ecx, [ebp - 0x224]
call fcn.0100883d
mov esi, dword [ebp - 0x224]
neg esi
sbb esi, esi
mov ebx, 0x7ff8fff2
and esi, ebx
mov edi, 0x8007000e
add esi, edi
mov byte [ebp - 4], 1
js 0x1029b9e
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x224]
call fcn.01026177
mov esi, dword [ebp - 0x224]
neg esi
sbb esi, esi
and esi, ebx
add esi, edi
js 0x1029b9e
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push 0
push 1
push dword [ebp - 0x224]
push eax
call dword [ecx + 0xc]
mov esi, eax
push dword [ebp - 0x224]
mov byte [ebp - 4], 0
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
jl 0x1029cc0
cmp dword [0x104a04c], 0x7d6
jl 0x1029cc0
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push 0x16
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jl 0x1029c83
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x230]
call fcn.0100883d
mov esi, dword [ebp - 0x230]
neg esi
sbb esi, esi
and esi, ebx
add esi, edi
mov byte [ebp - 4], 2
js 0x1029c75
push 0x1009ca8
lea ecx, [ebp - 0x224]
call fcn.0100883d
mov esi, dword [ebp - 0x224]
neg esi
sbb esi, esi
and esi, ebx
add esi, edi
mov byte [ebp - 4], 3
js 0x1029c69
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.01026b36
mov esi, dword [ebp - 0x224]
neg esi
sbb esi, esi
and esi, ebx
add esi, edi
js 0x1029c69
mov eax, dword [ebp - 0x234]
mov ecx, dword [eax]
push 0
push 1
push dword [ebp - 0x224]
push eax
call dword [ecx + 0xc]
mov esi, eax
push dword [ebp - 0x224]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x230]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1029cc0
push 0
lea ecx, [ebp - 0x18]
call fcn.01026f3f
mov edi, dword [ebp - 0x230]
push 0x7df
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0102629d
mov eax, dword [edi]
push 0xffffffffffffffff
push dword [edi + 0xc]
mov ecx, edi
push 0x1029cfc
call dword [eax + 0x10]
lea ecx, [ebp - 0x18]
call fcn.010261ea
push dword [ebp - 0x22c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1029cef
push ebx
lea ecx, [ebp - 0x18]
call fcn.01026f3f
push 0x7e1
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0102629d
lea ecx, [ebp - 0x18]
call fcn.010261ea
mov eax, esi
call fcn.01002a77
ret 0x10