Function at 0x413510
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b621
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x45fc48]
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.0040b4b0
add esp, 0xc
test eax, eax
je 0x413aee
sub esp, 0x18
lea eax, [ebp - 0x218]
mov ecx, esp
push eax
call fcn.00401690
lea eax, [ebp - 0x248]
push eax
call fcn.0040a420
add esp, 0x1c
mov esi, eax
lea ecx, [ebp - 0x368]
mov dword [ebp - 4], 0
call fcn.00406850
push esi
push str.Got_installer_log_file_path
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004080c0
push eax
call fcn.004038b0
add esp, 8
push eax
call fcn.004035c0
add esp, 8
lea ecx, [ebp - 0x368]
mov byte [ebp - 4], 0
call fcn.00406ba0
cmp dword [ebp - 0x234], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4135f6
push dword [ebp - 0x248]
call fcn.00418b1b
add esp, 4
push 1
push 0x40
push 1
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
call fcn.0040fe40
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 0x413a7b
mov dword [ebp - 0x358], 0x44e990
mov dword [ebp - 0x348], 0x44d918
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.00408210
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.004067c0
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.00406e60
lea ecx, [ebp - 0x420]
call fcn.00407f40
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.00409350
push 1
lea ecx, [ebp - 0x29c]
push ecx
push 0xa
push eax
mov byte [ebp - 4], 0xc
call fcn.0040aae0
add esp, 0x10
cmp dword [ebp - 0x234], 0x10
mov byte [ebp - 4], 0xb
jb 0x4137bb
push dword [ebp - 0x248]
call fcn.00418b1b
add esp, 4
mov esi, dword [ebp - 0x29c]
mov edi, dword [ebp - 0x298]
cmp esi, edi
je 0x413a10
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.00402350
push 0x11
push 0
push str.InstallerExePath:
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0xd
call fcn.00413360
cmp eax, 0xffffffff
je 0x4139d8
push 1
push 0
push 0x44da30
lea ecx, [ebp - 0x260]
call fcn.00413360
cmp eax, 0xffffffff
je 0x4139d8
push 0x11
push 0
push str.InstallerExePath:
lea ecx, [ebp - 0x260]
call fcn.00413360
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040ade0
push 1
push 0
push 0x44da30
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xe
call fcn.00413360
push 0xffffffffffffffff
inc eax
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebp - 0x248]
call fcn.0040ade0
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.00402480
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.00413360
cmp eax, 0xffffffff
je 0x41395d
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.00402350
lea eax, [ebp - 0x290]
push eax
call fcn.0040a2a0
add esp, 0x1c
cmp dword [eax + 0x14], 8
jb 0x41392f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp dword [ebp - 0x27c], 8
mov ebx, eax
jb 0x41394f
push dword [ebp - 0x290]
call fcn.00418b1b
add esp, 4
cmp ebx, 0xffffffff
je 0x41395d
test bl, 0x10
je 0x413b2b
cmp dword [ebp - 0x21c], 0x10
jb 0x413974
push dword [ebp - 0x230]
call fcn.00418b1b
add esp, 4
cmp dword [ebp - 0x264], 0x10
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jb 0x4139a6
push dword [ebp - 0x278]
call fcn.00418b1b
add esp, 4
cmp dword [ebp - 0x234], 0x10
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jb 0x4139d8
push dword [ebp - 0x248]
call fcn.00418b1b
add esp, 4
cmp dword [ebp - 0x24c], 0x10
mov byte [ebp - 4], 0xb
jb 0x4139f3
push dword [ebp - 0x260]
call fcn.00418b1b
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x4137d0
mov edi, dword [ebp - 0x298]
mov esi, dword [ebp - 0x29c]
mov ebx, dword [ebp - 0x2a0]
test esi, esi
je 0x413a4d
push edi
push esi
lea ecx, [ebp - 0x29c]
call fcn.00409d40
push dword [ebp - 0x29c]
call fcn.00418b1b
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.00406ad0
lea eax, [ebp - 0x2f0]
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.00417c8a
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.00406980
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.00417c8a
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.00402480
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.004192a9
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x2a0]
lea eax, [ebp - 0x278]
push eax
call fcn.004014f0
lea ecx, [ebp - 0x230]
call fcn.004016f0
lea ecx, [ebp - 0x278]
call fcn.004016f0
lea ecx, [ebp - 0x248]
call fcn.004016f0
lea ecx, [ebp - 0x260]
call fcn.004016f0
lea ecx, [ebp - 0x29c]
call fcn.0040b9c0
lea ecx, [ebp - 0x358]
call fcn.004072c0
lea ecx, [ebp - 0x420]
call fcn.00407190
mov eax, dword [ebp - 0x2a0]
jmp 0x413b0f