Function at 0x411d60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52056c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a8
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 [0x56e850]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1a0], edi
lea edx, [edx + 0x6c]
call fcn.004310a0
lea ecx, [ebp - 0xa0]
call fcn.0042f6d0
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 - 0xa0]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00415250
add esp, 0xc
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x411e27
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 0x411ea4
mov edx, dword [edi]
lea ecx, [ebp - 0x2c]
add edx, 0xbc0
call fcn.004310a0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
lea ecx, [ebp - 0x2c]
cmovae edx, dword [ebp - 0x70]
cmp dword [ebp - 0x18], 8
cmovae ecx, dword [ebp - 0x2c]
sub esp, 8
call fcn.0041f040
mov byte [ebp - 4], 3
add esp, 8
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x411ea4
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
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 0x411f5e
mov eax, dword [edi]
lea ecx, [edi + 4]
mov dword [ebp - 0x30], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], 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_6b574fa71432d5174d1b6ab92bc3d76f___class_std::allocator_int___void___.0
mov eax, dword [ebp - 0x30]
mov dword [esi + 4], eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 8
jb 0x411f15
mov eax, dword [ecx]
jmp 0x411f17
mov eax, ecx
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x2c]
push eax
call fcn.004032f0
mov dword [esi + 0x24], esi
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x411f3d
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00402f10
mov ecx, dword [edi]
xor eax, eax
add ecx, 0x168
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00434d00
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0x1b4]
push eax
movlpd qword [ebp - 0x1a8], xmm0
call fcn.004cc5b1
push 0x56d050
lea eax, [ebp - 0x1b4]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x198]
call fcn.004cc4e2
mov eax, dword [edi]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::_Func_impl_class__lambda_bbbd132c9bd46694d7a372a89fed8296___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 - 0x34], eax
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 8
call fcn.004ccb09
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x411ffe
lea eax, [ebp - 0x58]
cmp ecx, eax
mov eax, dword [ecx]
setne byte [ebp - 0x19c]
mov edx, dword [eax + 0x10]
cmp eax, vtable.std::_Func_impl_class__lambda_bbbd132c9bd46694d7a372a89fed8296___class_std::allocator_int___void__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
jne 0x411ff6
lea eax, [ebp - 0x58]
mov dword [ecx], vtable.std::_Func_impl_class__lambda_bbbd132c9bd46694d7a372a89fed8296___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 0x411ffe
push ecx
call fcn.004e1ddf
add esp, 4
jmp 0x411ffe
push dword [ebp - 0x19c]
call edx
mov eax, dword [edi]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::_Func_impl_class__lambda_b65b9abfa2b930e598fdb9edca6280a1___class_std::allocator_int___void__unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x34], eax
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 9
call fcn.004ccb33
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x412041
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.std::_Func_impl_class__lambda_9dc256e390c92a4550d1504623a101c1___class_std::allocator_int___void__unsigned_long_long_unsigned___int64__.0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x34], eax
push eax
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], 0xa
call fcn.004ccb3f
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x412088
mov edx, dword [ecx]
lea eax, [ebp - 0x58]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [edi]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0xc60
mov word [ebp - 0x2c], cx
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
call fcn.00402670
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x18]
cmp edx, 8
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x2c]
cmovae ecx, esi
lea ebx, [eax + eax]
cmp word [ebx + ecx - 2], 0x5c
je 0x4120ee
cmp edx, 8
lea eax, [ebp - 0x2c]
cmovae eax, esi
cmp word [ebx + eax - 2], 0x2f
je 0x4120ee
push 0x53ca00
lea ecx, [ebp - 0x2c]
call fcn.0040cf10
push 0xffffffffffffffff
push 0
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040ca60
mov eax, dword [edi]
lea ecx, [ebp - 0x198]
add eax, 0xc60
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004cc558
lea ecx, [ebp - 0x2c]
call fcn.00402450
lea ecx, [ebp - 0x198]
call fcn.004cc41c
lea ecx, [ebp - 0x1b4]
call fcn.004cc6d1
jmp 0x412170
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 - 0x19c], 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.00415840
mov ecx, dword [edi]
add ecx, 0x168
call fcn.00434d00
lea ecx, [ebp - 0x70]
call fcn.00402450
lea ecx, [ebp - 0xa0]
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.004e1de4
mov esp, ebp
pop ebp
ret