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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1035180
push 0x10025c8
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01034cee
test eax, eax
jl 0x1035180
lea eax, [ebp - 0x20c]
push eax
call fcn.01056f43
test eax, eax
je 0x1035180
push edi
push 0
push 2
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.0105e6fe
mov edi, eax
cmp edi, 0xffffffff
je 0x103517f
lea eax, [ebp - 0x424]
push eax
push 0x10098ec
push 0x1002048
push edi
call fcn.0105e74d
test eax, eax
je 0x1035178
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x424]
push eax
push edi
call fcn.010565bc
test eax, eax
jl 0x1035178
push 1
lea eax, [ebp - 0x414]
push eax
push 0
call fcn.01055afa
push edi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret

Function at 0x1035192
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10351f5
lea eax, [ebp - 0x20c]
push eax
push eax
push 0x10025e8
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x10351f5
push 0xffff
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call fcn.0105ab51
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret

Function at 0x1035207
Capabilities:
Get common file path
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x418], 0
lea eax, [ebp - 0x418]
push eax
push 2
push 0
push 0x10026d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10352c0
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10352b3
lea eax, [ebp - 0x20c]
push eax
push eax
push 0x1002670
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x10352b3
lea eax, [ebp - 0x414]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1035284
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x414]
push eax
push 1
push 0
push 0x1002640
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01047417
leave
ret
Function at 0x10352d1
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10813cc], 0
je 0x10352f6
call fcn.01035207
jmp 0x1035345
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1035344
lea eax, [ebp - 0x20c]
push eax
push eax
push 0x1002670
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x1035344
push 0xffff
push 0
lea eax, [ebp - 0x414]
push eax
push 0
call fcn.0105ab51
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01047417
leave
ret

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x1002798
lea edi, [ebp - 0x61c]
rep movsd dword es:[edi], dword [esi]
push 0x1ee
xor ebx, ebx
lea eax, [ebp - 0x602]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
push 7
pop ecx
mov esi, 0x1002778
lea edi, [ebp - 0x414]
rep movsd dword es:[edi], dword [esi]
push 0x1ea
lea eax, [ebp - 0x3f6]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x61c]
add esp, 0x18
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x628], 2
mov esi, 0x100276c
lea eax, [ebp - 0x624]
push eax
push 0x2001f
push ebx
push dword [ebp - 0x620]
xor edi, edi
push SysReAllocString
mov dword [ebp - 0x624], ebx
inc edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035443
push 4
lea eax, [ebp - 0x62c]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x624]
mov dword [ebp - 0x62c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1035433
push esi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor edi, edi
push dword [ebp - 0x624]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
je 0x1035497
push dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
push 0x100274c
push 0x104
push eax
call fcn.01034d76
add esp, 0x10
test eax, eax
jl 0x1035497
push 4
push 1
mov edi, 0x10000000
push edi
push 0x1002744
lea eax, [ebp - 0x20c]
push eax
call fcn.01058977
push 4
push 1
push edi
push 0x100273c
lea eax, [ebp - 0x20c]
push eax
call fcn.01058977
add dword [ebp - 0x620], 0x208
dec dword [ebp - 0x628]
jne 0x10353d6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret
Function at 0x10357ca
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x210]
push eax
push esi
push 2
push esi
push esi
push esi
push 0x1001b08
push SysReAllocString
mov dword [ebp - 0x210], esi
call ebx
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jne 0x1035836
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1001d50
push dword [ebp - 0x210]
call edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
lea eax, [ebp - 0x210]
push eax
push esi
push 2
push esi
push esi
push esi
push 0x1001b08
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
jne 0x103595a
cmp dword [ebp + 8], 0xd2af9
je 0x1035880
cmp dword [ebp + 8], 0xc00d2afb
je 0x1035880
push 0x1002504
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1035938
lea eax, [ebp - 0x21c]
push eax
mov dword [ebp - 0x214], esi
call fcn.0103279d
test eax, eax
jne 0x10358af
push 8
lea eax, [ebp - 0x21c]
push eax
push 3
push esi
push 0x1002504
push dword [ebp - 0x210]
call edi
lea eax, [ebp - 0x214]
push eax
push 2
push esi
push 0x10026d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035938
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010590be
test eax, eax
je 0x103592c
push 0x1002898
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01034cee
test eax, eax
jl 0x103592c
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1035902
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push 0x1002878
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x1001d50
push dword [ebp - 0x210]
call edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 4
Function at 0x10359ac
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x214], ecx
je 0x1035a6e
cmp esi, ecx
je 0x1035a6e
cmp ebx, ecx
je 0x1035a6e
lea edx, [ebp - 0x210]
push edx
push 0x20019
push ecx
xor edi, edi
push eax
inc edi
push SysReAllocString
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x21c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035a6e
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1035a59
cmp dword [ebp - 0x218], edi
jne 0x1035a59
mov dword [ebp - 0x214], edi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], 0
jne 0x1035a75
push 0x100299c
jmp 0x1035a7c
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push ebx
call fcn.01034c79
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 0x10

Function at 0x1035a9b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x1035abf
xor eax, eax
jmp 0x1035b36
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1035b34
cmp dword [ebp + 0xc], edi
lea eax, [ebp - 0x414]
je 0x1035aed
push 0x10019c4
push eax
push 0x10029d0
jmp 0x1035af8
push 0x1001994
push eax
push 0x10029ac
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.01034db1
add esp, 0x14
cmp eax, edi
jl 0x1035b34
lea eax, [ebp - 0x20c]
push eax
call fcn.01056f43
test eax, eax
je 0x1035b34
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
inc edi
call fcn.01057adf
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret 8

Function at 0x1035c4b
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x1035c5c
xor eax, eax
pop ebp
ret 8
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01035a9b
test eax, eax
jne 0x1035c58
push 0x10029f4
push 2
call fcn.0105e573
pop ebp
jmp fcn.01035b4b
Function at 0x1035fc7
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x10]
call fcn.0107ad29
lea eax, [ebp - 0x10]
push eax
call fcn.0104218f
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, 0x10021fc
jl 0x1036032
lea eax, [ebp - 4]
push eax
push 2
push 0
push dword [ebp - 0x10]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1036032
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push ebx
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1036034
xor eax, eax
push eax
lea ecx, [ebp - 4]
push ecx
push eax
push 2
push eax
push eax
push eax
push 0x1001bd0
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1036068
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push ebx
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call edi
lea ecx, [ebp - 0x10]
call fcn.0107a784
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x103607c
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push esi
xor edi, edi
call fcn.01056f43
test eax, eax
je 0x103613d
push edi
push 0x8000080
push 3
push edi
push edi
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x10360ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x103613d
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01034c79
test eax, eax
jl 0x103613d
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0105933e
lea eax, [ebp - 0x20c]
push eax
push 0x1002a38
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.01034d76
add esp, 0x10
test eax, eax
jl 0x103613d
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x103613a
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call esi
jmp 0x103613d
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret 4
Function at 0x1036154
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x1002ad0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x10361b8
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0x1002ab4
push edi
push eax
call esi
mov ebx, eax
cmp ebx, edi
je 0x10361b8
push edi
push 0x1002a9c
push edi
push ebx
call esi
test eax, eax
je 0x10361aa
xor eax, eax
inc eax
jmp 0x1036233
push edi
push 0x1002a80
push edi
push ebx
call esi
test eax, eax
jne 0x10361a2
mov esi, 0x104
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01059beb
test eax, eax
je 0x10361f5
push 0x1002a64
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01034cee
test eax, eax
jl 0x10361f5
lea eax, [ebp - 0x20c]
push eax
call fcn.0103607c
test eax, eax
jne 0x10361a2
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01059beb
test eax, eax
je 0x1036231
push 0x1002a48
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01034cee
test eax, eax
jl 0x1036231
lea eax, [ebp - 0x20c]
push eax
call fcn.0103607c
test eax, eax
jne 0x10361a2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret

Function at 0x10362ee
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
push eax
mov esi, 0x105
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1036354
push 0x1002b58
lea eax, [ebp - 0x210]
push eax
push 0x1002b4c
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x1036354
lea eax, [ebp - 0x41c]
push eax
call fcn.01056f43
test eax, eax
jne 0x1036354
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret
Function at 0x10363d8
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x214], ebx
je 0x10364ce
push edi
push 0x1002ba8
push 0x1002b4c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x10364ce
push esi
mov dword [ebp - 0x210], ebx
mov esi, 0x2001f
call fcn.0105e7ec
test eax, eax
je 0x1036443
mov esi, 0x2011f
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10364cd
cmp dword [ebp + 0xc], ebx
je 0x10364a2
push 4
lea eax, [ebp - 0x218]
push eax
push 4
push ebx
push 0x1002b84
push dword [ebp - 0x210]
xor esi, esi
inc esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10364c1
push dword [ebp + 0x10]
mov dword [ebp - 0x214], esi
push edi
call fcn.01032f19
jmp 0x10364c1
push 0x1002b84
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x10364c1
mov dword [ebp - 0x214], 1
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
pop edi
xor ecx, ebp
pop ebx
call fcn.01047417
leave
ret 0xc

Function at 0x10364e9
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
push 0x2001f
xor esi, esi
push esi
push 0x1001f00
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103659a
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x218], esi
push esi
jmp 0x1036577
inc dword [ebp - 0x218]
push 1
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010363d8
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call edi
test eax, eax
je 0x103654a
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x1001f00
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret
Function at 0x10365bc
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x210]
push eax
push 0x2001f
xor esi, esi
push esi
push 0x1001e90
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x103666d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x218], esi
push esi
jmp 0x103664a
inc dword [ebp - 0x218]
push 1
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010363d8
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x218]
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x104
call edi
test eax, eax
je 0x103661d
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x1001e90
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret

Function at 0x103668f
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x424], esi
je 0x10367b6
push ebx
push eax
push 0x1002c10
push 0x1002b4c
mov ebx, 0x104
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.01034d76
add esp, 0x14
test eax, eax
jl 0x10367b5
push edi
mov dword [ebp - 0x418], esi
mov edi, 0x20019
call fcn.0105e7ec
test eax, eax
je 0x10366fb
mov edi, 0x20119
lea eax, [ebp - 0x418]
push eax
push edi
push esi
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10367b4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x41c], esi
push esi
jmp 0x1036796
inc dword [ebp - 0x41c]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
cmp word [ebp - 0x20c], 0x6b
pop ecx
jne 0x103677e
cmp word [ebp - 0x20a], 0x62
jne 0x103677e
push dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.010363d8
mov dword [ebp - 0x424], eax
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
mov dword [ebp - 0x420], ebx
call edi
test eax, eax
je 0x103673f
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x424]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret 8
Function at 0x10376bc
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.01033d98
test eax, eax
je 0x103778d
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.0105a116
test eax, eax
jne 0x103778d
call fcn.0105a0ad
test eax, eax
jne 0x103778d
and dword [ebp - 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 0x210]
push eax
mov ebx, 0x2001f
push ebx
push 0
push 0x1003638
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x1037750
push 0x1003608
push dword [ebp - 0x210]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x210], 0
lea eax, [ebp - 0x210]
push eax
push ebx
push 0
push 0x1003538
push edi
call esi
test eax, eax
pop edi
pop esi
pop ebx
jne 0x103778d
push 0x100351c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01047417
leave
ret

Function at 0x103779e
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x107fa78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jle 0x1037859
push ebx
push 0x10020e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
cmp ebx, esi
je 0x1037858
push edi
push 0x10036dc
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x1037850
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x10036d4
push 0x104
push eax
call fcn.01034d76
add esp, 0x10
test eax, eax
jl 0x1037850
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], esi
call edi
test eax, eax
jl 0x1037850
cmp dword [ebp - 0x210], esi
je 0x1037850
push 1
push esi
push esi
push dword [ebp - 0x210]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x210]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.01047417
leave
ret 4