Function at 0x413710
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ba21
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x45fc58]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.screenleapinst.log
mov dword [ebp - 0x2a0], ebx
mov dword [ebp - 0x2a8], 0
call fcn.0040b700
add esp, 0xc
test eax, eax
je 0x413cee
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00401680
lea eax, [ebp - 0x248]
push eax
call fcn.0040a670
add esp, 0x1c
mov esi, eax
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0
call fcn.00406a50
push esi
push str.Got_installer_log_file_path
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00408300
push eax
call fcn.004038e0
add esp, 8
push eax
call fcn.004035f0
add esp, 8
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0
call fcn.00406d90
cmp dword [ebp - 0x234], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4137f6
push dword [ebp - 0x248]
call fcn.00418e43
add esp, 4
push 1
push 0x40
push 1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
call fcn.004101f0
mov ecx, dword [ebp - 0x420]
lea edx, [ebp - 0x420]
mov eax, dword [ecx + 4]
add eax, edx
mov edx, 0
test byte [eax + 0xc], 6
mov dword [ebp - 4], 2
cmovne eax, edx
test eax, eax
je 0x413c7b
mov dword [ebp - 0x358], 0x44d928
mov dword [ebp - 0x348], 0x44d930
push edx
lea eax, [ebp - 0x340]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 3
mov dword [ebp - 0x2a8], 2
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x2f4], 0x50
movlpd qword [ebp - 0x350], xmm0
call fcn.00408460
mov eax, dword [ebp - 0x348]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x34c], eax
mov eax, dword [ebp - 0x358]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x35c], eax
mov eax, dword [ebp - 0x358]
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x358]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x35c], eax
lea ecx, [ebp - 0x340]
call fcn.004069c0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x308], 0
mov dword [ebp - 0x304], 0
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x348]
mov byte [ebp - 4], 0xa
call fcn.00407050
lea ecx, [ebp - 0x420]
call fcn.00408180
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x358]
mov byte [ebp - 4], 0xb
call fcn.004095d0
push 1
lea ecx, [ebp - 0x29c]
push ecx
push 0xa
push eax
mov byte [ebp - 4], 0xc
call fcn.0040ad30
add esp, 0x10
cmp dword [ebp - 0x234], 0x10
mov byte [ebp - 4], 0xb
jb 0x4139bb
push dword [ebp - 0x248]
call fcn.00418e43
add esp, 4
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x298]
cmp esi, edi
je 0x413c10
nop
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x24c], 0xf
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
call fcn.00402360
push 0x11
push 0
push str.InstallerExePath:
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xd
call fcn.00413560
cmp eax, 0xffffffff
je 0x413bd8
push 1
push 0
push 0x44da48
lea ecx, [ebp - 0x260]
call fcn.00413560
cmp eax, 0xffffffff
je 0x413bd8
push 0x11
push 0
push str.InstallerExePath:
lea ecx, [ebp - 0x260]
call fcn.00413560
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040b030
push 1
push 0
push 0x44da48
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xe
call fcn.00413560
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040b030
push 0x12
push str.ScreenleapInst.exe
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
call fcn.00402490
push dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 0x10
call fcn.00413560
cmp eax, 0xffffffff
je 0x413b5d
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x278]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402360
lea eax, [ebp - 0x290]
push eax
call fcn.0040a4f0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x413b2f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x27c], 8
mov ebx, eax
jb 0x413b4f
push dword [ebp - 0x290]
call fcn.00418e43
add esp, 4
cmp ebx, 0xffffffff
je 0x413b5d
test bl, 0x10
je 0x413d2b
cmp dword [ebp - 0x21c], 0x10
jb 0x413b74
push dword [ebp - 0x230]
call fcn.00418e43
add esp, 4
cmp dword [ebp - 0x264], 0x10
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x413ba6
push dword [ebp - 0x278]
call fcn.00418e43
add esp, 4
cmp dword [ebp - 0x234], 0x10
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jb 0x413bd8
push dword [ebp - 0x248]
call fcn.00418e43
add esp, 4
cmp dword [ebp - 0x24c], 0x10
mov byte [ebp - 4], 0xb
jb 0x413bf3
push dword [ebp - 0x260]
call fcn.00418e43
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x4139d0
mov edi, dword [ebp - 0x298]
mov esi, dword [ebp - 0x29c]
mov ebx, dword [ebp - 0x2a0]
test esi, esi
je 0x413c4d
push edi
push esi
lea ecx, [ebp - 0x29c]
call fcn.00409f90
push dword [ebp - 0x29c]
call fcn.00418e43
add esp, 4
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 0
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 2
call fcn.00406cc0
lea eax, [ebp - 0x2f0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00417fb2
mov ecx, dword [ebp - 0x420]
add esp, 4
mov eax, dword [ecx + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x424], eax
lea ecx, [ebp - 0x410]
call fcn.00406b80
mov eax, dword [ebp - 0x420]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x424], eax
lea eax, [ebp - 0x3b0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00417fb2
add esp, 4
push 0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
push 0x44d66c
mov ecx, ebx
mov byte [ebx], 0
call fcn.00402490
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004195d9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x278]
push eax
call fcn.004014e0
lea ecx, [ebp - 0x230]
call fcn.004016e0
lea ecx, [ebp - 0x278]
call fcn.004016e0
lea ecx, [ebp - 0x248]
call fcn.004016e0
lea ecx, [ebp - 0x260]
call fcn.004016e0
lea ecx, [ebp - 0x29c]
call fcn.0040bc30
lea ecx, [ebp - 0x358]
call fcn.004074b0
lea ecx, [ebp - 0x420]
call fcn.00407380
mov eax, dword [ebp - 0x2a0]
jmp 0x413d0f