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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x340]
sub rsp, 0x440
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x480], rbx
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x1400e4c0c
call fcn.1402804a8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400e4c1a
call fcn.1402804a8
xor r15d, r15d
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov word [rsp + 0x58], r15w
or r8d, 0xffffffff
mov rdx, qword [0x14044b580]
lea rcx, [rsp + 0x50]
call fcn.1400c76f0
nop
mov rdx, qword [0x14044b610]
cmp word [rdx], r15w
jne 0x1400e4d76
test rsi, rsi
je 0x1400e4c71
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.1400c7590
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], Ordinal_133
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400e4caf
lea rdx, str.Error_opening_file
jmp 0x1400e4d29
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test eax, eax
jne 0x1400e4cc9
lea rdx, str.File_is_empty
jmp 0x1400e4d29
cmp edi, 0x400000
jbe 0x1400e4cda
lea rdx, str.File_too_large
jmp 0x1400e4d29
mov dword [rsp + 0x40], r15d
mov rcx, rdi
call fcn.14012a2dc
mov r14, rax
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x40], edi
je 0x1400e4d58
mov rcx, r14
call fcn.14012a2d4
mov rcx, rbx
call fcn.1400918d0
lea rdx, str.Could_not_read_file
mov r8d, 0x63
lea rcx, [rbx + 0x18]
call fcn.14029a8cc
mov r8d, gethostbyname
lea rdx, [0x140340620]
lea rcx, [rbx + 0xe0]
call fcn.14029a8cc
xor bl, bl
jmp 0x1400e4f7f
mov r8d, edi
mov rdx, r14
mov rcx, rbx
call fcn.1400e4ad0
movzx ebx, al
mov rcx, r14
call fcn.14012a2d4
jmp 0x1400e4f7f
lea rcx, [rsp + 0x50]
call fcn.1400c7590
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400e4d92
mov rdi, qword [0x14045f1f8]
jmp 0x1400e4df6
lea rax, [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov word [rbp + 0x78], r15w
or r8d, 0xffffffff
mov rdx, qword [0x14044b6a0]
lea rcx, [rbp + 0x70]
call fcn.1400c76f0
nop
mov rcx, qword [rbp + 0x70]
call fcn.1400c7220
mov r14, rax
mov r9, rax
xor edx, edx
lea r8d, [rdx + 2]
mov rcx, qword [rsp + 0x50]
call fcn.1400eef60
mov rdi, rax
test r14, r14
je 0x1400e4de4
mov rcx, r14
call fcn.14012a2d4
nop
lea rax, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp rcx, rax
je 0x1400e4df6
call fcn.1402804a8
test rdi, rdi
jne 0x1400e4e2d
lea rcx, [rbx + 0x18]
lea r8d, [rdi + 0x63]
lea rdx, str.Error_opening_zip_file
call fcn.14029a8cc
lea rcx, [rbx + 0xe0]
lea r8d, [rdi + 0x31]
lea rdx, [0x140340620]
call fcn.14029a8cc
xor bl, bl
jmp 0x1400e4f7f
mov dword [rsp + 0x40], r15d
lea rax, [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov word [rbp - 0x18], r15w
or r8d, 0xffffffff
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.1400c76f0
nop
lea r8, [0x140351bf4]
lea rdx, [0x140351bcc]
lea rcx, [rbp - 0x20]
call fcn.1400c7ad0
cmp dword [rdi], 1
je 0x1400e4e78
mov dword [0x14045fef0], 0x80000
jmp 0x1400e4ea0
lea rax, [rbp + 0x100]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rdi + 8]
call fcn.1400eec80
mov dword [0x14045fef0], eax
test eax, eax
je 0x1400e4ea9
lea rdx, str.Could_not_find_ziped_file
jmp 0x1400e4f15
mov esi, dword [rbp + 0x32c]
test esi, esi
jne 0x1400e4ebc
lea rdx, str.File_is_empty
jmp 0x1400e4f15
cmp esi, 0x400000
jbe 0x1400e4ecd
lea rdx, str.File_too_large
jmp 0x1400e4f15
mov rcx, rsi
call fcn.14012a2dc
mov r14, rax
mov r9d, esi
mov r8, rax
mov edx, dword [rsp + 0x40]
mov rcx, rdi
call fcn.1400ef0a0
test eax, eax
je 0x1400e4f41
cmp eax, 0x600
je 0x1400e4f41
mov rcx, r14
call fcn.14012a2d4
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x1400e4f0e
mov rcx, rdi
call fcn.1400ef0f0
lea rdx, str.Could_not_unzip_file
mov r8d, 0x63
lea rcx, [rbx + 0x18]
call fcn.14029a8cc
mov r8d, gethostbyname
lea rdx, [0x140340620]
lea rcx, [rbx + 0xe0]
call fcn.14029a8cc
xor bl, bl
jmp 0x1400e4f6c
cmp byte [reloc.WS2_32.dll_accept], 0
jne 0x1400e4f52
mov rcx, rdi
call fcn.1400ef0f0
mov r8d, esi
mov rdx, r14
mov rcx, rbx
call fcn.1400e4ad0
movzx ebx, al
mov rcx, r14
call fcn.14012a2d4
nop
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
cmp rcx, rax
je 0x1400e4f7f
call fcn.1402804a8
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x1400e4f93
call fcn.1402804a8
movzx eax, bl
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x480]
add rsp, 0x440
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret