joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70e92750
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x70e92914
pushal
mov esi, 0x70e90015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x70e9277a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70e92781
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70e92770
mov eax, 1
add ebx, ebx
jne 0x70e92793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70e92788
jne 0x70e927a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70e92788
xor ecx, ecx
sub eax, 3
jb 0x70e927b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70e9282a
mov ebp, eax
add ebx, ebx
jne 0x70e927c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x70e927d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x70e927f4
inc ecx
add ebx, ebx
jne 0x70e927e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70e927d5
jne 0x70e927f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70e927d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70e92814
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70e92805
jmp 0x70e92776
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70e92814
add edi, ecx
jmp 0x70e92776
pop esi
mov edi, esi
mov ecx, 0x19
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70e92832
cmp byte [edi], 0
jne 0x70e92832
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x70e92837
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x70e928a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70e92864
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12054]
or eax, eax
je 0x70e928a0
mov dword [ebx], eax
add ebx, 4
jmp 0x70e92881
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70e928d7
cmp al, 0xef
ja 0x70e928ca
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70e928ac
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70e928b9
mov ebp, dword [esi + 0x12058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x70e9290b
sub esp, 0xffffff80
jmp 0x70e81130
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
mov ecx, 0x1ece503c
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x35f06a0a
nop
nop
nop
nop
nop
test eax, eax
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401660
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [section..bss]
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x4016e5
mov eax, ebx
mov dword [esp + 8], 6
shr eax, 4
mov dword [esp], edi
add eax, 1
movzx eax, ax
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
sub esp, 0xc
test eax, eax
je 0x4016e5
mov dword [esp + 4], eax
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
sub esp, 8
test eax, eax
je 0x4016e5
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
sub esp, 4
test eax, eax
je 0x4016e5
mov edi, ebx
and edi, 0xf
je 0x4016de
xor edx, edx
lea esi, [esi]
movzx ecx, word [eax]
add edx, 1
lea eax, [eax + ecx*2 + 2]
cmp edi, edx
jne 0x4016d0
movzx eax, word [eax]
test eax, eax
jne 0x4016f8
mov dword [esi], 0
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
lea edi, [eax + 1]
mov dword [esp + 4], 0
lea eax, [edi + edi]
mov dword [esp + 8], eax
mov eax, dword [0x416008]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
sub esp, 0xc
test eax, eax
je 0x4016e5
mov dword [esp + 8], eax
mov eax, dword [section..bss]
mov dword [esp + 0xc], edi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jg 0x4016ed
mov eax, dword [esi]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [0x416008]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
sub esp, 0xc
jmp 0x4016e5

Function at 0x4059e0
Capabilities:
Get graphical window text

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 4], 0x87
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 8
test eax, eax
je 0x405a90
mov dword [esp + 8], 0x1d
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
sub esp, 0xc
test eax, eax
jle 0x405a60
mov dword [esp], esi
call fcn.00401b80
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
test eax, eax
jle 0x405a60
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf0
mov dword [esp + 4], 0xf9
mov dword [esp], edi
call fcn.00401770
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0xf3
mov dword [esp], edi
call fcn.00401770
xor eax, eax
jmp 0x405a82
Function at 0x405ac0
Capabilities:
Get graphical window text

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [esp + 4], 0x88
mov dword [esp], edi
call dword [sym.imp.USER32.dll_GetDlgItem]
sub esp, 8
test eax, eax
je 0x405b70
mov dword [esp + 8], 0xe
mov ebx, eax
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
sub esp, 0xc
test eax, eax
jle 0x405b40
mov dword [esp], esi
call fcn.00401b80
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
sub esp, 8
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
test eax, eax
jle 0x405b40
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xf0
mov dword [esp + 4], 0xfa
mov dword [esp], edi
call fcn.00401770
xor eax, eax
add esp, 0x10
pop ebx
pop esi
pop edi
ret
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 0xf3
mov dword [esp], edi
call fcn.00401770
xor eax, eax
jmp 0x405b62

Function at 0x406690
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, edx
push ebx
sub esp, 0xb4
lea ebx, [esp + 0x26]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Control_PanelAppearanceClassicSchemes
mov dword [esp + 4], str._s_s
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_wsprintfW]
cmp eax, 0x29
jg 0x4066d0
add esp, 0xb4
pop ebx
pop esi
ret
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x4066c0
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedSize
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
add esp, 0xb4
pop ebx
pop esi
ret

Function at 0x406750
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, eax
sub esp, 0x38
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.Control_PanelAppearanceClassicSchemes
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x406790
add esp, 0x38
pop ebx
ret
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedScheme
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
add esp, 0x38
pop ebx
ret
Function at 0x406880
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
lea edi, [esp + 8]
and esp, 0xfffffff0
push dword [edi - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [edi]
cmp ecx, 5
ja case.default.0x4068a1
mov ebx, ecx
jmp dword [ecx*4 + 0x41148c]
add esi, 0x198
lea esi, cs:[esi]
nop
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x5c
mov dword [esp + 0x14], ecx
lea ecx, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
jne 0x406a00
cmp dword [ebp - 0x20], 3
jne 0x4069b0
cmp dword [ebp - 0x1c], 0x5c
jne 0x4069b0
mov eax, dword [0x41600c]
cmp eax, 0x60
je 0x406954
mov dword [esp + 8], 0x60
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [esp + 4], eax
mov eax, dword [esi]
mov dword [esp], eax
call ebx
sub esp, 0xc
mov dword [esi], eax
mov dword [esp + 8], 0x60
mov eax, dword [0x41600c]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call ebx
mov dword [esi + 4], eax
sub esp, 0xc
lea esp, [ebp - 0xc]
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
add esi, 0x1f8
jmp 0x4068c0
add esi, 0x18
jmp 0x4068c0
add esi, 0x7c
jmp 0x4068c0
add esi, 0xe0
jmp 0x4068c0
add esi, 0x13c
jmp 0x4068c0
mov eax, dword [ebx*4 + 0x411694]
test eax, eax
je case.default.0x4068a1
movdqu xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movdqu xmm1, xmmword [eax + 0x10]
movups xmmword [esi + 0x10], xmm1
movdqu xmm2, xmmword [eax + 0x20]
movups xmmword [esi + 0x20], xmm2
movdqu xmm3, xmmword [eax + 0x30]
movups xmmword [esi + 0x30], xmm3
movdqu xmm4, xmmword [eax + 0x40]
movups xmmword [esi + 0x40], xmm4
movdqu xmm5, xmmword [eax + 0x4c]
movups xmmword [esi + 0x4c], xmm5
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
lea esp, [edi - 8]
pop edi
ret
mov eax, dword [ebx*4 + 0x411694]
jmp 0x4069bb
Function at 0x406a70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov esi, dword [esp + 0x100]
lea ebx, [esp + 0x56]
mov eax, dword [esi + 8]
mov dword [esp + 8], str.Control_PanelAppearanceClassicSchemes
mov dword [esp + 4], str._s_s
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call dword [sym.imp.USER32.dll_wsprintfW]
cmp eax, 0x28
jg 0x406ac0
mov ebx, dword [esi + 4]
add esp, 0xec
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x2c]
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x406aaa
lea eax, [esp + 0x34]
lea edi, [esp + 0x3a]
mov dword [esp + 0x34], 0x1c
mov dword [esp + 0x14], eax
lea eax, [esp + 0x30]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedSize
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
mov ebx, dword [esi + 4]
jne 0x406aad
cmp dword [esp + 0x30], 1
jne 0x406aad
xor eax, eax
mov word [esp + 0x54], ax
test ebx, ebx
je 0x406aad
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x406b7a
mov ebx, dword [ebx]
test ebx, ebx
je 0x406aaa
mov dword [esp + 4], edi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call ebp
sub esp, 8
test eax, eax
jne 0x406b70
jmp 0x406aad
Function at 0x406ba0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
mov dword [eax], 0
mov dword [eax + 4], 0
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.Control_PanelAppearanceClassicSchemes
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
je 0x406c00
add esp, 0x7c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x30]
lea esi, [esp + 0x36]
mov dword [esp + 0x30], 0x3a
lea edi, [esp + 0x2c]
mov dword [esp + 0x14], ecx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedScheme
mov dword [esp], eax
call ebp
sub esp, 0x18
test eax, eax
lea ecx, [esp + 0x30]
jne 0x406c55
cmp dword [esp + 0x2c], 1
je 0x406d50
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0x3a
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedStyle
mov dword [esp], eax
call ebp
sub esp, 0x18
test eax, eax
jne 0x406bf6
cmp dword [esp + 0x2c], 1
jne 0x406bf6
xor eax, eax
mov dword [esp], esi
mov word [esp + 0x6e], ax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
sub esp, 4
lea eax, [eax + eax + 2]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.SelectedScheme
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
je 0x406d60
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
test ebx, ebx
je 0x406bf6
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x406d12
mov ebx, dword [ebx]
test ebx, ebx
je 0x406bf6
mov dword [esp + 4], esi
mov eax, dword [ebx + 8]
mov dword [esp], eax
call ebp
sub esp, 8
test eax, eax
jne 0x406d08
mov eax, dword [esp + 0x94]
mov dword [eax], ebx
mov dword [esp], ebx
call fcn.00406a70
mov edx, dword [esp + 0x94]
mov dword [edx + 4], eax
add esp, 0x7c
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
xor edx, edx
mov word [esp + 0x6e], dx
jmp 0x406ce3
mov eax, dword [esp + 0x28]
mov dword [esp + 4], str.SelectedStyle
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
sub esp, 8
jmp 0x406ce3
Function at 0x4081c0
Capabilities:
Set registry value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xfc
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [esp + 0x114]
lea ebx, [esp + 0x66]
mov dword [esp + 8], str.Control_PanelAppearanceClassicSchemes
mov dword [esp + 4], str._s_s
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call edi
cmp eax, 0x28
jg 0x408210
add esp, 0xfc
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 2
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
sub esp, 0x24
mov ebp, eax
test eax, eax
jne 0x4081f9
mov eax, dword [esp + 0x110]
mov dword [esp + 0x3c], 1
lea esi, [esp + 0x56]
lea ebx, [eax + 0x254]
mov eax, edi
mov edi, ebp
mov ebp, eax
lea esi, [esi]
mov dword [esp + 8], edi
mov dword [esp + 4], 0x41153c
mov dword [esp], esi
call ebp
cmp eax, 5
jle 0x4082da
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
test eax, eax
sete al
movzx eax, al
and dword [esp + 0x3c], eax
add edi, 1
add ebx, 4
cmp edi, 0x1f
jne 0x408288
mov eax, dword [esp + 0x110]
lea esi, [esp + 0x50]
mov eax, dword [eax + 0x350]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.FlatMenus
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
mov ebx, eax
mov eax, dword [esp + 0x110]
mov eax, dword [eax + 0x34c]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], 4
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0
mov dword [esp + 4], str.Gradients
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub esp, 0x18
or eax, ebx
sete bl
mov eax, dword [esp + 0x3c]
movzx ebx, bl
and ebx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
sub esp, 4
add esp, 0xfc
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x409b70
Capabilities:
Delete registry key

Disassembly:
push esi
push ebx
sub esp, 0xb4
mov ebx, dword [esp + 0xc0]
lea esi, [esp + 0x26]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov dword [esp + 8], str.Control_PanelAppearanceClassicSchemes
mov dword [esp + 4], str._s_s
mov dword [esp + 0xc], eax
mov dword [esp], esi
call dword [sym.imp.USER32.dll_wsprintfW]
cmp eax, 0x29
jg 0x409bb8
add esp, 0xb4
xor eax, eax
pop ebx
pop esi
ret
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0x10000
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x409baa
mov eax, dword [esp + 0x20]
mov dword [esp + 4], 0x411684
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
sub esp, 8
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
test esi, esi
jne 0x409baa
mov edx, dword [0x416080]
mov ecx, dword [ebx]
mov eax, dword [edx]
cmp eax, ecx
jne 0x409c38
jmp 0x409c68
mov edx, dword [eax]
cmp ecx, edx
je 0x409c48
mov eax, edx
test eax, eax
jne 0x409c30
jmp 0x409baa
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, ebx
call fcn.004067f0
add esp, 0xb4
mov eax, 1
pop ebx
pop esi
ret
mov eax, dword [eax]
mov dword [edx], eax
mov eax, ebx
call fcn.004067f0
jmp 0x409c53

Function at 0x409c80
Capabilities:
Delete registry key

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xbc
mov ebx, dword [esp + 0xd4]
mov esi, dword [esp + 0xd0]
lea edi, [esp + 0x26]
mov eax, dword [ebx]
mov ebp, dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [esp + 8], str.Control_PanelAppearanceClassicSchemes
mov dword [esp + 4], str._s_s
mov dword [esp + 0xc], eax
mov dword [esp], edi
call dword [sym.imp.USER32.dll_wsprintfW]
cmp eax, 0x29
jg 0x409cd8
add esp, 0xbc
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x20]
mov dword [esp + 0xc], 0x10000
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
sub esp, 0x14
test eax, eax
jne 0x409cc8
mov eax, dword [esp + 0x20]
mov dword [esp + 4], ebp
mov dword [esp], eax
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
sub esp, 8
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
test edi, edi
jne 0x409cc8
mov edx, dword [esi]
mov ecx, dword [ebx]
mov eax, dword [edx + 4]
cmp eax, ecx
jne 0x409d48
jmp 0x409d78
mov edx, dword [eax]
cmp ecx, edx
je 0x409d58
mov eax, edx
test eax, eax
jne 0x409d40
jmp 0x409cc8
mov edx, dword [ecx]
mov dword [eax], edx
mov eax, ebx
call fcn.004067f0
add esp, 0xbc
mov eax, 1
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [eax]
mov dword [edx + 4], eax
mov eax, ebx
call fcn.004067f0
jmp 0x409d63
Function at 0x40a120
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea eax, [ebp - 0x80]
push ebx
push ecx
sub esp, 0xb8
mov esi, dword [ecx]
mov ebx, dword [ecx + 4]
movdqu xmm0, xmmword [0x411e00]
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.Control_PanelAppearance
mov dword [esp], 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
sub esp, 0x24
test eax, eax
je 0x40a260
mov dword [ebp - 0x80], 0
lea edx, [ebp - 0x7c]
lea edi, [ebp - 0x58]
mov eax, dword [esi]
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], 0x24
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], 0x83
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [esp], edx
call dword [sym.imp.COMDLG32.DLL_ChooseColorW]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x40a209
mov eax, dword [ebp - 0x70]
mov ebx, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x40a24f
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 3
mov dword [esp + 8], 0
mov dword [esp + 4], str.CustomColors
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x80]
sub esp, 0x18
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
sub esp, 4
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
lea edx, [ebp - 0x7c]
lea edi, [ebp - 0x58]
mov dword [ebp - 0x7c], 0x40
mov dword [esp + 0x14], edx
mov dword [ebp - 0x8c], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.CustomColors
mov eax, dword [ebp - 0x80]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x8c]
sub esp, 0x18
jmp 0x40a1b8
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
jmp 0x431219