Function at 0x1003e360
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c76f9
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x1010739c]
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 0x1003e3ad
xor al, al
jmp 0x1003ebe3
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x2ec]
push eax
push 0x100db684
push 1
push 0
push 0x100dc42c
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 0x1003eb4b
cmp dword [edi + 0x88], 0
je 0x1003e443
cmp dword [edi + 0x8c], 8
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x78]
jb 0x1003e437
mov eax, dword [eax]
push eax
push ecx
call edx
test eax, eax
js 0x1003eb4b
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 0x1003eb21
lea eax, [ebp - 0x2f0]
push eax
push 0x100db6a4
push 1
push 0
push 0x100dc43c
call esi
test eax, eax
js 0x1003eb21
lea eax, [ebp - 0x2e8]
push eax
push 0x100db6b4
push 1
push 0
push 0x100dc40c
call esi
test eax, eax
js 0x1003eb21
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1008f970
add esp, 0xc
call fcn.1002d820
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 0x100da0a4
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 0x1003e65f
call fcn.1004f380
push 2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x1003eb21
push 0x58
mov dword [ebp - 0x314], eax
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x310], eax
push 0x100da0b0
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x310], 0xf
mov byte [ebp - 0x324], al
call fcn.10009030
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x234]
push 3
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
push 0x100da10c
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
call fcn.10009030
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.100043b0
mov esi, eax
mov byte [ebp - 4], 2
push str.MsgHelper.exe
push esi
call fcn.10002f70
push str._is_not_found__path
push esi
call fcn.100064a0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.10002f70
add esp, 0x18
call fcn.1004f380
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3bc]
call fcn.10006970
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.10005550
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x324]
call fcn.10005550
jmp 0x1003eb21
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 0x1003eb21
cmp dword [edi + 0x1e8], 8
mov ecx, dword [ebp - 0x2e8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
lea eax, [edi + 0x1d4]
jb 0x1003e696
mov eax, dword [eax]
push 0
push eax
push ecx
call edx
test eax, eax
js 0x1003eb21
push 0xb0
lea eax, [ebp - 0x2e4]
push 0
push eax
call fcn.1008f970
lea eax, [ebp - 0x27c]
mov dword [ebp - 0x2e4], 0x100d8378
add esp, 0xc
mov dword [ebp - 0x2d4], 0x100d8380
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.10037430
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.1002c3f0
mov dword [ebp - 4], 0x10
lea eax, [ebp - 0x2d4]
push str.__hwnd
push eax
call fcn.10002f70
add esp, 8
mov ecx, eax
push str.___msg
push dword [edi + 4]
call fcn.1003b480
push eax
call fcn.10002f70
add esp, 8
mov ecx, eax
push 0x14e2
call fcn.1000f550
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.10037e10
mov dword [ebp - 0x304], 0x11
cmp dword [eax + 0x14], 8
jb 0x1003e860
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 0x1003e8c3
mov ecx, dword [ebp - 0x324]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1003e8b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003ebfe
push edx
push ecx
call fcn.10050f3a
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 0x1003e8fb
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov ecx, dword [ebp - 0x2e8]
lea edx, [ebp - 0x2f8]
push edx
push 0x100db6c4
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
jns 0x1003e92d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov eax, 0x1f
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x224]
push eax
push 0x100da148
call dword [sym.imp.SHLWAPI.dll_SHStrDupW]
test eax, eax
jns 0x1003e970
xorps xmm0, xmm0
movups xmmword [ebp - 0x22c], xmm0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov ecx, dword [ebp - 0x2f8]
lea edx, [ebp - 0x22c]
push edx
push 0x100dc460
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
jns 0x1003e9a3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x1003e9ca
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov ecx, dword [ebp - 0x2f0]
push dword [ebp - 0x2e8]
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
jns 0x1003e9f7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
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 0x1003ea29
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov ecx, dword [ebp - 0x2ec]
add edi, 0x120
cmp dword [edi + 0x14], 8
mov eax, dword [ecx]
jb 0x1003ea3f
mov edi, dword [edi]
push dword [ebp - 0x2f4]
push edi
push ecx
call dword [eax + 0x14]
test eax, eax
jns 0x1003ea65
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jns 0x1003ea8c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e4]
call fcn.1002cad0
jmp 0x1003eb21
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.10005660
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c4]
call fcn.1002c5e0
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.10046467
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 0x1003eb65
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2ec], 0
mov ecx, dword [ebp - 0x2fc]
test ecx, ecx
je 0x1003eb7f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2fc], 0
mov ecx, dword [ebp - 0x2f0]
test ecx, ecx
je 0x1003eb99
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2f0], 0
mov ecx, dword [ebp - 0x2f4]
test ecx, ecx
je 0x1003ebb3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2f4], 0
mov ecx, dword [ebp - 0x2e8]
test ecx, ecx
je 0x1003ebcd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x2e8], 0
mov eax, dword [ebp - 0x2f8]
test eax, eax
je 0x1003ebdd
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.100512b9
mov esp, ebp
pop ebp
ret
call fcn.10092f59
int3