Function at 0x42b2de
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5f0
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
mov esi, ecx
push edi
push 0x194
mov eax, dword [esi + 8]
push eax
call ebp
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esi + 8]
push 0
push 1
push ecx
call ebp
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call edi
mov edx, dword [esi + 8]
push 0
push 5
push edx
call ebp
push eax
call edi
mov eax, dword [esi + 8]
push 0
push 7
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push 6
push ecx
call ebp
push eax
call edi
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x60]
xor edi, edi
push edx
push edi
push eax
call fcn.0044a190
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.0044aba0
mov edx, dword [esi + 8]
add esp, 0x18
lea ecx, [esp + 0xd8]
push ecx
push 0x1a7
push edx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esi + 0x14]
lea ecx, [eax + 0x310]
add eax, 0x106
push ecx
push edi
push edi
push 0x10
push edi
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
cmp eax, edi
jge 0x42b3b1
mov edx, dword [esi]
push 0x30
push eax
push 0x22d
push edx
call fcn.0044afc0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5f0
ret
push 0x88
call fcn.004be967
add esp, 4
cmp eax, edi
je 0x42b3ef
mov dword [eax + 0x60], edi
mov dword [eax + 0x68], edi
mov dword [eax + 0x70], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov word [eax + 8], di
mov dword [eax + 0x5c], edi
mov dword [eax + 0x64], edi
mov dword [eax + 0x6c], edi
mov dword [eax + 0x74], edi
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], edi
mov byte [eax + 0x80], 0
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 0x310]
mov dword [edi + 4], 0
mov dword [edi], ecx
mov byte [edi + 0x80], 1
mov edx, dword [esi + 0x14]
lea eax, [edi + 8]
add edx, 0x106
push edx
push eax
call fcn.0044c3d0
mov edx, dword [esi]
add esp, 8
lea ecx, [esp + 0x2cc]
push 0x28
push ecx
push 0x84
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [esp + 0x24]
xor eax, eax
lea ecx, [esp + 0x2cc]
push edx
mov dword [esp + 0x40], ecx
push eax
mov ecx, 6
mov dword [esp + 0x58], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x1100
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xffff0003
mov dword [esp + 0x3c], 0x2f
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x48], 0xf00
mov dword [esp + 0x44], eax
call edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x42bc07
jmp 0x42b4a0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push eax
push 3
push 0x110a
push ebx
call edi
push eax
push 2
push 0x1102
push ebx
call edi
mov ebp, dword [esp + 0x10]
push ebp
push 9
push 0x110b
push ebx
call edi
push ebp
push 0
push 0x1114
push ebx
call edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebp
push ebx
call fcn.0044cf60
mov cl, byte [0x4eb858]
mov ebp, eax
mov byte [esp + 0x400], cl
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x401]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x5c]
add esp, 8
test eax, eax
mov dword [esp + 0x18], ebp
je 0x42b520
lea edx, [esp + 0x3f8]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push edx
push 0
mov ecx, dword [eax]
push 0
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
jl 0x42bb88
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x42bb7e
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x6c]
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x42bb7e
mov dl, byte [0x4eb858]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1c9]
mov byte [esp + 0x1c8], dl
mov byte [esp + 0x2f4], 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 + 0x2f5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [esp + 0x68]
stosb byte es:[edi], al
xor edi, edi
lea eax, [esp + 0x2f4]
push edi
push edi
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x42b627
mov cl, byte [esp + 0x2f4]
lea eax, [esp + 0x2f4]
test cl, cl
je 0x42b607
mov cl, byte [eax]
cmp cl, 0x2a
jne 0x42b5ed
mov byte [eax], 0x2e
jmp 0x42b5ff
cmp cl, 0x3f
jne 0x42b5f7
mov byte [eax], 0x21
jmp 0x42b5ff
cmp cl, 0x7c
jne 0x42b5ff
mov byte [eax], 0x3a
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x42b5e1
lea edx, [esp + 0x2f4]
lea eax, [esp + 0x3f8]
push edx
lea ecx, [esp + 0x1cc]
push eax
push ecx
call fcn.0044a2d0
add esp, 0xc
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x42b9ae
mov eax, dword [ebp]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [eax]
push edi
push edi
push 0x10
push edi
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
jl 0x42bb75
push 0x88
call fcn.004be967
add esp, 4
cmp eax, edi
je 0x42b694
mov dword [eax + 0x60], edi
mov dword [eax + 0x68], edi
mov dword [eax + 0x70], edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov word [eax + 8], di
mov dword [eax + 0x5c], edi
mov dword [eax + 0x64], edi
mov dword [eax + 0x6c], edi
mov dword [eax + 0x74], edi
mov dword [eax + 0x78], edi
mov dword [eax + 0x7c], edi
mov byte [eax + 0x80], 0
mov ebp, eax
jmp 0x42b696
xor ebp, ebp
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2f4]
mov dword [ebp], edx
push eax
mov dword [esp + 0x40], ecx
push 3
xor ecx, ecx
push 0x110a
push ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xffff0003
mov dword [esp + 0x3c], 0x2f
mov dword [esp + 0x54], 6
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
test edi, edi
jne 0x42b789
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea edx, [esp + 0x1c8]
push str.Local
push edx
call edi
test eax, eax
jne 0x42b712
mov dword [esp + 0x44], eax
jmp 0x42b766
lea eax, [esp + 0x1c8]
push str.Remote
push eax
call edi
test eax, eax
jne 0x42b73d
mov al, byte [ebp + 0x80]
or al, 4
mov byte [ebp + 0x80], al
mov dword [esp + 0x44], 1
jmp 0x42b766
lea ecx, [esp + 0x1c8]
push str.Removable
push ecx
call edi
test eax, eax
jne 0x42b766
mov al, byte [ebp + 0x80]
or al, 2
mov byte [ebp + 0x80], al
mov dword [esp + 0x44], 2
mov byte [esp + 0x1c8], 0
mov al, byte [ebp + 0x80]
or al, 1
mov dword [esp + 0x14], 0
mov byte [ebp + 0x80], al
jmp 0x42b8f5
push 0
push 0
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jne 0x42b84a
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 3
test byte [eax + 0x80], 2
je 0x42b7d5
mov cl, byte [ebp + 0x80]
or cl, 2
mov byte [ebp + 0x80], cl
mov dword [esp + 0x44], 5
mov byte [esp + 0x1c8], 0
test byte [eax + 0x80], 4
je 0x42b84a
mov cl, byte [ebp + 0x80]
or cl, 4
mov byte [ebp + 0x80], cl
mov al, byte [esp + 0x1c9]
cmp al, 0x3a
mov dword [esp + 0x44], 4
je 0x42b84a
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x1c8]
lea eax, [esp + 0x4fc]
push edx
push eax
mov dword [esp + 0x1c], 0
call edi
lea ecx, [esp + 0x1c8]
push 0x4e0ac8
push ecx
call edi
lea edx, [esp + 0x4fc]
lea eax, [esp + 0x1c8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x42b8f5
test byte [ebp + 0x80], 1
jne 0x42b8f5
mov eax, dword [esi + 0x34]
mov ecx, dword [esp + 0x70]
mov edi, dword [esi + 0x28]
mov edx, dword [esp + 0x74]
inc eax
add edi, ecx
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x2c]
push 0
mov dword [esi + 0x34], eax
push eax
mov eax, dword [esi + 8]
adc edi, edx
push 0x195
push eax
mov dword [esi + 0x2c], edi
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov cx, word [0x4e0ab4]
xor eax, eax
mov word [esp + 0x128], cx
mov ecx, 0x13
lea edi, [esp + 0x12a]
lea edx, [esp + 0x129]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x28]
push edx
stosw word es:[edi], ax
mov eax, dword [esi + 0x2c]
push eax
push ecx
call fcn.0044aba0
add esp, 0xc
lea edx, [esp + 0x128]
push 0x4e0ab0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x128]
push eax
push 0x198
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x80]
and eax, 2
mov dword [esp + 0x5c], eax
jne 0x42b953
mov eax, dword [esp + 0x14]
test eax, eax
je 0x42b953
mov al, byte [esp + 0x1c8]
test al, al
je 0x42b953
lea ecx, [esp + 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42b953
mov ecx, dword [esi + 0x3c]
mov dword [esp + 0x38], 0xf00
inc ecx
mov dword [esp + 0x34], 0x100
mov dword [esi + 0x3c], ecx
mov al, byte [ebp + 0x80]
or al, 8
mov byte [ebp + 0x80], al
lea edx, [esp + 0x1c8]
push edx
call fcn.0044a200
mov cl, byte [ebp + 0x80]
mov dword [ebp + 0x5c], eax
mov al, byte [esp + 0x60]
lea edx, [ebp + 8]
or cl, al
mov byte [ebp + 0x80], cl
mov ecx, dword [esp + 0x6c]
push ecx
push edx
call fcn.0044c3d0
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], ebp
push ecx
push 0
push 0x1100
push ebx
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, dword [esp + 0x18]
jmp 0x42bb73
cmp eax, 2
jne 0x42bb75
lea edx, [esp + 0x2f4]
push str.Info
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x42bb75
lea eax, [esp + 0x2f4]
push str.Index
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x42ba0c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x64], ecx
mov edx, dword [esi + 0x28]
add edx, eax
mov dword [esi + 0x28], edx
mov eax, dword [esi + 0x2c]
adc eax, ecx
mov dword [esi + 0x2c], eax
jmp 0x42bb75
test byte [ebp + 0x80], 2
jne 0x42ba50
lea ecx, [esp + 0x1c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42ba50
mov eax, dword [esi + 0x38]
mov ecx, dword [esp + 0x70]
inc eax
mov dword [esi + 0x38], eax
mov edx, dword [ebp + 0x70]
mov eax, dword [esp + 0x74]
add edx, ecx
mov dword [ebp + 0x70], edx
mov edx, dword [ebp + 0x74]
adc edx, eax
mov dword [ebp + 0x74], edx
mov edx, dword [ebp + 0x7c]
inc edx
mov dword [ebp + 0x7c], edx
jmp 0x42ba58
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edx, dword [esi + 0x30]
inc edx
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x20]
add edx, ecx
mov dword [esi + 0x20], edx
mov edx, dword [esi + 0x24]
adc edx, eax
mov dword [esi + 0x24], edx
mov edx, dword [ebp + 0x78]
inc edx
add dword [ebp + 0x68], ecx
mov ecx, dword [ebp + 0x6c]
mov dword [ebp + 0x78], edx
adc ecx, eax
cmp edx, 1
mov dword [ebp + 0x6c], ecx
jne 0x42bae4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xb0]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x110c
push ebx
mov dword [esp + 0xc0], 8
mov dword [esp + 0xc4], edx
mov dword [esp + 0xcc], 0xf00
call edi
mov ecx, dword [esp + 0xb8]
lea edx, [esp + 0xb0]
push edx
push 0
and cl, 0
or ch, 2
push 0x110d
push ebx
mov dword [esp + 0xc8], ecx
call edi
mov ecx, dword [esi + 0x30]
mov edi, 0xa
mov eax, ecx
cdq
idiv edi
test edx, edx
jne 0x42bb73
mov eax, dword [esi + 8]
push edx
push ecx
push 0x196
push eax
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov cx, word [0x4e0ab4]
xor eax, eax
mov word [esp + 0x178], cx
mov ecx, 0x13
lea edi, [esp + 0x17a]
lea edx, [esp + 0x179]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x20]
push edx
stosw word es:[edi], ax
mov eax, dword [esi + 0x24]
push eax
push ecx
call fcn.0044aba0
add esp, 0xc
lea edx, [esp + 0x178]
push 0x4e0ab0
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x178]
push eax
push 0x197
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
xor edi, edi
cmp dword [esi + 0x1c], edi
je 0x42b547
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, dword [esp + 0x10]
push edi
push 4
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jne 0x42bbef
jmp 0x42bba7
mov edi, dword [esp + 0x10]
push edi
push ebx
call fcn.0044cf60
mov ebp, eax
add esp, 8
mov eax, dword [ebp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push edi
push 1
push 0x110a
push ebx
mov dword [ebp], 0
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
test ebp, ebp
jne 0x42bbef
push edi
push 3
push 0x110a
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x42bba3
test ebp, ebp
mov dword [esp + 0x10], ebp
jne 0x42b496
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1c]
push 0
test eax, eax
je 0x42bc27
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5f0
ret
push 0
push 0x110a
push ebx
call edi
push eax
push 9
push 0x110b
push ebx
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x1114
push ebx
call edi
mov edx, dword [esi + 0x34]
mov eax, dword [esi + 8]
mov edi, dword [sym.imp.USER32.dll_SetDlgItemInt]
push 0
push edx
push 0x195
push eax
call edi
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 8]
push 0
push ecx
push 0x196
push edx
call edi
lea eax, [esp + 0xd8]
push 0x4e0ab4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0xd9]
push ecx
push edx
push eax
call fcn.0044aba0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
lea ecx, [esp + 0xd8]
push 0x4e0ab0
push ecx
call edi
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea edx, [esp + 0xd8]
push edx
push 0x198
push eax
call ebx
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0xd9]
push ecx
push edx
push eax
call fcn.0044aba0
add esp, 0xc
lea ecx, [esp + 0xd8]
push 0x4e0ab0
push ecx
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0xd8]
push edx
push 0x197
push eax
call ebx
mov ecx, esi
call fcn.0042b170
mov ecx, dword [esi + 8]
push 1
push 1
push ecx
call ebp
push eax
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
call edi
mov edx, dword [esi + 8]
push 1
push 5
push edx
call ebp
push eax
call edi
mov eax, dword [esi + 8]
push 1
push 7
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 8]
push 1
push 6
push ecx
call ebp
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5f0
ret