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

Disassembly:
mov ecx, dword [0x5c5164]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a62c6
sub esp, 0x7c
mov ecx, dword [0x5c5260]
mov edi, dword [esp + 0x80]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
test ecx, ecx
je 0x4a5c37
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x4e35a0]
mov dword [esp], eax
mov dword [esp + 4], edi
call sym.runtime.wbZero
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x80]
xor eax, eax
call fcn.0045fb37
mov ecx, dword [esp + 0x80]
mov dword [ecx + 8], ebx
mov ebx, dword [0x5c5260]
test ebx, ebx
je 0x4a5c5f
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ebx, dword [ecx + 0xc]
mov dword [edi + 4], ebx
mov dword [ecx + 0xc], edx
lea eax, [0x4dc1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x88]
mov dword [esp + 8], edx
call sym.runtime.assertI2I2
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a5cbe
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [edx], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a5cb6
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edx + 4], ecx
jmp 0x4a5dd4
nop
mov eax, dword [esp + 0x84]
lea ecx, [0x514bf8]
cmp eax, ecx
jne 0x4a5cd9
mov eax, dword [esp + 0x88]
jmp 0x4a5cde
mov eax, 0
jne 0x4a5ced
cmp dword [eax + 4], 0x1000
jge 0x4a5dab
lea eax, [0x4e5500]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea ecx, [0x4d8400]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0045fb35
mov eax, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x1000
mov dword [esp + 0x58], 0x1000
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov dword [esp + 0x74], 0xffffffff
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a5d9a
lea eax, [0x4e5500]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea ecx, [esp + 0x50]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x50]
call fcn.0045ffe2
mov eax, dword [esp + 0x30]
lea ecx, [0x514d98]
mov edx, dword [esp + 0x80]
mov dword [edx], ecx
mov ecx, dword [0x5c5260]
test ecx, ecx
je 0x4a5dd1
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov dword [edx + 4], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x38], eax
mov ecx, dword [edx]
lea ebx, [0x4da9c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
lea edx, [ecx + 0x20]
mov dword [esp + 0x44], edx
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 2
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a5e56
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4a5ed8
cmp dword [0x59be78], eax
jne 0x4a5ec0
mov edx, dword [0x59be7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a5eb9
mov eax, dword [0x59be80]
mov ecx, dword [0x59be84]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a5eb4
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x4a5ec0
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [edx + 0x20]
mov ecx, eax
and eax, 0xf
nop
cmp al, 8
jne 0x4a5f18
shr cl, 4
cmp cl, 7
ja 0x4a5f18
movzx eax, word [edx + 0x20]
rol ax, 8
movzx ecx, ax
mov ebx, ecx
shl ecx, 0x10
imul ebx, ebx, 0x843
add ecx, ebx
rcr ecx, 1
shr ecx, 0x14
mov ebx, ecx
shl ecx, 5
sub ecx, ebx
cmp ax, cx
je 0x4a5f53
mov eax, dword [0x59c078]
mov ecx, dword [0x59c07c]
mov dword [edx + 0x18], eax
mov ebx, dword [0x5c5260]
test ebx, ebx
je 0x4a5f3e
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [edx + 0x21]
test al, 0x20
je 0x4a60ed
mov byte [esp + 0x27], al
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [edx]
lea ebx, [0x4da9c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 4
call sym.io.ReadAtLeast
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a5fdc
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4a605e
cmp dword [0x59be78], eax
jne 0x4a6046
mov edx, dword [0x59be7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a603f
mov eax, dword [0x59be80]
mov ecx, dword [0x59be84]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a603a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x4a6046
mov edx, dword [esp + 0x80]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
mov eax, dword [edx + 0x20]
bswap eax
mov dword [esp + 0x28], eax
nop
mov dword [esp], 1
mov ecx, dword [esp + 0x8c]
mov dword [esp + 4], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0xc], ebp
call sym.hash_adler32.update
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x10], eax
je 0x4a60e1
mov eax, dword [0x59c070]
mov ecx, dword [0x59c074]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov ebx, dword [0x5c5260]
test ebx, ebx
je 0x4a60cc
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x7c
ret
movzx eax, byte [esp + 0x27]
mov edx, dword [esp + 0x80]
mov ecx, dword [edx + 8]
test ecx, ecx
jne 0x4a61e2
test al, 0x20
je 0x4a6182
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x4da9c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x10], eax
call sym.compress_flate.NewReaderDict
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a617a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x4a6269
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x4da9c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call sym.compress_flate.NewReader
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x80]
mov dword [edx + 8], eax
mov eax, dword [0x5c5260]
test eax, eax
je 0x4a61da
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x4a6269
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x4da9c0]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.convI2I
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x40], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x3c], ebx
lea ebp, [0x4dad80]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call sym.runtime.assertI2I
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x14], ecx
call eax
lea eax, [0x4d8980]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
nop
mov dword [eax], 1
lea ecx, [0x514e7c]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x5c5260]
test ecx, ecx
je 0x4a62a9
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0x14]
mov dword [edi + 4], ecx
mov dword [edx + 0x14], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
add esp, 0x7c
ret
call sym.runtime.morestack_noctxt
jmp sym.compress_zlib._reader_.Reset