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

Disassembly:
mov ecx, dword [0x664c04]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x4e66e1
sub esp, 0xb0
mov ebx, dword [esp + 0xb4]
test byte [ebx], al
cmp dword [ebx + 0x2000c], 0x7ffe0001
jl 0x4e5e3b
mov ebp, dword [ebx + 0x20004]
test ebp, ebp
jne 0x4e5e34
xor eax, eax
jmp 0x4e66cb
xor eax, eax
jmp 0x4e6685
mov edx, dword [esp + 0xc8]
cmp edx, 0x11
jge 0x4e5e7e
add dword [ebx + 0x2000c], 0xffff
mov dword [ebx + 0x20004], 0
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xbc]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0xc0]
xor esi, esi
jmp 0x4e65fe
mov ebp, dword [esp + 0xc4]
mov esi, dword [ebp]
imul edi, esi, 0x1e35a7bd
lea eax, [edx - 0xf]
mov dword [esp + 0x94], eax
nop
nop
shr edi, 0x12
xor ecx, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x40], eax
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0xb8]
mov dword [esp + 0xa0], edx
xor ecx, ecx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x60]
jmp 0x4e5f51
mov esi, dword [esp + 0x90]
shl esi, 0x10
shr eax, 0x10
or esi, eax
imul edi, esi, 0x1e35a7bd
nop
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + eax + 5]
shr edi, 0x12
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0xc8]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0xc4]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x58], eax
mov eax, 0x20
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
jmp 0x4e6007
mov edx, dword [esp + 0xcc]
cmp edx, edi
jb 0x4e65e2
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
ja 0x4e65d9
mov ebp, edx
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
mov esi, edi
sub edi, ebx
mov dword [esp + 0x34], edi
mov ebx, dword [esp + 0xc4]
add edx, ebx
mov dword [esp + 0x9c], edx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x48]
jmp 0x4e6278
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0xa0]
jmp 0x4e6320
imul edi, edx, 0x1e35a7bd
shr edi, 0x12
mov ecx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
mov ebx, dword [esp + 0x94]
mov esi, dword [esp + 0x20]
mov eax, ebx
mov ebx, dword [esp + 0xb4]
mov ecx, dword [esp + 0x28]
mov esi, edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x20]
sar esi, 5
lea ebp, [ecx + esi]
mov ebx, dword [esp + 0x20]
add ebx, esi
cmp eax, ebp
jl 0x4e60ce
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ecx
and edi, 0x3fff
mov ebx, dword [esp + 0xb4]
lea eax, [ebx + edi*8]
lea esi, [ecx + esi + 4]
mov ecx, dword [eax]
mov dword [esp + 0x90], ecx
lea ecx, [ebx + edi*8]
lea edi, [ebx + edi*8 + 4]
nop
cmp edx, esi
jb 0x4e65f2
cmp esi, ebp
jb 0x4e65e9
mov dword [esp + 0x28], ebp
mov esi, dword [eax + 4]
mov dword [esp + 0x8c], esi
mov eax, dword [ebx + 0x2000c]
mov esi, dword [esp + 0x24]
add eax, esi
sub edx, ebp
neg edx
sar edx, 0x1f
and edx, ebp
mov ebp, dword [esp + 0xc4]
mov edx, dword [ebp + edx]
mov ebp, dword [esp + 0x44]
mov dword [ecx], ebp
mov dword [edi], eax
mov edi, dword [ebx + 0x2000c]
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mov ecx, ebx
sub ebx, edi
mov edi, esi
sub esi, ebx
nop
cmp esi, 0x8000
jg 0x4e5fcf
mov ebx, dword [esp + 0x90]
cmp ebp, ebx
jne 0x4e5fcf
jmp 0x4e5f67
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0xa0]
cmp edx, eax
jle 0x4e6129
jb 0x4e6234
mov esi, dword [esp + 0xcc]
sub esi, eax
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov edi, edx
sub edx, eax
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0xc4]
add esi, eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x94], eax
jmp 0x4e61c9
mov eax, dword [esp + 0xb4]
add dword [eax + 0x2000c], edx
mov esi, dword [eax + 0x20008]
cmp edx, esi
ja 0x4e61ad
mov dword [eax + 0x20004], edx
mov eax, dword [eax + 0x20000]
mov esi, dword [esp + 0xc4]
cmp esi, eax
je 0x4e6191
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], ebx
mov dword [esp + 0xac], ebp
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], edx
call sym.runtime.memmove
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x88]
mov ebp, dword [esp + 0xac]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ecx
add esp, 0xb0
ret
mov ecx, edx
mov edx, esi
call sym.runtime.panicSliceAcap
mov dword [ebp + ebx*4 - 4], edi
inc eax
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
cmp eax, edx
jge 0x4e622d
inc ebx
movzx edi, byte [eax + esi]
cmp ecx, ebx
jae 0x4e61b6
mov dword [esp + 0x90], edi
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5237c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x90]
jmp 0x4e61b6
mov edx, edi
jmp 0x4e6129
mov ecx, edx
call sym.runtime.panicSliceB
mov esi, dword [esp + 0xa0]
mov dword [esi + ebx*4 - 4], eax
lea eax, [ebp + 1]
mov ebp, dword [esp + 0xcc]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x88], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0xc4]
mov ebp, dword [esp + 0x88]
cmp ebp, edi
jge 0x4e5fbb
mov ebx, dword [esp + 0x3c]
inc ebx
movzx eax, byte [ebp + edx]
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
jae 0x4e623b
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x5237c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x88]
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x34]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x90]
jmp 0x4e623b
mov eax, edx
mov ebx, dword [esp + 0xc4]
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x88]
mov ebp, dword [esp + 0x80]
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x88], edx
mov dword [esp + 0x84], ebp
mov dword [esp + 0xa8], edi
mov dword [esp + 0x24], esi
lea edi, [esi + 4]
sub ecx, dword [eax + 0x2000c]
mov dword [esp + 0x8c], ecx
mov dword [esp], eax
mov dword [esp + 4], edi
lea edi, [ecx + 4]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebx
mov edi, dword [esp + 0xc8]
mov dword [esp + 0x10], edi
mov ebx, dword [esp + 0xcc]
mov dword [esp + 0x14], ebx
call sym.compress_flate._deflateFast_.matchLen
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x84]
inc ecx
lea edx, [eax + 1]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x8c]
mov esi, ebx
sub ebx, ebp
shl edx, 0x16
lea edx, [ebx + edx + 0x3fffffff]
mov ebx, dword [esp + 0x88]
cmp ebx, ecx
jb 0x4e63b6
mov edi, dword [esp + 0xa8]
jmp 0x4e6403
mov dword [esp + 0x90], edx
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x5237c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x24]
mov ebx, edx
mov edx, dword [esp + 0x90]
mov dword [esp + 0x88], ebx
mov dword [edi + ecx*4 - 4], edx
lea ebp, [esi + eax + 4]
lea edx, [eax + esi]
mov ebx, dword [esp + 0x94]
cmp ebp, ebx
jge 0x4e65b0
lea ebx, [esi + eax + 0xb]
lea eax, [esi + eax + 3]
mov esi, dword [esp + 0xc8]
cmp esi, ebx
jb 0x4e65d0
cmp ebx, eax
jb 0x4e65c9
mov dword [esp + 0xa4], edi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x8c], edx
mov ebx, dword [esp + 0xb4]
mov ecx, dword [ebx + 0x2000c]
lea ecx, [ecx + edx + 3]
mov dword [esp + 0x78], ecx
sub esi, edx
add esi, 0xfffffffd
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov ebp, dword [esp + 0xc4]
movzx eax, byte [ebp + esi]
movzx edi, byte [ebp + esi + 1]
mov dword [esp + 0x90], edi
shl edi, 8
or eax, edi
mov edi, dword [esp + 0x90]
shr edi, 0x18
movzx edx, byte [ebp + esi + 2]
mov dword [esp + 0x90], edx
shl edx, 0x10
or eax, edx
mov edx, ebx
mov ebx, dword [esp + 0x90]
shr ebx, 0x10
or edi, ebx
movzx ebx, byte [ebp + esi + 3]
mov dword [esp + 0x90], ebx
shr ebx, 8
or edi, ebx
mov ebx, dword [esp + 0x90]
shl ebx, 0x18
or eax, ebx
mov ebx, eax
shr eax, 8
movzx ecx, byte [ebp + esi + 4]
or ecx, edi
movzx edi, byte [ebp + esi + 5]
shl edi, 8
or ecx, edi
movzx edi, byte [ebp + esi + 6]
shl edi, 0x10
or ecx, edi
movzx esi, byte [ebp + esi + 7]
shl esi, 0x18
or ecx, esi
mov dword [esp + 0x90], ecx
shl ecx, 0x18
or ecx, eax
mov dword [esp + 0x74], ecx
imul edi, ebx, 0x1e35a7bd
shr edi, 0x12
and edi, 0x3fff
lea eax, [edx + edi*8]
lea edi, [edx + edi*8 + 4]
imul esi, ecx, 0x1e35a7bd
shr esi, 0x12
and esi, 0x3fff
lea ebp, [edx + esi*8]
lea ecx, [edx + esi*8 + 4]
lea esi, [edx + esi*8]
nop
mov dword [eax], ebx
mov eax, ebx
mov ebx, dword [esp + 0x78]
mov dword [edi], ebx
mov ebx, dword [esi + 4]
mov dword [esp + 0x78], ebx
mov edi, dword [edx + 0x2000c]
mov ebx, dword [esp + 0x8c]
lea edi, [edi + ebx + 4]
nop
mov esi, dword [esi]
mov dword [esp + 0x70], esi
mov esi, dword [esp + 0x74]
mov dword [ebp], esi
mov dword [ecx], edi
mov ebp, dword [edx + 0x2000c]
mov edi, dword [esp + 0x78]
mov ecx, edi
sub edi, ebp
sub ebx, edi
add ebx, 4
cmp ebx, 0x8000
jg 0x4e5edd
mov ebx, dword [esp + 0x70]
cmp ebx, esi
je 0x4e62fe
jmp 0x4e5edd
mov edx, dword [esp + 0xc8]
mov eax, ebp
mov ebx, ecx
mov ebp, edi
mov ecx, dword [esp + 0x88]
jmp 0x4e60e1
mov ecx, ebx
call sym.runtime.panicSlice3C
mov ecx, ebx
mov edx, esi
call sym.runtime.panicSlice3B
mov eax, ebx
mov ecx, edi
call sym.runtime.panicSliceB
mov ecx, edi
call sym.runtime.panicSliceAcap
mov eax, ebp
mov ecx, esi
call sym.runtime.panicSlice3C
mov ecx, esi
call sym.runtime.panicSlice3B
mov dword [ebx + ecx*4 - 4], edi
inc esi
cmp edx, esi
jle 0x4e6665
inc ecx
movzx edi, byte [eax + esi]
cmp ebp, ecx
jae 0x4e65f9
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
lea eax, [0x5237c0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xc8]
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x90]
jmp 0x4e65f9
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebp
add esp, 0xb0
ret
mov dword [esi + 4], ebp
inc eax
cmp eax, 0x4000
jge 0x4e66aa
lea ebp, [ebx + eax*8 + 4]
mov ebp, dword [ebp]
sub ebp, dword [ebx + 0x2000c]
add ebp, 0x8001
lea esi, [ebx + eax*8]
test ebp, ebp
jge 0x4e6681
xor ebp, ebp
jmp 0x4e6681
mov dword [ebx + 0x2000c], 0x8001
jmp 0x4e5e3b
lea ebp, [ebx + eax*8]
mov dword [ebp], 0
mov dword [ebp + 4], 0
inc eax
cmp eax, 0x4000
jl 0x4e66b9
mov dword [ebx + 0x2000c], 0x8001
jmp 0x4e5e3b
call sym.runtime.morestack_noctxt
jmp sym.compress_flate._deflateFast_.encode