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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff4c5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x53e180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
push 0x523b68
lea ecx, [ebp - 0x28]
call fcn.00402b20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x5c]
mov dword [edx + 8], 1
push 0
mov eax, dword [ebp - 0x5c]
add eax, 0x44
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004420c0
add esp, 0xc
test eax, eax
jge 0x442655
jmp 0x44285b
mov edx, dword [ebp - 0x5c]
add edx, 0xb8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00442340
add esp, 8
test eax, eax
jge 0x442674
jmp 0x44285b
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x10], 4
mov ecx, dword [ebp + 8]
call fcn.00443fe0
mov byte [ebp - 0x5d], al
movzx edx, byte [ebp - 0x5d]
and edx, 1
shl edx, 3
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x14]
and ecx, 0xfffffff7
or ecx, edx
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp + 8]
call fcn.004441c0
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x1c], eax
cmp dword [ebp + 0xc], 0
je 0x4426e0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x20]
mov dword [edx + 0x10], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x10]
and eax, 0x100080
jne 0x4426e0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x14]
or edx, 2
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x14], edx
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x10]
and edx, 0
jne 0x442721
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x10]
and ecx, 1
je 0x442707
mov edx, 3
mov eax, dword [ebp - 0x5c]
mov word [eax + 0xd0], dx
jmp 0x442721
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x10]
and edx, 2
je 0x442721
mov eax, 2
mov ecx, dword [ebp - 0x5c]
mov word [ecx + 0xd0], ax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x14]
or eax, 0x20
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x14], eax
lea edx, [ebp - 0x58]
push edx
call fcn.00402380
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 1
push str.msftedit50.dll
mov ecx, dword [ebp - 0x74]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0041e180
add esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.00406360
lea ecx, [ebp - 0x40]
call fcn.00402a80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00402a80
lea ecx, [ebp - 0x28]
call fcn.00402ba0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4427a2
push 0x523b68
lea ecx, [ebp - 0x28]
call fcn.00402a50
lea ecx, [ebp - 0x28]
call fcn.00402ba0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4427cc
push str.CreateTextServices
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4427df
lea edx, [ebp - 0x64]
push edx
mov eax, dword [ebp - 0x5c]
push eax
push 0
call dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x5c]
add ecx, 0xc
push ecx
push 0x51fc50
mov edx, dword [ebp - 0x64]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x64]
push ecx
mov edx, dword [eax]
call edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x64]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0x7c], 0
jge 0x442811
jmp 0x44285b
cmp dword [ebp + 0xc], 0
je 0x442840
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x24], 0
je 0x442840
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x5c]
mov edx, dword [edx]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx + 0x38]
call eax
test eax, eax
jge 0x442840
jmp 0x44285b
mov dword [ebp - 0x80], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov eax, dword [ebp - 0x80]
jmp 0x44287a
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402a80
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c662b
mov esp, ebp
pop ebp
ret 8