Function at 0x78c586
Capabilities:
Compress data via zlib inflate or deflate

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x78c5a6
mov eax, GetInterfaceInfo
add esp, 0x3c
pop ebx
pop esi
pop edi
leave
ret
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x78c596
cmp dword [ebp + 0xc], 5
jg 0x78c596
mov ecx, dword [ebp + 0xc]
test ecx, ecx
js 0x78c596
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x78ca87
mov eax, dword [ebx]
test eax, eax
je 0x78cbe1
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
cmp eax, 0x29a
je 0x78ca7d
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x78c7a1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], ebx
mov esi, dword [ecx + 0x28]
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0x28], edi
cmp eax, 0x2a
je 0x78c9a6
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x45
je 0x78c84e
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 4], 0x49
je 0x78cbf0
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 4], 0x5b
je 0x78cbd9
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 4], 0x67
je 0x78cbd4
mov edx, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x14]
test ecx, ecx
jne 0x78c7b3
cmp dword [ebx + 4], 0
jne 0x78c662
mov esi, dword [ebp - 0x28]
cmp dword [ebp + 0xc], esi
jg 0x78c662
cmp dword [ebp + 0xc], 4
jne 0x78c7a1
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 4]
cmp edx, 0x29a
je 0x78c797
cmp dword [ebx + 4], 0
je 0x78c6de
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x88]
cmp eax, 2
je 0x78cf49
cmp eax, 3
je 0x78cc00
mov edx, dword [ebp - 0x1c]
imul eax, dword [edx + 0x84], 0xc
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x62e960e8]
lea edx, [eax - 2]
cmp edx, 1
jbe 0x78c7d5
test eax, eax
jne 0x78c7e8
xor eax, eax
cmp dword [ebx + 0x10], 0
jne 0x78c59b
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x28], reloc.MSVCRT.dll_strncpy
jmp 0x78c59b
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x74], 0
jne 0x78c67a
xor eax, eax
cmp dword [ebp + 0xc], 0
je 0x78c59b
cmp edx, 0x29a
jne 0x78c67a
xor eax, eax
cmp dword [ebp + 0xc], 4
jne 0x78c59b
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x18]
mov eax, 1
test edx, edx
jle 0x78c59b
cmp edx, 2
je 0x78d410
mov edx, dword [ebx + 0x30]
mov ecx, edx
shr ecx, 0x10
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x14]
mov esi, dword [edi + 8]
shr edx, 0x18
mov byte [esi + eax], dl
mov edx, dword [edi + 8]
mov byte [edx + eax + 1], cl
mov edx, dword [ebx + 0x30]
and edx, 0xffff
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ecx + 8]
mov esi, edx
shr esi, 8
mov ecx, esi
mov byte [edi + eax + 2], cl
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 8]
mov byte [ecx + eax + 3], dl
add eax, 4
mov dword [esi + 0x14], eax
mov eax, ebx
call fcn.0078b31e
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x18]
test eax, eax
jle 0x78c785
neg eax
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
sete al
movzx eax, al
jmp 0x78c59b
cmp dword [ebx + 4], 0
je 0x78c6de
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebx + 0x18], eax
mov eax, GetInterfaceInfo
jmp 0x78c59b
mov eax, ebx
call fcn.0078b31e
cmp dword [ebx + 0x10], 0
jne 0x78c662
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], reloc.MSVCRT.dll_strncpy
xor eax, eax
jmp 0x78c59b
mov esi, dword [ebp - 0x1c]
mov dword [esi + 4], 0x29a
cmp eax, 2
je 0x78c6c3
dec eax
jne 0x78c6ff
cmp dword [ebp + 0xc], 1
je 0x78d13c
cmp dword [ebp + 0xc], 5
je 0x78c82c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edx, dword [ebp - 0x1c]
mov dword [esp], edx
call fcn.00795bee
cmp dword [ebp + 0xc], 3
je 0x78d38c
mov eax, ebx
call fcn.0078b31e
cmp dword [ebx + 0x10], 0
jne 0x78c6ff
mov edi, dword [ebp - 0x1c]
mov dword [edi + 0x28], reloc.MSVCRT.dll_strncpy
xor eax, eax
jmp 0x78c59b
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x10], 0
je 0x78d3c6
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x20]
movzx esi, word [eax + 0x14]
mov edx, edi
cmp esi, ecx
jbe 0x78c8fe
mov esi, eax
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x1c]
jmp 0x78c8ab
mov eax, dword [esi + 0x10]
mov al, byte [eax + ecx]
mov ecx, dword [ebx + 8]
mov byte [ecx + edx], al
inc edx
mov dword [ebx + 0x14], edx
mov ecx, dword [ebx + 0x20]
inc ecx
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x1c]
mov esi, dword [eax + 0x14]
and esi, 0xffff
cmp esi, ecx
jbe 0x78cbf8
mov esi, eax
cmp dword [ebx + 0xc], edx
jne 0x78c87e
mov esi, dword [eax + 0x2c]
test esi, esi
je 0x78c8d9
cmp edx, edi
jbe 0x78c8d9
sub edx, edi
mov dword [esp + 8], edx
add edi, dword [ebx + 8]
mov dword [esp + 4], edi
mov edi, dword [ebp - 0x24]
mov eax, dword [edi + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0x24]
call fcn.0078b31e
mov edi, dword [ebx + 0x14]
cmp edi, dword [ebx + 0xc]
je 0x78c8f3
mov esi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, edi
jmp 0x78c87e
mov ebx, dword [ebp - 0x24]
mov edx, edi
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x78c90c
cmp edi, edx
jb 0x78d113
mov esi, dword [eax + 0x14]
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x20], esi
jne 0x78c615
mov dword [ecx + 0x20], 0
mov dword [ecx + 4], 0x49
cmp dword [eax + 0x1c], 0
je 0x78d47d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x14]
mov ecx, edx
mov esi, dword [ebp - 0x1c]
jmp 0x78c962
mov edi, dword [esi + 0x20]
mov eax, dword [eax + 0x1c]
mov al, byte [eax + edi]
inc edi
mov dword [esi + 0x20], edi
mov edi, dword [esi + 8]
mov byte [edi + ecx], al
inc ecx
mov dword [esi + 0x14], ecx
test al, al
je 0x78ca99
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0xc], ecx
jne 0x78c940
cmp dword [eax + 0x2c], 0
je 0x78c98c
cmp edx, ecx
jae 0x78c98c
sub ecx, edx
mov dword [esp + 8], ecx
add edx, dword [esi + 8]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov eax, ebx
call fcn.0078b31e
mov edx, dword [esi + 0x14]
cmp edx, dword [esi + 0xc]
je 0x78d14c
mov ecx, edx
mov eax, dword [esi + 0x1c]
jmp 0x78c940
cmp dword [ecx + 0x18], 2
je 0x78d181
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0x30]
shl eax, 0xc
sub eax, 0x7800
xor ecx, ecx
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x88], 1
jle 0x78cf1f
shl ecx, 6
or ecx, eax
mov edi, dword [ebp - 0x1c]
cmp dword [edi + 0x6c], 0
je 0x78c9e1
or ecx, 0x20
mov edi, 0x1f
mov eax, ecx
xor edx, edx
div edi
add ecx, 0x1f
sub ecx, edx
mov esi, dword [ebp - 0x1c]
mov dword [esi + 4], 0x71
mov eax, dword [esi + 0x14]
mov edi, esi
mov esi, dword [esi + 8]
mov edx, ecx
shr edx, 8
mov byte [esi + eax], dl
mov edx, dword [edi + 8]
mov byte [edx + eax + 1], cl
lea edx, [eax + 2]
mov dword [edi + 0x14], edx
cmp dword [edi + 0x6c], 0
je 0x78ca59
mov edx, dword [ebx + 0x30]
mov ecx, edx
shr ecx, 0x10
mov esi, dword [edi + 8]
shr edx, 0x18
mov byte [esi + eax + 2], dl
mov edx, dword [edi + 8]
mov byte [edx + eax + 3], cl
mov edx, dword [ebx + 0x30]
and edx, 0xffff
mov esi, dword [edi + 8]
mov ecx, edx
shr ecx, 8
mov byte [esi + eax + 4], cl
mov ecx, dword [edi + 8]
mov byte [ecx + eax + 5], dl
add eax, 6
mov dword [edi + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0078a8f2
mov dword [ebx + 0x30], eax
jmp 0x78c608
cmp dword [ebp + 0xc], 4
je 0x78c5e3
mov eax, dword [reloc.MSVCRT.dll_strncpy]
mov dword [ebx + 0x18], eax
mov eax, GetInterfaceInfo
jmp 0x78c59b
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x78caaf
cmp edx, ecx
jb 0x78d48c
test esi, esi
jne 0x78c622
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x20], 0
mov dword [eax + 4], 0x5b
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x24], 0
je 0x78d3d5
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x14]
mov ecx, edx
mov esi, edi
jmp 0x78caff
mov edi, dword [esi + 0x20]
mov eax, dword [eax + 0x24]
mov al, byte [eax + edi]
inc edi
mov dword [esi + 0x20], edi
mov edi, dword [esi + 8]
mov byte [edi + ecx], al
inc ecx
mov dword [esi + 0x14], ecx
test al, al
je 0x78cb43
mov eax, dword [esi + 0x1c]
cmp dword [esi + 0xc], ecx
jne 0x78cae1
cmp dword [eax + 0x2c], 0
je 0x78cb29
cmp edx, ecx
jae 0x78cb29
sub ecx, edx
mov dword [esp + 8], ecx
add edx, dword [esi + 8]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov eax, ebx
call fcn.0078b31e
mov edx, dword [esi + 0x14]
cmp edx, dword [esi + 0xc]
je 0x78d3e4
mov ecx, edx
mov eax, dword [esi + 0x1c]
jmp 0x78cae1
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x78cb59
cmp edx, ecx
jb 0x78d3f0
test esi, esi
jne 0x78c62f
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0x67
mov eax, dword [eax + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x78ce8a
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x14]
lea edx, [eax + 2]
cmp edx, dword [edi + 0xc]
ja 0x78d166
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + 8]
mov ecx, dword [ebx + 0x30]
mov byte [esi + eax], cl
mov edi, dword [ebp - 0x1c]
mov esi, dword [edi + 8]
mov ecx, dword [ebx + 0x30]
shr ecx, 8
mov byte [esi + eax + 1], cl
mov dword [edi + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov dword [edi + 4], 0x71
jmp 0x78c63c
mov eax, dword [esi + 0x1c]
jmp 0x78cb6e
mov eax, dword [esi + 0x1c]
jmp 0x78cacb
cmp dword [ebx + 4], 0
je 0x78c5d2
jmp 0x78ca87
mov eax, dword [eax + 0x1c]
jmp 0x78c929
mov ebx, dword [ebp - 0x24]
jmp 0x78c8fe
movzx eax, byte [0x62e97ae0]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x74]
jmp 0x78cc84
mov dword [ebx + 0x60], 0
mov esi, dword [ebx + 0x6c]
test esi, esi
jne 0x78ccd0
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov dl, byte [eax + esi]
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov word [ecx + eax*2], 0
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov byte [ecx + eax], dl
inc eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
movzx edx, dl
inc word [ebx + edx*4 + 0x94]
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
dec edx
xor ecx, ecx
cmp eax, edx
sete cl
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
mov edx, dword [ebx + 0x6c]
inc edx
mov dword [ebx + 0x6c], edx
test ecx, ecx
jne 0x78ce04
cmp eax, 0x101
ja 0x78cc15
mov eax, ebx
call fcn.0078b36a
mov eax, dword [ebx + 0x74]
cmp eax, 0x101
ja 0x78cc15
cmp dword [ebp + 0xc], 0
je 0x78ce51
test eax, eax
je 0x78ce99
mov dword [ebx + 0x60], 0
cmp eax, 2
ja 0x78cc1c
mov edi, dword [ebx + 0x38]
mov dword [ebp - 0x24], edi
mov esi, dword [ebx + 0x6c]
jmp 0x78cc2d
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x24], ecx
lea ecx, [ecx + esi - 1]
movzx edi, byte [ecx]
mov dword [ebp - 0x20], edi
mov dl, byte [ecx]
cmp byte [ecx + 1], dl
jne 0x78cc2d
movzx edx, byte [ecx + 2]
cmp edi, edx
jne 0x78cc2d
lea edx, [ecx + 3]
movzx ecx, byte [ecx + 3]
cmp edi, ecx
jne 0x78cc2d
mov ecx, dword [ebp - 0x24]
lea ecx, reloc.MSVCRT.dll_strncpy
mov dword [ebp - 0x30], ecx
jmp 0x78cd70
lea ecx, [edx + 2]
movzx edi, byte [edx + 2]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 3]
movzx edi, byte [edx + 3]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 4]
movzx edi, byte [edx + 4]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 5]
movzx edi, byte [edx + 5]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 6]
movzx edi, byte [edx + 6]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 7]
movzx edi, byte [edx + 7]
cmp dword [ebp - 0x20], edi
jne 0x78cd7c
lea ecx, [edx + 8]
movzx edx, byte [edx + 8]
cmp dword [ebp - 0x20], edx
jne 0x78cd7c
cmp ecx, dword [ebp - 0x30]
jae 0x78cd7c
mov edx, ecx
lea ecx, [edx + 1]
movzx edi, byte [edx + 1]
cmp dword [ebp - 0x20], edi
je 0x78cd15
mov edx, 0x102
sub edx, dword [ebp - 0x30]
lea edx, [ecx + edx]
mov dword [ebx + 0x60], edx
cmp edx, eax
jbe 0x78d158
mov dword [ebx + 0x60], eax
mov edx, eax
sub edx, 3
mov eax, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov word [ecx + eax*2], 1
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov byte [ecx + eax], dl
inc eax
mov dword [ebx + reloc.MSVCRT.dll_strncpy], eax
movzx edx, dl
movzx edx, byte [edx + 0x62e97ce0]
inc word [ebx + edx*4 + 0x498]
mov esi, dword [ebp - 0x28]
inc word [ebx + esi*4 + 0x988]
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
dec edx
xor ecx, ecx
cmp eax, edx
sete cl
mov edx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x74]
sub eax, edx
mov dword [ebx + 0x74], eax
add edx, dword [ebx + 0x6c]
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x60], 0
jmp 0x78cc7c
mov eax, dword [ebx + 0x5c]
sub edx, eax
xor ecx, ecx
test eax, eax
js 0x78ce14
mov ecx, dword [ebx + 0x38]
add ecx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], ebx
call fcn.00795fca
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov esi, dword [ecx + 0x14]
mov edx, dword [eax + 0x10]
cmp edx, esi
jbe 0x78ce43
mov edx, esi
test edx, edx
jne 0x78ce5b
cmp dword [eax + 0x10], 0
jne 0x78cc10
mov ebx, dword [ebp - 0x2c]
xor eax, eax
jmp 0x78c6af
mov esi, dword [ecx + 0x10]
mov edi, dword [eax + 0xc]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
add dword [eax + 0xc], edx
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0x10], edx
add dword [eax + 0x14], edx
sub dword [eax + 0x10], edx
mov eax, dword [ecx + 0x14]
sub eax, edx
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x78ce86
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx]
jmp 0x78ce47
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], 0x71
jmp 0x78c63c
mov ebx, dword [ebp - 0x2c]
xor edx, edx
cmp dword [ebp + 0xc], 4
sete dl
mov esi, edx
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x5c]
mov eax, dword [ecx + 0x6c]
sub eax, edx
xor ecx, ecx
test edx, edx
js 0x78cec0
mov ecx, edx
mov edi, dword [ebp - 0x1c]
add ecx, dword [edi + 0x38]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00795fca
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x6c]
mov dword [edx + 0x5c], eax
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + 0x14]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x24], esi
cmp esi, edx
jbe 0x78cef8
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jne 0x78d4be
mov edi, dword [ebp - 0x20]
cmp dword [edi + 0x10], 0
jne 0x78d4ac
xor eax, eax
cmp dword [ebp + 0xc], 4
sete al
shl eax, 1
jmp 0x78c6af
mov edx, dword [esi + 0x84]
cmp edx, 1
jle 0x78c9d0
mov cl, 1
cmp edx, 5
jle 0x78c9d0
xor ecx, ecx
cmp edx, 6
setne cl
add ecx, 2
jmp 0x78c9d0
mov dword [ebp - 0x24], ebx
mov ebx, edx
mov eax, dword [ebx + 0x74]
jmp 0x78cfad
mov dword [ebx + 0x60], 0
mov edx, dword [ebx + 0x38]
mov eax, dword [ebx + 0x6c]
mov al, byte [edx + eax]
mov edx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov word [ecx + edx*2], 0
mov ecx, dword [ebx + reloc.MSVCRT.dll_strncpy]
mov byte [ecx + edx], al
inc edx
mov dword [ebx + reloc.MSVCRT.dll_strncpy], edx
movzx eax, al
inc word [ebx + eax*4 + 0x94]
mov esi, dword [ebx + reloc.MSVCRT.dll_strncpy]
dec esi
mov eax, dword [ebx + 0x74]
dec eax
mov dword [ebx + 0x74], eax
mov ecx, dword [ebx + 0x6c]
inc ecx
mov dword [ebx + 0x6c], ecx
cmp edx, esi
je 0x78d080
test eax, eax
jne 0x78cf53
mov eax, ebx
call fcn.0078b36a
mov edx, dword [ebx + 0x74]
test edx, edx
jne 0x78cf53
mov ebx, dword [ebp - 0x24]
xor eax, eax
cmp dword [ebp + 0xc], 0
je 0x78c6af
xor ecx, ecx
cmp dword [ebp + 0xc], 4
sete cl
mov esi, ecx
mov edi, dword [ebp - 0x1c]
mov edx, dword [edi + 0x5c]
mov eax, dword [edi + 0x6c]
sub eax, edx
xor ecx, ecx
test edx, edx
js 0x78cfef
mov ecx, dword [edi + 0x38]
add ecx, edx
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00795fca
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x6c]
mov dword [edx + 0x5c], eax
mov ecx, dword [edx]
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0x1c]
mov edx, dword [eax + 0x14]
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x24], esi
cmp esi, edx
jbe 0x78d027
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x78cf02
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x34], edi
mov edx, dword [eax + 0x10]
mov esi, edx
mov ecx, dword [ebp - 0x24]
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
add dword [edi + 0xc], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp - 0x24]
add dword [eax + 0x10], edx
add dword [edi + 0x14], edx
sub dword [edi + 0x10], edx
mov edx, dword [eax + 0x14]
sub edx, dword [ebp - 0x24]
mov dword [eax + 0x14], edx
test edx, edx
jne 0x78d106
mov edx, dword [eax + 8]
mov dword [eax + 0x10], edx
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi]
mov dword [ebp - 0x20], esi
jmp 0x78cf02
mov eax, dword [ebx + 0x5c]
sub ecx, eax
xor edx, edx
test eax, eax
js 0x78d090
mov edx, dword [ebx + 0x38]
add edx, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.00795fca
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x1c]
mov esi, dword [ecx + 0x14]
mov edx, dword [eax + 0x10]
cmp edx, esi
jbe 0x78d0bf
mov edx, esi
test edx, edx
jne 0x78d0d7
cmp dword [eax + 0x10], 0
jne 0x78cf4e
mov ebx, dword [ebp - 0x24]
xor eax, eax
jmp 0x78c6af
mov esi, dword [ecx + 0x10]
mov edi, dword [eax + 0xc]
mov ecx, edx
rep movsb byte es:[edi], byte [esi]
add dword [eax + 0xc], edx
mov ecx, dword [eax + 0x1c]
add dword [ecx + 0x10], edx
add dword [eax + 0x14], edx
sub dword [eax + 0x10], edx
mov eax, dword [ecx + 0x14]
sub eax, edx
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x78d102
mov eax, dword [ecx + 8]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx]
jmp 0x78d0c3
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
jmp 0x78cf02
sub edx, edi
mov dword [esp + 8], edx
mov eax, dword [ebp - 0x1c]
add edi, dword [eax + 8]
mov dword [esp + 4], edi
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
jmp 0x78c90c
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call fcn.00795c9a
jmp 0x78c82c
mov ecx, edx
mov esi, 1
jmp 0x78ca9b
cmp edx, 2
ja 0x78cd97
jmp 0x78cc2d
mov eax, ebx
call fcn.0078b31e
mov eax, dword [edi + 0x14]
lea edx, [eax + 2]
cmp edx, dword [edi + 0xc]
ja 0x78c63c
jmp 0x78cb8a
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
mov ecx, edx
mov edx, dword [edx + 8]
mov byte [edx + eax], 0x1f
mov edx, dword [ecx + 8]
mov byte [edx + eax + 1], 0x8b
mov edx, dword [ecx + 8]
mov byte [edx + eax + 2], 8
lea esi, [eax + 3]
mov dword [ebp - 0x24], esi
mov dword [ecx + 0x14], esi
mov edi, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x78d31b
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x1c]
add edi, dword [esi + 8]
mov dword [ebp - 0x2c], edi
cmp dword [ecx], 0
setne byte [ebp - 0x20]
cmp dword [ecx + 0x2c], 1
sbb esi, esi
not esi
and esi, 2
mov dl, byte [ebp - 0x20]
lea edi, [esi + edx]
mov edx, edi
mov byte [ebp - 0x20], dl
cmp dword [ecx + 0x10], 1
sbb esi, esi
not esi
and esi, 4
lea edi, [edx + esi]
cmp dword [ecx + 0x1c], 1
sbb esi, esi
not esi
and esi, 8
lea esi, [edi + esi]
cmp dword [ecx + 0x24], 1
sbb ecx, ecx
not ecx
and ecx, 0x10
lea ecx, [esi + ecx]
mov edx, dword [ebp - 0x2c]
mov byte [edx], cl
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ecx + 8]
mov edi, ecx
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x24]
mov byte [esi + edx + 1], cl
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
mov ecx, dword [ecx + 4]
shr ecx, 8
mov byte [esi + edx + 2], cl
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
movzx ecx, word [ecx + 6]
mov byte [esi + edx + 3], cl
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
movzx ecx, byte [ecx + 7]
mov byte [esi + edx + 4], cl
lea edx, [eax + 8]
mov dword [edi + 0x14], edx
mov esi, dword [edi + 8]
add esi, edx
mov ecx, dword [edi + 0x84]
mov al, 2
cmp ecx, 9
je 0x78d299
mov al, 4
cmp dword [edi + 0x88], 1
jg 0x78d299
dec ecx
setle al
shl eax, 2
mov byte [esi], al
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0xc]
mov byte [ecx + edx + 1], al
lea eax, [edx + 2]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x10], 0
je 0x78d2dd
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x14]
mov byte [ecx + edx + 2], al
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax + 0x14]
shr eax, 8
mov byte [ecx + edx + 3], al
add edx, 4
mov dword [esi + 0x14], edx
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x2c], 0
je 0x78d305
mov edi, dword [ebp - 0x1c]
mov eax, dword [edi + 0x14]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x20], 0
mov dword [edx + 4], 0x45
jmp 0x78c851
mov edx, dword [edi + 8]
mov byte [edx + eax + 3], 0
mov edx, dword [edi + 8]
mov byte [edx + eax + 4], 0
mov edx, dword [edi + 8]
mov byte [edx + eax + 5], 0
mov edx, dword [edi + 8]
mov byte [edx + eax + 6], 0
mov edx, dword [edi + 8]
mov byte [edx + eax + 7], 0
add eax, 8
mov dword [edi + 0x14], eax
mov esi, dword [edi + 8]
add esi, eax
mov ecx, dword [edi + 0x84]
mov dl, 2
cmp ecx, 9
je 0x78d36d
mov dl, 4
cmp dword [edi + 0x88], 1
jg 0x78d36d
dec ecx
setle dl
shl edx, 2
mov byte [esi], dl
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 8]
mov byte [edx + eax + 1], 0xb
add eax, 2
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0x71
jmp 0x78c622
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x44]
mov eax, dword [ecx + 0x4c]
mov word [edx + eax*2 - 2], 0
lea ecx, [eax + eax - 2]
xor eax, eax
mov edi, edx
rep stosb byte es:[edi], al
mov esi, dword [ebp - 0x1c]
cmp dword [esi + 0x74], 0
jne 0x78c82c
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
jmp 0x78c82c
mov edi, dword [ebp - 0x1c]
mov dword [edi + 4], 0x49
jmp 0x78c929
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0x67
jmp 0x78cb6e
mov ecx, edx
mov esi, 1
jmp 0x78cb45
sub ecx, edx
mov dword [esp + 8], ecx
add edx, dword [edi + 8]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
jmp 0x78cb59
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 8]
mov ecx, dword [ebx + 0x30]
mov byte [edx + eax], cl
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi + 8]
mov edx, dword [ebx + 0x30]
shr edx, 8
mov byte [ecx + eax + 1], dl
mov edx, dword [esi + 8]
movzx ecx, word [ebx + 0x32]
mov byte [edx + eax + 2], cl
mov edx, dword [esi + 8]
movzx ecx, byte [ebx + 0x33]
mov byte [edx + eax + 3], cl
mov edx, dword [esi + 8]
mov ecx, dword [ebx + 8]
mov byte [edx + eax + 4], cl
mov ecx, dword [esi + 8]
mov edx, dword [ebx + 8]
shr edx, 8
mov byte [ecx + eax + 5], dl
mov edx, dword [esi + 8]
movzx ecx, word [ebx + 0xa]
mov byte [edx + eax + 6], cl
mov edx, dword [esi + 8]
movzx ecx, byte [ebx + 0xb]
mov byte [edx + eax + 7], cl
add eax, 8
mov dword [esi + 0x14], eax
jmp 0x78c76f
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0x5b
jmp 0x78cacb
sub ecx, edx
mov dword [esp + 8], ecx
add edx, dword [edi + 8]
mov dword [esp + 4], edx
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
call fcn.0078b00e
mov dword [ebx + 0x30], eax
jmp 0x78caaf
xor eax, eax
cmp dword [ebp + 0xc], 4
sete al
lea eax, [eax + eax + 1]
jmp 0x78c6af
mov edi, dword [ebp - 0x20]
mov edi, dword [edi + 0xc]
mov dword [ebp - 0x38], edi
jmp 0x78d03a