Function at 0x411ca0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520307
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov edx, dword [0x56e770]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1b8], edi
lea edx, [edx + 0x6c]
call fcn.00430df0
lea ecx, [ebp - 0xb8]
call fcn.0042f420
add esp, 0x18
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
push 0xd
xor eax, eax
mov dword [ebp - 0x74], 7
push str.Compress.dll
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
call fcn.00402570
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00415060
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x411d67
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00402f10
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor eax, eax
cmp dword [ebp - 0x5c], 8
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
call esi
test eax, eax
jne 0x411df9
mov edx, dword [edi]
lea ecx, [ebp - 0xa0]
add edx, 0xbc0
call fcn.00430df0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0xa0]
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x8c], 8
cmovae ecx, dword [ebp - 0xa0]
sub esp, 8
call fcn.0041eda0
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x8c]
cmp eax, 8
jb 0x411df9
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00402f10
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call esi
test eax, eax
jne 0x411eb3
mov eax, dword [edi]
lea ecx, [edi + 4]
mov dword [ebp - 0x58], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.00402670
sub esp, 0x28
mov esi, esp
lea ecx, [esi + 8]
mov dword [esi + 0x24], 0
mov dword [esi], vtable.std::_Func_impl_class__lambda_cee97775996362265f0c7cff017a0989___class_std::allocator_int___void___.0
mov eax, dword [ebp - 0x58]
mov dword [esi + 4], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x411e6a
mov eax, dword [ecx]
jmp 0x411e6c
mov eax, ecx
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x54]
push eax
call fcn.004032f0
mov dword [esi + 0x24], esi
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x411e92
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00402f10
mov ecx, dword [edi]
xor eax, eax
add ecx, 0x168
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
call fcn.00434a50
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0x94]
push eax
movlpd qword [ebp - 0x1c0], xmm0
call fcn.004cc361
push 0x56cf70
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x1b0]
call fcn.004cc292
mov eax, dword [edi]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::_Func_impl_class__lambda_e08ad360f8c0ddcc56984347dfffebcd___class_std::allocator_int___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ebp - 0x18], eax
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 8
call fcn.004cc8d6
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x411f53
lea eax, [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ecx]
setne byte [ebp - 0x1b4]
mov edx, dword [eax + 0x10]
cmp eax, vtable.std::_Func_impl_class__lambda_e08ad360f8c0ddcc56984347dfffebcd___class_std::allocator_int___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
jne 0x411f4b
lea eax, [ebp - 0x3c]
mov dword [ecx], vtable.std::_Func_impl_class__lambda_e08ad360f8c0ddcc56984347dfffebcd___class_std::allocator_int___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov dword [ecx], vtable.std::_Func_base_void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
cmp ecx, eax
je 0x411f53
push ecx
call fcn.004e1bac
add esp, 4
jmp 0x411f53
push dword [ebp - 0x1b4]
call edx
mov eax, dword [edi]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::_Func_impl_class__lambda_3427e99f83fc06505c6d9869eaff6e8b___class_std::allocator_int___void__unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], eax
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 9
call fcn.004cc900
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x411f96
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.std::_Func_impl_class__lambda_93c8f548f296ed7f688b415490a94246___class_std::allocator_int___void__unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x18], eax
push eax
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 0xa
call fcn.004cc90c
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x411fdd
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
add eax, 0xc60
push 0x53ca10
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040cc50
add esp, 0xc
lea ecx, [edi + 4]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0x54]
call fcn.0040cdd0
add esp, 4
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x412024
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea ecx, [ebp - 0x1b0]
mov eax, dword [edi]
add eax, 0xc60
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004cc308
lea ecx, [ebp - 0x54]
call fcn.00402450
lea ecx, [ebp - 0x1b0]
call fcn.004cc1cc
lea ecx, [ebp - 0x94]
call fcn.004cc481
jmp 0x4120aa
sub esp, 0x28
mov dword [ebp - 4], 3
mov eax, dword [edi]
lea edx, [edi + 4]
mov esi, esp
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1b4], ecx
push 0xffffffffffffffff
mov dword [ecx], eax
add ecx, 4
xor eax, eax
push eax
push edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00402670
mov ecx, esi
call fcn.00415650
mov ecx, dword [edi]
add ecx, 0x168
call fcn.00434a50
lea ecx, [ebp - 0x70]
call fcn.00402450
lea ecx, [ebp - 0xb8]
call fcn.00402450
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e1bb1
mov esp, ebp
pop ebp
ret