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

Disassembly:
mov ecx, dword [0x6dded4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50d556
sub esp, 0x7c
mov ecx, dword [0x6ddfe0]
mov edi, dword [esp + 0x80]
mov edx, dword [edi + 0xc]
mov ebx, dword [edi + 8]
test ecx, ecx
je 0x50cec7
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], ebx
lea eax, [0x563240]
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.00460ba7
mov ecx, dword [esp + 0x80]
mov dword [ecx + 8], ebx
mov ebx, dword [0x6ddfe0]
test ebx, ebx
je 0x50ceef
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, [0x557840]
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 0x50cf4e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [edx], eax
mov eax, dword [0x6ddfe0]
test eax, eax
je 0x50cf46
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 4]
mov dword [edi + 4], eax
mov dword [edx + 4], ecx
jmp 0x50d064
nop
mov eax, dword [esp + 0x84]
lea ecx, [0x5b7898]
cmp eax, ecx
jne 0x50cf69
mov eax, dword [esp + 0x88]
jmp 0x50cf6e
mov eax, 0
jne 0x50cf7d
cmp dword [eax + 4], 0x1000
jge 0x50d03b
lea eax, [0x5664a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
lea ecx, [0x550e00]
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.00460ba5
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 [0x6ddfe0]
test eax, eax
je 0x50d02a
lea eax, [0x5664a0]
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.00461052
mov eax, dword [esp + 0x30]
lea ecx, [0x5b801c]
mov edx, dword [esp + 0x80]
mov dword [edx], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
je 0x50d061
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, [0x554e40]
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 [0x6ddfe0]
test eax, eax
je 0x50d0e6
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 0x50d168
cmp dword [0x688198], eax
jne 0x50d150
mov edx, dword [0x68819c]
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 0x50d149
mov eax, dword [0x6881a0]
mov ecx, dword [0x6881a4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6ddfe0]
test eax, eax
je 0x50d144
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x50d150
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 0x50d1a8
shr cl, 4
cmp cl, 7
ja 0x50d1a8
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 0x50d1e3
mov eax, dword [0x688468]
mov ecx, dword [0x68846c]
mov dword [edx + 0x18], eax
mov ebx, dword [0x6ddfe0]
test ebx, ebx
je 0x50d1ce
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 0x50d37d
mov byte [esp + 0x27], al
mov eax, dword [edx + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [edx]
lea ebx, [0x554e40]
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 [0x6ddfe0]
test eax, eax
je 0x50d26c
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 0x50d2ee
cmp dword [0x688198], eax
jne 0x50d2d6
mov edx, dword [0x68819c]
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 0x50d2cf
mov eax, dword [0x6881a0]
mov ecx, dword [0x6881a4]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov eax, dword [0x6ddfe0]
test eax, eax
je 0x50d2ca
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0x1c]
mov dword [edi + 4], eax
mov dword [edx + 0x1c], ecx
jmp 0x50d2d6
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 0x50d371
mov eax, dword [0x688460]
mov ecx, dword [0x688464]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x18], eax
mov ebx, dword [0x6ddfe0]
test ebx, ebx
je 0x50d35c
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 0x50d472
test al, 0x20
je 0x50d412
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x554e40]
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 [0x6ddfe0]
test eax, eax
je 0x50d40a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x50d4f9
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x554e40]
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 [0x6ddfe0]
test eax, eax
je 0x50d46a
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [edx + 0xc]
mov dword [edi + 4], eax
mov dword [edx + 0xc], ecx
jmp 0x50d4f9
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
mov ecx, dword [edx]
lea ebx, [0x554e40]
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, [0x5552c0]
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, [0x551640]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
nop
mov dword [eax], 1
lea ecx, [0x5b8314]
mov edx, dword [esp + 0x80]
mov dword [edx + 0x10], ecx
mov ecx, dword [0x6ddfe0]
test ecx, ecx
je 0x50d539
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