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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578288
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x5b6ef4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x78], esi
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x44]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x80], eax
xor eax, eax
push 0xc
push str.msftedit.dll
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00402e60
mov dword [ebp - 4], 0
lea edx, [esi + 0x44]
push ecx
mov ecx, edi
mov dword [esi + 4], edi
mov dword [esi + 8], 1
call fcn.0044bd90
add esp, 4
test eax, eax
js 0x44c479
push 0xb8
lea eax, [esi + 0xbc]
push 0
push eax
call sub.msvcrt.dll_memset
mov dword [esi + 0xb8], 0xbc
add esp, 0xc
mov dword [esi + 0xbc], 0x8001003f
mov dword [esi + 0xd0], 0x10001
mov dword [esi + 0xd4], 0x2d0
mov dword [esi + 0x10], 4
movzx ecx, byte [edi + 0x568]
shl ecx, 3
xor ecx, dword [esi + 0x14]
and ecx, 8
xor ecx, dword [esi + 0x14]
mov dword [esi + 0x14], ecx
mov edx, ecx
mov eax, dword [edi + 0x5a0]
mov edi, dword [ebp - 0x80]
mov dword [esi + 0x1c], eax
mov eax, 4
test edi, edi
je 0x44c13f
mov eax, dword [edi + 0x20]
mov dword [esi + 0x10], eax
test eax, 0x100080
jne 0x44c13f
or edx, 2
test al, 1
je 0x44c14a
mov eax, 3
jmp 0x44c153
test al, 2
je 0x44c15a
mov eax, 2
mov word [esi + 0xd0], ax
or edx, 0x20
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [esi + 0x14], edx
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push eax
push 0x104
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00402d80
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 0x80]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x1c]
mov edx, esi
cmovae ecx, dword [ebp - 0x2c]
push 1
push 0x5965b8
push 0xffffffffffffffff
call fcn.00453450
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], cx
add esp, 0x10
mov dword [ebp - 0x48], 7
lea ecx, [eax + 1]
cmp esi, ecx
lea eax, [ebp - 0x2c]
cmovb ecx, esi
cmp dword [ebp - 0x18], 8
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x5c]
push eax
call fcn.00402e60
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x44c237
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c22d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c4d3
push edx
push ecx
call fcn.005342bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
push str.msftedit50.dll
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0040be30
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x44c298
mov ecx, eax
call fcn.00403070
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x44c2d2
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c2c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c4d8
push edx
push ecx
call fcn.005342bc
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 8
jb 0x44c323
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c4dd
push edx
push ecx
call fcn.005342bc
add esp, 8
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44c349
push 0xc
push str.msftedit.dll
lea ecx, [ebp - 0x44]
call fcn.00402e60
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44c37d
push str.CreateTextServices
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp - 0x78]
test eax, eax
je 0x44c380
lea ecx, [ebp - 0x7c]
push ecx
push esi
push 0
call eax
jmp 0x44c380
mov esi, dword [ebp - 0x78]
lea edi, [esi + 0xc]
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x84], edi
mov eax, dword [esi]
mov ecx, dword [eax]
cmp eax, vtable.ui::CTxtWinHost.0
jne 0x44c4eb
mov dword [edi], 0
mov ecx, 0x5966f8
mov dword [ebp - 0x78], 0x80004002
mov edx, 0x596568
mov edi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44c3ca
add ecx, 4
add edx, 4
sub edi, 4
jae 0x44c3b7
jmp 0x44c3f1
mov ecx, 0x5966f8
mov edx, 0x5966e8
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44c419
add ecx, 4
add edx, 4
sub edi, 4
jae 0x44c3e0
mov eax, dword [esi]
cmp eax, vtable.ui::CTxtWinHost.0
jne 0x44c4e2
mov edi, dword [ebp - 0x84]
inc dword [esi + 8]
xor eax, eax
mov dword [edi], esi
jmp 0x44c426
mov edi, dword [ebp - 0x84]
xor eax, eax
mov dword [edi], esi
jmp 0x44c426
mov edi, dword [ebp - 0x84]
mov eax, 0x80004002
jmp 0x44c42c
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov edx, dword [esi]
mov ecx, dword [edx + 8]
cmp edx, vtable.ui::CTxtWinHost.0
jne 0x44c4f9
add dword [esi + 8], 0xffffffff
jne 0x44c452
mov eax, edx
mov ecx, esi
push 1
call dword [eax + 0xa8]
mov eax, dword [ebp - 0x78]
test eax, eax
js 0x44c479
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x44c472
mov edx, dword [eax + 0x24]
test edx, edx
je 0x44c472
mov ecx, dword [edi]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
js 0x44c479
mov esi, 1
jmp 0x44c47b
xor esi, esi
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x44c4b1
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c4a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c501
push edx
push ecx
call fcn.005342bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005357eb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00560610
call fcn.00560610
call fcn.00560610
push esi
call dword [eax + 4]
jmp 0x44c40d
push edi
push 0x5966f8
push esi
call ecx
jmp 0x44c426
push esi
call ecx
jmp 0x44c44f
call fcn.00560610
int3