Function at 0x4205b0
Capabilities:
Hide graphical window
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9af9
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
mov eax, dword [0x5021c0]
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 edi, ecx
mov esi, dword [ebp + 8]
cmp esi, 0x8003
jg 0x420927
je 0x420781
mov eax, esi
sub eax, 1
je 0x420606
sub eax, 1
je 0x42060b
jmp 0x420d9b
call fcn.004214b0
lea eax, [ebp - 0x160]
mov dword [ebp - 0x15c], 0
push eax
push dword [edi + 8]
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x160], 0x2c
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp byte [0x507a10], 0
je 0x42071a
push dword [ebp - 0x138]
lea eax, [ebp - 0x40]
push dword [ebp - 0x13c]
push dword [ebp - 0x140]
push dword [ebp - 0x144]
push dword [ebp - 0x148]
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
push dword [ebp - 0x154]
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push str._d__d__d__d__d__d__d__d__d__d
push eax
call fcn.00419200
add esp, 0x30
mov dword [ebp - 4], 0
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
jbe 0x4206f6
mov eax, dword [ebp - 0x40]
push 1
push ecx
push 0
push eax
push 0x4ec428
push str.global
mov ecx, 0x507a38
call fcn.004173a0
lea ecx, [ebp - 0x40]
call fcn.004027a0
jmp 0x42073a
push 0x2c
lea eax, [ebp - 0x160]
push eax
push 0
push 0x4ec428
push str.SoftwaregrepWinNP3
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp esi, 1
jne 0x420771
push 2
push 0xffffffffffffffff
push 0x100c
push 0x3fe
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call esi
test eax, eax
js 0x420771
push 0
push 0
push 0x8014
push dword [edi + 0x2c]
call esi
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x420d9b
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push 0xffffffffffffffff
push 0x100c
push 0x3fe
push dword [edi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x174], eax
test eax, eax
js 0x420d9b
push 0xfffe
call fcn.004ad065
push 0xfffe
mov esi, eax
push 0
push esi
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x178], esi
mov eax, dword [ebp - 0x174]
mov dword [ebp - 4], 1
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x170]
push eax
push 0
push 0x104b
push 0x3fe
push dword [edi + 8]
mov dword [ebp - 0x168], 0
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x158], 0x7fff
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4208a4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00403450
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x48]
call fcn.0041caf0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x420903
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4208f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420dbe
push ecx
push edx
call fcn.004accfd
add esp, 8
push 0
push dword [ebp - 0x174]
push 0x1008
push 0x3fe
push dword [edi + 8]
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
jmp 0x420d93
cmp esi, 0x8007
jne 0x420d9b
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 2
push 0xffffffffffffffff
push 0x100c
push 0x3fe
push dword [edi + 8]
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x174], eax
test eax, eax
js 0x420d9b
push 0xfffe
call fcn.004ad065
push 0xfffe
mov ebx, eax
push 0
push ebx
call fcn.004affe0
add esp, 0x10
mov dword [ebp - 0x178], ebx
mov eax, dword [ebp - 0x174]
mov dword [ebp - 4], 2
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1b4]
push eax
push 0
push 0x104b
push 0x3fe
push dword [edi + 8]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1a8], 0
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x198], 0
mov dword [ebp - 0x194], 0
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1b4], 1
mov dword [ebp - 0x1a0], ebx
mov dword [ebp - 0x19c], 0x7fff
call esi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [edi + 8]
lea ecx, [ebp - 0x90]
call fcn.00427110
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x2c], eax
jmp 0x420a70
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420a70
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403450
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
jbe 0x420a99
mov eax, dword [ebp - 0x40]
push dword [ebp - 0x30]
lea ecx, [ebp - 0x60]
push eax
call fcn.00403a40
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x420ae3
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ad9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420dc3
push ecx
push edx
call fcn.004accfd
add esp, 8
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x90]
push ecx
push 0x402c40
push dword [edi + 8]
mov byte [ebp - 0x70], 0
push 0x83
push eax
mov dword [ebp - 0x8c], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp eax, 1
jne 0x420d65
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x28]
call fcn.004024d0
mov edx, ebx
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x420b25
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
cmp dword [ebp - 0x14], 7
jbe 0x420b40
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x18]
push ebx
call fcn.00405130
add esp, 8
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004027a0
test esi, esi
je 0x420d65
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
jmp 0x420b80
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420b80
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x40]
call fcn.00403450
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [edi + 0x48]
call fcn.0041cd30
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x420bee
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420be4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420dc8
push ecx
push edx
call fcn.004accfd
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x2c], 7
push eax
call fcn.004024d0
lea ecx, [ebp - 0x134]
call fcn.004027a0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004027a0
lea eax, [ebp - 0x134]
push eax
lea ecx, [edi + 0x48]
call fcn.0041c690
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
lea edx, [ecx + 2]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420c93
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x28]
call fcn.00403450
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0x48]
call fcn.0041caf0
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x420cf2
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x420ce8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x420dcd
push ecx
push edx
call fcn.004accfd
add esp, 8
cmp dword [edi + 0x84], 0
jne 0x420d03
lea ecx, [edi + 0x48]
call fcn.0041c420
cmp dword [edi + 0x88], 7
lea eax, [edi + 0x74]
jbe 0x420d11
mov eax, dword [eax]
push 1
push eax
lea ecx, [edi + 0x48]
call fcn.0041e0c0
mov ecx, edi
call fcn.00420de0
lea ecx, [ebp - 0xac]
call fcn.004027a0
lea ecx, [ebp - 0xc4]
call fcn.004027a0
lea ecx, [ebp - 0xec]
call fcn.004027a0
lea ecx, [ebp - 0x104]
call fcn.004027a0
lea ecx, [ebp - 0x11c]
call fcn.004027a0
lea ecx, [ebp - 0x134]
call fcn.004027a0
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x90], vtable.CNameDlg.0
call fcn.004027a0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x420d92
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x84], 0
push ebx
call fcn.004ad06e
add esp, 4
mov eax, 1
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.004accbf
mov esp, ebp
pop ebp
ret 8
call fcn.004b306f
call fcn.004b306f
call fcn.004b306f
call fcn.004b306f
int3