Function at 0x42a3b0
Capabilities:
Get file system object information
Get graphical window text
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4d6cfe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd50
mov eax, dword [esp + 0xd60]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0xf7
push eax
mov dword [ebp + 0x12c], eax
call dword [sym.imp.user32.dll_GetDlgItem]
mov ecx, dword [ebp + 0x12c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x288]
push 0x104
push eax
push ecx
call dword [sym.imp.user32.dll_GetWindowTextA]
mov edx, dword [ebp + 0x138]
mov ebx, dword [sym.imp.user32.dll_wsprintfA]
lea eax, [esp + 0x288]
push edx
lea ecx, [esp + 0x188]
push eax
push ecx
call ebx
mov eax, dword [ebp + 0x12c]
add esp, 0xc
lea edx, [esp + 0x184]
push edx
push eax
call dword [sym.imp.user32.dll_SetWindowTextA]
mov edx, dword [ebp + 0x12c]
mov esi, dword [sym.imp.user32.dll_GetDlgItemTextA]
lea ecx, [esp + 0x288]
push 0x104
push ecx
push 0x102
push edx
call esi
mov ecx, dword [ebp + 0x134]
lea eax, [esp + 0x9d4]
push 0x105
push eax
push ecx
call dword [sym.imp.comdlg32.dll_GetFileTitleA]
mov eax, dword [ebp + 0x138]
lea edx, [esp + 0x9d4]
push edx
lea ecx, [esp + 0x28c]
push eax
lea edx, [esp + 0x18c]
push ecx
push edx
call ebx
mov ecx, dword [ebp + 0x12c]
mov edi, dword [sym.imp.user32.dll_SetDlgItemTextA]
add esp, 0x10
lea eax, [esp + 0x184]
push eax
push 0x102
push ecx
call edi
mov eax, dword [ebp + 0x12c]
lea edx, [esp + 0x288]
push 0x104
push edx
push 0xff
push eax
call esi
mov ecx, dword [ebp + 0x138]
lea edx, [esp + 0x288]
push ecx
lea eax, [esp + 0x188]
push edx
push eax
call ebx
mov edx, dword [ebp + 0x12c]
add esp, 0xc
lea ecx, [esp + 0x184]
push ecx
push 0xff
push edx
call edi
mov eax, dword [ebp + 0x12c]
push 0
push 0x1e
push 0xc5
push 0x101
push eax
call dword [sym.imp.user32.dll_SendDlgItemMessageA]
mov esi, dword [esp + 0x10]
push 0xfffffffffffffff0
push esi
call dword [sym.imp.user32.dll_GetWindowLongA]
or al, 8
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.user32.dll_SetWindowLongA]
mov edx, dword [ebp + 0x134]
push 0x4001
lea ecx, [esp + 0xc04]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.shell32.dll_SHGetFileInfo]
push eax
push 1
push 0x1003
push esi
call dword [sym.imp.user32.dll_SendMessageA]
mov dl, byte [0x4fbe40]
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x491]
mov byte [esp + 0x490], dl
mov byte [esp + 0x38c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x38d]
mov edx, dword [ebp + 0x13c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueA]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x490]
push eax
push ecx
push edx
push 0x80000000
mov dword [esp + 0x2c], 0x104
call edi
mov al, byte [esp + 0x490]
lea ecx, [esp + 0x490]
test al, al
mov eax, dword [ebp + 0x138]
push eax
jne 0x42a5ed
mov ecx, dword [ebp + 0x13c]
push ecx
lea edx, [esp + 0x394]
push 0x4eeb7c
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x1c]
lea ecx, [esp + 0xadc]
lea edx, [esp + 0x38c]
push eax
push ecx
push edx
push 0x80000000
mov dword [esp + 0x2c], 0x122
call edi
mov ecx, dword [ebp + 0x140]
cmp ecx, 0xffffffff
jne 0x42a636
xor ecx, ecx
test eax, eax
setne cl
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp + 0x12c]
setne al
push eax
push 0xff
push ecx
call dword [sym.imp.user32.dll_CheckDlgButton]
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
lea edx, [esp + 0x7c]
push 0x105
push edx
push 0
push 0x80000000
mov dword [ebp + 0x154], 1
mov dword [esp + 0x34], 0
call edi
test eax, eax
jne 0x42a988
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x594]
push eax
push 0x4ee740
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x18]
lea eax, [esp + 0x594]
push edx
push eax
push 0x80000000
call dword [sym.imp.advapi32.dll_RegOpenKeyA]
test eax, eax
jne 0x42a965
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x7a4]
push 0x118
push ecx
push eax
push edx
mov dword [esp + 0x30], eax
call edi
test eax, eax
jne 0x42a95a
lea eax, [esp + 0x7a4]
lea ecx, [esp + 0x594]
push eax
push 0x4eeb70
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0x8bc]
lea ecx, [esp + 0x594]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
mov dword [esp + 0x38], 0x118
call dword [sym.imp.advapi32.dll_RegQueryValueA]
test eax, eax
jne 0x42a92a
lea esi, [esp + 0xadc]
lea eax, [esp + 0x8bc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x42a757
test cl, cl
je 0x42a753
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x42a757
add eax, 2
add esi, 2
test cl, cl
jne 0x42a733
xor eax, eax
jmp 0x42a75c
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
lea edx, [esp + 0x7c]
test eax, eax
lea eax, [esp + 0x8bc]
push edx
sete cl
push eax
mov edi, ecx
call fcn.0042ab70
lea ecx, [esp + 0x84]
push 0
push ecx
call fcn.004c818e
add esp, 0x10
test eax, eax
jne 0x42a92a
lea edx, [esp + 0x69c]
push 0x105
lea eax, [esp + 0x80]
push edx
push eax
call dword [sym.imp.comdlg32.dll_GetFileTitleA]
lea ecx, [esp + 0x69c]
push 0x2e
push ecx
call fcn.004c82b0
add esp, 8
test eax, eax
je 0x42a7c5
mov byte [eax], 0
mov eax, dword [ebp + 0x14c]
xor esi, esi
test eax, eax
jle 0x42a827
cmp esi, eax
jge 0x42a7e4
test esi, esi
jl 0x42a7e4
mov edx, dword [ebp + 0x148]
mov eax, dword [edx + esi*4]
jmp 0x42a7e6
xor eax, eax
mov edx, dword [eax + 4]
lea ecx, [esp + 0x69c]
push ecx
push edx
call fcn.004d52d0
add esp, 8
test eax, eax
je 0x42a80b
mov eax, dword [ebp + 0x14c]
inc esi
cmp esi, eax
jl 0x42a7d5
jmp 0x42a827
cmp esi, dword [ebp + 0x14c]
jge 0x42a822
test esi, esi
jl 0x42a822
mov eax, dword [ebp + 0x148]
mov eax, dword [eax + esi*4]
jmp 0x42a824
xor eax, eax
or dword [eax + 0xc], edi
cmp esi, dword [ebp + 0x14c]
jne 0x42a92a
mov al, byte [esp + 0x7c]
test al, al
je 0x42a92a
cmp al, 0x25
je 0x42a92a
push 0x10
call fcn.004c7e90
add esp, 4
mov dword [esp + 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0xd68], esi
je 0x42a875
lea ecx, [esp + 0x7c]
push edi
push ecx
mov ecx, eax
call fcn.0042a1f0
mov dword [esp + 0x14], eax
jmp 0x42a879
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0xd68], 0xffffffff
cmp eax, esi
je 0x42a92a
mov eax, dword [ebp + 0x150]
mov ecx, dword [ebp + 0x14c]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x42a90a
add eax, dword [ebp + 0x158]
lea eax, [eax*4 + 4]
push eax
call fcn.004c7e90
mov ecx, dword [ebp + 0x150]
mov esi, dword [ebp + 0x148]
mov ebx, eax
lea ecx, [ecx*4 + 4]
mov edi, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x148]
push eax
call fcn.004c7e56
mov ecx, dword [ebp + 0x158]
mov eax, dword [ebp + 0x150]
add esp, 8
add eax, ecx
mov dword [ebp + 0x148], ebx
mov ebx, dword [sym.imp.user32.dll_wsprintfA]
mov dword [ebp + 0x150], eax
mov edx, dword [ebp + 0x14c]
mov eax, dword [ebp + 0x148]
mov ecx, dword [esp + 0x14]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 0x14c]
inc eax
mov dword [ebp + 0x14c], eax
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
lea edx, [esp + 0x7a4]
inc eax
push 0x118
push edx
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x24]
push eax
call edi
test eax, eax
je 0x42a6db
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x7c]
inc eax
push 0x105
push edx
push eax
push 0x80000000
mov dword [esp + 0x34], eax
call edi
test eax, eax
je 0x42a683
mov eax, dword [ebp + 0x14c]
cmp eax, 2
jl 0x42a9aa
push 0x42b670
push 4
push eax
mov eax, dword [ebp + 0x148]
push eax
call fcn.004c7fc0
add esp, 0x10
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x2c]
xor ebx, ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], 7
push ecx
push ebx
push 0x1007
push esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x50], 0x4eeb68
mov dword [esp + 0x5c], ebx
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [ebp + 0x14c]
or edi, 0xffffffff
xor eax, eax
cmp ecx, ebx
jle 0x42aa97
mov ecx, dword [ebp + 0x14c]
lea esi, [eax + 1]
cmp eax, ecx
mov dword [esp + 0x30], esi
jge 0x42aa16
test eax, eax
jl 0x42aa16
mov edx, dword [ebp + 0x148]
mov ecx, dword [edx + eax*4]
jmp 0x42aa18
xor ecx, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x14c]
cmp eax, ecx
jge 0x42aa3c
test eax, eax
jl 0x42aa3c
mov edx, dword [ebp + 0x148]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x4c], ecx
jmp 0x42aa44
mov dword [esp + 0x4c], 0
mov ecx, dword [ebp + 0x14c]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ecx
jge 0x42aa65
test eax, eax
jl 0x42aa65
mov edx, dword [ebp + 0x148]
mov eax, dword [edx + eax*4]
jmp 0x42aa67
xor eax, eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x42aa70
mov edi, esi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x2c]
push eax
push 0
push 0x1007
push ecx
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [ebp + 0x14c]
mov eax, esi
cmp eax, ecx
jl 0x42a9f6
mov edx, dword [ebp + 0x138]
push 0x4ee454
push edx
call fcn.004d52d0
add esp, 8
test eax, eax
jne 0x42ab27
mov eax, dword [ebp + 0x13c]
push 0x4ee7c0
push eax
call fcn.004d52d0
add esp, 8
test eax, eax
je 0x42aaf7
mov ecx, dword [ebp + 0x13c]
push 0x4eeb60
push ecx
call fcn.004d52d0
add esp, 8
test eax, eax
je 0x42aaf7
mov edx, dword [ebp + 0x13c]
push 0x4eeb58
push edx
call fcn.004d52d0
add esp, 8
test eax, eax
jne 0x42ab27
mov eax, dword [ebp + 0x12c]
push 0
push 0xff
push eax
call dword [sym.imp.user32.dll_CheckDlgButton]
mov ecx, dword [esp + 0xd70]
push 0
push 0xff
push ecx
call dword [sym.imp.user32.dll_GetDlgItem]
push eax
call dword [sym.imp.user32.dll_EnableWindow]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x54]
push edx
push edi
push 0x102b
push eax
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 3
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [esp + 0xd60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd5c
ret 4