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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574a45
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x5c4680]
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 str.msftedit.dll
lea ecx, [ebp - 0x28]
call fcn.00403d10
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.0043b410
add esp, 0xc
test eax, eax
jge 0x43b9a5
jmp 0x43bbab
mov edx, dword [ebp - 0x5c]
add edx, 0xb8
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0043b690
add esp, 8
test eax, eax
jge 0x43b9c4
jmp 0x43bbab
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x10], 4
mov ecx, dword [ebp + 8]
call fcn.0043d330
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.0043d510
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x1c], eax
cmp dword [ebp + 0xc], 0
je 0x43ba30
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 0x43ba30
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 0x43ba71
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x10]
and ecx, 1
je 0x43ba57
mov edx, 3
mov eax, dword [ebp - 0x5c]
mov word [eax + 0xd0], dx
jmp 0x43ba71
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x10]
and edx, 2
je 0x43ba71
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.00403450
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.0041db00
add esp, 0xc
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407da0
lea ecx, [ebp - 0x40]
call fcn.00403c70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00403c70
lea ecx, [ebp - 0x28]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43baf2
push str.msftedit.dll
lea ecx, [ebp - 0x28]
call fcn.00403c40
lea ecx, [ebp - 0x28]
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x43bb1c
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 0x43bb2f
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 0x5a6b68
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 0x43bb61
jmp 0x43bbab
cmp dword [ebp + 0xc], 0
je 0x43bb90
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x24], 0
je 0x43bb90
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 0x43bb90
jmp 0x43bbab
mov dword [ebp - 0x80], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403c70
mov eax, dword [ebp - 0x80]
jmp 0x43bbca
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403c70
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.005313f0
mov esp, ebp
pop ebp
ret 8