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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
test esi, esi
jne 0xdd6b70
mov eax, 0xfffffffe
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x1c]
test edi, edi
je 0xdd6b59
cmp dword [ebp + 0xc], 5
jg 0xdd6b59
mov eax, dword [ebp + 0xc]
test eax, eax
js 0xdd6b59
mov eax, dword [esi + 0xc]
test eax, eax
je 0xdd702f
mov eax, dword [esi]
test eax, eax
je 0xdd7024
cmp dword [ebp + 0xc], 4
setne byte [ebp - 0x6d]
cmp dword [edi + 4], 0x29a
je 0xdd7086
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0xdd70f8
mov eax, dword [edi + 0x28]
mov edx, dword [ebp + 0xc]
mov dword [edi], esi
mov dword [ebp - 0x4c], eax
mov eax, dword [edi + 4]
mov dword [edi + 0x28], edx
cmp eax, 0x2a
je 0xdd7241
cmp eax, 0x45
je 0xdd7428
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x74], ecx
cmp eax, 0x49
je 0xdd7355
cmp eax, 0x5b
je 0xdd7553
cmp eax, 0x67
je 0xdd7693
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0xdd70d7
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
cmp edx, eax
mov ebx, eax
cmovbe ebx, edx
test ebx, ebx
jne 0xdd77dc
test edx, edx
je 0xdd6ef0
mov eax, dword [esi + 4]
mov edx, dword [edi + 4]
cmp edx, 0x29a
je 0xdd7760
test eax, eax
jne 0xdd6c5c
mov eax, dword [edi + 0x74]
test eax, eax
jne 0xdd6c5c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0xdd754c
cmp edx, 0x29a
je 0xdd6d9c
mov eax, dword [edi + 0x88]
cmp eax, 2
je 0xdd6e28
cmp eax, 3
jne 0xdd7674
movzx edx, byte [0x1313380]
mov dword [ebp - 0x7c], edx
cmp dword [edi + 0x74], 0x101
jbe 0xdd6f95
cmp dword [edi + 0x74], 2
mov dword [edi + 0x60], 0
jbe 0xdd6efe
mov ebx, dword [edi + 0x6c]
test ebx, ebx
je 0xdd6cbb
mov ecx, ebx
add ecx, dword [edi + 0x38]
movzx eax, byte [ecx]
mov dword [ebp - 0x34], eax
movzx eax, byte [ecx - 1]
cmp dword [ebp - 0x34], eax
je 0xdd710a
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x16a4]
movzx ecx, byte [eax + ebx]
mov eax, dword [edi + 0x16a0]
mov word [edx + eax*2], 0
mov edx, dword [edi + 0x1698]
mov byte [edx + eax], cl
add eax, 1
movzx ecx, cl
mov dword [edi + 0x16a0], eax
xor edx, edx
add word [edi + ecx*4 + 0x94], 1
mov eax, dword [edi + 0x169c]
sub eax, 1
cmp dword [edi + 0x16a0], eax
sete dl
sub dword [edi + 0x74], 1
add dword [edi + 0x6c], 1
test edx, edx
je 0xdd6c7e
mov eax, dword [edi + 0x5c]
xor ecx, ecx
mov edx, dword [edi + 0x6c]
test eax, eax
js 0xdd6d27
mov ecx, eax
add ecx, dword [edi + 0x38]
sub edx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
mov dword [esp + 0xc], 0
mov dword [esp], edi
call fcn.00ddb8d0
mov ebx, dword [edi + 0x6c]
mov dword [edi + 0x5c], ebx
mov ebx, dword [edi]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov eax, dword [ecx + 0x14]
cmp edx, eax
cmovbe eax, edx
test eax, eax
mov dword [ebp - 0x28], eax
jne 0xdd7041
test edx, edx
jne 0xdd6c7e
xor eax, eax
test eax, eax
sete cl
cmp eax, 2
lea ebx, [eax - 2]
sete dl
cmp ebx, 1
jbe 0xdd7819
test dl, dl
jne 0xdd6ee5
test cl, cl
jne 0xdd6ee5
sub eax, 1
je 0xdd7831
cmp byte [ebp - 0x6d], 0
jne 0xdd754c
mov edx, dword [edi + 0x18]
mov eax, 1
test edx, edx
jle 0xdd6b5e
cmp edx, 2
je 0xdd7953
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 8]
mov ebx, eax
shr eax, 0x18
mov byte [ecx + edx], al
mov eax, dword [edi + 8]
shr ebx, 0x10
mov byte [edx + eax + 1], bl
movzx ebx, word [esi + 0x30]
mov ecx, dword [edi + 8]
mov eax, ebx
shr eax, 8
mov byte [edx + ecx + 2], al
mov eax, dword [edi + 8]
mov byte [edx + eax + 3], bl
add edx, 4
mov dword [edi + 0x14], edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x14]
cmp dword [esi + 0x10], eax
mov ebx, eax
cmovbe ebx, dword [esi + 0x10]
test ebx, ebx
jne 0xdd7915
mov eax, dword [edi + 0x18]
test eax, eax
jle 0xdd6e1a
neg eax
mov dword [edi + 0x18], eax
xor eax, eax
cmp dword [edi + 0x14], 0
sete al
jmp 0xdd6b5e
mov eax, dword [edi + 0x74]
test eax, eax
je 0xdd6f06
mov eax, dword [edi + 0x6c]
mov edx, dword [edi + 0x38]
mov dword [edi + 0x60], 0
movzx ecx, byte [edx + eax]
mov eax, dword [edi + 0x16a0]
mov edx, dword [edi + 0x16a4]
mov word [edx + eax*2], 0
mov edx, dword [edi + 0x1698]
mov byte [edx + eax], cl
add eax, 1
movzx ecx, cl
mov dword [edi + 0x16a0], eax
add word [edi + ecx*4 + 0x94], 1
mov eax, dword [edi + 0x169c]
mov ecx, dword [edi + 0x6c]
mov edx, dword [edi + 0x16a0]
sub dword [edi + 0x74], 1
sub eax, 1
add ecx, 1
cmp edx, eax
mov dword [edi + 0x6c], ecx
jne 0xdd6e28
mov eax, dword [edi + 0x5c]
xor edx, edx
test eax, eax
js 0xdd6ea2
mov edx, eax
add edx, dword [edi + 0x38]
sub ecx, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp + 0xc], 0
mov dword [esp], edi
call fcn.00ddb8d0
mov ebx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ecx + 0x14]
cmp edx, eax
cmovbe eax, edx
test eax, eax
mov dword [ebp - 0x20], eax
jne 0xdd7092
test edx, edx
jne 0xdd6e28
mov eax, dword [esi + 0x10]
test eax, eax
jne 0xdd754c
xor eax, eax
mov dword [edi + 0x28], 0xffffffff
jmp 0xdd6b5e
mov ebx, dword [edi + 0x6c]
jmp 0xdd6cbb
mov eax, edi
call fcn.00dd58e0
mov eax, dword [edi + 0x74]
test eax, eax
jne 0xdd6e33
mov eax, dword [ebp + 0xc]
test eax, eax
je 0xdd6ee5
mov edx, dword [edi + 0x5c]
xor ebx, ebx
mov ecx, dword [edi + 0x6c]
test edx, edx
js 0xdd6f30
mov ebx, edx
add ebx, dword [edi + 0x38]
xor eax, eax
cmp dword [ebp + 0xc], 4
mov dword [esp + 4], ebx
mov dword [esp], edi
sete al
sub ecx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00ddb8d0
mov ebx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ecx + 0x14]
cmp edx, eax
cmovbe eax, edx
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0xdd7c1d
test edx, edx
je 0xdd78b5
xor eax, eax
cmp dword [ebp + 0xc], 4
sete al
lea eax, [eax + eax + 1]
cmp eax, 2
sete dl
xor ecx, ecx
lea ebx, [eax - 2]
jmp 0xdd6d7a
mov eax, edi
call fcn.00dd58e0
mov eax, dword [edi + 0x74]
cmp eax, 0x101
ja 0xdd6fb1
mov edx, dword [ebp + 0xc]
test edx, edx
je 0xdd6d6a
test eax, eax
jne 0xdd6c8b
mov edx, dword [edi + 0x5c]
xor ebx, ebx
mov ecx, dword [edi + 0x6c]
test edx, edx
js 0xdd6fca
mov ebx, edx
add ebx, dword [edi + 0x38]
xor eax, eax
cmp dword [ebp + 0xc], 4
mov dword [esp + 4], ebx
mov dword [esp], edi
sete al
sub ecx, edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], ecx
call fcn.00ddb8d0
mov ebx, dword [edi]
mov eax, dword [edi + 0x6c]
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x10]
mov dword [edi + 0x5c], eax
mov eax, dword [ecx + 0x14]
cmp edx, eax
cmovbe eax, edx
test eax, eax
mov dword [ebp - 0x24], eax
jne 0xdd7cb9
test edx, edx
je 0xdd78b5
xor eax, eax
cmp dword [ebp + 0xc], 4
sete al
lea eax, [eax + eax + 1]
jmp 0xdd6d6c
mov ebx, dword [esi + 4]
test ebx, ebx
je 0xdd6b99
mov eax, dword [str.stream_error]
mov dword [esi + 0x18], eax
mov eax, 0xfffffffe
jmp 0xdd6b5e
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x28]
sub dword [ebx + 0x10], eax
add dword [ebx + 0xc], eax
sub dword [edx + 0x14], eax
add dword [ebx + 0x14], eax
mov ebx, dword [edx + 0x14]
add dword [edx + 0x10], eax
test ebx, ebx
jne 0xdd707c
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
jmp 0xdd6d62
cmp byte [ebp - 0x6d], 0
je 0xdd6bae
jmp 0xdd702f
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x20]
sub dword [ebx + 0x10], eax
add dword [ebx + 0xc], eax
sub dword [edx + 0x14], eax
add dword [ebx + 0x14], eax
mov ebx, dword [edx + 0x14]
add dword [edx + 0x10], eax
test ebx, ebx
jne 0xdd70cd
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
jmp 0xdd6edd
mov eax, dword [esi + 4]
test eax, eax
jne 0xdd6c2b
mov ebx, dword [ebp - 0x4c]
cmp dword [ebp + 0xc], ebx
jg 0xdd6c2b
cmp byte [ebp - 0x6d], 0
je 0xdd6c2b
mov eax, dword [str.buffer_error]
mov dword [esi + 0x18], eax
mov eax, 0xfffffffb
jmp 0xdd6b5e
movzx eax, byte [ecx + 1]
cmp dword [ebp - 0x34], eax
jne 0xdd6cbb
movzx eax, byte [ecx + 2]
lea edx, [ecx + 2]
cmp dword [ebp - 0x34], eax
jne 0xdd6cbb
add ecx, 0x102
mov dword [ebp - 0x78], ecx
movzx eax, byte [edx + 1]
lea ecx, [edx + 1]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 2]
lea ecx, [edx + 2]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 3]
lea ecx, [edx + 3]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 4]
lea ecx, [edx + 4]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 5]
lea ecx, [edx + 5]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 6]
lea ecx, [edx + 6]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
movzx eax, byte [edx + 7]
lea ecx, [edx + 7]
cmp dword [ebp - 0x34], eax
jne 0xdd7c62
add edx, 8
movzx eax, byte [edx]
cmp dword [ebp - 0x34], eax
jne 0xdd71b0
cmp edx, dword [ebp - 0x78]
jne 0xdd7130
sub edx, dword [ebp - 0x78]
lea eax, [edx + 0x102]
mov edx, dword [edi + 0x74]
mov dword [edi + 0x60], eax
cmp eax, edx
jbe 0xdd71c6
mov dword [edi + 0x60], edx
mov eax, dword [edi + 0x60]
cmp eax, 2
jbe 0xdd6cbb
mov edx, dword [edi + 0x16a4]
lea ecx, [eax - 3]
mov eax, dword [edi + 0x16a0]
mov word [edx + eax*2], 1
mov edx, dword [edi + 0x1698]
mov byte [edx + eax], cl
add eax, 1
movzx ecx, cl
mov dword [edi + 0x16a0], eax
movzx eax, byte [ecx + 0x1313580]
add word [edi + eax*4 + 0x498], 1
mov edx, dword [ebp - 0x7c]
add word [edi + edx*4 + 0x988], 1
xor edx, edx
mov eax, dword [edi + 0x169c]
sub eax, 1
cmp dword [edi + 0x16a0], eax
mov eax, dword [edi + 0x60]
mov dword [edi + 0x60], 0
sete dl
sub dword [edi + 0x74], eax
add dword [edi + 0x6c], eax
jmp 0xdd6d0e
cmp dword [edi + 0x18], 2
je 0xdd79ba
cmp dword [edi + 0x88], 1
mov ecx, dword [edi + 0x30]
jle 0xdd7326
xor edx, edx
mov eax, dword [edi + 0x6c]
shl ecx, 0xc
sub ecx, 0x7800
mov ebx, dword [edi + 0x14]
or ecx, edx
mov edx, ecx
or edx, 0x20
test eax, eax
cmovne ecx, edx
mov edx, 0x8421085
mov eax, ecx
mul edx
mov dword [edi + 4], 0x71
sub ecx, edx
shr ecx, 1
add edx, ecx
shr edx, 4
mov ecx, edx
shl ecx, 5
sub ecx, edx
mov edx, dword [edi + 8]
add ecx, 0x1f
mov eax, ecx
shr eax, 8
mov byte [edx + ebx], al
mov eax, dword [edi + 8]
lea edx, [ebx + 2]
mov byte [ebx + eax + 1], cl
mov eax, dword [edi + 0x6c]
mov dword [ebp - 0x3c], edx
mov dword [edi + 0x14], edx
test eax, eax
je 0xdd72ff
mov eax, dword [esi + 0x30]
mov ecx, eax
shr ecx, 0x10
mov dword [ebp - 0x8c], ecx
mov ecx, dword [edi + 8]
shr eax, 0x18
mov byte [ecx + edx], al
mov eax, dword [edi + 8]
movzx edx, byte [ebp - 0x8c]
mov byte [ebx + eax + 3], dl
movzx ecx, word [esi + 0x30]
mov edx, dword [edi + 8]
mov eax, ecx
shr eax, 8
mov byte [ebx + edx + 4], al
mov eax, dword [edi + 8]
mov byte [ebx + eax + 5], cl
lea eax, [ebx + 6]
mov dword [edi + 0x14], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00dd96c0
mov dword [esi + 0x30], eax
mov eax, dword [edi + 4]
jmp 0xdd6bd3
mov eax, dword [edi + 0x84]
cmp eax, 1
jle 0xdd725b
cmp eax, 5
mov edx, 0x40
jle 0xdd725d
cmp eax, 6
mov dl, pe_nt_image_headers32
mov eax, 0xc0
cmovne edx, eax
jmp 0xdd725d
mov ebx, dword [edi + 0x1c]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebp - 0x74]
test edx, edx
mov eax, ecx
jne 0xdd73a4
jmp 0xdd78a5
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x20]
mov edx, dword [ebx + 0x1c]
movzx edx, byte [edx + eax]
add eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [edi + 8]
movzx ebx, dl
mov dword [ebp - 0x44], ebx
mov ebx, dword [ebp - 0x74]
mov byte [eax + ebx], dl
mov eax, ebx
add eax, 1
test dl, dl
mov dword [edi + 0x14], eax
je 0xdd73ff
mov ebx, dword [edi + 0x1c]
cmp eax, dword [edi + 0xc]
jne 0xdd7370
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0xdd73cf
cmp ecx, eax
jae 0xdd73cf
sub eax, ecx
mov dword [esp + 8], eax
add ecx, dword [edi + 8]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov dword [esi + 0x30], eax
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x14]
cmp dword [esi + 0x10], eax
mov ebx, eax
cmovbe ebx, dword [esi + 0x10]
test ebx, ebx
jne 0xdd7636
mov ebx, dword [edi + 0x14]
cmp ebx, dword [edi + 0xc]
mov dword [ebp - 0x74], ebx
mov ecx, ebx
je 0xdd7b5d
mov ebx, dword [edi + 0x1c]
jmp 0xdd7376
mov dword [ebp - 0x74], eax
mov ebx, dword [edi + 0x1c]
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
je 0xdd7415
cmp ecx, dword [ebp - 0x74]
jb 0xdd78c5
mov ecx, dword [ebp - 0x44]
test ecx, ecx
je 0xdd777f
mov eax, dword [edi + 4]
jmp 0xdd6beb
mov ebx, dword [edi + 0x1c]
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0xdd78ef
mov ecx, dword [edi + 0x14]
movzx eax, word [ebx + 0x14]
cmp eax, dword [edi + 0x20]
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x48], ecx
ja 0xdd7485
jmp 0xdd7500
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebx + 0x10]
mov eax, dword [edi + 0x20]
mov ebx, dword [ebp - 0x74]
mov ecx, dword [edi + 8]
movzx eax, byte [edx + eax]
mov byte [ecx + ebx], al
mov edx, dword [edi + 0x20]
mov ecx, ebx
mov ebx, dword [edi + 0x1c]
add ecx, 1
mov dword [edi + 0x14], ecx
add edx, 1
mov dword [edi + 0x20], edx
movzx eax, word [ebx + 0x14]
cmp eax, edx
jbe 0xdd74fd
cmp dword [edi + 0xc], ecx
mov eax, ecx
jne 0xdd7450
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0xdd749c
cmp dword [ebp - 0x48], ecx
jb 0xdd7795
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x14]
cmp dword [esi + 0x10], eax
mov ebx, eax
cmovbe ebx, dword [esi + 0x10]
test ebx, ebx
jne 0xdd74c6
mov edx, dword [edi + 0x14]
cmp edx, dword [edi + 0xc]
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x48], edx
je 0xdd790d
mov ebx, dword [edi + 0x1c]
jmp 0xdd7456
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
add dword [edx + 0x10], ebx
mov ebx, dword [edx + 0x14]
test ebx, ebx
jne 0xdd74af
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0xdd74af
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0xdd7538
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0x48], eax
jae 0xdd7538
mov edx, dword [ebp - 0x48]
sub eax, edx
mov dword [esp + 8], eax
mov ecx, dword [edi + 8]
add edx, ecx
mov dword [esp + 4], edx
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov ebx, dword [edi + 0x1c]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x20]
cmp eax, dword [ebx + 0x14]
je 0xdd7891
mov eax, dword [edi + 4]
jmp 0xdd6be2
xor eax, eax
jmp 0xdd6b5e
mov ebx, dword [edi + 0x1c]
mov edx, dword [ebx + 0x24]
mov ecx, dword [ebp - 0x74]
test edx, edx
mov eax, ecx
jne 0xdd759b
jmp 0xdd7825
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [edi + 0x20]
mov edx, dword [ebx + 0x24]
movzx edx, byte [edx + eax]
add eax, 1
mov dword [edi + 0x20], eax
mov eax, dword [edi + 8]
movzx ebx, dl
mov dword [ebp - 0x40], ebx
mov ebx, dword [ebp - 0x74]
mov byte [eax + ebx], dl
mov eax, ebx
add eax, 1
test dl, dl
mov dword [edi + 0x14], eax
je 0xdd75d6
mov ebx, dword [edi + 0x1c]
cmp eax, dword [edi + 0xc]
jne 0xdd7567
mov edx, dword [ebx + 0x2c]
test edx, edx
je 0xdd75af
cmp ecx, eax
jb 0xdd77bc
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + 0x14]
cmp dword [esi + 0x10], eax
mov ebx, eax
cmovbe ebx, dword [esi + 0x10]
test ebx, ebx
jne 0xdd75ff
mov ecx, dword [edi + 0x14]
cmp ecx, dword [edi + 0xc]
mov dword [ebp - 0x74], ecx
je 0xdd7901
mov ebx, dword [edi + 0x1c]
jmp 0xdd756d
mov dword [ebp - 0x74], eax
mov ebx, dword [edi + 0x1c]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0xdd75ec
cmp ecx, dword [ebp - 0x74]
jb 0xdd7b33
mov eax, dword [ebp - 0x40]
test eax, eax
je 0xdd7770
mov eax, dword [edi + 4]
jmp 0xdd6bf4
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov eax, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test eax, eax
jne 0xdd75c2
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0xdd75c2
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov eax, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test eax, eax
jne 0xdd73e6
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0xdd73e6
mov eax, dword [edi + 0x84]
mov edx, dword [ebp + 0xc]
mov dword [esp], edi
lea eax, [eax + eax*2]
mov dword [esp + 4], edx
call dword [eax*4 + 0x1311088]
jmp 0xdd6d6c
mov ebx, dword [edi + 0x1c]
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
je 0xdd7754
mov ecx, dword [ebp - 0x74]
lea ebx, [ecx + 2]
cmp ebx, dword [edi + 0xc]
jbe 0xdd770d
mov ebx, dword [esi + 0x1c]
mov eax, dword [ebx + 0x14]
cmp dword [esi + 0x10], eax
mov dword [ebp - 0x38], ebx
mov ebx, eax
cmovbe ebx, dword [esi + 0x10]
test ebx, ebx
je 0xdd6c00
mov ecx, dword [ebp - 0x38]
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov ecx, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test ecx, ecx
jne 0xdd76fe
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 0x14]
lea ebx, [ecx + 2]
cmp ebx, dword [edi + 0xc]
ja 0xdd6c00
mov edx, dword [edi + 8]
mov eax, dword [esi + 0x30]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x30]
mov edx, dword [edi + 8]
shr eax, 8
mov byte [ecx + edx + 1], al
mov dword [edi + 0x14], ebx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00dd8010
mov ecx, dword [edi + 0x14]
mov dword [edi + 4], 0x71
mov dword [esi + 0x30], eax
jmp 0xdd6c00
mov dword [edi + 4], 0x71
jmp 0xdd6bfd
test eax, eax
je 0xdd6c3e
jmp 0xdd70f8
mov ebx, dword [edi + 0x1c]
mov dword [edi + 4], 0x67
jmp 0xdd7696
mov ebx, dword [edi + 0x1c]
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0x5b
jmp 0xdd7556
sub eax, dword [ebp - 0x48]
mov dword [esp + 8], eax
mov ebx, dword [edi + 8]
add dword [ebp - 0x48], ebx
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov dword [esi + 0x30], eax
jmp 0xdd749c
sub eax, ecx
mov dword [esp + 8], eax
add ecx, dword [edi + 8]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov dword [esi + 0x30], eax
jmp 0xdd75af
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov eax, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test eax, eax
jne 0xdd7811
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov edx, dword [esi + 0x10]
jmp 0xdd6c20
mov dword [edi + 4], 0x29a
jmp 0xdd6d83
mov dword [edi + 4], 0x67
jmp 0xdd7696
cmp dword [ebp + 0xc], 1
je 0xdd7c69
cmp dword [ebp + 0xc], 5
nop
je 0xdd786c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], edi
call fcn.00dda7d0
cmp dword [ebp + 0xc], 3
je 0xdd7c76
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
mov eax, dword [ecx + 0x14]
cmp edx, eax
mov ebx, eax
cmovbe ebx, edx
test ebx, ebx
jne 0xdd7b69
test edx, edx
jne 0xdd6d9c
jmp 0xdd6ef0
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0x49
nop
jmp 0xdd7358
mov dword [edi + 4], 0x5b
lea esi, [esi]
jmp 0xdd7556
xor eax, eax
cmp dword [ebp + 0xc], 4
sete al
add eax, eax
jmp 0xdd6d6c
sub dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], eax
add ecx, dword [edi + 8]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x74], edx
mov dword [esi + 0x30], eax
jmp 0xdd7415
mov edx, dword [edi + 0x14]
mov dword [edi + 4], 0x49
mov dword [ebp - 0x74], edx
jmp 0xdd7358
mov dword [ebp - 0x40], 1
jmp 0xdd75d9
mov ebx, dword [edi + 0x1c]
jmp 0xdd7500
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov eax, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test eax, eax
jne 0xdd6e0e
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
jmp 0xdd6e0e
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 8]
mov eax, dword [esi + 0x30]
mov byte [ecx + edx], al
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + 8]
shr eax, 8
mov byte [edx + ecx + 1], al
mov ecx, dword [edi + 8]
movzx eax, word [esi + 0x32]
mov byte [edx + ecx + 2], al
mov ecx, dword [edi + 8]
movzx eax, byte [esi + 0x33]
mov byte [edx + ecx + 3], al
mov ecx, dword [edi + 8]
mov eax, dword [esi + 8]
mov byte [edx + ecx + 4], al
mov eax, dword [esi + 8]
mov ecx, dword [edi + 8]
shr eax, 8
mov byte [edx + ecx + 5], al
mov ecx, dword [edi + 8]
movzx eax, word [esi + 0xa]
mov byte [edx + ecx + 6], al
mov ecx, dword [edi + 8]
movzx eax, byte [esi + 0xb]
mov byte [edx + ecx + 7], al
add edx, 8
mov dword [edi + 0x14], edx
jmp 0xdd6df7
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00dd8010
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x6c], ecx
mov dword [esi + 0x30], eax
mov eax, dword [edi + 8]
mov byte [eax + ecx], 0x1f
mov eax, dword [edi + 8]
mov byte [ecx + eax + 1], 0x8b
mov eax, dword [edi + 8]
mov byte [ecx + eax + 2], 8
mov edx, dword [edi + 0x1c]
add ecx, 3
mov dword [ebp - 0x30], ecx
mov dword [edi + 0x14], ecx
test edx, edx
je 0xdd7ba6
cmp dword [edx + 0x2c], 1
sbb eax, eax
not eax
and eax, 2
cmp dword [edx + 0x10], 1
sbb ecx, ecx
not ecx
and ecx, 4
cmp dword [edx + 0x1c], 1
mov byte [ebp - 0x68], cl
sbb ebx, ebx
not ebx
and ebx, 8
cmp dword [edx + 0x24], 1
mov edx, dword [edx]
sbb ecx, ecx
not ecx
and ecx, 0x10
test edx, edx
setne dl
add eax, edx
mov edx, dword [ebp - 0x30]
add al, byte [ebp - 0x68]
add eax, ebx
mov ebx, dword [edi + 8]
add eax, ecx
mov byte [ebx + edx], al
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov byte [ecx + edx + 4], al
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
mov eax, dword [eax + 4]
shr eax, 8
mov byte [ecx + edx + 5], al
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
movzx eax, word [eax + 6]
mov byte [ecx + edx + 6], al
mov eax, dword [edi + 0x1c]
mov edx, dword [edi + 8]
movzx eax, byte [eax + 7]
mov byte [ecx + edx + 7], al
mov edx, dword [edi + 0x84]
add ecx, 8
mov dword [ebp - 0x2c], ecx
mov eax, 2
mov dword [edi + 0x14], ecx
mov ecx, dword [edi + 8]
cmp edx, 9
je 0xdd7abc
cmp dword [edi + 0x88], 1
jle 0xdd7d22
mov eax, 4
mov ebx, dword [ebp - 0x2c]
mov byte [ecx + ebx], al
mov eax, dword [edi + 0x1c]
mov edx, ebx
add edx, 1
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0xc]
mov byte [ecx + edx], al
mov ecx, ebx
mov ebx, dword [edi + 0x1c]
add ecx, 2
mov dword [edi + 0x14], ecx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0xdd7b15
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + 8]
mov byte [edx + ecx], al
mov edx, dword [ebp - 0x2c]
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 8]
add edx, 3
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x14]
shr eax, 8
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x2c]
mov ebx, dword [edi + 0x1c]
add eax, 4
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0xdd7cfe
mov dword [edi + 0x20], 0
mov dword [edi + 4], 0x45
jmp 0xdd742b
sub dword [ebp - 0x74], ecx
mov eax, dword [ebp - 0x74]
mov dword [esp + 8], eax
add ecx, dword [edi + 8]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov edx, dword [edi + 0x14]
mov dword [ebp - 0x74], edx
mov dword [esi + 0x30], eax
jmp 0xdd75ec
mov dword [ebp - 0x44], 1
jmp 0xdd7402
mov edx, dword [esi + 0xc]
mov eax, dword [ecx + 0x10]
mov dword [esp + 8], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
call sub.msvcrt.dll_memcpy
mov edx, dword [esi + 0x1c]
sub dword [esi + 0x10], ebx
add dword [esi + 0xc], ebx
add dword [esi + 0x14], ebx
sub dword [edx + 0x14], ebx
mov eax, dword [edx + 0x14]
add dword [edx + 0x10], ebx
test eax, eax
jne 0xdd7b9e
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov edx, dword [esi + 0x10]
jmp 0xdd7884
mov eax, dword [edi + 8]
mov byte [eax + ecx], 0
mov ebx, dword [ebp - 0x6c]
mov eax, dword [edi + 8]
mov edx, ebx
mov byte [ebx + eax + 4], 0
mov eax, dword [edi + 8]
add edx, 8
mov byte [ebx + eax + 5], 0
mov eax, dword [edi + 8]
mov byte [ebx + eax + 6], 0
mov eax, dword [edi + 8]
mov byte [ebx + eax + 7], 0
mov ecx, dword [edi + 0x84]
mov eax, 2
mov dword [edi + 0x14], edx
mov ebx, dword [edi + 8]
cmp ecx, 9
je 0xdd7bfd
cmp dword [edi + 0x88], 1
jle 0xdd7d35
mov eax, 4
mov byte [ebx + edx], al
mov eax, dword [edi + 8]
mov byte [edx + eax + 1], 0xb
lea eax, [edx + 2]
mov dword [edi + 0x14], eax
mov dword [edi + 4], 0x71
mov dword [ebp - 0x74], eax
jmp 0xdd6bfd
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x1c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebx + 0x10], eax
add dword [ebx + 0xc], eax
sub dword [edx + 0x14], eax
mov ecx, dword [edx + 0x14]
add dword [edx + 0x10], eax
add dword [ebx + 0x14], eax
test ecx, ecx
jne 0xdd7c58
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
jmp 0xdd6f70
mov edx, ecx
jmp 0xdd71b0
mov dword [esp], edi
call fcn.00dda930
jmp 0xdd786c
mov eax, dword [edi + 0x4c]
mov edx, dword [edi + 0x44]
mov word [edx + eax*2 - 2], 0
lea eax, [eax + eax - 2]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], edx
call sub.msvcrt.dll_memset
mov eax, dword [edi + 0x74]
test eax, eax
jne 0xdd786c
mov dword [edi + 0x6c], 0
mov dword [edi + 0x5c], 0
jmp 0xdd786c
mov edx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sub.msvcrt.dll_memcpy
mov edx, dword [ebx + 0x1c]
mov eax, dword [ebp - 0x24]
sub dword [ebx + 0x10], eax
add dword [ebx + 0xc], eax
sub dword [edx + 0x14], eax
mov ecx, dword [edx + 0x14]
add dword [edx + 0x10], eax
add dword [ebx + 0x14], eax
test ecx, ecx
jne 0xdd7cf4
mov eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
jmp 0xdd700a
mov eax, dword [edi + 0x14]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov dword [esp], eax
call fcn.00dd8010
mov ebx, dword [edi + 0x1c]
mov dword [esi + 0x30], eax
jmp 0xdd7b20
xor eax, eax
sub edx, 1
jg 0xdd7abc
lea esi, [esi]
jmp 0xdd7ab7
xor eax, eax
sub ecx, 1
jg 0xdd7bfd
jmp 0xdd7bf8