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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ac928
sub esp, 0x80
mov eax, dword [esp + 0x84]
test byte [eax], al
mov ecx, dword [eax + 0x2000c]
cmp ecx, 0x40000000
jg 0x4ac8e3
mov ecx, dword [esp + 0x98]
cmp ecx, 0x11
jl 0x4ac860
lea edx, [ecx - 0xf]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx]
mov esi, ebp
imul ebp, ebp, 0x1e35a7bd
shr ebp, 0x12
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x6c]
jmp 0x4ac6e5
mov ebp, edx
imul ebp, ebp, 0x1e35a7bd
shr ebp, 0x12
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x30]
mov ecx, ebx
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x40]
mov esi, edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x44], esi
mov esi, dword [esp + 0x30]
sar esi, 5
lea ebx, [edi + esi]
mov ecx, dword [esp + 0x30]
add ecx, esi
cmp ebx, edx
jg 0x4ac845
mov dword [esp + 0x30], ecx
and ebp, 0x3fff
lea edx, [eax + ebp*8]
lea ecx, [eax + ebp*8 + 4]
mov dword [esp + 0x78], ecx
mov ecx, dword [ecx]
lea ebp, [eax + ebp*8]
mov edx, dword [edx]
lea esi, [edi + esi + 4]
cmp ebx, esi
ja 0x4ac921
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
cmp esi, edx
ja 0x4ac921
mov dword [esp + 0x40], ebx
mov esi, dword [eax + 0x2000c]
sub edx, ebx
neg edx
sar edx, 0x1f
and edx, ebx
mov ebx, dword [esp + 0x94]
mov edx, dword [ebx + edx]
mov ebx, dword [esp + 0x44]
mov dword [ebp], ebx
lea ebp, [esi + edi]
mov esi, dword [esp + 0x78]
mov dword [esi], ebp
mov ebp, dword [eax + 0x2000c]
mov esi, ecx
sub ecx, ebp
mov ebp, edi
sub edi, ecx
cmp edi, 0x8000
jg 0x4ac2c0
mov ecx, dword [esp + 0x48]
cmp ebx, ecx
jne 0x4ac2c0
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
ja 0x4ac91a
mov edx, dword [esp + 0x9c]
cmp ebp, edx
ja 0x4ac91a
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
mov eax, dword [esp + 0x7c]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
sub edx, ecx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, ecx
mov esi, dword [esp + 0x94]
add edx, esi
mov dword [esp + 0xc], edx
sub ebp, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
call dbg.compress/flate.emitLiteral
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x5c]
jmp 0x4ac42e
mov ebx, ebp
mov ebp, edx
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x34], ebx
mov esi, dword [esp + 0x84]
mov edi, dword [esi + 0x2000c]
mov dword [esp], esi
lea esi, [ebx + 4]
mov dword [esp + 0x5c], esi
mov dword [esp + 4], esi
sub ebp, edi
add ebp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 8], ebp
mov edi, dword [esp + 0x94]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x14], edi
call dbg.compress/flate.(*deflateFast).matchLen
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + 1]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x2c]
sub ebp, esi
shl ebx, 0x16
mov esi, dword [esp + 0x90]
cmp edx, esi
jg 0x4ac7f4
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x8c], edx
lea ebx, [ebp + ebx + 0x3fffffff]
mov dword [edi + ecx*4], ebx
mov ecx, dword [esp + 0x34]
lea ebx, [ecx + eax + 4]
lea ebp, [eax + ecx]
mov edx, dword [esp + 0x60]
cmp ebx, edx
jge 0x4ac6fb
lea edx, [ecx + eax + 3]
lea eax, [ecx + eax + 0xb]
cmp edx, eax
ja 0x4ac913
mov ecx, dword [esp + 0x98]
cmp eax, ecx
ja 0x4ac913
sub eax, edx
sub ecx, edx
neg ecx
sar ecx, 0x1f
and ecx, edx
test eax, eax
jbe 0x4ac90c
mov dword [esp + 0x54], esi
mov edx, dword [esp + 0x94]
movzx esi, byte [edx + ecx]
cmp eax, 1
jbe 0x4ac90c
mov dword [esp + 0x74], edi
movzx edi, byte [edx + ecx + 1]
mov dword [esp + 0x50], edi
shl edi, 8
or esi, edi
cmp eax, 2
jbe 0x4ac90c
mov dword [esp + 0x4c], ebx
mov edi, dword [esp + 0x50]
shr edi, 0x18
movzx ebx, byte [edx + ecx + 2]
mov dword [esp + 0x50], ebx
shl ebx, 0x10
or esi, ebx
mov ebx, dword [esp + 0x50]
shr ebx, 0x10
or edi, ebx
cmp eax, 3
jbe 0x4ac90c
movzx ebx, byte [edx + ecx + 3]
mov dword [esp + 0x50], ebx
shl ebx, 0x18
or esi, ebx
mov ebx, dword [esp + 0x50]
shr ebx, 8
or edi, ebx
cmp eax, 4
jbe 0x4ac905
movzx ebx, byte [edx + ecx + 4]
or ebx, edi
cmp eax, 5
jbe 0x4ac905
movzx edi, byte [edx + ecx + 5]
shl edi, 8
or ebx, edi
cmp eax, 6
jbe 0x4ac905
movzx edi, byte [edx + ecx + 6]
shl edi, 0x10
or ebx, edi
cmp eax, 7
jbe 0x4ac905
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], ebx
mov eax, esi
imul esi, esi, 0x1e35a7bd
shr esi, 0x12
and esi, 0x3fff
mov edi, dword [esp + 0x84]
lea ebx, [edi + esi*8]
mov ebp, dword [edi + 0x2000c]
movzx ecx, byte [edx + ecx + 7]
mov dword [ebx], eax
lea ebx, [edi + esi*8 + 4]
mov esi, dword [esp + 0x5c]
lea ebp, [ebp + esi + 3]
mov dword [ebx], ebp
shr eax, 8
shl ecx, 0x18
mov ebp, dword [esp + 0x50]
or ebp, ecx
mov dword [esp + 0x28], ebp
shl ebp, 0x18
or ebp, eax
mov eax, ebp
imul ebp, ebp, 0x1e35a7bd
shr ebp, 0x12
and ebp, 0x3fff
lea ecx, [edi + ebp*8]
mov ebx, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x48], ecx
lea edx, [edi + ebp*8]
mov ecx, dword [edi + 0x2000c]
mov dword [edx], eax
lea edx, [edi + ebp*8 + 4]
lea ecx, [ecx + esi + 4]
mov dword [edx], ecx
mov ecx, dword [edi + 0x2000c]
mov edx, ebx
sub ebx, ecx
mov ecx, dword [esp + 0x4c]
mov ebp, ecx
sub ecx, ebx
cmp ecx, 0x8000
jg 0x4ac684
mov ecx, dword [esp + 0x48]
cmp ecx, eax
je 0x4ac41b
mov esi, dword [esp + 0x24]
shr esi, 0x10
mov eax, dword [esp + 0x28]
shl eax, 0x10
or esi, eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
lea eax, [ecx + eax + 5]
mov ecx, esi
imul esi, esi, 0x1e35a7bd
shr esi, 0x12
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x94]
mov edi, eax
mov ebp, esi
mov esi, ecx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, 0x20
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
jmp 0x4ac2f4
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
cmp ebx, ecx
jge 0x4ac7e9
ja 0x4ac8fe
mov dword [esp], edi
mov dword [esp + 4], eax
mov dword [esp + 8], esi
mov eax, dword [esp + 0x9c]
sub eax, ebx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ebx
mov ebp, dword [esp + 0x94]
add eax, ebp
mov dword [esp + 0xc], eax
sub ecx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dbg.compress/flate.emitLiteral
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x84]
mov ebp, dword [ebx + 0x2000c]
mov esi, dword [esp + 0x98]
add ebp, esi
mov dword [ebx + 0x2000c], ebp
mov ebp, dword [ebx + 0x20008]
cmp esi, ebp
ja 0x4ac8f7
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], edx
mov dword [ebx + 0x20004], esi
mov eax, dword [ebx + 0x20000]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call dbg.runtime.memmove
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa8], eax
add esp, 0x80
ret
mov ecx, eax
mov eax, esi
mov edx, edi
jmp 0x4ac75c
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x50], ebx
lea eax, [0x5cf580]
mov dword [esp], eax
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x5c]
jmp 0x4ac4c7
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x7c]
mov esi, dword [esp + 0x90]
jmp 0x4ac702
mov edx, dword [eax + 0x2000c]
add edx, 0xffff
mov dword [eax + 0x2000c], edx
mov dword [eax + 0x20004], 0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x14], eax
call dbg.compress/flate.emitLiteral
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], eax
add esp, 0x80
ret
mov dword [esp], eax
call dbg.compress/flate.(*deflateFast).resetAll
mov eax, dword [esp + 0x84]
jmp 0x4ac277
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.compress/flate.(*deflateFast).encode