Function at 0x1003e0c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c09c9
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x100fe39c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x304], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1003e10d
xor al, al
jmp 0x1003e957
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x2ec]
push eax
push 0x100d3698
push 1
push 0
push 0x100d4418
mov byte [ebp - 0x308], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2fc], 0
mov dword [ebp - 0x2f0], 0
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2f8], 0
call esi
test eax, eax
js 0x1003e8bf
cmp dword [edi + 0x88], 0
je 0x1003e1a3
cmp dword [edi + 0x8c], 8
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x78]
jb 0x1003e197
mov eax, dword [eax]
push eax
push ecx
call edx
test eax, eax
js 0x1003e8bf
mov ecx, dword [ebp - 0x2ec]
lea edx, [ebp - 0x2fc]
push edx
push str._V
mov dword [ebp - 0x21c], 0
lea edx, [ebp - 0x21c]
mov eax, dword [ecx]
push edx
push ecx
mov byte [ebp - 0x2fd], 0
call dword [eax + 0x10]
test eax, eax
js 0x1003e895
lea eax, [ebp - 0x2f0]
push eax
push 0x100d36b8
push 1
push 0
push 0x100d4428
call esi
test eax, eax
js 0x1003e895
lea eax, [ebp - 0x2e8]
push eax
push 0x100d36c8
push 1
push 0
push 0x100d4438
call esi
test eax, eax
js 0x1003e895
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10087da0
add esp, 0xc
call fcn.1002d500
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call esi
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.Utils
push eax
call esi
push str.MsgHelper.exe
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003e3bf
call fcn.1004e090
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003e895
push 0x58
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x310], eax
push 0x100d20c8
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], 0xf
mov byte [ebp - 0x324], al
call fcn.10008e70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push 3
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push 0x100d20c4
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10008e70
mov byte [ebp - 4], 1
lea eax, [ebp - 0x324]
push 0x249
push eax
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x3bc]
call fcn.10004210
mov esi, eax
mov byte [ebp - 4], 2
push str.MsgHelper.exe
push esi
call fcn.10002da0
push str._is_not_found__path
push esi
call fcn.10006300
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002da0
add esp, 0x18
call fcn.1004e090
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3bc]
call fcn.100067d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.100053b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.100053b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2e8]
lea edx, [ebp - 0x218]
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x50]
test eax, eax
js 0x1003e895
cmp dword [edi + 0x1e8], 8
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
lea eax, [edi + 0x1d4]
jb 0x1003e3f6
mov eax, dword [eax]
push 0
push eax
push ecx
call edx
test eax, eax
js 0x1003e895
push 0xb0
lea eax, [ebp - 0x2e4]
push 0
push eax
call fcn.10087da0
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x2e4], 0x100d039c
add esp, 0xc
mov dword [ebp - 0x2d4], 0x100d03a4
mov dword [ebp - 0x30c], eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
mov dword [ebp - 4], 4
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 5
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2e4]
push 0
mov dword [ebp - 0x304], 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x2e8], eax
lea ecx, [ebp - 0x2e4]
mov eax, dword [ebp - 0x2e4]
movlpd qword [ebp - 0x2dc], xmm0
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.10037120
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x2d4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x2d8], eax
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x2e8], eax
mov dword [ebp - 4], 0xe
mov eax, dword [ebp - 0x2e4]
push 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2e8], eax
lea ecx, [ebp - 0x2cc]
call fcn.1002c0d0
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x2d4]
push str.__hwnd
push eax
call fcn.10002da0
add esp, 8
mov ecx, eax
push str.___msg
push dword [edi + 4]
call fcn.1003b160
push eax
call fcn.10002da0
add esp, 8
mov ecx, eax
push 0x14e2
call fcn.1000f390
mov eax, dword [ebp - 0x2e8]
mov eax, dword [eax]
mov esi, dword [eax + 0x2c]
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x2cc]
call fcn.10037b00
mov dword [ebp - 0x304], 0x11
cmp dword [eax + 0x14], 8
jb 0x1003e5c0
mov eax, dword [eax]
push eax
push dword [ebp - 0x2e8]
call esi
mov ecx, 0x11
mov esi, eax
mov dword [ebp - 0x304], ecx
and ecx, 0xffffffef
mov dword [ebp - 0x304], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x310]
cmp edx, 8
jb 0x1003e623
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e972
push edx
push ecx
call fcn.1004f19d
add esp, 8
xor eax, eax
mov dword [ebp - 0x314], 0
mov dword [ebp - 0x310], 7
mov word [ebp - 0x324], ax
test esi, esi
jns 0x1003e65b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2e8]
lea edx, [ebp - 0x2f8]
push edx
push 0x100d36d8
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x1003e68d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
push 0xa
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov esi, eax
mov dword [ebp - 0x224], esi
test esi, esi
je 0x1003e6c3
push 0xa
push 0x100d215c
push 0xa
push esi
call fcn.1000ebd0
add esp, 0x10
mov eax, 0x1f
mov word [ebp - 0x22c], ax
test esi, esi
jne 0x1003e6e4
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2f8]
lea edx, [ebp - 0x22c]
push edx
push 0x100d4480
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jns 0x1003e717
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1003e73e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2f0]
push dword [ebp - 0x2e8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jns 0x1003e76b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2f0]
lea edx, [ebp - 0x2f4]
push edx
push str._V
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x1003e79d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov ecx, dword [ebp - 0x2ec]
add edi, 0x120
cmp dword [edi + 0x14], 8
mov eax, dword [ecx]
jb 0x1003e7b3
mov edi, dword [edi]
push dword [ebp - 0x2f4]
push edi
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x1003e7d9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jns 0x1003e800
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002c7b0
jmp 0x1003e895
mov byte [ebp - 0x2fd], 1
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x30c], eax
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x2e8], eax
mov dword [ebp - 4], 0x12
lea ecx, [ebp - 0x2cc]
call fcn.100054c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.1002c2c0
lea eax, [ebp - 0x27c]
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x30c], eax
mov dword [ebp - 4], 0xffffffff
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.10045dfe
add esp, 4
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x308]
mov ecx, 1
cmp byte [ebp - 0x2fd], 0
movzx eax, al
cmovne eax, ecx
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x2ec]
test ecx, ecx
je 0x1003e8d9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2ec], 0
mov ecx, dword [ebp - 0x2fc]
test ecx, ecx
je 0x1003e8f3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2fc], 0
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
je 0x1003e90d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2f0], 0
mov ecx, dword [ebp - 0x2f4]
test ecx, ecx
je 0x1003e927
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2f4], 0
mov ecx, dword [ebp - 0x2e8]
test ecx, ecx
je 0x1003e941
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2f8]
test eax, eax
je 0x1003e951
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, byte [ebp - 0x308]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004f51c
mov esp, ebp
pop ebp
ret
call fcn.1008b33c
int3