Function at 0x1003c99
Capabilities:
Check if file exists

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x9dc
mov eax, dword [0x100a1c4]
push ebx
mov dword [ebp - 4], eax
mov ebx, ecx
push esi
push edi
xor eax, eax
mov edx, 0x81
xor esi, esi
mov word [ebp - 0x20c], si
mov ecx, edx
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x61c], si
mov ecx, edx
lea edi, [ebp - 0x61a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x414], si
mov ecx, edx
lea edi, [ebp - 0x412]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x20c]
push eax
call fcn.01005898
push 0x1001cb8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x78
pop ecx
xor eax, eax
lea edi, [ebx + 0x348]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x7fc]
push eax
lea eax, [ebp - 0x20c]
lea ecx, [ebx + 0x164]
push eax
call fcn.01006dc8
cmp eax, 1
jne 0x1003dbc
push 0x78
pop ecx
lea eax, [ebp - 0x7a4]
lea esi, [ebp - 0x7fc]
lea edi, [ebx + 0x348]
push eax
rep movsd dword es:[edi], dword [esi]
push 0x3fe
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x724]
push eax
push 0x414
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x6a4]
push eax
push 0x40b
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x414]
push eax
sub esp, 0x1e0
push 0x78
pop ecx
mov edi, esp
lea esi, [ebp - 0x7fc]
rep movsd dword es:[edi], dword [esi]
call fcn.010058d8
lea eax, [ebp - 0x414]
push eax
push 0x401
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
cmp dword [ebp - 0x7fc], 2
jne 0x1003de1
push 0x403
mov ecx, ebx
call sub.MFC42u.dll_CWnd::GetDlgItem
test eax, eax
je 0x1003dd8
mov eax, dword [eax + 0x20]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x1001ca8
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1003eea
lea eax, [ebp - 0x9dc]
push eax
lea eax, [ebp - 0x61c]
push eax
lea ecx, [ebx + 0x164]
call fcn.01006dc8
lea eax, [ebp - 0x984]
push eax
push 0x400
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x904]
push eax
push 0x415
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x884]
push eax
push 0x40c
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
lea eax, [ebp - 0x414]
push eax
sub esp, 0x1e0
push 0x78
pop ecx
mov edi, esp
lea esi, [ebp - 0x9dc]
rep movsd dword es:[edi], dword [esi]
call fcn.010058d8
lea eax, [ebp - 0x414]
push eax
push 0x402
mov ecx, ebx
call sub.MFC42u.dll_CWnd::SetDlgItemTextW
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x984]
push eax
lea eax, [ebp - 0x7a4]
push eax
call esi
test eax, eax
jne 0x1003eea
lea eax, [ebp - 0x904]
push eax
lea eax, [ebp - 0x724]
push eax
call esi
test eax, eax
jne 0x1003eea
push 0x404
mov ecx, ebx
call sub.MFC42u.dll_CWnd::GetDlgItem
test eax, eax
je 0x1003ee1
mov eax, dword [eax + 0x20]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
call fcn.01007a24
pop edi
pop esi
pop ebx
leave
ret