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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40a4eb
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.00407e5a
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], 0x40b6bc
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x18], eax
push 8
mov byte [ebp - 4], 2
call fcn.004097cd
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 0x4012eb
lea eax, [ebp - 0x3c]
cmp ecx, eax
jne 0x4012e3
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 0x4012eb
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x4012e6
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 0x401311
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 0x40131f
mov eax, dword [edi]
jmp 0x401321
mov eax, edi
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401333
sub esp, 0x18
push eax
call fcn.00401070
jmp 0x40134c
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 0x401360
call fcn.00401050
test eax, eax
jne 0x4013f4
jmp 0x401362
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 0x40139a
call fcn.00401050
test eax, eax
jns 0x401394
jne 0x4013f4
jmp 0x4013a8
mov eax, dword [ebp - 0xf4]
mov ebx, eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf0], eax
push ebx
call fcn.00409800
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 0x40141a
call fcn.00401050
test eax, eax
je 0x401422
test esi, esi
je 0x4013f4
push esi
call fcn.004096cf
add esp, 4
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x40166d
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xec], eax
test ecx, ecx
jne 0x401661
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
cmp dword [ebp - 0xe8], ebx
jne 0x4013e7
lea edx, [ebp - 0x9c]
lea ecx, [ebp - 0xb4]
call fcn.00407b17
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 0x10
jb 0x40143f
mov eax, dword [eax]
sub esp, 8
mov ecx, eax
call fcn.00403f69
add esp, 8
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 8
call fcn.00402f20
sub esp, 8
cmp dword [edi + 0x14], 8
mov ecx, esp
jb 0x401470
mov eax, dword [edi]
jmp 0x401472
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.00407b17
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 0x10
jb 0x4014b3
mov eax, dword [eax]
mov edi, dword [ebp - 0xe8]
sub esp, 0x38
mov edx, eax
mov ecx, edi
call fcn.0040404b
add esp, 0x38
lea ecx, [ebp - 0xcc]
call fcn.00402f20
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.00404421
mov ecx, edi
call fcn.00404514
add esp, 4
mov ecx, edi
call fcn.004046ef
test esi, esi
je 0x401514
push esi
call fcn.004096cf
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00401e10
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x3c], 0x40b6d4
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x18], eax
push 8
mov byte [ebp - 4], 0xf
call fcn.004097cd
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.00401e90
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x401583
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.00401100
test eax, eax
jne 0x401654
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x44]
push eax
call fcn.004011a0
test eax, eax
jne 0x401654
mov edi, dword [ebp - 0x44]
push edi
call fcn.00409800
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.00401150
test eax, eax
jne 0x401647
cmp dword [ebp - 0x40], eax
ja 0x401647
jb 0x4015f8
cmp edi, 0x1e00000
ja 0x401647
lea ecx, [ebp - 0x48]
call fcn.00403100
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x14
call fcn.004031d0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xe8], 0
cmp dword [eax + 0x14], 8
jb 0x401624
mov eax, dword [eax]
push ecx
lea ecx, [ebp - 0xe8]
push ecx
push edi
push esi
push eax
lea ecx, [ebp - 0x48]
call fcn.004032f0
lea ecx, [ebp - 0x48]
call fcn.004032c0
lea ecx, [ebp - 0x48]
call fcn.00403140
test esi, esi
je 0x401654
push esi
call fcn.004096cf
add esp, 4
lea ecx, [ebp - 0x84]
call fcn.00401e10
jmp 0x40168c
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 0x40168c
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.00409425
mov esp, ebp
pop ebp
ret