Function at 0x42b140
Capabilities:
Delete registry key
Get file system object information
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0xa68
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0xf7
mov eax, dword [esi + 0x12c]
push eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push 2
mov edi, eax
push 0xffffffffffffffff
push 0x100c
push edi
call ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 4
push ecx
push 0
push 0x1005
push edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 0
call ebp
test eax, eax
je 0x42b5d7
mov eax, dword [esi + 0x12c]
lea edx, [esp + 0x58]
push 0x1f
push edx
push 0x101
push eax
call dword [sym.imp.user32.dll_GetDlgItemTextA]
mov eax, dword [esi + 0x13c]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1d0]
push ecx
push edx
push eax
push 0x80000000
mov dword [esp + 0x28], 0x104
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov edi, dword [sym.imp.user32.dll_wsprintfA]
mov ebp, dword [sym.imp.kernel32.dll_lstrcpy]
test eax, eax
jne 0x42b1fc
mov al, byte [esp + 0x1d0]
test al, al
jne 0x42b2ef
mov edx, dword [esi + 0x13c]
lea ecx, [esp + 0x14]
push ecx
push edx
push 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
mov eax, dword [esi + 0x13c]
jne 0x42b238
lea ecx, [esp + 0x1d0]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x42b2ef
inc eax
lea ecx, [esp + 0x5e4]
push eax
push ecx
call ebp
lea edx, [esp + 0x5e4]
push edx
call fcn.004c85b7
add esp, 4
lea eax, [esp + 0x5e4]
lea ecx, [esp + 0x4e0]
push eax
push 0x4eec30
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x5e4]
lea eax, [esp + 0xc8]
push edx
push 0x4ee7dc
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x4e0]
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
mov ebx, dword [sym.imp.advapi32.dll_RegSetValueA]
lea edx, [esp + 0x4e0]
push eax
mov eax, dword [esi + 0x13c]
push edx
push 1
push eax
push 0x80000000
call ebx
lea ecx, [esp + 0xc8]
push ecx
call dword [sym.imp.kernel32.dll_lstrlen]
lea edx, [esp + 0xc8]
push eax
push edx
lea eax, [esp + 0x4e8]
push 1
push eax
push 0x80000000
call ebx
lea ecx, [esp + 0x4e0]
lea edx, [esp + 0x1d0]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42b2fb
mov ebx, dword [eax]
jmp 0x42b301
mov ebx, dword [esi + 0x134]
lea eax, [esp + 0x3d8]
push 0x105
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetShortPathNameA]
mov ecx, dword [esi + 0x138]
lea edx, [esp + 0x1d0]
push ecx
push edx
lea eax, [esp + 0x2dc]
push 0x4eec24
push eax
call edi
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2d4]
push ecx
push 0x20006
push 0
push edx
push 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
test eax, eax
je 0x42b38e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4fbe40
lea edx, [esp + 0x2ec]
push 0
push edx
push 0x80000000
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
test eax, eax
jne 0x42b5d7
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0x6e8]
push eax
push ecx
call ebp
lea edx, [esp + 0x6e8]
push edx
call fcn.004d5806
mov eax, dword [0x4ee058]
add esp, 4
lea ecx, [esp + 0x78]
push eax
push ecx
call ebp
lea edx, [esp + 0x78]
push edx
call fcn.004d5806
add esp, 4
lea eax, [esp + 0x918]
push 0x2000
push 0x160
push eax
push 0
push ebx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
cmp ax, 0x4550
jne 0x42b3f7
lea ecx, [esp + 0x1c]
push 0x4eec1c
push ecx
jmp 0x42b401
lea edx, [esp + 0x1c]
push 0x4eec18
push edx
call edi
add esp, 8
lea eax, [esp + 0x78]
lea ecx, [esp + 0x6e8]
push eax
push ecx
call fcn.004c7f40
add esp, 8
test eax, eax
je 0x42b487
lea edx, [esp + 0x58]
push 0x4ee308
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.advapi32.dll_RegSetValueA]
push 0xc
push 0x4eec08
push 1
push 0x4eec00
push eax
call ebp
mov ecx, dword [0x4ee054]
mov ebx, dword [sym.imp.kernel32.dll_lstrlen]
push ecx
call ebx
mov edx, dword [0x4ee054]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0x4eebec
push eax
call ebp
mov ecx, dword [esp + 0x10]
push 6
push 0x4ee3b4
push 1
push 0x4eebdc
push ecx
call ebp
mov byte [esp + 0x1c], 0
jmp 0x42b4a3
mov edx, dword [esp + 0x10]
push 0x4eec00
push edx
call dword [sym.imp.advapi32.dll_RegDeleteKeyA]
mov ebx, dword [sym.imp.kernel32.dll_lstrlen]
mov ebp, dword [sym.imp.advapi32.dll_RegSetValueA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x58]
push eax
lea edx, [esp + 0x3dc]
push ecx
push edx
lea eax, [esp + 0x7f8]
push 0x4eeb98
push eax
call edi
add esp, 0x14
lea ecx, [esp + 0x7ec]
push ecx
call ebx
lea edx, [esp + 0x7ec]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0x4eebd4
push eax
call ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov edx, dword [esi + 0x138]
push 0x4ee454
push edx
call fcn.004d52d0
add esp, 8
test eax, eax
jne 0x42b5d1
mov eax, dword [esi + 0x138]
lea ecx, [esp + 0x1d0]
push eax
push ecx
lea edx, [esp + 0x2dc]
push 0x4ee7b0
push edx
call edi
mov al, byte [0x4fbe40]
mov ecx, 0x41
mov byte [esp + 0xd8], al
xor eax, eax
lea edi, [esp + 0xd9]
add esp, 0x10
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc8]
push ecx
lea eax, [esp + 0x2d8]
push edx
push eax
push 0x80000000
mov dword [esp + 0x24], 0x105
call dword [sym.imp.advapi32.dll_RegQueryValueA]
mov edi, 0x4eebd0
lea eax, [esp + 0xc8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42b5a4
test cl, cl
je 0x42b5a0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42b5a4
add eax, 2
add edi, 2
test cl, cl
jne 0x42b580
xor eax, eax
jmp 0x42b5a9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42b5d1
lea eax, [esp + 0x3d8]
push eax
call ebx
lea ecx, [esp + 0x3d8]
push eax
push ecx
lea edx, [esp + 0x2dc]
push 1
push edx
push 0x80000000
call ebp
mov dword [esi], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa68
ret