joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e54e
Capabilities:
Delete registry key
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1600
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x1600], edx
mov edx, ecx
mov dword [ebp - 0x15fc], esi
mov ecx, esi
movzx eax, word [ecx + 0x602b10]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x15fa], ax
test ax, ax
jne 0x40e57c
push edi
lea edi, [ebp - 0x15f8]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x40e59d
mov eax, dword [0x5d8e78]
mov esi, ebx
mov dword [edi], eax
xor edi, edi
mov cx, word [ebx]
add ebx, 2
cmp cx, di
jne 0x40e5b4
lea edi, [ebp - 0x15f8]
sub ebx, esi
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, word [ebp - 0x15fc]
jne 0x40e5ca
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x15f8]
sub edi, 2
xor ebx, ebx
mov cx, word [edi + 2]
lea edi, [edi + 2]
cmp cx, bx
jne 0x40e5f3
mov dword [edi], eax
mov esi, edx
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x40e603
lea edi, [ebp - 0x15f8]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x40e619
mov ebx, dword [ebp - 0x1600]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
test ebx, ebx
jne 0x40e655
lea eax, [ebp - 0x15f8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x40e6de
lea eax, [ebp - 0x15fc]
push eax
lea eax, [ebp - 0x15f8]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x2d
je 0x40e6c5
lea edx, [ebp - 0x20c]
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x40e67f
lea ecx, [ebp - 0x20c]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x40e699
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push esi
push ebx
push dword [ebp - 0x15fc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x40e6d2
push ebx
push dword [ebp - 0x15fc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x15fc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x410f2a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x61d9f8], 0
push esi
mov esi, ecx
jne 0x410f4d
push 0
push 0x602ac8
push 0x61d9f8
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0x5db4c0
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41104f
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x410f8e
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x410f95
xor eax, eax
jmp 0x41104e
push edi
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x41104b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x411044
push ebx
push esi
push eax
call fcn.00573f40
and dword [ebp - 4], 0
lea eax, [ebp - 4]
add esp, 0xc
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41103d
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x411009
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
jmp 0x41100b
xor esi, esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test esi, esi
je 0x41103d
mov ecx, dword [esi + 8]
and dword [esi + 8], 0
test ecx, ecx
jne 0x411035
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
jmp 0x41104d
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x411538
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x108]
mov edi, ecx
xor ecx, ecx
mov esi, edx
push eax
push ecx
push ecx
push 0x2e
push ecx
mov byte [ebp - 0x108], cl
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push 0x5db458
mov ebx, 0x104
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0057c7e2
push 0x5db464
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0057c7e2
push str.Custom
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0057c7e2
push str.Custom.sfx
lea eax, [ebp - 0x108]
push ebx
push eax
call fcn.0057c7e2
push 0xa
lea eax, [ebp - 0x208]
push eax
push esi
call fcn.0057cc17
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0x3c
cmp dword [0x602a94], 0
mov esi, str.Shadow.Data
je 0x41164d
test edi, edi
jne 0x4115f9
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.ActiveLeft
push esi
call ebx
cmp edi, 1
jne 0x411614
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.ActiveRight
push esi
call ebx
cmp edi, 2
jne 0x41162f
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.ActiveTop
push esi
call ebx
cmp edi, 3
jne 0x4116b8
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.ActiveBottom
jmp 0x4116b5
test edi, edi
jne 0x411667
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.InactiveLeft
push esi
call ebx
cmp edi, 1
jne 0x411682
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.InactiveRight
push esi
call ebx
cmp edi, 2
jne 0x41169d
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.InactiveTop
push esi
call ebx
cmp edi, 3
jne 0x4116b8
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x208]
push eax
push str.InactiveBottom
push esi
call ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x4157c3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xb
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x34]
pop ecx
mov esi, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [ebp - 0x524], 0xff
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
movsb byte es:[edi], byte [esi]
mov al, byte [ebp + ecx - 0x34]
mov byte [ebp + ecx - 0x51c], al
inc ecx
test al, al
jne 0x4157f6
lea eax, [ebp - 0x520]
push eax
lea eax, [ebp - 0x51c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea eax, [ebp - 0x524]
mov dword [ebp - 0x528], 1
push eax
push ebx
lea eax, [ebp - 0x528]
push eax
push 0
push str.CurrentBuild
push dword [ebp - 0x520]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, str.9200
test eax, eax
je 0x415864
mov esi, ebx
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
mov byte [esi + edx], al
inc edx
test al, al
jne 0x41585a
mov edx, ebx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x415869
sub edx, esi
jne 0x415880
sub ebx, ecx
mov al, byte [ecx]
mov byte [ebx + ecx], al
inc ecx
test al, al
jne 0x415876
push dword [ebp - 0x520]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret

Function at 0x4164b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
xor esi, esi
push SysReAllocString
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41650d
and dword [ebp - 4], eax
push 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Start_TrackProgs
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x416504
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x416514
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x416559
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push 0
push str.Start_TrackProgs
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x418514
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa4]
push 0xa0
push 0
push eax
call fcn.005744c0
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa4], 0xa54
add esp, 0xc
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x98], eax
call fcn.00426438
test eax, eax
js 0x4185a1
cmp dword [ebp - 0xa8], 0xa
jle 0x4185a1
push dword [0x61db80]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x41859c
push 0
push dword [0x61db80]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
inc eax
jmp 0x4185a3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x419cd8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x10c], 0
xor ecx, ecx
push edi
push 4
pop edi
mov dword [ebp - 0x110], edi
mov al, byte [ecx + str.SOFTWAREMicrosoftWindowsDWM]
mov byte [ebp + ecx - 0x104], al
inc ecx
test al, al
jne 0x419cfe
lea eax, [ebp - 0x108]
push eax
push 1
push 0
lea eax, [ebp - 0x104]
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x419d35
xor eax, eax
jmp 0x419d75
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x114]
push eax
push 0
push str.ColorPrevalence
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x41e7d9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x143c
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 0x1434], edx
lea edi, [ebp - 0x3c]
mov edx, ecx
mov ebx, dword [ebp + 0xc]
push 0xd
pop ecx
mov esi, 0x5d8e14
mov dword [ebp - 0x1438], 0xff
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
mov ecx, esi
movzx eax, word [ebp + ecx - 0x3c]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x142e], ax
test ax, ax
jne 0x41e81b
lea edi, [ebp - 0x142c]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x41e839
mov eax, dword [0x5d8e78]
mov dword [edi], eax
lea edi, [ebp - 0x142c]
sub edi, 2
mov cx, word [edi + 2]
add edi, 2
cmp cx, si
jne 0x41e855
mov esi, str.PY.ini
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x142c]
sub edi, 2
xor esi, esi
mov cx, word [edi + 2]
lea edi, [edi + 2]
cmp cx, si
jne 0x41e876
mov dword [edi], eax
mov esi, edx
xor ecx, ecx
mov ax, word [edx]
add edx, 2
cmp ax, cx
jne 0x41e888
lea edi, [ebp - 0x142c]
sub edx, esi
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x41e89e
mov ecx, edx
lea eax, [ebp - 0x1430]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, edx
lea eax, [ebp - 0x142c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x1438]
mov dword [ebp - 0x143c], 1
push eax
push ebx
lea eax, [ebp - 0x143c]
xor edi, edi
push eax
push edi
push dword [ebp - 0x1434]
push dword [ebp - 0x1430]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp + 8]
test eax, eax
je 0x41e91b
mov esi, ebx
mov ecx, edx
sub esi, edx
movzx eax, word [ecx]
mov word [esi + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x41e90c
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x41e920
sub ecx, esi
sar ecx, 1
jne 0x41e942
sub ebx, edx
movzx eax, word [edx]
mov word [ebx + edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x41e933
push dword [ebp - 0x1430]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x41ee17
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0xff
lea ecx, [ebp - 0x104]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov edi, eax
test edi, edi
je 0x41ef01
lea ecx, [edi + 1]
push esi
push ecx
call fcn.0057ae37
mov esi, eax
pop ecx
test esi, esi
je 0x41ef00
push esi
push edi
push 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x41eef9
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x308]
push eax
push 0x5db1fc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x41eef9
mov ecx, dword [ebp - 0x308]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
lea eax, [ebp - 0x304]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x304]
push eax
call fcn.00402fe1
add esp, 0x1c
mov ecx, 0x61e5e8
push eax
lea eax, [ebp - 0x304]
push eax
call fcn.00403189
push esi
call fcn.0057ae42
pop ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x41ef10
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push 0x224
mov eax, 0x595555
call fcn.00571895
mov dword [ebp - 0x214], edx
mov ebx, ecx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x224], ebx
xor eax, eax
push eax
push eax
push eax
push 1
push 0x5dc654
mov dword [ebp - 0x230], eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x228], 0x1f40
test eax, eax
jne 0x41ef70
push 0x5d8e74
mov ecx, ebx
call fcn.00403242
jmp 0x41f0df
push 4
lea ecx, [ebp - 0x228]
push ecx
push 2
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 8
pop ecx
mov esi, str.Accept:___r_n_r_n
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x210]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x41ef9d
mov edi, dword [ebp - 0x218]
lea eax, [ebp - 0x210]
push esi
push 0x4000000
sub ecx, edx
sar ecx, 1
push ecx
push eax
push dword [ebp - 0x214]
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x41efe3
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x41ef5f
push 0x100000
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x224], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [ebp - 0x21c], esi
lea ecx, [ebp - 0x21c]
push ecx
push 0x3ff
push eax
push dword [ebp - 0x220]
mov dword [ebp - 0x214], eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x41f06c
mov edi, dword [ebp - 0x214]
mov ebx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x41f060
add esi, eax
add edi, eax
cmp esi, 0xff800
jg 0x41f060
lea eax, [ebp - 0x21c]
push eax
push 0x3ff
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x41f032
mov ebx, dword [ebp - 0x22c]
mov edi, dword [ebp - 0x218]
mov eax, dword [ebp - 0x214]
xor ecx, ecx
push dword [ebp - 0x220]
mov word [esi + eax], cx
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
call fcn.0043a156
push eax
lea ecx, [ebp - 0x218]
call fcn.0040232f
push dword [ebp - 0x214]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
call fcn.00409ae6
mov esi, dword [ebp - 0x224]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov esi, dword [ebp - 0x218]
add esi, 0xfffffff0
push esi
call fcn.00402ea5
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [ebx], eax
call fcn.0040241e
mov eax, ebx
call fcn.0057183f
ret
Function at 0x41ffba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1a28
call fcn.00571a00
mov eax, dword [0x601ff0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push edi
xor edi, edi
push edi
push edi
push 0x188
push dword [ebx + 0xb08]
call esi
push edi
push edi
push 0x184
push dword [ebx + 0xb08]
mov dword [ebp - 0x1a28], eax
call esi
mov ecx, edi
movzx eax, word [ecx + 0x602a50]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x1a0e], ax
test ax, ax
jne 0x420004
lea edi, [ebp - 0x1a0c]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, cx
jne 0x420026
mov eax, dword [0x5d8e78]
mov dword [edi], eax
lea edi, [ebp - 0x1a0c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x420042
push 0xf
pop ecx
mov esi, str.Groupy.iniGroupyAutoGrouping
lea eax, [ebp - 0x1a18]
rep movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x1a0c]
push eax
push SysReAllocString
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov dword [ebp - 0x1a20], 1
mov esi, ecx
mov dword [ebp - 0x1a14], 0x104
xor eax, eax
push 0x206
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x20e]
push ecx
push eax
call fcn.005744c0
add esp, 0xc
mov dword [ebp - 0x1a1c], 0x104
xor eax, eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x1a1c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x1a20]
push eax
push 0
lea eax, [ebp - 0x1a14]
push eax
lea eax, [ebp - 0x620]
push eax
push esi
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
xor ecx, ecx
inc esi
mov word [ebp - 0xa], cx
mov word [ebp - 0x41a], cx
mov dword [ebp - 0x1a24], esi
cmp eax, 0x103
je 0x42016f
lea eax, [ebp - 0x620]
push eax
lea ecx, [ebp - 0x1a10]
call fcn.00403242
lea eax, [ebp - 0x210]
push eax
call fcn.0057ad5d
pop ecx
push dword [ebp - 0x1a10]
mov esi, eax
push 0
push 0x180
push dword [ebx + 0xb08]
call edi
push esi
push eax
push 0x19a
push dword [ebx + 0xb08]
call edi
mov ecx, dword [ebp - 0x1a10]
lea ecx, [ecx - 0x10]
call fcn.0040241e
mov esi, dword [ebp - 0x1a24]
xor ecx, ecx
jmp 0x420087
push dword [ebp - 0x1a18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push dword [ebp - 0x1a28]
push 0x186
push dword [ebx + 0xb08]
call edi
mov ecx, ebx
call fcn.004237c2
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00570fd6
mov esp, ebp
pop ebp
ret
Function at 0x420342
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5956ce
mov eax, dword fs:[0]
push eax
mov eax, 0x180c
call fcn.00571a00
mov eax, dword [0x601ff0]
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, ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
push eax
push eax
mov edi, 0x184
mov dword [0x61d97c], eax
push edi
push dword [ebx + 0x770]
mov dword [0x602a90], 1
call esi
xor eax, eax
push eax
push eax
push edi
push dword [ebx + 0x288]
call esi
sub esp, 0xc
mov edi, 0x3e7
xor esi, esi
mov dword [0x61d970], esi
push edi
push ecx
mov ecx, esp
push str.winstore_cw5n1h2txyewy_Windows.Store
call fcn.00403242
mov ecx, ebx
call fcn.0041e961
sub esp, 0xc
push edi
push ecx
mov ecx, esp
push str.windows.immersivecontrolpanel_cw5n1h2txyewy_microsoft.windows.immersivecontrolpanel
call fcn.00403242
mov ecx, ebx
call fcn.0041e961
mov ecx, ebx
mov dword [0x61d970], 1
call fcn.0040c5d2
mov dword [0x61d970], esi
mov ecx, esi
movzx eax, word [ecx + str.SOFTWAREStardockModernMix]
lea ecx, [ecx + 2]
mov word [ebp + ecx - 0x180e], ax
test ax, ax
jne 0x420400
lea edi, [ebp - 0x180c]
sub edi, 2
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, si
jne 0x420420
mov eax, dword [0x5d8e78]
mov dword [edi], eax
lea edi, [ebp - 0x180c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x42043c
mov esi, str.PY.ini
lea eax, [ebp - 0x1810]
push eax
lea eax, [ebp - 0x180c]
push eax
movsd dword es:[edi], dword [esi]
push SysReAllocString
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
xor esi, esi
xor eax, eax
push 0x104
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x420]
push eax
push esi
push dword [ebp - 0x1810]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
xor ecx, ecx
inc esi
mov word [ebp - 0x21a], cx
cmp eax, 0x103
je 0x4204e8
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x1818]
call fcn.00403242
and dword [ebp - 4], 0
lea eax, [ebp - 0x420]
sub esp, 0xc
push 0x3e7
push ecx
mov ecx, esp
push eax
call fcn.00403242
mov ecx, ebx
call fcn.0041e961
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1818]
lea ecx, [ecx - 0x10]
call fcn.0040241e
jmp 0x42046d
push dword [ebp - 0x1810]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.00570fd6
mov esp, ebp
pop ebp
ret