joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7d02da79
Capabilities:
Delete registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push ebx
push esi
push edi
push 4
mov ebx, ecx
and dword [ebp - 0xc], 0
pop edi
lea eax, [ebp - 0x220]
push dword [ebx + 0x630]
mov dword [ebp - 0x14], edi
push 0x7cf3c510
push 0x104
push eax
call fcn.7d032e56
lea eax, [ebp - 0x14]
mov esi, reloc.SHLWAPI.dll_ParseURLA
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x220]
push 0x7cf4a038
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x7d02dba1
lea eax, [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push eax
push edi
push 0
push 0x7cf3c4f0
mov dword [ebp - 8], 0x110
push dword [ebp - 4]
call esi
lea eax, [ebp - 8]
push edi
push eax
push edi
push 0
push 0x7cf4a00c
push dword [ebp - 4]
mov dword [ebp - 8], 3
call esi
xor eax, eax
cmp dword [ebx + 0x640], eax
mov dword [ebp - 0x10], eax
je 0x7d02db45
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x10]
push edi
push ecx
push edi
push eax
push 0x7cf3c5f8
push dword [ebp - 4]
call esi
lea eax, [ebp - 0xc]
push edi
push eax
push edi
push 0
push 0x7cf4a038
push dword [ebp - 4]
call esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x7d02db98
xor esi, esi
cmp dword [eax], esi
jle 0x7d02db98
push esi
push eax
call dword [sym.imp.COMCTL32.dll_DSA_GetItemPtr]
test eax, eax
je 0x7d02db90
push eax
push esi
mov dword [eax + 4], esi
push dword [ebp - 4]
mov ecx, ebx
call fcn.7d02d942
mov eax, dword [ebx + 0x14]
inc esi
cmp esi, dword [eax]
jl 0x7d02db75
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7d02dba6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x660], ebx
je 0x7d02dbd6
test byte [ebp + 8], 1
je 0x7d02dbd6
lea eax, [esi + 0x428]
push 1
push eax
push ebx
push 0x15
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [esi + 0x428]
push eax
mov dword [ebp - 0x10], eax
call fcn.7d032331
test eax, eax
je 0x7d02dd11
test byte [ebp + 8], 2
je 0x7d02dd11
push 0x7cf4a054
lea eax, [ebp - 0x270]
push 0x104
push eax
call fcn.7cf690e7
push ebx
push 6
push 2
push ebx
push ebx
lea eax, [ebp - 0x270]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x7d02dd11
xor eax, eax
lea edi, [ebp - 0x1e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
push eax
lea eax, [ebp - 0x20]
push 0xe
push eax
mov word [ebp - 0x20], 0x4d42
push dword [ebp + 8]
mov dword [ebp - 0x1e], 0x5e
mov dword [ebp - 0x16], 0x3e
call esi
push 9
xor eax, eax
pop ecx
lea edi, [ebp - 0x44]
push 0x28
rep stosd dword es:[edi], eax
pop eax
lea ecx, [ebp - 0xc]
push 8
and dword [ebp - 0x38], 0
pop ebx
mov dword [ebp - 0x48], eax
push 0
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x44], ebx
push dword [ebp + 8]
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x3c], 1
mov word [ebp - 0x3a], 1
call esi
and byte [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 7]
push 1
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
call edi
mov ecx, eax
push ebx
shr ecx, 0x10
mov byte [ebp - 8], cl
xor ecx, ecx
mov cl, ah
mov byte [ebp - 6], al
mov byte [ebp - 7], cl
call edi
mov ecx, eax
mov byte [ebp - 2], al
shr ecx, 0x10
mov byte [ebp - 4], cl
xor ecx, ecx
mov cl, ah
lea eax, [ebp - 0xc]
push 0
push eax
lea eax, [ebp - 8]
push ebx
push eax
mov byte [ebp - 3], cl
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x10]
call fcn.7d032279
lea eax, [ebp - 0xc]
push 0
push eax
push 0x20
lea eax, [ebp - 0x68]
push eax
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7d02eb94
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x678]
and dword [ebp - 4], 0
test eax, eax
push esi
je 0x7d02ebbf
push 2
lea edx, [ebp - 4]
pop esi
mov ecx, dword [eax]
push edx
mov edx, dword [ebp + 0xc]
add edx, edx
push edx
push dword [ebp + 8]
push eax
call dword [ecx + 0x10]
jmp 0x7d02ebea
xor eax, eax
cmp dword [ecx + 0x650], 1
push 0
setne al
inc eax
mov esi, eax
lea eax, [ebp - 4]
push eax
mov eax, esi
imul eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
push dword [ecx + 0x648]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
xor edx, edx
div esi
mov ecx, dword [ebp + 0x10]
pop esi
mov dword [ecx], eax
leave
ret 0xc

Function at 0x7d02f025
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x670], ebx
jne 0x7d02f06f
lea eax, [ebp - 0x208]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x208]
push 0x7cf4a178
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x208]
mov ecx, esi
push eax
call fcn.7d02de11
cmp dword [esi + 0x64c], ebx
je 0x7d02f0c4
cmp dword [esi + 0x66c], ebx
lea edi, [esi + 0x66c]
je 0x7d02f093
push 0x7649
mov ecx, esi
call fcn.7d02dd82
mov dword [edi], ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0x64c]
mov ecx, esi
call fcn.7d02dec0
mov edi, dword [esi + 0x64c]
cmp edi, ebx
je 0x7d02f0bc
mov ecx, edi
call fcn.7d02d29c
push edi
call fcn.7cf5aedf
pop ecx
mov dword [esi + 0x64c], ebx
jmp 0x7d02f0d0
push 0x7610
mov ecx, esi
call fcn.7d02dd82
pop edi
pop esi
pop ebx
leave
ret
Function at 0x7d031381
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
xor ebx, ebx
push edi
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push 0x30
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x28]
push 0x33
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], edi
call fcn.7cf5b11e
cmp esi, ebx
mov dword [ebp - 0xc], eax
jle 0x7d0314ea
cmp edi, ebx
jle 0x7d0314ea
cmp eax, ebx
jle 0x7d0314ea
push ebx
push 0x7cf49ee0
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.7d032e56
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x2001f
push ebx
push ebx
lea eax, [ebp - 0x234]
push ebx
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 4
test eax, eax
pop edi
jne 0x7d03143c
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x7cf4a6c4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
push 6
mov eax, ecx
xor edx, edx
pop ebx
div ebx
mov ebx, eax
mov eax, esi
cdq
idiv edi
mov dword [ebp - 4], ebx
imul ebx, dword [ebp - 0xc]
mov edi, eax
cmp ebx, edi
ja 0x7d031469
mov eax, dword [ebp - 8]
push 3
cdq
pop esi
idiv esi
cmp ebx, eax
jbe 0x7d03147f
mov eax, edi
cdq
idiv dword [ebp - 0xc]
mov esi, eax
test esi, esi
je 0x7d03147f
mov eax, dword [ebp - 4]
xor edx, edx
div esi
mov dword [ebp - 4], edx
mov esi, dword [ebp + 8]
push 3
xor edx, edx
pop ebx
lea eax, [esi + 4]
push ebx
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 1
div ebx
pop eax
and ecx, 1
push 1
sub eax, edx
pop edx
sub edx, dword [ebp - 4]
imul eax, edi
imul edx, dword [ebp - 0xc]
add eax, edx
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cdq
idiv ebx
mov ebx, eax
mov eax, dword [ebp - 4]
imul ecx, ebx
inc eax
imul eax, dword [ebp - 0xc]
add ecx, eax
mov dword [esi + 8], ecx
call fcn.7d0330e5
add dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
add eax, eax
lea ecx, [esi + 0xc]
sub edi, eax
sub ebx, eax
mov dword [ecx], edi
mov edi, dword [ebp + 8]
mov dword [esi + 0x10], ebx
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
jmp 0x7d031505
mov eax, dword [ebp + 8]
mov edx, 0xa0
lea edi, [eax + 4]
lea ecx, [eax + 0xc]
mov dword [eax + 8], ebx
mov dword [ebp - 8], ecx
mov dword [edi], ebx
mov dword [ecx], edx
mov dword [eax + 0x10], edx
call fcn.7d0426bb
test eax, eax
je 0x7d031517
mov eax, dword [ebp - 8]
sub esi, dword [eax]
sub esi, dword [edi]
mov dword [edi], esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x7d03151e
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
xor ebx, ebx
push ebx
push 0x7cf49ee0
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.7d032e56
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0x2001f
push ebx
push ebx
lea eax, [ebp - 0x218]
push ebx
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x7d0315af
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
mov esi, 0x7cf4a6c4
push ebx
push esi
push dword [ebp - 8]
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], ebx
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea eax, [ebp - 4]
inc dword [ebp - 4]
push 4
push eax
push 4
push ebx
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x7d032936
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
push edi
xor edi, edi
push edi
push 0x7cf3c510
lea eax, [ebp - 0x220]
push 0x104
push eax
mov dword [ebp - 0xc], edi
call fcn.7d032e56
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x2001f
push edi
push edi
lea eax, [ebp - 0x220]
push edi
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x7d0329eb
lea eax, [ebp - 0x10]
push esi
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
mov esi, 0x7cf4a038
push edi
push esi
push dword [ebp - 4]
mov dword [ebp - 0x10], 4
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
je 0x7d0329af
xor ecx, ecx
jmp 0x7d0329b2
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 8]
push 4
mov edx, eax
and edx, dword [ebp + 0xc]
not eax
and ecx, eax
lea eax, [ebp - 8]
push eax
push 4
push edi
push esi
push dword [ebp - 4]
or edx, ecx
mov dword [ebp - 8], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x7d0329e1
mov dword [ebp - 0xc], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, dword [ebp - 0xc]
pop edi
leave
ret 8
Function at 0x7d0329f3
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
xor ebx, ebx
push esi
push ebx
push 0x7cf3c510
lea eax, [ebp - 0x218]
push 0x104
push eax
mov dword [ebp - 8], ebx
call fcn.7d032e56
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push 0x7cf35574
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 4]
push eax
push 0x2001f
lea eax, [ebp - 0x218]
push ebx
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7d032ac9
lea eax, [ebp - 0xc]
mov esi, 0x7cf37ecc
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov dword [ebp - 0xc], 4
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
je 0x7d032a88
xor ecx, ecx
mov dword [ebp + 8], ecx
jmp 0x7d032a8b
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 4
mov edx, eax
and edx, dword [ebp + 0x10]
not eax
and ecx, eax
lea eax, [ebp + 0x10]
push eax
push 4
push ebx
push esi
push dword [ebp - 4]
or edx, ecx
mov dword [ebp + 0x10], edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
test eax, eax
pop ecx
jne 0x7d032ab9
mov dword [ebp - 8], ecx
push ecx
push ecx
call fcn.7d032936
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret 0xc

Function at 0x7d032b51
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push ebx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
push esi
push edi
mov dword [ebp - 8], 0x7cf49f4c
jne 0x7d032b72
mov dword [ebp - 8], 0x7cf49f70
push ebx
push 0x7cf3c510
lea eax, [ebp - 0x23c]
push 0x104
push eax
call fcn.7d032e56
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x23c]
push 0x7cf35574
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x23c]
push eax
call esi
lea eax, [ebp - 4]
push eax
push 0x20019
lea eax, [ebp - 0x23c]
push ebx
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7d032c3a
push 3
lea eax, [ebp + 0x10]
pop edi
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push eax
lea eax, [ebp + 8]
push dword [ebp + 0xc]
mov dword [ebp + 0x10], 0x18
mov dword [ebp + 8], edi
push eax
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call esi
test eax, eax
je 0x7d032c31
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x2c
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x7cf49fb0
mov dword [ebp + 8], edi
push dword [ebp - 4]
call esi
test eax, eax
je 0x7d032c23
push 0xb
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push 1
push eax
push dword [ebp + 0xc]
call fcn.7d02fb63
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x7d032c43
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x258]
push edi
push 0x7cf3c510
push 0x104
push eax
mov dword [ebp - 0xc], edi
call fcn.7d032e56
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x258]
push 0x7cf35574
push eax
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x258]
push eax
call esi
lea eax, [ebp - 4]
push eax
push 0x2001f
lea eax, [ebp - 0x258]
push edi
push eax
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x7d032ddf
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
mov esi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
lea eax, [ebp - 8]
mov dword [ebp - 8], 3
push eax
push edi
push 0x7cf49fb0
mov dword [ebp + 8], 0x2c
push dword [ebp - 4]
call esi
test eax, eax
je 0x7d032cf0
push 1
mov dword [ebp - 0x10], edi
pop eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
push 4
mov ebx, 0x7cf49f94
pop eax
mov dword [ebp - 8], eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 8]
push eax
push edi
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x7d032d1c
mov dword [ebp - 0x3c], 1
cmp dword [ebp + 0x20], edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
je 0x7d032d4a
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.7d02fb63
lea eax, [ebp - 0x50]
push 0x18
push eax
push 3
push edi
push 0x7cf49f4c
push dword [ebp - 4]
call esi
cmp dword [ebp + 0x28], edi
je 0x7d032d5e
lea eax, [ebp + 0x28]
push 4
push eax
push 4
push edi
push ebx
push dword [ebp - 4]
call esi
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 0x24], edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x18]
push 0x2c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x1c]
pop ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x24], eax
je 0x7d032daa
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.7d02fb63
lea eax, [ebp - 0x50]
push 0x18
push eax
push 3
push edi
push 0x7cf49f70
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x38]
push ebx
push eax
push 3
push edi
push 0x7cf49fb0
push dword [ebp - 4]
call esi
test eax, eax
jne 0x7d032dc7
mov dword [ebp - 0xc], 1
cmp dword [ebp + 0x24], edi
jne 0x7d032dd5
push 1
push 1
call fcn.7d032936
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov eax, dword [ebp - 0xc]
pop edi
pop esi
leave
ret 0x24
Function at 0x7d032de8
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
lea eax, [ebp - 0x208]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x7d032e51
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x7d032e51
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x208]
push 0
push eax
call esi
test eax, eax
jne 0x7d032e51
lea eax, [ebp - 0x208]
push eax
call fcn.7d032de8
lea eax, [ebp - 0x208]
push 0
push eax
call esi
pop esi
leave
ret 4

Function at 0x7d032e56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
mov esi, 0x7cf35574
push edi
lea eax, [ebp - 0x210]
push esi
push eax
mov dword [ebp - 4], 0x204
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp dword [ebp + 0x14], 0
mov edi, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
mov ebx, 0x104
je 0x7d032e9c
push ebx
lea eax, [ebp - 0x210]
push dword [ebp + 0x14]
push eax
call edi
jmp 0x7d032ec0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
lea eax, [ebp - 8]
push eax
push 0x7cf4a298
push 0x7cf4a2a8
push reloc.SHLWAPI.dll_ParseURLA
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x20e], 0
je 0x7d032ed5
push ebx
lea eax, [ebp - 0x210]
push esi
push eax
call edi
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x7d032ef5
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
push 1
pop ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x7d032f73
test al, 6
je 0x7d032f73
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x100]
push 0x40
push eax
push edi
push dword [0x7d04cdfc]
call esi
lea eax, [ebp - 0x80]
push 0x40
inc edi
push eax
push edi
push dword [0x7d04cdfc]
call esi
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x100]
push eax
push 0x134
push 0x762f
push 0x762e
push dword [ebp + 8]
push dword [0x7d04cdfc]
call sym.SHELL32.dll_ShellMessageBoxW
add esp, 0x1c
cmp eax, 7
jne 0x7d032f73
xor ebx, ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc

Function at 0x7d03390d
Capabilities:
Enumerate gui resources
Find taskbar

Disassembly:
push ebx
push esi
xor esi, esi
push edi
mov edi, dword [sym.imp.USER32.dll_FindWindowExW]
push esi
push 0x7cf36168
push esi
push esi
call edi
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
cmp eax, esi
je 0x7d03393a
push esi
push 0xa220
push 0x111
push eax
call ebx
push esi
push 0x7cf3ed9c
push esi
push esi
call edi
cmp eax, esi
je 0x7d033952
push esi
push esi
push 0x561
push eax
call ebx
push esi
push 0x7d0338da
call dword [sym.imp.USER32.dll_EnumWindows]
pop edi
pop esi
pop ebx
ret
Function at 0x7d033bd8
Capabilities:
Create thread
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x7d033b8f
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], esi
je 0x7d033c1d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
cmp eax, esi
mov dword [ebp - 4], eax
je 0x7d033c3b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x7d033c3b
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x7d033c3b
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x7d033afc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, esi
je 0x7d033c3b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x7d037624
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor ebx, ebx
push eax
push ebx
mov edi, dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
push ebx
push ebx
push dword [ebp + 0xc]
xor esi, esi
push dword [ebp + 8]
call edi
test eax, eax
jne 0x7d03767f
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [sym.imp.COMCTL32.dll_Ordinal_71]
mov esi, eax
cmp esi, ebx
je 0x7d03767f
mov eax, dword [ebp - 4]
mov dword [esi], eax
lea eax, [ebp - 4]
push eax
lea eax, [esi + 4]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
test eax, eax
je 0x7d03767f
push esi
call dword [sym.imp.COMCTL32.dll_Ordinal_73]
xor esi, esi
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7d037688
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, 0x80004005
push dword [eax]
add eax, 4
push eax
push 3
push 0
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x7d0376b0
xor esi, esi
mov eax, esi
pop esi
ret 0xc
Function at 0x7d0376b6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push esi
lea eax, [ebp - 0x10]
push edi
push eax
lea eax, [ebp - 0x238]
xor edi, edi
push eax
push edi
push edi
push 0x7cf3e0f8
push dword [ebp + 8]
mov esi, 0x80004005
mov dword [ebp - 0x10], 0x208
call dword [sym.imp.SHLWAPI.dll_SHQueryValueExW]
test eax, eax
jne 0x7d037786
cmp word [ebp - 0x238], di
mov dword [ebp - 8], edi
mov word [ebp - 0xa], di
je 0x7d037772
mov eax, dword [ebp + 0xc]
push ebx
lea esi, [ebp - 0x238]
lea edi, [ebp - 0x238]
mov dword [ebp - 4], eax
mov ax, word [esi]
push eax
call fcn.7d037619
mov ebx, eax
mov ax, word [esi]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.7d037624
mov esi, eax
test esi, esi
je 0x7d037759
lea eax, [ebp - 0x30]
push 0xf
push eax
push ebx
call fcn.7d0375fe
lea eax, [ebp - 0x30]
push esi
push eax
push dword [ebp + 8]
call fcn.7d037688
push esi
call dword [sym.imp.COMCTL32.dll_Ordinal_73]
mov eax, dword [ebp - 4]
inc dword [ebp - 8]
add dword [ebp - 4], 4
inc edi
inc edi
mov dword [eax], ebx
mov esi, edi
cmp word [edi], 0
jne 0x7d037715
xor edi, edi
pop ebx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
shl eax, 2
or dword [ecx + eax], 0xffffffff
mov ecx, dword [ebp + 0x10]
xor esi, esi
mov dword [ecx], eax
mov eax, esi
pop edi
pop esi
leave
ret 0xc