Function at 0x45dd90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3cc8
mov eax, dword fs:[0]
push eax
mov eax, 0x3cdc
call fcn.00489c00
mov eax, dword [0xec8960]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1810]
mov dword [ebp - 0x3ce4], eax
mov esi, 0x7ff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3cdc], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x3cc8], edi
nop dword [eax + eax]
mov cl, byte [edx]
test cl, cl
je 0x45ddff
mov byte [eax], cl
inc edx
inc eax
sub esi, 1
jne 0x45ddf0
mov byte [eax], 0
lea ecx, [ebp - 0x810]
lea eax, [ebp - 0x19a0]
mov dl, 0x2b
push 0x64
push eax
call fcn.0045c850
add esp, 8
lea ecx, [ebp - 0x3c1c]
mov ebx, eax
mov dword [ebp - 0x3cb4], ebx
call fcn.00477fd0
mov esi, dword [ebp - 0x3ce4]
mov eax, dword [ebp - 0x3cdc]
mov dword [ebp - 0x3c2c], 1
mov dword [ebp - 0x3c28], esi
mov dword [ebp - 0x3c24], eax
mov dword [ebp - 0x3c20], 0
push 0x45e4a0
push 0x45e490
push 0x64
push 0x1c
lea eax, [ebp - 0x2490]
mov dword [ebp - 4], 0
push eax
call fcn.00488ed2
push 0x45e510
push 0x45d2c0
push 0x64
push 0x1c
lea eax, [ebp - 0x3c00]
mov byte [ebp - 4], 1
push eax
call fcn.00488ed2
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2940]
mov ecx, 0x64
nop dword [eax + eax]
mov dword [eax], vtable.MultiReaderAsInput.0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x45deb0
lea eax, [ebp - 0x2df0]
mov ecx, 0x64
nop dword [eax]
mov dword [eax], vtable.MultiWriterAsOutput.0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x45ded0
lea eax, [ebp - 0x2f80]
mov edx, 1
lea ecx, [ebx - 1]
mov dword [ebp - 0x3cc4], eax
mov dword [ebp - 0x3cb8], edx
lea eax, [ebp - 0x3110]
mov dword [ebp - 0x3cc0], eax
mov dword [ebp - 0x3cd0], ecx
test ecx, ecx
js 0x45e1d6
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
mov dword [ebp - 0x3cd8], eax
lea eax, [ebp - 0x19a0]
lea eax, [eax + ecx*4]
mov ecx, dword [eax]
mov dword [ebp - 0x3c04], eax
call fcn.0045eaa0
mov esi, eax
test esi, esi
je 0x45e218
mov ecx, dword [esi]
push 0
push 0
push 0
mov edx, dword [ecx + 0x28]
mov ecx, esi
push str.NumOutStreams
call edx
mov ecx, dword [esi]
push 1
mov dword [ebp - 0x3ccc], eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
cmp dword [ebp - 0x3ccc], 0
jle 0x45e218
mov esi, dword [ebp - 0x3cd8]
lea ecx, [ebp - 0x3c00]
mov eax, dword [ebp - 0x3cc0]
add ecx, esi
mov edx, eax
mov dword [ebp + esi - 0x2478], eax
add eax, 4
cmp dword [ebp - 0x3cd0], 0
mov dword [ebp - 0x3cc0], eax
lea eax, [ecx - 0x1c]
mov dword [ebp + esi - 0x2480], 1
jg 0x45dfb9
lea eax, [ebp - 0x2df0]
mov dword [edx], eax
lea edi, [ebp - 0x247c]
mov eax, dword [ebp - 0x3cc4]
add edi, esi
mov dword [ebp - 0x3ce0], edi
mov edx, eax
mov dword [edi], eax
mov edi, dword [ebp - 0x3ccc]
mov dword [ebp + esi - 0x2484], edi
lea eax, [eax + edi*4]
mov edi, dword [ebp - 0x3cc8]
mov dword [ebp - 0x3cc4], eax
lea eax, [ebx - 1]
cmp dword [ebp - 0x3cd0], eax
jge 0x45e00c
test ecx, ecx
je 0x45e008
lea eax, [ebp - 0x3bfc]
add eax, esi
jmp 0x45e012
xor eax, eax
jmp 0x45e012
lea eax, [ebp - 0x2940]
mov esi, 1
mov dword [edx], eax
mov dword [ebp - 0x3cd4], esi
cmp dword [ebp - 0x3ccc], esi
jle 0x45e1ae
mov ebx, dword [ebp - 0x3cb8]
lea eax, [ebx + ebx*2]
lea ebx, [ebp - 0x2940]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x3cbc], eax
mov eax, dword [ebp - 0x3cb4]
lea ebx, [eax*8]
sub ebx, eax
shl ebx, 2
mov eax, dword [ebp - 0x3c04]
mov byte [edi], 0
mov ecx, dword [eax]
call fcn.0045eaa0
mov edi, eax
test edi, edi
je 0x45e218
mov ecx, dword [edi]
push 0
push dword [ebp - 0x3cc8]
mov edx, dword [ecx + 0x28]
mov ecx, edi
push esi
push str.GetOutStreamCompressor
call edx
mov ecx, dword [edi]
mov esi, eax
push 1
mov edx, dword [ecx + 0x2c]
mov ecx, edi
call edx
test esi, esi
js 0x45e218
mov edi, dword [ebp - 0x3cc8]
cmp byte [edi], 0
je 0x45e154
lea edx, [ebp - 0x3c00]
add edx, ebx
je 0x45e0be
lea ecx, [ebp - 0x3bfc]
add ecx, ebx
jmp 0x45e0c0
xor ecx, ecx
mov eax, dword [ebp - 0x3ce0]
mov esi, dword [ebp - 0x3cd4]
mov eax, dword [eax]
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 0x3cc0]
mov eax, ecx
mov dword [ebp + ebx - 0x2478], ecx
add ecx, 4
mov dword [ebp + ebx - 0x2480], 1
mov dword [ebp - 0x3cc0], ecx
mov ecx, dword [ebp - 0x3cc4]
mov dword [eax], edx
mov eax, ecx
mov dword [ebp + ebx - 0x247c], ecx
add ecx, 4
mov dword [ebp + ebx - 0x2484], 1
mov dword [ebp - 0x3cc4], ecx
mov ecx, dword [ebp - 0x3cbc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3cb4]
mov dword [ebp + eax*4 - 0x19a0], edi
inc eax
mov dword [ebp - 0x3cb4], eax
add ebx, 0x1c
mov eax, edi
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e140
sub eax, edx
inc edi
add edi, eax
mov dword [ebp - 0x3cc8], edi
jmp 0x45e171
mov eax, dword [ebp - 0x3ce0]
mov esi, dword [ebp - 0x3cd4]
mov ecx, dword [ebp - 0x3cbc]
mov dword [ebp - 0x3cbc], ecx
mov eax, dword [eax]
mov dword [eax + esi*4], ecx
mov edx, dword [ebp - 0x3cb8]
mov ecx, 1
inc esi
add edx, ecx
mov dword [ebp - 0x3cb8], edx
mov dword [ebp - 0x3cd4], esi
lea eax, [ecx + 0xb]
add dword [ebp - 0x3cbc], eax
cmp esi, dword [ebp - 0x3ccc]
jl 0x45e055
mov ebx, dword [ebp - 0x3cb4]
mov dword [ebp - 0x3cb8], edx
jmp 0x45e1b4
mov edx, dword [ebp - 0x3cb8]
mov ecx, dword [ebp - 0x3cd0]
sub dword [ebp - 0x3cd8], 0x1c
dec ecx
mov dword [ebp - 0x3cd0], ecx
test ecx, ecx
jns 0x45df24
mov esi, dword [ebp - 0x3ce4]
cmp ebx, 1
jne 0x45e228
cmp edx, ebx
jne 0x45e228
lea ecx, [ebp - 0x810]
call fcn.0045eaa0
mov edi, eax
test edi, edi
je 0x45e218
push dword [ebp - 0x3cdc]
mov edx, edi
mov ecx, ebx
push esi
call fcn.0045d170
add esp, 8
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x2c]
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
jmp 0x45e419
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
mov esi, 0xfffffffe
jmp 0x45e419
lea ecx, [ebp - 0x3cac]
call fcn.00477fd0
mov ebx, dword [ebp - 0x3cb8]
xor ecx, ecx
mov edi, dword [ebp - 0x3cdc]
mov eax, ebx
mov edx, 0x10
mov byte [ebp - 4], 3
mul edx
mov dword [ebp - 0x3c94], ebx
mov dword [ebp - 0x3c90], esi
seto cl
mov dword [ebp - 0x3c8c], edi
neg ecx
mov byte [ebp - 0x3cb0], 1
or ecx, eax
push ecx
call fcn.00488b55
mov dword [ebp - 0x3c7c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x3c94]
add esp, 4
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00488b55
add esp, 4
mov dword [ebp - 0x3c78], eax
lea ecx, [ebp - 0x3c6c]
call fcn.00477fd0
mov byte [ebp - 4], 5
push 0x10
mov dword [ebp - 0x3c54], 1
mov dword [ebp - 0x3c50], esi
mov dword [ebp - 0x3c4c], edi
mov byte [ebp - 0x3c70], 1
call fcn.00488b55
mov dword [ebp - 0x3c3c], eax
xor ecx, ecx
mov eax, dword [ebp - 0x3c54]
add esp, 4
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00488b55
add esp, 4
mov dword [ebp - 0x3c38], eax
xor edx, edx
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x45e330
lea ecx, [ebp - 0x2938]
mov dword [ecx - 4], edx
lea esi, [ebp - 0x3cb0]
inc edx
mov dword [ecx], esi
lea ecx, [ecx + 0xc]
cmp edx, ebx
jl 0x45e313
nop word [eax + eax]
xor edi, edi
mov dword [ebp - 0x2dec], 0
lea ecx, [ebp - 0x3c70]
mov dword [ebp - 0x2de8], ecx
cmp dword [ebp - 0x3cb4], edi
jle 0x45e3c8
mov ebx, dword [sym.imp.KERNEL32.DLL_GetLastError]
lea esi, [ebp - 0x2490]
nop dword [eax]
lea eax, [ebp - 0x3c2c]
mov dword [esi], eax
mov eax, dword [ebp + edi*4 - 0x19a0]
mov dword [esi + 8], eax
lea eax, [ebp - 0x3c04]
push eax
push 0
push esi
push 0x45e5a0
push 0
push 0
call fcn.0049cd60
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x45e396
call ebx
inc edi
add esi, 0x1c
cmp edi, dword [ebp - 0x3cb4]
jl 0x45e360
mov edi, dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea esi, [ebp - 0x248c]
nop
push 0xffffffffffffffff
push dword [esi]
call edi
sub dword [ebp - 0x3cb4], 1
lea esi, [esi + 0x1c]
jne 0x45e3b0
mov eax, dword [ebp - 0x3c38]
mov esi, dword [ebp - 0x3c20]
push eax
call fcn.00488953
add esp, 4
push dword [ebp - 0x3c3c]
call fcn.00488953
mov edi, dword [sym.imp.KERNEL32.DLL_DeleteCriticalSection]
lea eax, [ebp - 0x3c6c]
add esp, 4
push eax
call edi
push dword [ebp - 0x3c78]
call fcn.00488953
add esp, 4
push dword [ebp - 0x3c7c]
call fcn.00488953
add esp, 4
lea eax, [ebp - 0x3cac]
push eax
call edi
push 0x45e510
push 0x64
push 0x1c
lea eax, [ebp - 0x3c00]
mov byte [ebp - 4], 1
push eax
call fcn.00488dbd
push 0x45e4a0
push 0x64
push 0x1c
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 0
push eax
call fcn.00488dbd
lea eax, [ebp - 0x3c1c]
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004888df
mov esp, ebp
pop ebp
ret