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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102a9ed0
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x10373f78]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xc0], eax
cmp dword [eax], 0
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb0], esi
jne 0x100f1e2d
mov al, 1
jmp 0x100f2329
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100f1e37
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0xe8]
lea eax, [ebp - 0x7c]
mov dword [ebp - 0xe8], vtable.std::_Func_impl_no_alloc_bool____cdecl___void____bool__void__.0
push eax
mov dword [ebp - 0xe4], 0x10087150
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0x58], 0
call fcn.10087300
mov ecx, dword [ebp - 0xc4]
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x100f1eb1
mov edx, dword [ecx]
lea eax, [ebp - 0xe8]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x100f2268
cmp eax, 0xffffffff
je 0x100f2268
push 0x34
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x54]
push 0
push eax
movups xmmword [ebp - 0xa8], xmm0
movups xmmword [ebp - 0x98], xmm0
call fcn.10267270
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x100f21ee
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x100f21ee
movzx eax, word [ebp - 0x20]
mov dword [ebp - 0x30], eax
movzx eax, word [ebp - 0x1e]
dec eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], eax
movzx eax, word [ebp - 0x1a]
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x18]
mov dword [ebp - 0x3c], eax
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x40], eax
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0xb8]
movups xmm0, xmmword [ebp - 0x44]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x84]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x88], 0
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x100f1fac
xor eax, eax
cmp dword [ebp - 0xb4], eax
setg al
jmp 0x100f1fae
xor eax, eax
cmp dword [edi + 0x14], 0x10
jb 0x100f1fb6
mov edi, dword [edi]
push eax
push 0
push 0
push 0
push 8
push 0xfffffffffffffff1
push 0
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xc0]
push edi
push dword [eax]
call fcn.10156560
add esp, 0x44
mov dword [ebp - 0xb4], eax
test eax, eax
je 0x100f2019
call fcn.10048fd0
lea ecx, [ebp - 0xb4]
push ecx
push esi
push str.Unable_to_create_file__0__in_archive._Zip_error:__1
push ecx
mov ecx, eax
call fcn.100f2e90
mov byte [ebp - 0xa9], 4
jmp 0x100f22dc
push 0x2023
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.10264bfb
add esp, 4
test eax, eax
je 0x100f2346
lea edi, [eax + 0x23]
and edi, 0xffffffe0
push 0x2000
push 0
push edi
mov dword [edi - 4], eax
lea eax, [edi + 0x2000]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], eax
call fcn.10267270
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
mov dword [ebp - 0xbc], 0
nop dword [eax]
push 0
lea eax, [ebp - 0xbc]
push eax
push 0x2000
push edi
push dword [ebp - 0x84]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100f2140
mov eax, dword [ebp - 0xbc]
test eax, eax
je 0x100f2101
push eax
mov eax, dword [ebp - 0xc0]
push edi
push dword [eax]
call fcn.10156bf0
add esp, 0xc
mov dword [ebp - 0xb4], eax
test eax, eax
js 0x100f20da
jne 0x100f21b1
cmp dword [ebp - 0xbc], 0
ja 0x100f2080
jmp 0x100f2101
call fcn.10048fd0
lea ecx, [ebp - 0xb4]
push ecx
push esi
push str.Unable_to_write_file__0__into_archive._Zip_error:__1
push ecx
mov ecx, eax
call fcn.100f2e90
cmp dword [ebp - 0xb4], 0
jne 0x100f21b1
mov eax, dword [ebp - 0xc0]
push dword [eax]
call fcn.10155bc0
add esp, 4
mov dword [ebp - 0xb4], eax
test eax, eax
jns 0x100f2137
call fcn.10048fd0
lea ecx, [ebp - 0xb4]
push ecx
push esi
push str.Unable_to_close_file__0__in_archive._Zip_error:__1
push ecx
mov ecx, eax
call fcn.100f2e90
jmp 0x100f21b1
mov byte [ebp - 0xa9], 0
jmp 0x100f21b8
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.100882e0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
push dword [ebp - 0xb0]
mov ecx, esi
push 0x10335558
push 2
call fcn.10051390
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100f21b1
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f21a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2346
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 0xa9], 4
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
sub ecx, edi
cmp ecx, 0x1000
jb 0x100f21df
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x100f2346
mov edi, edx
push ecx
push edi
call fcn.1026505f
add esp, 8
jmp 0x100f22dc
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.100882e0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0xb0]
mov ecx, esi
push str.Unable_to_get_information_about_file__0_._Error:__1
push 2
call fcn.10051390
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100f225f
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f2255
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2346
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 0xa9], 4
jmp 0x100f22dc
call fcn.10048fd0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x38]
call fcn.100882e0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0xb0]
mov ecx, esi
push str.Unable_to_open_file__0__for_compression._Error:__1
push 2
call fcn.10051390
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x100f22d5
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100f22cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100f2346
push edx
push ecx
call fcn.1026505f
add esp, 8
mov byte [ebp - 0xa9], 3
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x100f230b
cmp eax, 0xffffffff
je 0x100f230b
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x100f2323
mov dword [ebp - 0xb0], eax
lea edx, [ebp - 0xb0]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x58]
test ecx, ecx
je 0x100f2323
mov esi, dword [ecx]
lea eax, [ebp - 0x7c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0xa9]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.102649e4
mov esp, ebp
pop ebp
ret 8
call fcn.10275373
int3