Function at 0x445a20
Capabilities:
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 0x445eaa
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_lstrcpyA]
test eax, eax
jne 0x445adc
mov al, byte [esp + 0x1d0]
test al, al
jne 0x445bcf
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 0x445b18
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 0x445bcf
inc eax
lea ecx, [esp + 0x5e4]
push eax
push ecx
call ebp
lea edx, [esp + 0x5e4]
push edx
call fcn.004a8197
add esp, 4
lea eax, [esp + 0x5e4]
lea ecx, [esp + 0x4e0]
push eax
push str._s_auto_file
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0x5e4]
lea eax, [esp + 0xc8]
push edx
push 0x4eef64
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0x4e0]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
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_lstrlenA]
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 0x445bdb
mov ebx, dword [eax]
jmp 0x445be1
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 str._s_shell_s
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 0x445c6e
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x4f55a8
lea edx, [esp + 0x2ec]
push 0
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x445eaa
lea eax, [esp + 0x3d8]
lea ecx, [esp + 0x6e8]
push eax
push ecx
call ebp
lea edx, [esp + 0x6e8]
push edx
call fcn.004bb322
mov eax, dword [0x4ed224]
add esp, 4
lea ecx, [esp + 0x78]
push eax
push ecx
call ebp
lea edx, [esp + 0x78]
push edx
call fcn.004bb322
add esp, 4
lea eax, [esp + 0x918]
push 0x2000
push 0x160
push eax
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
cmp ax, 0x4550
jne 0x445cd7
lea ecx, [esp + 0x1c]
push str.___1_
push ecx
jmp 0x445ce1
lea edx, [esp + 0x1c]
push 0x4eef4c
push edx
call edi
add esp, 8
lea eax, [esp + 0x78]
lea ecx, [esp + 0x6e8]
push eax
push ecx
call fcn.004a8fec
add esp, 8
test eax, eax
je 0x445d57
lea edx, [esp + 0x58]
push str._dde
push edx
call ebp
mov eax, dword [esp + 0x10]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0xc
push str._open___1___
push 1
push str.DDEExec
push eax
call ebp
mov ecx, dword [esp + 0x10]
push 7
push 0x4ed560
push 1
push str.DDEExecApplication
push ecx
call ebp
mov edx, dword [esp + 0x10]
push 6
push str.System
push 1
push str.DDEExecTopic
push edx
call ebp
mov byte [esp + 0x1c], 0
jmp 0x445d6f
mov eax, dword [esp + 0x10]
push str.DDEExec
push eax
call fcn.00470870
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
add esp, 8
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x58]
push ecx
lea eax, [esp + 0x3dc]
push edx
push eax
lea ecx, [esp + 0x7f8]
push str._s__s__s
push ecx
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x14
lea edx, [esp + 0x7ec]
push edx
call ebx
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esp + 0x7f0]
push eax
push 1
push str.command
push ecx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0x138]
push str.open
push eax
call fcn.004b3100
add esp, 8
test eax, eax
jne 0x445ea4
mov ecx, dword [esi + 0x138]
lea edx, [esp + 0x1d0]
push ecx
push edx
lea eax, [esp + 0x2dc]
push str._sDefaultIcon
push eax
call edi
mov cl, byte [0x4f55a8]
xor eax, eax
mov byte [esp + 0xd8], cl
mov ecx, 0x41
lea edi, [esp + 0xd9]
add esp, 0x10
rep stosd dword es:[edi], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0xc8]
push edx
lea ecx, [esp + 0x2d8]
push eax
push ecx
push 0x80000000
mov dword [esp + 0x24], 0x105
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, 0x4eeef4
lea eax, [esp + 0xc8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x445e77
test cl, cl
je 0x445e73
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x445e77
add eax, 2
add edi, 2
test cl, cl
jne 0x445e53
xor eax, eax
jmp 0x445e7c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x445ea4
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