Function at 0x40eaa0
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00417900
mov eax, dword [0x43d180]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push str.ieframe.dll
mov dword [ebp - 0x1230], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40eaf4
push str.IEIsProtectedModeProcess
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40eaed
lea ecx, [ebp - 0x1230]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x122c]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.ALLUSERSPROFILE
push 0
mov edi, eax
lea eax, [ebp - 0x1230]
push 0
push eax
call fcn.00416749
mov eax, dword [ebp - 0x1230]
add esp, 0x10
test eax, eax
je 0x40ed6d
xor ecx, ecx
push ebx
mov ebx, 2
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00417498
push str.ALLUSERSPROFILE
push dword [ebp - 0x1230]
mov esi, eax
lea eax, [ebp - 0x1230]
push esi
push eax
call fcn.00416749
lea ecx, [ebp - 0x61c]
add esp, 0x14
mov eax, ecx
mov edx, 0x104
sub esi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x40eb8e
movzx eax, word [esi + ecx]
test ax, ax
je 0x40eb8e
mov word [ecx], ax
add ecx, ebx
dec edx
jne 0x40eb71
jmp 0x40eb92
test edx, edx
jne 0x40eb94
sub ecx, ebx
xor eax, eax
push str.GID
mov word [ecx], ax
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.00401200
push str.Act.ws
push 0x104
lea eax, [ebp - 0x61c]
push eax
call fcn.00401200
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.004169b3
add esp, 8
cmp eax, 0xffffffff
je 0x40ed5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x40ed5a
lea eax, [edi*2 - 2]
cmp eax, 0x410
jae 0x40ed82
xor ecx, ecx
mov word [ebp + eax - 0x122c], cx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00417930
lea eax, [ebp - 0x20c]
push eax
call fcn.0040ede0
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xe1c], ax
lea eax, [ebp - 0xe1a]
push eax
call fcn.00417930
push 0x40
lea eax, [ebp - 0x1280]
mov dword [ebp - 0x1284], 0x44
push 0
push eax
call fcn.00417930
lea ecx, [ebp - 0xe1c]
xorps xmm0, xmm0
lea esi, [ebp - 0x20c]
mov eax, ecx
add esp, 0x28
mov edx, 0x400
movdqu xmmword [ebp - 0x1240], xmm0
sub esi, eax
lea esp, [esp]
lea eax, [edx + 0x7ffffbfe]
test eax, eax
je 0x40ecad
movzx eax, word [esi + ecx]
test ax, ax
je 0x40ecad
mov word [ecx], ax
add ecx, ebx
dec edx
jne 0x40ec90
jmp 0x40ecb1
test edx, edx
jne 0x40ecb3
sub ecx, ebx
xor eax, eax
push 0x42fe80
mov word [ecx], ax
lea eax, [ebp - 0xe1c]
push 0x400
push eax
call fcn.00401200
push dword [ebp + 8]
lea eax, [ebp - 0xe1c]
push 0x400
push eax
call fcn.00401200
push 0x42fe9c
push 0x400
lea eax, [ebp - 0xe1c]
push eax
call fcn.00401200
lea eax, [ebp - 0x122c]
push eax
push 0x400
lea eax, [ebp - 0xe1c]
push eax
call fcn.00401200
lea eax, [ebp - 0x1240]
push eax
lea eax, [ebp - 0x1284]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0xe1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
push dword [ebp - 0x1240]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00416230
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
xor ecx, ebp
pop esi
call fcn.00416230
mov esp, ebp
pop ebp
ret
call fcn.00416f80
int3