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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f00b7
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x18c]
test ecx, ecx
jne 0x4f00b3
mov ecx, dword [esp + 0x74]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x78]
cmp edx, ebx
jg 0x4f0075
mov ebp, dword [esp + 0x70]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
mov dword [ebp + ecx*4], 0x100
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call dbg.compress/flate.(*huffmanBitWriter).indexTokens
mov eax, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x80]
test edx, edx
je 0x4f0065
mov ebx, dword [esp + 0x84]
cmp ebx, 0xffff
jg 0x4f005c
lea ebp, [ebx + 5]
shl ebp, 3
mov esi, 1
mov dword [esp + 0x2c], ebp
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x4f0051
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x58], eax
mov eax, 0x109
mov dword [esp + 0x40], eax
mov dword [esp + 0x50], ecx
xor ecx, ecx
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
cmp edx, eax
jge 0x4efdca
mov ebx, dword [edi + 0x160]
mov ebp, dword [edi + 0x15c]
cmp edx, ebx
jae 0x4f004a
mov ebx, dword [ebp + edx*4]
mov ebp, dword [0x7cdd7c]
mov esi, dword [0x7cdd78]
lea ecx, [edx - 0x101]
cmp ecx, ebp
jae 0x4f004a
lea ecx, [edx + 1]
movzx edx, byte [esi + edx - 0x101]
movsx edx, dl
imul ebx, edx
mov edx, dword [esp + 0x44]
add edx, ebx
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
movzx esi, byte [esp + 0x2b]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov edx, dword [esp + 0x40]
cmp edx, eax
jl 0x4efd56
mov edx, dword [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, 4
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jge 0x4efe41
mov ebp, dword [edi + 0x16c]
mov esi, dword [edi + 0x168]
cmp ebx, ebp
jae 0x4f0043
mov ebp, dword [esi + ebx*4]
mov esi, dword [0x7cdda8]
mov eax, dword [0x7cddac]
cmp ebx, eax
jae 0x4f0043
lea eax, [ebx + 1]
movzx ebx, byte [esi + ebx]
movsx ebx, bl
imul ebp, ebx
add edx, ebp
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
movzx esi, byte [esp + 0x2b]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jl 0x4efde7
mov dword [esp + 0x44], edx
mov ebx, dword [0x7d17d8]
mov dword [esp + 0x64], ebx
mov ebp, dword [0x7d17dc]
mov dword [esp + 0x60], ebp
mov dword [esp], edi
mov dword [esp + 4], edx
call dbg.compress/flate.(*huffmanBitWriter).fixedSize
mov eax, dword [esp + 8]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 0x180]
mov ebx, dword [ecx + 0x184]
mov dword [esp + 0x10], ebx
mov dword [esp], ecx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x38]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
call dbg.compress/flate.(*huffmanBitWriter).generateCodegen
mov eax, dword [esp + 0x6c]
lea ecx, [eax + 0x10c]
test byte [ecx], al
mov edx, dword [eax + 0x188]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x10], 7
call dbg.compress/flate.(*huffmanEncoder).generate
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x180]
mov edx, dword [eax + 0x184]
mov dword [esp + 8], edx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xc], ecx
call dbg.compress/flate.(*huffmanBitWriter).dynamicSize
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
cmp eax, edx
jge 0x4f0025
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x180]
mov ebp, dword [edx + 0x184]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, al
xchg esi, eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
je 0x4eff3e
mov esi, dword [esp + 0x2c]
cmp esi, eax
jl 0x4effd8
mov eax, dword [0x7d17d8]
cmp eax, ebx
jne 0x4effb1
mov dword [esp], edx
movzx eax, byte [esp + 0x7c]
mov byte [esp + 4], al
call dbg.compress/flate.(*huffmanBitWriter).writeFixedHeader
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [eax]
mov ebx, dword [esp + 0x64]
mov ebp, dword [ebx + 8]
mov esi, dword [ebx + 4]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebp
call dbg.compress/flate.(*huffmanBitWriter).writeTokens
add esp, 0x68
ret
mov dword [esp], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
movzx eax, byte [esp + 0x7c]
mov byte [esp + 0x10], al
call dbg.compress/flate.(*huffmanBitWriter).writeDynamicHeader
jmp 0x4eff59
mov dword [esp], edx
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x7c]
mov byte [esp + 8], cl
call dbg.compress/flate.(*huffmanBitWriter).writeStoredHeader
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0xc], eax
call dbg.compress/flate.(*huffmanBitWriter).writeBytes
add esp, 0x68
ret
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, al
xchg esi, eax
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
jmp 0x4eff28
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
mov edi, dword [esp + 0x6c]
xor edx, edx
jmp 0x4efe41
xor ebp, ebp
xor esi, esi
jmp 0x4efd17
mov ebx, dword [esp + 0x84]
xor ebp, ebp
xor esi, esi
jmp 0x4efd17
lea ebp, [0x60e9a0]
mov dword [esp], ebp
mov ebp, dword [esp + 0x70]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call dbg.runtime.growslice
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
jmp 0x4efcb2
add esp, 0x68
ret
call dbg.runtime.morestack_noctxt
jmp dbg.compress/flate.(*huffmanBitWriter).writeBlock