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

Disassembly:
mov ecx, dword [0x84d0e8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x56dfb1
sub esp, 0x88
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x18c]
test ecx, ecx
jne 0x56db5b
mov ecx, dword [esp + 0x94]
inc ecx
mov edx, dword [esp + 0x98]
cmp edx, ecx
jb 0x56da7f
mov ebx, dword [esp + 0x90]
jmp 0x56dabd
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
lea eax, [0x62c4a0]
mov dword [esp + 0x10], eax
call sym.runtime.growslice
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x84], ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [ebx + ecx*4 - 4], 0x100
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.compress_flate._huffmanBitWriter_.indexTokens
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x56db15
mov edx, dword [esp + 0xa4]
cmp edx, 0xffff
jg 0x56db0f
lea ebx, [edx + 5]
shl ebx, 3
mov ecx, 1
jmp 0x56db20
xor ecx, ecx
xor ebx, ebx
jmp 0x56db20
mov edx, dword [esp + 0xa4]
xor ecx, ecx
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x2b], cl
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
test cl, cl
je 0x56db57
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x5c], eax
mov eax, 0x109
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
jmp 0x56dee3
xor edi, edi
jmp 0x56db62
add esp, 0x88
ret
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], esi
mov dword [esp + 0x50], edi
mov eax, dword [0x80d218]
mov edx, dword [esp + 0x8c]
mov ebx, dword [edx + 0x15c]
mov ecx, dword [edx + 0x160]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x6c]
jmp 0x56dbb4
lea esi, [edi + 1]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x4c]
cmp edi, ecx
jge 0x56dbe9
mov esi, dword [ebx + edi*4]
test esi, esi
je 0x56dbe3
mov ebp, dword [eax + 4]
cmp edi, ebp
jae 0x56de9f
mov ebp, dword [eax]
lea ebp, [ebp + edi*4 + 2]
movzx ebp, word [ebp]
imul esi, ebp
mov ebp, dword [esp + 0x34]
add ebp, esi
jmp 0x56db9d
mov ebp, dword [esp + 0x34]
jmp 0x56db9d
mov dword [esp + 0x80], eax
mov ebx, dword [0x80d21c]
mov edi, dword [edx + 0x168]
mov ecx, dword [edx + 0x16c]
mov dword [esp + 0x64], eax
xor eax, eax
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x64]
jmp 0x56dc32
lea eax, [esi + 1]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x30], ebp
mov eax, dword [esp + 0x80]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x48]
cmp esi, ecx
jge 0x56dc67
mov eax, dword [edi + esi*4]
test eax, eax
je 0x56dc61
mov ebp, dword [ebx + 4]
cmp esi, ebp
jae 0x56de96
mov ebp, dword [ebx]
lea ebp, [ebp + esi*4 + 2]
movzx ebp, word [ebp]
imul eax, ebp
mov ebp, dword [esp + 0x30]
add ebp, eax
jmp 0x56dc18
mov ebp, dword [esp + 0x30]
jmp 0x56dc18
mov dword [esp + 0x7c], ebx
mov eax, dword [edx + 0x180]
mov ecx, dword [edx + 0x184]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call sym.compress_flate._huffmanBitWriter_.generateCodegen
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x188]
mov dword [esp], ecx
lea ecx, [eax + 0x10c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], 0x13
mov dword [esp + 0x10], 7
call sym.compress_flate._huffmanEncoder_.generate
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0x180]
mov edx, dword [eax + 0x184]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
call sym.compress_flate._huffmanBitWriter_.dynamicSize
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add ecx, edx
mov edx, dword [esp + 0x50]
lea ecx, [edx + ecx + 3]
cmp eax, ecx
jge 0x56dd2d
mov edx, dword [esp + 0x8c]
mov ebp, dword [edx + 0x180]
mov ebx, dword [edx + 0x184]
movzx esi, byte [esp + 0x2b]
xchg esi, eax
test al, al
xchg esi, eax
jmp 0x56dd48
movzx edx, byte [esp + 0x2b]
test dl, dl
mov edx, dword [esp + 0x8c]
mov eax, ecx
mov ebp, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
je 0x56dda8
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jle 0x56dda8
mov dword [esp], edx
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
movzx ecx, byte [esp + 0x9c]
mov byte [esp + 8], cl
call sym.compress_flate._huffmanBitWriter_.writeStoredHeader
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xc], eax
call sym.compress_flate._huffmanBitWriter_.writeBytes
add esp, 0x88
ret
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebp
cmp dword [0x80d218], ebp
jne 0x56de05
mov eax, dword [edx + 0x18c]
test eax, eax
jne 0x56de43
movzx eax, byte [esp + 0x9c]
test al, al
je 0x56ddd8
mov eax, 3
jmp 0x56dddd
mov eax, 2
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 3
call sym.compress_flate._huffmanBitWriter_.writeBits
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
jmp 0x56de43
mov eax, dword [esp + 0x14]
mov dword [esp], edx
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x9c]
mov byte [esp + 0x10], al
call sym.compress_flate._huffmanBitWriter_.writeDynamicHeader
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
mov ebp, dword [ebp + 8]
mov esi, dword [ebx]
mov edi, dword [ebx + 4]
mov ebx, dword [ebx + 8]
mov dword [esp], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x78]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call sym.compress_flate._huffmanBitWriter_.writeTokens
add esp, 0x88
ret
mov eax, esi
mov ecx, ebp
call sym.runtime.panicIndex
mov eax, edi
mov ecx, ebp
call sym.runtime.panicIndex
mov ecx, dword [0x802f10]
lea ecx, [edx + ecx - 0x101]
movsx ecx, byte [ecx]
imul eax, ecx
lea ecx, [edx + 1]
mov edx, dword [esp + 0x50]
add eax, edx
mov edx, dword [esp + 0xa4]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xa0]
movzx ecx, byte [esp + 0x2b]
mov edx, dword [esp + 0x44]
cmp edx, ebp
jge 0x56df17
mov eax, dword [edi + 0x160]
cmp edx, eax
jae 0x56dfa7
mov eax, dword [edi + 0x15c]
mov ebx, dword [0x802f14]
lea ecx, [edx - 0x101]
mov eax, dword [eax + edx*4]
cmp ebx, ecx
ja 0x56dea8
jmp 0x56df9e
mov edx, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x54]
jmp 0x56df55
mov ecx, dword [0x802f30]
add ecx, ebx
movsx ecx, byte [ecx]
imul eax, ecx
lea ecx, [ebx + 1]
add edx, eax
mov eax, dword [esp + 0xa0]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jge 0x56df7c
mov eax, dword [edi + 0x16c]
cmp ebx, eax
jae 0x56df95
mov eax, dword [edi + 0x168]
mov ecx, dword [0x802f34]
mov eax, dword [eax + ebx*4]
cmp ebx, ecx
jb 0x56df2e
jmp 0x56df8e
mov ebx, dword [esp + 0x2c]
mov edi, edx
mov edx, dword [esp + 0xa4]
jmp 0x56db62
mov eax, ebx
call sym.runtime.panicIndex
mov ecx, eax
mov eax, ebx
call sym.runtime.panicIndex
mov eax, ecx
mov ecx, ebx
call sym.runtime.panicIndex
mov ecx, eax
mov eax, edx
call sym.runtime.panicIndex
nop
call sym.runtime.morestack_noctxt
jmp sym.compress_flate._huffmanBitWriter_.writeBlock