Function at 0x100034d3
Capabilities:
Compress data using lzo

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push 0x10000
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [eax + edx - 0xd]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + 3]
shl edx, 6
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax + 2]
xor edx, ecx
shl edx, 5
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax + 1]
xor edx, ecx
shl edx, 5
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
xor edx, ecx
imul edx, edx, 0x21
shr edx, 5
and edx, 0x3fff
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 8]
jb 0x1000358f
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jbe 0x1000358f
cmp dword [ebp - 0x20], 0xbfff
jbe 0x10003594
jmp 0x10003a75
cmp dword [ebp - 0x20], 0x800
jbe 0x100035b1
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 3]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax + 3]
cmp edx, ecx
jne 0x100035b6
jmp 0x10003a70
mov edx, dword [ebp - 0x2c]
and edx, 0x7ff
xor edx, 0x201f
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + eax*4]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp + 8]
jb 0x100035f4
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jbe 0x100035f4
cmp dword [ebp - 0x20], 0xbfff
jbe 0x100035f9
jmp 0x10003a6b
cmp dword [ebp - 0x20], 0x800
jbe 0x10003616
mov edx, dword [ebp - 0x24]
xor eax, eax
mov al, byte [edx + 3]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx + 3]
cmp eax, edx
jne 0x1000361b
jmp 0x10003a66
jmp 0x10003a61
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov cx, word [eax]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov ax, word [edx]
cmp ecx, eax
jne 0x1000364d
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 2]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax + 2]
cmp edx, ecx
jne 0x1000364d
jmp 0x10003a5c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 4]
jb 0x1000366f
jmp 0x10003a2e
jmp 0x10003526
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x14]
test ecx, ecx
jle 0x10003743
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 3
ja 0x100036ae
mov eax, dword [ebp - 0xc]
mov cl, byte [eax - 2]
or cl, byte [ebp - 0x30]
mov edx, dword [ebp - 0xc]
mov byte [edx - 2], cl
jmp 0x10003718
cmp dword [ebp - 0x30], 0x12
ja 0x100036ca
mov eax, dword [ebp - 0x30]
sub eax, 3
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x10003718
mov eax, dword [ebp - 0x30]
sub eax, 0x12
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0x34], 0xff
jbe 0x10003707
mov eax, dword [ebp - 0x34]
sub eax, 0xff
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x100036e2
mov eax, dword [ebp - 0xc]
mov cl, byte [ebp - 0x34]
mov byte [eax], cl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x30]
sub edx, 1
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x30], 0
ja 0x10003718
mov eax, dword [ebp - 0x1c]
add eax, 3
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 3]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
jne 0x100037fc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
jne 0x100037fc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 5]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
jne 0x100037fc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 6]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
jne 0x100037fc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 7]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
jne 0x100037fc
mov ecx, dword [ebp - 0x24]
xor edx, edx
mov dl, byte [ecx + 8]
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
mov cl, byte [eax]
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp edx, ecx
je 0x100038bf
mov ecx, dword [ebp - 0x1c]
sub ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x20], 0x800
ja 0x10003858
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
shl ecx, 5
mov edx, dword [ebp - 0x20]
and edx, 7
shl edx, 2
or ecx, edx
mov eax, dword [ebp - 0xc]
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x20]
shr edx, 3
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x100038ba
cmp dword [ebp - 0x20], 0x4000
ja 0x10003885
mov edx, dword [ebp - 0x20]
sub edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x28]
sub eax, 2
or al, 0x20
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x10003a5a
mov eax, dword [ebp - 0x20]
sub eax, 0x4000
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x4000
shr ecx, 0xb
or ecx, 0x10
mov edx, dword [ebp - 0x28]
sub edx, 2
or ecx, edx
mov eax, dword [ebp - 0xc]
mov byte [eax], cl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x10003a58
jmp 0x10003a19
mov edx, dword [ebp - 8]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x24]
add eax, 9
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp - 0x38]
jae 0x100038fc
mov edx, dword [ebp - 0x3c]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov dl, byte [ecx]
cmp eax, edx
jne 0x100038fc
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
jmp 0x100038ce
mov edx, dword [ebp - 0x1c]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x20], 0x4000
ja 0x10003958
mov eax, dword [ebp - 0x20]
sub eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x28], 0x21
ja 0x10003936
mov ecx, dword [ebp - 0x28]
sub ecx, 2
or ecx, 0x20
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10003953
mov ecx, dword [ebp - 0x28]
sub ecx, 0x21
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov byte [edx], 0x20
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x10003a53
jmp 0x100039ee
mov ecx, dword [ebp - 0x20]
sub ecx, 0x4000
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x28], 9
ja 0x10003991
mov edx, dword [ebp - 0x20]
and edx, 0x4000
shr edx, 0xb
or edx, 0x10
mov eax, dword [ebp - 0x28]
sub eax, 2
or edx, eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx], dl
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
jmp 0x100039ee
mov eax, dword [ebp - 0x28]
sub eax, 9
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x4000
shr ecx, 0xb
or ecx, 0x10
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x28], 0xff
jbe 0x100039dd
mov ecx, dword [ebp - 0x28]
sub ecx, 0xff
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x100039b7
mov ecx, dword [ebp - 0xc]
mov dl, byte [ebp - 0x28]
mov byte [ecx], dl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
and ecx, 0x3f
shl ecx, 2
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x20]
shr ecx, 6
mov edx, dword [ebp - 0xc]
mov byte [edx], cl
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 4]
jb 0x10003a29
jmp 0x10003a2e
jmp 0x10003526
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x44]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
jmp 0x10003a7a
jmp 0x100039b7
jmp 0x100039ee
jmp 0x100039ee
jmp 0x10003674
jmp 0x1000364d
jmp 0x10003620
jmp 0x1000364d
jmp 0x10003620
jmp 0x1000364d
mov esp, ebp
pop ebp
ret