Function at 0x42c150
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x432fee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call sub.mfc90.dll_Ordinal_4993
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x40]
xor ebx, ebx
push eax
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
mov dword [ebp + 0x2a0], eax
mov dword [ebp + 0x2b0], eax
mov dword [ebp + 0x2a4], ecx
mov dword [ebp + 0x2b4], ecx
mov dword [ebp + 0x2a8], edx
mov dword [ebp + 0x2b8], edx
mov dword [ebp + 0x2ac], esi
mov dword [ebp + 0x2bc], esi
lea edi, [ebp + 0x2c0]
mov esi, ebp
call fcn.00425140
push 1
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2356
mov ecx, ebp
call sub.mfc90.dll_Ordinal_3730
mov edx, dword [ebp + 0x20]
or eax, 0x2000000
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0x481
mov ecx, ebp
call sub.mfc90.dll_Ordinal_2899
cmp eax, ebx
je 0x42c343
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x30]
push ecx
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call sub.mfc90.dll_Ordinal_6048
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add ecx, 0x15f
mov dword [esp + 0x38], ecx
add edx, 0xb7
push 0x434e92
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
push ebx
mov dword [esp + 0x60], ebx
mov eax, dword [ebp + 0xf0]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0x1037
push eax
mov dword [ebp + 0x124], ebp
call esi
mov ecx, dword [ebp + 0xf0]
or eax, 0x2421
push eax
push ebx
push 0x1036
push ecx
call esi
push 0x7da
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
push 0xfa
push ebx
push edx
lea esi, [ebp + 0xd0]
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
push 0x7db
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push 0x65
push 1
push eax
push 1
mov ecx, esi
call sub.mfc90.dll_Ordinal_4248
mov ecx, dword [ebp + 0xf0]
push 1
push ebx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edi, esi
call fcn.0042d020
call fcn.0042d0e0
mov ecx, esi
call sub.mfc90.dll_Ordinal_3056
mov edx, dword [eax + 0x20]
push edx
lea ecx, [ebp + 0x2e0]
call sub.mfc90.dll_Ordinal_6616
lea ecx, [esp + 0x18]
mov dword [ebp + 0x334], 1
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [ebp + 0x1d4]
mov edx, dword [eax + 0x160]
lea edi, [ebp + 0x1d4]
push ebp
mov ecx, edi
call edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x20], ebx
call dword [sym.imp.mfc90.dll_Ordinal_316]
push 0x7d6
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 1
call dword [sym.imp.mfc90.dll_Ordinal_4431]
lea esi, [esp + 0x24]
lea eax, [esp + 0x18]
mov dword [esp + 0x5c], 2
call fcn.00402da0
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x28]
mov edx, edi
mov byte [esp + 0x64], 3
call fcn.0042f5f0
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ebp
call fcn.0042a830
push 0x434e93
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [esp + 0x5c], 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], vtable.SATRegMgr.0
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x60], 5
call fcn.00419fd0
lea ecx, [esp + 0x14]
push ecx
push 0x4356cc
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x68], 6
call fcn.00419cd0
test al, al
je 0x42c4d8
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x42c4d8
push 2
push 0x43505c
push eax
call dword [sym.imp.MSVCR90.dll__mbsnbcmp]
add esp, 0xc
test eax, eax
sete al
cmp al, bl
jne 0x42c4d8
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c4d8
shr eax, 4
and al, 1
je 0x42c4d8
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x2c]
mov edx, edi
mov dword [esp + 0x2c], 2
call fcn.0042f5f0
lea edx, [esp + 0x14]
push edx
lea ecx, [ebp + 0x2d8]
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_2692]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [ebp + 0x1f4]
push ebx
push 0x14c
push eax
call esi
push ebx
cmp eax, 0xffffffff
je 0x42c4c7
mov ecx, dword [ebp + 0x1f4]
push eax
push 0x14e
push ecx
call esi
jmp 0x42c557
mov edx, dword [ebp + 0x1f4]
push ebx
push 0x14e
push edx
call esi
jmp 0x42c557
call fcn.00417060
mov esi, eax
cmp esi, ebx
je 0x42c4f6
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42c4f6
shr eax, 4
and al, 1
jne 0x42c4fd
call fcn.00416fa0
mov esi, eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x28], 2
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0xffffffffffffffff
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
mov edx, edi
mov byte [esp + 0x64], 7
call fcn.0042f5f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 6
call dword [sym.imp.mfc90.dll_Ordinal_601]
push esi
lea ecx, [ebp + 0x2d8]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [ebp + 0x1f4]
push ebx
push ebx
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, ebp
call fcn.0042beb0
mov edx, dword [ebp + 0xd0]
mov eax, dword [edx + 0x14c]
lea ecx, [ebp + 0xd0]
call eax
test eax, eax
jle 0x42c57e
push ebx
mov edi, ebp
call fcn.00429eb0
call fcn.004231f0
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
cmp eax, ebx
je 0x42c59d
mov edx, dword [eax]
add ebp, 0x74
push ebp
push 0x434d70
push eax
mov eax, dword [edx + 0x34]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x28], vtable.SATRegMgr.0
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x54]
pop edi
mov eax, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret