Function at 0x4f6080
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f66c2
sub esp, 0x54
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00449e64
mov ecx, dword [esp + 0x58]
lea edx, [ecx + 0x48]
mov dword [esp + 0x50], edx
test byte [edx], al
mov ebx, dword [ecx + 0x34]
mov ebp, dword [ecx + 0x30]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea ebx, [0x603a40]
mov dword [esp], ebx
call dbg.runtime.convI2I
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0xa
mov dword [esp + 0x10], 0x200
call dbg.io.ReadFull
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
test edx, edx
jne 0x4f66b0
mov eax, dword [esp + 0x58]
movzx ecx, byte [eax + 0x48]
cmp cl, 0x1f
je 0x4f6134
mov eax, dword [0x7d1d10]
mov ecx, dword [0x7d1d14]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
add esp, 0x54
ret
movzx ecx, byte [eax + 0x49]
cmp cl, 0x8b
jne 0x4f6116
movzx ecx, byte [eax + 0x4a]
cmp cl, 8
jne 0x4f6116
movzx ecx, byte [eax + 0x4b]
mov byte [esp + 0x23], cl
mov edx, 4
mov edx, dword [eax + edx + 0x48]
test edx, edx
seta bl
and ebx, 1
test bl, bl
je 0x4f618b
add edx, 0x7791f700
mov ebx, dword [0x7cd878]
mov dword [esp + 0x70], edx
mov edx, 0
adc edx, 0xe
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], ebx
movzx edx, byte [eax + 0x51]
mov byte [esp + 0x88], dl
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], 0x200
call dbg.hash/crc32.ChecksumIEEE
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
movzx eax, byte [esp + 0x23]
test al, 4
jne 0x4f646e
test al, 8
jne 0x4f6424
test al, 0x10
jne 0x4f63e0
test al, 2
jne 0x4f62f2
mov dword [ecx + 0x40], 0
mov eax, dword [ecx + 0x38]
mov edx, dword [ecx + 0x3c]
test eax, eax
je 0x4f6293
lea ebx, [0x6034a0]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call dbg.runtime.assertI2I
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0xc]
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x2c], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
lea eax, [0x603a40]
mov dword [esp], eax
call dbg.runtime.convI2I
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
call eax
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x54
ret
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x603a40]
mov dword [esp], eax
call dbg.runtime.convI2I
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.compress/flate.NewReader
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x58]
mov dword [edx + 0x38], eax
mov eax, dword [0x7e38e0]
lea ebx, [edx + 0x3c]
test eax, eax
jne 0x4f62e4
mov dword [edx + 0x3c], ecx
jmp 0x4f6279
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x4f6279
mov eax, dword [ecx + 0x34]
mov edx, dword [ecx + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
lea eax, [0x603a40]
mov dword [esp], eax
call dbg.runtime.convI2I
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call dbg.io.ReadFull
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
test ecx, ecx
je 0x4f63ab
mov edx, dword [0x7d1e68]
cmp ecx, edx
je 0x4f636a
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x7d1e6c]
mov ebx, dword [0x7d1e68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call dbg.runtime.ifaceeq
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f63a1
mov eax, dword [0x7d1e94]
mov ecx, dword [0x7d1e90]
jmp 0x4f6358
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
jmp 0x4f6358
mov eax, dword [esp + 0x58]
movzx ecx, word [eax + 0x48]
mov edx, dword [eax + 0x40]
cmp cx, dx
jne 0x4f63c2
mov ecx, eax
jmp 0x4f61e6
mov eax, dword [0x7d1d14]
mov ecx, dword [0x7d1d10]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
call dbg.compress/gzip.(*Reader).readString
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x4f6412
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x58]
jmp 0x4f61dd
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], edx
add esp, 0x54
ret
mov dword [esp], ecx
call dbg.compress/gzip.(*Reader).readString
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 4]
test ecx, ecx
jne 0x4f645c
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], edx
movzx eax, byte [esp + 0x23]
mov ecx, dword [esp + 0x58]
jmp 0x4f61d4
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov edx, dword [ecx + 0x34]
mov ebx, dword [ecx + 0x30]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
lea edx, [0x603a40]
mov dword [esp], edx
call dbg.runtime.convI2I
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call dbg.io.ReadFull
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4f6527
mov edx, dword [0x7d1e68]
cmp ecx, edx
je 0x4f64e6
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x7d1e6c]
mov ebx, dword [0x7d1e68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call dbg.runtime.ifaceeq
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f651d
mov ecx, dword [0x7d1e90]
mov eax, dword [0x7d1e94]
jmp 0x4f64d4
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
jmp 0x4f64d4
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
mov dword [esp], ecx
mov ecx, dword [0x7d182c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x200
call dbg.hash/crc32.Update
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
movzx eax, word [ecx + 0x48]
lea edx, [0x5fc720]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call dbg.runtime.makeslice
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], edx
mov ebx, dword [esp + 0x58]
mov ebp, dword [ebx + 0x34]
mov esi, dword [ebx + 0x30]
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
lea ebp, [0x603a40]
mov dword [esp], ebp
call dbg.runtime.convI2I
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call dbg.io.ReadFull
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
test ecx, ecx
je 0x4f6652
mov edx, dword [0x7d1e68]
cmp ecx, edx
je 0x4f6611
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
add esp, 0x54
ret
mov dword [esp], ecx
mov dword [esp + 4], eax
mov edx, dword [0x7d1e6c]
mov ebx, dword [0x7d1e68]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call dbg.runtime.ifaceeq
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f6648
mov eax, dword [0x7d1e94]
mov ecx, dword [0x7d1e90]
jmp 0x4f65ff
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
jmp 0x4f65ff
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 0x40]
mov dword [esp], ecx
mov ecx, dword [0x7d182c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
call dbg.hash/crc32.Update
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [ecx + 0x40], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x6c], eax
movzx eax, byte [esp + 0x23]
jmp 0x4f61cb
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ecx
add esp, 0x54
ret
call dbg.runtime.morestack_noctxt
jmp dbg.compress/gzip.(*Reader).readHeader