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

Disassembly:
mov eax, 0x1078
call fcn.004bf800
mov eax, dword [esp + 0x107c]
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 + 0x14], eax
lea eax, [esp + 0x29c]
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 + 0x29c]
push edx
lea ecx, [esp + 0x3a4]
push eax
push ecx
call ebx
mov eax, dword [ebp + 0x12c]
add esp, 0xc
lea edx, [esp + 0x3a0]
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 + 0x29c]
push 0x104
push ecx
push 0x102
push edx
call esi
mov ecx, dword [ebp + 0x134]
lea eax, [esp + 0xcfc]
push 0x105
push eax
push ecx
call sub.comdlg32.dll_GetFileTitleA
mov eax, dword [ebp + 0x138]
lea edx, [esp + 0xcfc]
push edx
lea ecx, [esp + 0x2a0]
push eax
lea edx, [esp + 0x3a8]
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 + 0x3a0]
push eax
push 0x102
push ecx
call edi
mov eax, dword [ebp + 0x12c]
lea edx, [esp + 0x29c]
push 0x104
push edx
push 0xff
push eax
call esi
mov ecx, dword [ebp + 0x138]
lea edx, [esp + 0x29c]
push ecx
lea eax, [esp + 0x3a4]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x3a0]
push ecx
mov edx, dword [ebp + 0x12c]
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 + 0x14]
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 + 0xf2c]
push 0x160
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push eax
push 1
push 0x1003
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dl, byte [0x4eb858]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x4a5]
mov byte [esp + 0x4a4], dl
mov byte [esp + 0x5a8], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x5a9]
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 + 0x18]
lea ecx, [esp + 0x4a4]
push eax
push ecx
push edx
push 0x80000000
mov dword [esp + 0x28], 0x104
call edi
mov al, byte [esp + 0x4a4]
lea ecx, [esp + 0x4a4]
test al, al
mov eax, dword [ebp + 0x138]
push eax
jne 0x4310cb
mov ecx, dword [ebp + 0x13c]
push ecx
lea edx, [esp + 0x5b0]
push str._s_shell_scommand
push edx
call ebx
add esp, 0x10
lea eax, [esp + 0x18]
lea ecx, [esp + 0xe04]
lea edx, [esp + 0x5a8]
push eax
push ecx
push edx
push 0x80000000
mov dword [esp + 0x28], 0x122
call edi
mov ecx, dword [ebp + 0x140]
cmp ecx, 0xffffffff
jne 0x431114
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 0x43155d
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x6ac]
push eax
push str._s_shell
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x6ac]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x43153a
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xacc]
push 0x118
push ecx
push eax
push edx
mov dword [esp + 0x30], eax
call edi
test eax, eax
jne 0x43152f
lea eax, [esp + 0xacc]
lea ecx, [esp + 0x6ac]
push eax
push str._scommand
push ecx
call ebx
add esp, 0xc
lea edx, [esp + 0x28]
lea eax, [esp + 0xbe4]
lea ecx, [esp + 0x6ac]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
mov dword [esp + 0x38], 0x118
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
jne 0x4314ff
lea esi, [esp + 0xe04]
lea eax, [esp + 0xbe4]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x431239
test cl, cl
je 0x431235
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x431239
add eax, 2
add esi, 2
test cl, cl
jne 0x431211
xor eax, eax
jmp 0x43123e
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
test eax, eax
lea eax, [esp + 0xbe4]
lea ecx, [esp + 0x184]
push eax
push ecx
sete bl
call edi
lea edx, [esp + 0x184]
push edx
call fcn.004cb052
mov al, byte [esp + 0x188]
add esp, 4
cmp al, 0x22
mov byte [esp + 0x7c], 0
jne 0x43129c
lea eax, [esp + 0x185]
push 0x22
push eax
lea esi, [esp + 0x18d]
call fcn.004bea70
add esp, 8
test eax, eax
je 0x4312dc
jmp 0x4312bf
lea ecx, [esp + 0x184]
push 0x4e08d8
push ecx
lea esi, [esp + 0x18c]
call fcn.004be9b0
add esp, 8
test eax, eax
je 0x4312dc
add eax, 4
lea edx, [esp + 0x7c]
push 0
push edx
push 0x104
push 0x4e08d8
push esi
push 0
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004becfa
add esp, 8
test eax, eax
jne 0x4314f9
lea ecx, [esp + 0x8bc]
push 0x105
lea edx, [esp + 0x80]
push ecx
push edx
call sub.comdlg32.dll_GetFileTitleA
lea eax, [esp + 0x8bc]
push 0x2e
push eax
call fcn.004bea30
add esp, 8
test eax, eax
je 0x431326
mov byte [eax], 0
mov eax, dword [ebp + 0x14c]
xor esi, esi
test eax, eax
jle 0x431388
cmp esi, eax
jge 0x431345
test esi, esi
jl 0x431345
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx + esi*4]
jmp 0x431347
xor eax, eax
mov eax, dword [eax + 4]
lea edx, [esp + 0x8bc]
push edx
push eax
call fcn.004cab10
add esp, 8
test eax, eax
je 0x43136c
mov eax, dword [ebp + 0x14c]
inc esi
cmp esi, eax
jl 0x431336
jmp 0x431388
cmp esi, dword [ebp + 0x14c]
jge 0x431383
test esi, esi
jl 0x431383
mov ecx, dword [ebp + 0x148]
mov eax, dword [ecx + esi*4]
jmp 0x431385
xor eax, eax
or dword [eax + 0xc], ebx
cmp esi, dword [ebp + 0x14c]
jne 0x4314f9
mov al, byte [esp + 0x7c]
test al, al
je 0x4314f9
cmp al, 0x25
je 0x4314f9
push 0x10
call fcn.004be967
mov esi, eax
add esp, 4
test esi, esi
je 0x431451
lea edx, [esp + 0x7c]
lea eax, [esp + 0x9c4]
push edx
push eax
call edi
lea ecx, [esp + 0x9c4]
push 0
push ecx
push 0x105
lea edx, [esp + 0x88]
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathA]
lea eax, [esp + 0x9c4]
push eax
call fcn.0044a200
add esp, 4
lea ecx, [esp + 0x7b4]
lea edx, [esp + 0x7c]
mov dword [esi], eax
push 0x105
push ecx
push edx
call sub.comdlg32.dll_GetFileTitleA
lea eax, [esp + 0x7b4]
push 0x2e
push eax
call fcn.004bea30
add esp, 8
test eax, eax
je 0x43142e
mov byte [eax], 0
lea ecx, [esp + 0x7b4]
push ecx
call fcn.0044a200
add esp, 4
mov dword [esi + 4], eax
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], ebx
mov dword [esp + 0x1c], esi
jmp 0x431459
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4314f9
mov eax, dword [ebp + 0x150]
mov ecx, dword [ebp + 0x14c]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x4314d9
add eax, dword [ebp + 0x158]
lea eax, [eax*4 + 4]
push eax
call fcn.004be967
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.004be975
mov ecx, dword [ebp + 0x158]
mov eax, dword [ebp + 0x150]
add esp, 8
add eax, ecx
mov dword [ebp + 0x148], ebx
mov dword [ebp + 0x150], eax
mov edx, dword [ebp + 0x14c]
mov eax, dword [ebp + 0x148]
mov ecx, dword [esp + 0x1c]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp + 0x14c]
inc eax
mov dword [ebp + 0x14c], eax
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edx, [esp + 0xacc]
inc eax
push 0x118
push edx
mov dword [esp + 0x28], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call edi
test eax, eax
je 0x4311b9
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
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 0x431161
mov eax, dword [ebp + 0x14c]
cmp eax, 2
jl 0x43157f
push 0x4321d0
push 4
push eax
mov eax, dword [ebp + 0x148]
push eax
call fcn.004beb2c
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], 0x4e0c80
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 0x43166c
mov ecx, dword [ebp + 0x14c]
lea esi, [eax + 1]
cmp eax, ecx
mov dword [esp + 0x30], esi
jge 0x4315eb
test eax, eax
jl 0x4315eb
mov edx, dword [ebp + 0x148]
mov ecx, dword [edx + eax*4]
jmp 0x4315ed
xor ecx, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebp + 0x14c]
cmp eax, ecx
jge 0x431611
test eax, eax
jl 0x431611
mov edx, dword [ebp + 0x148]
mov ecx, dword [edx + eax*4]
mov dword [esp + 0x4c], ecx
jmp 0x431619
mov dword [esp + 0x4c], 0
mov ecx, dword [ebp + 0x14c]
mov dword [esp + 0x48], 0xffffffff
cmp eax, ecx
jge 0x43163a
test eax, eax
jl 0x43163a
mov edx, dword [ebp + 0x148]
mov eax, dword [edx + eax*4]
jmp 0x43163c
xor eax, eax
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x431645
mov edi, esi
mov ecx, dword [esp + 0x14]
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 0x4315cb
mov edx, dword [ebp + 0x138]
push str.open
push edx
call fcn.004cab10
add esp, 8
test eax, eax
jne 0x4316fc
mov eax, dword [ebp + 0x13c]
push 0x4e08d8
push eax
call fcn.004cab10
add esp, 8
test eax, eax
je 0x4316cc
mov ecx, dword [ebp + 0x13c]
push str..bat
push ecx
call fcn.004cab10
add esp, 8
test eax, eax
je 0x4316cc
mov edx, dword [ebp + 0x13c]
push str..com
push edx
call fcn.004cab10
add esp, 8
test eax, eax
jne 0x4316fc
mov eax, dword [ebp + 0x12c]
push 0
push 0xff
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
mov ecx, dword [esp + 0x108c]
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 + 0x14]
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]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1078
ret 4