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

Disassembly:
sub esp, 0x5f0
push ebx
mov ebx, dword [sym.imp.user32.dll_GetDlgItem]
push ebp
push esi
mov esi, ecx
push edi
push 0x194
mov eax, dword [esi + 8]
push eax
call ebx
mov ebp, eax
push ebp
call dword [sym.imp.user32.dll_SetFocus]
mov ecx, dword [esi + 8]
push 0
push 1
push ecx
call ebx
mov edi, dword [sym.imp.user32.dll_EnableWindow]
push eax
call edi
mov edx, dword [esi + 8]
push 0
push 5
push edx
call ebx
push eax
call edi
mov eax, dword [esi + 8]
push 0
push 7
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 8]
push 0
push 6
push ecx
call ebx
push eax
call edi
mov eax, dword [esi + 0x14]
lea edx, [esp + 0x60]
push edx
push 0
push eax
call fcn.00442b60
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0xe4]
push ecx
push edx
push eax
call fcn.00443540
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 0
push 0
push 0x10
push 0
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
test eax, eax
jge 0x424753
mov edx, dword [esi]
push 0x30
push eax
push 0x22d
push edx
call fcn.00443960
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5f0
ret
push 0x88
call fcn.004c7e90
add esp, 4
test eax, eax
je 0x42476f
mov ecx, eax
call fcn.00423b00
mov edi, eax
jmp 0x424771
xor edi, edi
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.00444d50
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 ebp
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 0x424f26
jmp 0x424822
mov edi, dword [sym.imp.user32.dll_SendMessageA]
mov eax, dword [esp + 0x10]
push eax
push 3
push 0x110a
push ebp
call edi
push eax
push 2
push 0x1102
push ebp
call edi
mov ebx, dword [esp + 0x10]
push ebx
push 9
push 0x110b
push ebp
call edi
push ebx
push 0
push 0x1114
push ebp
call edi
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.user32.dll_UpdateWindow]
push ebx
push ebp
call fcn.004458e0
mov cl, byte [0x4fbe40]
mov ebx, eax
mov byte [esp + 0x400], cl
mov ecx, pe_nt_image_headers32
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 [ebx + 0x5c]
add esp, 8
test eax, eax
mov dword [esp + 0x18], ebx
je 0x4248a2
lea edx, [esp + 0x3f8]
push eax
push edx
call dword [sym.imp.kernel32.dll_lstrcpy]
mov eax, dword [ebx]
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 0x424ea9
mov eax, dword [esi + 0x1c]
test eax, eax
jne 0x424e9f
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 0x424e9f
mov dl, byte [0x4fbe40]
mov ecx, pe_nt_image_headers32
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, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x2f5]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x68]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2f4]
push eax
push ecx
call fcn.00421f50
add esp, 8
test eax, eax
je 0x424965
lea edx, [esp + 0x2f4]
lea eax, [esp + 0x3f8]
push edx
lea ecx, [esp + 0x1cc]
push eax
push ecx
call fcn.00442e30
add esp, 0xc
mov eax, dword [esp + 0x6c]
cmp eax, 1
jne 0x424cc9
mov eax, dword [ebx]
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x6c]
mov edx, dword [eax]
push 0
push 0
push 0x10
push 0
push ecx
push eax
call dword [edx + 0x18]
test eax, eax
jl 0x424e94
push 0x88
call fcn.004c7e90
add esp, 4
test eax, eax
je 0x4249b0
mov ecx, eax
call fcn.00423b00
mov ebx, eax
jmp 0x4249b2
xor ebx, ebx
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x2f4]
mov dword [ebx], edx
push eax
mov dword [esp + 0x40], ecx
push 3
xor ecx, ecx
push 0x110a
push ebp
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 0x424aa4
mov edi, dword [sym.imp.kernel32.dll_lstrcmpi]
lea edx, [esp + 0x1c8]
push 0x4ee97c
push edx
call edi
test eax, eax
jne 0x424a2d
mov dword [esp + 0x44], eax
jmp 0x424a81
lea eax, [esp + 0x1c8]
push 0x4ee990
push eax
call edi
test eax, eax
jne 0x424a58
mov al, byte [ebx + 0x80]
or al, 4
mov byte [ebx + 0x80], al
mov dword [esp + 0x44], 1
jmp 0x424a81
lea ecx, [esp + 0x1c8]
push 0x4ee970
push ecx
call edi
test eax, eax
jne 0x424a81
mov al, byte [ebx + 0x80]
or al, 2
mov byte [ebx + 0x80], al
mov dword [esp + 0x44], 2
mov byte [esp + 0x1c8], 0
mov al, byte [ebx + 0x80]
or al, 1
mov dword [esp + 0x14], 0
mov byte [ebx + 0x80], al
jmp 0x424c10
push 0
push 0
push 0x110a
push ebp
call dword [sym.imp.user32.dll_SendMessageA]
cmp edi, eax
jne 0x424b65
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], 3
test byte [eax + 0x80], 2
je 0x424af0
mov cl, byte [ebx + 0x80]
or cl, 2
mov byte [ebx + 0x80], cl
mov dword [esp + 0x44], 5
mov byte [esp + 0x1c8], 0
test byte [eax + 0x80], 4
je 0x424b65
mov cl, byte [ebx + 0x80]
or cl, 4
mov byte [ebx + 0x80], cl
mov al, byte [esp + 0x1c9]
cmp al, 0x3a
mov dword [esp + 0x44], 4
je 0x424b65
mov edi, dword [sym.imp.kernel32.dll_lstrcpy]
lea edx, [esp + 0x1c8]
lea eax, [esp + 0x4fc]
push edx
push eax
mov dword [esp + 0x1c], 0
call edi
lea ecx, [esp + 0x1c8]
push 0x4ee9b0
push ecx
call edi
lea edx, [esp + 0x4fc]
lea eax, [esp + 0x1c8]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrcat]
jmp 0x424c10
test byte [ebx + 0x80], 1
jne 0x424c10
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 [0x4ee99c]
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.00443540
add esp, 0xc
lea edx, [esp + 0x128]
push 0x4ee998
push edx
call dword [sym.imp.kernel32.dll_lstrcat]
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 0x424c6e
mov eax, dword [esp + 0x14]
test eax, eax
je 0x424c6e
mov al, byte [esp + 0x1c8]
test al, al
je 0x424c6e
lea ecx, [esp + 0x1c8]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x424c6e
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 [ebx + 0x80]
or al, 8
mov byte [ebx + 0x80], al
lea edx, [esp + 0x1c8]
push edx
call fcn.00442c90
mov cl, byte [ebx + 0x80]
mov dword [ebx + 0x5c], eax
mov al, byte [esp + 0x60]
lea edx, [ebx + 8]
or cl, al
mov byte [ebx + 0x80], cl
mov ecx, dword [esp + 0x6c]
push ecx
push edx
call fcn.00444d50
mov eax, dword [esp + 0x50]
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], ebx
push ecx
push 0
push 0x1100
push ebp
mov dword [esp + 0x58], eax
call dword [sym.imp.user32.dll_SendMessageA]
mov ebx, dword [esp + 0x18]
jmp 0x424e94
cmp eax, 2
jne 0x424e94
lea edx, [esp + 0x2f4]
push 0x4ee9a8
push edx
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
je 0x424e94
lea eax, [esp + 0x2f4]
push 0x4ee9a0
push eax
call dword [sym.imp.kernel32.dll_lstrcmpi]
test eax, eax
jne 0x424d27
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x60], eax
mov dword [ebx + 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 0x424e94
test byte [ebx + 0x80], 2
jne 0x424d6b
lea ecx, [esp + 0x1c8]
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x424d6b
mov edi, dword [esi + 0x38]
mov ecx, dword [esp + 0x70]
inc edi
mov eax, dword [esp + 0x74]
mov dword [esi + 0x38], edi
mov edx, dword [ebx + 0x70]
add edx, ecx
mov dword [ebx + 0x70], edx
mov edi, dword [ebx + 0x74]
mov edx, dword [ebx + 0x7c]
adc edi, eax
inc edx
mov dword [ebx + 0x74], edi
mov dword [ebx + 0x7c], edx
jmp 0x424d73
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
mov edi, dword [esi + 0x30]
mov edx, dword [esi + 0x20]
inc edi
add edx, ecx
mov dword [esi + 0x30], edi
mov dword [esi + 0x20], edx
mov edi, dword [esi + 0x24]
adc edi, eax
mov dword [esi + 0x24], edi
mov edx, dword [ebx + 0x78]
mov edi, dword [ebx + 0x68]
inc edx
add edi, ecx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x68], edi
mov ecx, dword [ebx + 0x6c]
adc ecx, eax
cmp edx, 1
mov dword [ebx + 0x6c], ecx
jne 0x424e05
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.user32.dll_SendMessageA]
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], 8
push eax
push 0
push 0x110c
push ebp
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 ebp
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 0x424e94
mov eax, dword [esi + 8]
push edx
push ecx
push 0x196
push eax
call dword [sym.imp.user32.dll_SetDlgItemInt]
mov cx, word [0x4ee99c]
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.00443540
add esp, 0xc
lea edx, [esp + 0x178]
push 0x4ee998
push edx
call dword [sym.imp.kernel32.dll_lstrcat]
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]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4248c8
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 ebp
call dword [sym.imp.user32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jne 0x424f0e
jmp 0x424ec8
mov edi, dword [esp + 0x10]
push edi
push ebp
call fcn.004458e0
mov ebx, eax
add esp, 8
mov eax, dword [ebx]
push eax
mov edx, dword [eax]
call dword [edx + 8]
push edi
push 1
push 0x110a
push ebp
mov dword [ebx], 0
call dword [sym.imp.user32.dll_SendMessageA]
mov ebx, eax
test ebx, ebx
jne 0x424f0e
push edi
push 3
push 0x110a
push ebp
call dword [sym.imp.user32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x424ec4
test ebx, ebx
mov dword [esp + 0x10], ebx
jne 0x424818
mov ebx, 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 0x424f46
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 ebp
call edi
push eax
push 9
push 0x110b
push ebp
mov dword [esp + 0x20], eax
call edi
mov ecx, dword [esp + 0x10]
push ecx
push 0
push 0x1114
push ebp
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 0x4ee99c
push eax
call dword [sym.imp.kernel32.dll_lstrcpy]
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0xd9]
push ecx
push edx
push eax
call fcn.00443540
mov edi, dword [sym.imp.kernel32.dll_lstrcat]
add esp, 0xc
lea ecx, [esp + 0xd8]
push 0x4ee998
push ecx
call edi
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.user32.dll_SetDlgItemTextA]
lea edx, [esp + 0xd8]
push edx
push 0x198
push eax
call ebp
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0xd9]
push ecx
push edx
push eax
call fcn.00443540
add esp, 0xc
lea ecx, [esp + 0xd8]
push 0x4ee998
push ecx
call edi
mov eax, dword [esi + 8]
lea edx, [esp + 0xd8]
push edx
push 0x197
push eax
call ebp
mov ecx, esi
call fcn.00424510
mov ecx, dword [esi + 8]
push 1
push 1
push ecx
call ebx
push eax
mov edi, dword [sym.imp.user32.dll_EnableWindow]
call edi
mov edx, dword [esi + 8]
push 1
push 5
push edx
call ebx
push eax
call edi
mov eax, dword [esi + 8]
push 1
push 7
push eax
call ebx
push eax
call edi
mov ecx, dword [esi + 8]
push 1
push 6
push ecx
call ebx
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x5f0
ret