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

Disassembly:
mov ecx, dword [0x7762b4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x524912
sub esp, 0x7c
mov ecx, dword [0x776370]
mov edi, dword [esp + 0x80]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
test ecx, ecx
je 0x524256
mov dword [esp + 0x78], edx
mov dword [esp + 0x2c], ebx
mov eax, edi
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 4], ecx
lea ecx, [0x5dafe0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.wbZero
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x80]
xor eax, eax
call fcn.0046ac57
mov ecx, dword [esp + 0x80]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x84]
test edx, edx
je 0x5242a2
mov eax, dword [edx + 4]
lea ecx, [0x730bc8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x84]
mov edx, eax
xor eax, eax
jmp 0x5242a4
mov ebx, edx
test edx, edx
je 0x5242d9
mov dword [ecx], edx
mov eax, dword [0x776370]
test eax, eax
jne 0x5242bd
mov eax, dword [esp + 0x88]
jmp 0x5242d1
call sym.runtime.gcWriteBarrier2
mov eax, dword [esp + 0x88]
mov dword [edi], eax
mov edx, dword [ecx + 4]
mov dword [edi + 4], edx
mov dword [ecx + 4], eax
jmp 0x5243e8
nop
lea edx, [0x634fc8]
cmp ebx, edx
jne 0x5242ed
mov edx, dword [esp + 0x88]
jmp 0x5242f2
mov edx, 0
jne 0x524301
cmp dword [edx + 4], 0x1000
jge 0x5243c6
lea eax, [0x5df2a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea ecx, [0x5c2c00]
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 + 0x74], eax
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0046ac55
mov eax, dword [esp + 0x74]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0x1000
mov dword [esp + 0x44], 0x1000
mov eax, dword [esp + 0x84]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [0x776370]
test eax, eax
je 0x5243ae
lea eax, [0x5df2a0]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov edi, dword [esp + 0x30]
lea esi, [esp + 0x3c]
call fcn.0046b102
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x30]
lea eax, [0x635828]
mov dword [ecx], eax
mov eax, dword [0x776370]
test eax, eax
je 0x5243e5
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov eax, dword [ecx + 4]
mov dword [edi + 4], eax
mov dword [ecx + 4], edx
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
test eax, eax
je 0x524419
mov dword [esp + 0x38], edx
mov eax, dword [eax + 4]
lea ecx, [0x730bd8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x38]
lea ebx, [ecx + 0x20]
mov dword [esp + 0x70], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
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 ebx, dword [0x776370]
test ebx, ebx
je 0x524471
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
test eax, eax
je 0x5244f0
cmp dword [0x72fae8], eax
jne 0x5244d8
mov edx, dword [0x72faec]
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 0x5244d1
mov eax, dword [0x72faf0]
mov ecx, dword [0x72faf4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x776370]
test eax, eax
je 0x5244cc
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x5244d8
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 0x524530
shr cl, 4
cmp cl, 7
ja 0x524530
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 0x52456b
mov eax, dword [0x72fca8]
mov ecx, dword [0x72fcac]
mov dword [edx + 0x18], eax
mov ebx, dword [0x776370]
test ebx, ebx
je 0x524556
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 0x524709
mov byte [esp + 0x27], al
mov ecx, dword [edx]
mov ebx, dword [edx + 4]
test ecx, ecx
je 0x5245a6
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + 4]
lea ecx, [0x730be8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x70]
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 ebx, dword [0x776370]
test ebx, ebx
je 0x5245fb
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov ebx, dword [edx + 0x1c]
mov dword [edi + 4], ebx
mov dword [edx + 0x1c], ecx
test eax, eax
je 0x52467a
cmp dword [0x72fae8], eax
jne 0x524662
mov edx, dword [0x72faec]
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 0x52465b
mov eax, dword [0x72faf0]
mov ecx, dword [0x72faf4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x776370]
test eax, eax
je 0x524656
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x524662
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 0x5246fd
mov eax, dword [0x72fca0]
mov ecx, dword [0x72fca4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov ebx, dword [0x776370]
test ebx, ebx
je 0x5246e8
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
je 0x5247b6
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x78], ecx
test eax, eax
je 0x524745
mov eax, dword [eax + 4]
lea ecx, [0x730c28]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov ebx, dword [edx + 8]
test ebx, ebx
je 0x524903
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x68], eax
mov ecx, dword [ebx + 4]
lea ebx, [0x730c18]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x78]
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
jmp 0x5248a6
test al, 0x20
je 0x524844
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
je 0x5247e9
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
lea ecx, [0x730bf8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
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 [0x776370]
test eax, eax
je 0x52483f
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x5248a6
mov eax, dword [edx]
mov ecx, dword [edx + 4]
test eax, eax
je 0x52486e
mov dword [esp + 0x78], ecx
mov eax, dword [eax + 4]
lea ecx, [0x730c08]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ecx
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 [0x776370]
test eax, eax
je 0x5248a3
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
lea eax, [0x5c3540]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
nop
mov dword [eax], 1
lea ecx, [0x6362b8]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x776370]
test ecx, ecx
je 0x5248e6
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
lea eax, [0x5c7a60]
mov dword [esp], eax
call sym.runtime.panicnildottype
nop
call sym.runtime.morestack_noctxt
jmp sym.compress_zlib._reader_.Reset