Function at 0x63d900
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x65bace
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x134]
push edi
push str.consumeGzipHeader
push esi
lea ecx, [esp + 0x30]
call fcn.004f0370
mov dword [esp + 0x124], 0
call fcn.004efba0
mov edi, dword [esp + 0x130]
mov ebp, dword [esp + 0x134]
mov ebx, dword [esp + 0x12c]
push esi
mov byte [esp + 0x1c], al
push edi
push ebp
lea eax, [esp + 0x28]
push 0xa
push eax
mov ecx, ebx
call fcn.005c4700
cmp eax, 0xa
je 0x63d985
mov edx, dword [esi]
push str.Failed_to_read_1st_10_bytes.
mov ecx, esi
call dword [edx + 0x14]
jmp 0x63dbea
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], 0xa
cmp al, 0x1f
jne 0x63dbcb
cmp ah, 0x8b
jne 0x63dbcb
cmp byte [esp + 0x1e], 8
je 0x63d9ba
mov eax, dword [esi]
push str.Invalid_GZip_compression_method
mov ecx, esi
call dword [eax + 0x14]
jmp 0x63dbea
mov al, byte [esp + 0x1f]
test al, 4
mov byte [esp + 0x13], al
je 0x63da78
push esi
push edi
push ebp
lea ecx, [esp + 0x28]
push 2
push ecx
mov ecx, ebx
call fcn.005c4700
cmp eax, 2
je 0x63d9f1
mov edx, dword [esi]
push str.Failed_to_read_XLEN
mov ecx, esi
call dword [edx + 0x14]
jmp 0x63dbea
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.004f05d0
and eax, 0xffff
mov dword [esp + 0x1c], eax
add eax, 0x10
push eax
call fcn.004f1c70
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
jne 0x63da2e
mov edx, dword [esi]
push str.Failed_to_allocated_tmp_buf.
mov ecx, esi
call dword [edx + 0x14]
jmp 0x63dbea
mov ecx, dword [esp + 0x14]
push esi
push edi
push ebp
push ecx
push eax
mov ecx, ebx
call fcn.005c4700
mov ecx, dword [esp + 0x14]
cmp eax, ecx
je 0x63da64
mov edx, dword [esp + 0x18]
push edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi]
add esp, 4
mov ecx, esi
push str.Failed_to_read_extra_field
call dword [eax + 0x14]
jmp 0x63dbea
add ecx, 0xc
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
push ecx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test byte [esp + 0x13], 8
je 0x63daf6
lea ecx, [esp + 0x34]
call fcn.004e57f0
mov byte [esp + 0x124], 1
push esi
push edi
push ebp
lea edx, [esp + 0x28]
push 1
push edx
mov ecx, ebx
call fcn.005c4700
cmp eax, 1
jne 0x63dac3
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc edx
test al, al
mov dword [esp + 0x14], edx
je 0x63dae5
push eax
lea ecx, [esp + 0x38]
call fcn.004e3f90
jmp 0x63da90
mov eax, dword [esi]
push str.Failed_to_read_original_filename
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], 0
call fcn.004e58d0
jmp 0x63dbea
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], 0
call fcn.004e58d0
test byte [esp + 0x13], 0x10
je 0x63db81
lea ecx, [esp + 0xa8]
call fcn.004e57f0
mov byte [esp + 0x124], 2
push esi
push edi
push ebp
lea ecx, [esp + 0x28]
push 1
push ecx
mov ecx, ebx
call fcn.005c4700
cmp eax, 1
jne 0x63db4b
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc edx
test al, al
mov dword [esp + 0x14], edx
je 0x63db6d
push eax
lea ecx, [esp + 0xac]
call fcn.004e3f90
jmp 0x63db15
mov edx, dword [esi]
push str.Failed_to_read_comment
mov ecx, esi
call dword [edx + 0x14]
lea ecx, [esp + 0xa8]
mov byte [esp + 0x124], 0
call fcn.004e58d0
jmp 0x63dbea
lea ecx, [esp + 0xa8]
mov byte [esp + 0x124], 0
call fcn.004e58d0
test byte [esp + 0x13], 2
je 0x63dbb1
push esi
push edi
push ebp
lea eax, [esp + 0x28]
push 2
push eax
mov ecx, ebx
call fcn.005c4700
cmp eax, 2
je 0x63dbac
mov edx, dword [esi]
push str.Failed_to_read_CRC
mov ecx, esi
call dword [edx + 0x14]
jmp 0x63dbea
add dword [esp + 0x14], 2
lea ecx, [esp + 0x28]
mov dword [esp + 0x124], 0xffffffff
call fcn.004f03e0
mov eax, dword [esp + 0x14]
jmp 0x63dc00
mov eax, dword [esi]
push str.Invalid_GZip_ID
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x1c]
push 0xa
push ecx
push str.initialBytes
mov ecx, esi
call fcn.004ef450
lea ecx, [esp + 0x28]
mov dword [esp + 0x124], 0xffffffff
call fcn.004f03e0
xor eax, eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret