Function at 0x43a740
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 0x592b25
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x5f88c0]
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 eax, dword [ebx + 8]
lea ecx, [ebp - 0x2c]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x98], eax
xor eax, eax
push 0xc
push str.msftedit.dll
mov dword [ebp - 0x9c], edi
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00403260
mov eax, dword [ebp - 0x98]
lea edx, [esi + 0x44]
mov dword [ebp - 4], 0
push ecx
mov ecx, eax
mov dword [esi + 4], eax
mov dword [esi + 8], 1
call fcn.0043a4d0
add esp, 4
test eax, eax
js 0x43ab54
push 0xb8
lea eax, [esi + 0xbc]
push 0
push eax
call fcn.0054d9f0
mov eax, dword [ebp - 0x98]
add esp, 0xc
mov dword [esi + 0xb8], 0xbc
mov dword [esi + 0xbc], 0x8001003f
mov dword [esi + 0xd0], 0x10001
mov dword [esi + 0xd4], 0x2d0
mov dword [esi + 0x10], 4
movzx edx, byte [eax + 0x450]
shl edx, 3
xor edx, dword [esi + 0x14]
and edx, 8
xor edx, dword [esi + 0x14]
mov dword [esi + 0x14], edx
mov eax, dword [eax + 0x488]
mov dword [esi + 0x1c], eax
mov eax, edx
test edi, edi
je 0x43a89a
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x10], ecx
test ecx, 0x100080
jne 0x43a870
or eax, 2
mov edx, eax
test cl, 1
je 0x43a885
mov ecx, 3
mov word [esi + 0xd0], cx
jmp 0x43a89a
mov eax, edx
test cl, 2
je 0x43a89a
mov eax, 2
mov word [esi + 0xd0], ax
mov eax, edx
or eax, 0x20
mov dword [ebp - 0xa0], 0
mov dword [esi + 0x14], eax
xorps xmm0, xmm0
push 0x1c
lea eax, [ebp - 0xb8]
movq qword [ebp - 0xa8], xmm0
push eax
push 0x409bd0
movups xmmword [ebp - 0xb8], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0xb4]
call fcn.00402890
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.004097e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x8d], al
cmp ecx, 8
jb 0x43a94e
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a93e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43abae
push ecx
push edx
call fcn.0054b2c7
mov al, byte [ebp - 0x8d]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], cx
test al, al
je 0x43a97a
movups xmm0, xmmword [ebp - 0x5c]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x4c]
movq qword [ebp - 0x34], xmm0
jmp 0x43a9d6
xor eax, eax
mov dword [ebp - 0x34], ecx
push eax
push 0x5d23d0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.00403260
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x48]
cmp ecx, 8
jb 0x43a9d6
mov edx, dword [ebp - 0x5c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a9cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43abae
push ecx
push edx
call fcn.0054b2c7
add esp, 8
push str.msftedit50.dll
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00415170
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x43aa67
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x43aa35
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43aa2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43abb3
push ecx
push edx
call fcn.0054b2c7
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x8c]
call fcn.00403120
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp ecx, 8
jb 0x43aab0
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43aaa6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43abb3
push ecx
push edx
call fcn.0054b2c7
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x43aad6
push 0xc
push str.msftedit.dll
lea ecx, [ebp - 0x2c]
call fcn.00403260
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x43ab08
push str.CreateTextServices
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43ab08
lea ecx, [ebp - 0x94]
push ecx
push esi
push 0
call eax
mov eax, dword [ebp - 0x94]
lea edi, [esi + 0xc]
push edi
push 0x5d25fc
push eax
mov ecx, dword [eax]
call dword [ecx]
mov ecx, dword [ebp - 0x94]
mov esi, eax
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
test esi, esi
js 0x43ab54
mov edx, dword [ebp - 0x9c]
test edx, edx
je 0x43ab4d
mov edx, dword [edx + 0x24]
test edx, edx
je 0x43ab4d
mov ecx, dword [edi]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
test eax, eax
js 0x43ab54
mov esi, 1
jmp 0x43ab56
xor esi, esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
jb 0x43ab8c
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43ab82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43abb8
push ecx
push edx
call fcn.0054b2c7
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.0054b289
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.0055fb01
call fcn.0055fb01
call fcn.0055fb01
int3