Function at 0x4011f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a86b
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x411024]
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 edi, edx
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0x9c]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::constructor_void_]
lea eax, [ebp - 0x9c]
mov dword [ebp - 4], 0
push eax
push 4
call fcn.00408140
mov eax, esp
lea ecx, [ebp - 0x9c]
mov dword [eax], str.dmp.zip
mov dword [eax + 4], 7
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.infra.dll_public:_class_base::FilePath___thiscall_base::FilePath::Append_class_base::BasicStringPiece_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
push eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 1
call dword [sym.imp.infra.dll_public:_class_base::FilePath____thiscall_base::FilePath::operator_class_base::FilePath_const__]
lea ecx, [ebp - 0x54]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x40b6dc
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], eax
push 8
mov byte [ebp - 4], 2
call fcn.00409b67
mov esi, eax
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x60], 0
test ecx, ecx
je 0x4012fb
lea eax, [ebp - 0x3c]
cmp ecx, eax
jne 0x4012f3
mov eax, dword [ecx]
lea edx, [ebp - 0x84]
push edx
call dword [eax + 4]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x4012fb
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x4012f6
mov dword [ebp - 0x60], ecx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 7
test ecx, ecx
je 0x401321
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
cmp dword [edi + 0x14], 8
jb 0x40132f
mov eax, dword [edi]
jmp 0x401331
mov eax, edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401343
sub esp, 0x18
push eax
call fcn.00401080
jmp 0x40135c
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x401370
call fcn.00401060
test eax, eax
jne 0x401404
jmp 0x401372
mov dword [esi], eax
lea eax, [ebp - 0xf0]
xor ebx, ebx
push eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xf0], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xf4], eax
cmp eax, 0xffffffff
jne 0x4013aa
call fcn.00401060
test eax, eax
jns 0x4013a4
jne 0x401404
jmp 0x4013b8
mov eax, dword [ebp - 0xf4]
mov ebx, eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
push ebx
call fcn.00409b9a
mov esi, eax
add esp, 4
mov dword [ebp - 0x40], esi
push 0
mov byte [ebp - 4], 8
lea eax, [ebp - 0xe8]
push eax
mov eax, dword [ebp - 0x5c]
push ebx
push esi
mov dword [ebp - 0xe8], 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40142a
call fcn.00401060
test eax, eax
je 0x401432
test esi, esi
je 0x401404
push esi
call fcn.00409a69
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40167d
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xec], eax
test ecx, ecx
jne 0x401671
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
cmp dword [ebp - 0xe8], ebx
jne 0x4013f7
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xb4]
call fcn.00407ab7
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x40144f
mov eax, dword [eax]
sub esp, 8
mov ecx, eax
call fcn.00403f09
add esp, 8
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 8
call fcn.00402ec0
sub esp, 8
cmp dword [edi + 0x14], 8
mov ecx, esp
jb 0x401480
mov eax, dword [edi]
jmp 0x401482
mov eax, edi
mov dword [ecx], eax
mov eax, dword [edi + 0x10]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::constructor_class_base::BasicStringPiece_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____]
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, eax
call dword [sym.imp.infra.dll_public:_class_base::FilePath___thiscall_base::FilePath::BaseName_void_]
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xcc]
call fcn.00407ab7
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x4014c3
mov eax, dword [eax]
mov edi, dword [ebp - 0xe8]
sub esp, 0x38
mov edx, eax
mov ecx, edi
call fcn.00403feb
add esp, 0x38
lea ecx, [ebp - 0xcc]
call fcn.00402ec0
lea ecx, [ebp - 0xe4]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
push ebx
mov edx, esi
mov ecx, edi
call fcn.004043c1
mov ecx, edi
call fcn.004044b4
add esp, 4
mov ecx, edi
call fcn.0040468f
test esi, esi
je 0x401524
push esi
call fcn.00409a69
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00401db0
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x3c], 0x40b6f4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push 8
mov byte [ebp - 4], 0xf
call fcn.00409b67
add esp, 4
lea ecx, [ebp - 0x3c]
mov dword [eax], 0
push ecx
push eax
lea ecx, [ebp - 0x84]
mov dword [eax + 4], 0
call fcn.00401e30
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x401593
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x9c]
cmp dword [ebp - 0x88], 8
mov ecx, dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x9c]
sub esp, 0x18
push eax
call fcn.00401110
test eax, eax
jne 0x401664
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
push eax
call fcn.004011b0
test eax, eax
jne 0x401664
mov edi, dword [ebp - 0x44]
push edi
call fcn.00409b9a
mov esi, eax
add esp, 4
mov dword [ebp - 0xf0], esi
push edi
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x5c]
push esi
call fcn.00401160
test eax, eax
jne 0x401657
cmp dword [ebp - 0x40], eax
ja 0x401657
jb 0x401608
cmp edi, 0x1e00000
ja 0x401657
lea ecx, [ebp - 0x48]
call fcn.004030a0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.00403170
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe8], 0
cmp dword [eax + 0x14], 8
jb 0x401634
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push edi
push esi
push eax
lea ecx, [ebp - 0x48]
call fcn.00403290
lea ecx, [ebp - 0x48]
call fcn.00403260
lea ecx, [ebp - 0x48]
call fcn.004030e0
test esi, esi
je 0x401664
push esi
call fcn.00409a69
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00401db0
jmp 0x40169c
mov eax, dword [ecx]
lea edx, [ebp - 0xec]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x40169c
mov edx, dword [ecx]
lea eax, [ebp - 0x84]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
lea ecx, [ebp - 0x9c]
call dword [sym.imp.infra.dll_public:_void___thiscall_base::FilePath::destructor_void_]
xor eax, eax
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.004097bf
mov esp, ebp
pop ebp
ret