Function at 0x45e170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4408
mov eax, dword fs:[0]
push eax
mov eax, 0x3cd4
call fcn.0048a0e0
mov eax, dword [0xec8980]
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 + 0xc]
lea edi, [ebp - 0x1810]
mov ebx, dword [ebp + 8]
mov esi, 0x7ff
mov dword [ebp - 0x3cd8], eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x3ce0], ebx
mov dword [ebp - 0x3cbc], edi
nop dword [eax + eax]
mov cl, byte [edx]
test cl, cl
je 0x45e1df
mov byte [eax], cl
inc edx
inc eax
sub esi, 1
jne 0x45e1d0
mov byte [eax], 0
lea ecx, [ebp - 0x810]
lea eax, [ebp - 0x19a0]
mov dl, 0x2b
push 0x64
push eax
call fcn.0045cc40
add esp, 8
lea ecx, [ebp - 0x3c1c]
mov esi, eax
mov dword [ebp - 0x3cb4], esi
call fcn.00478670
mov eax, dword [ebp - 0x3cd8]
mov dword [ebp - 0x3c2c], 1
mov dword [ebp - 0x3c28], ebx
mov dword [ebp - 0x3c24], eax
mov dword [ebp - 0x3c20], 0
push 0x45e890
push 0x45e880
push 0x64
push 0x1c
lea eax, [ebp - 0x2490]
mov dword [ebp - 4], 0
push eax
call fcn.004894fd
push 0x45e900
push 0x45d6a0
push 0x64
push 0x1c
lea eax, [ebp - 0x3c00]
mov byte [ebp - 4], 1
push eax
call fcn.004894fd
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2940]
mov ecx, 0x64
mov dword [eax], vtable.MultiReaderAsInput.0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x45e282
lea eax, [ebp - 0x2df0]
mov ecx, 0x64
nop dword [eax + eax]
mov dword [eax], vtable.MultiWriterAsOutput.0
lea eax, [eax + 0xc]
sub ecx, 1
jne 0x45e2a0
lea eax, [ebp - 0x2f80]
mov ebx, 1
lea edx, [esi - 1]
mov dword [ebp - 0x3ccc], eax
mov dword [ebp - 0x3cb8], ebx
lea eax, [ebp - 0x3110]
mov dword [ebp - 0x3cc8], eax
mov dword [ebp - 0x3cd4], edx
test edx, edx
js 0x45e5bd
lea eax, [edx*8]
sub eax, edx
shl eax, 2
mov dword [ebp - 0x3cc0], eax
mov ecx, dword [ebp + edx*4 - 0x19a0]
call fcn.0045eea0
mov esi, eax
test esi, esi
je 0x45e605
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 - 0x3cd0], eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
cmp dword [ebp - 0x3cd0], 0
jle 0x45e605
mov ecx, dword [ebp - 0x3cc0]
mov eax, dword [ebp - 0x3cc8]
mov edx, eax
mov esi, dword [ebp - 0x3cd4]
mov dword [ebp + ecx - 0x2478], eax
add eax, 4
mov dword [ebp - 0x3cc8], eax
lea eax, [ebp + ecx - 0x3c1c]
mov dword [ebp + ecx - 0x2480], 1
test esi, esi
jg 0x45e37c
lea eax, [ebp - 0x2df0]
mov edi, dword [ebp - 0x3cd0]
mov dword [edx], eax
mov eax, dword [ebp - 0x3ccc]
mov edx, eax
mov dword [ebp + ecx - 0x247c], eax
mov dword [ebp + ecx - 0x2484], edi
lea eax, [eax + edi*4]
mov edi, dword [ebp - 0x3cbc]
mov dword [ebp - 0x3ccc], eax
mov eax, dword [ebp - 0x3cb4]
dec eax
cmp esi, eax
jge 0x45e3cc
lea eax, [ebp - 0x3c00]
add eax, ecx
je 0x45e3c8
lea eax, [ebp - 0x3bfc]
add eax, ecx
jmp 0x45e3d2
xor eax, eax
jmp 0x45e3d2
lea eax, [ebp - 0x2940]
mov esi, 1
mov dword [edx], eax
mov dword [ebp - 0x3cdc], esi
cmp dword [ebp - 0x3cd0], esi
jle 0x45e599
lea eax, [ebx + ebx*2]
lea ebx, [ebp - 0x2940]
lea eax, [ebx + eax*4]
mov dword [ebp - 0x3cc4], eax
mov eax, dword [ebp - 0x3cb4]
lea ebx, [eax*8]
sub ebx, eax
mov eax, dword [ebp - 0x3cd4]
shl ebx, 2
lea eax, [ebp + eax*4 - 0x19a0]
mov dword [ebp - 0x3c04], eax
mov byte [edi], 0
mov ecx, dword [eax]
call fcn.0045eea0
mov edi, eax
test edi, edi
je 0x45e605
mov ecx, dword [edi]
push 0
push dword [ebp - 0x3cbc]
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 0x45e605
mov edi, dword [ebp - 0x3cbc]
cmp byte [edi], 0
je 0x45e528
lea edx, [ebp - 0x3c00]
add edx, ebx
je 0x45e485
lea ecx, [ebp - 0x3bfc]
add ecx, ebx
jmp 0x45e487
xor ecx, ecx
mov eax, dword [ebp - 0x3cc0]
mov esi, dword [ebp - 0x3cdc]
mov eax, dword [ebp + eax - 0x247c]
mov dword [eax + esi*4], ecx
mov ecx, dword [ebp - 0x3cc8]
mov eax, ecx
mov dword [ebp + ebx - 0x2478], ecx
add ecx, 4
mov dword [ebp + ebx - 0x2480], 1
mov dword [ebp - 0x3cc8], ecx
mov ecx, dword [ebp - 0x3ccc]
mov dword [eax], edx
mov eax, ecx
mov edx, dword [ebp - 0x3cc4]
mov dword [ebp + ebx - 0x247c], ecx
add ecx, 4
mov dword [ebp + ebx - 0x2484], 1
mov dword [eax], edx
mov eax, dword [ebp - 0x3cb4]
mov dword [ebp - 0x3ccc], ecx
mov dword [ebp + eax*4 - 0x19a0], edi
inc eax
mov dword [ebp - 0x3cb4], eax
add ebx, 0x1c
mov eax, edi
lea ecx, [eax + 1]
mov dword [ebp - 0x3cc4], ecx
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x45e510
sub eax, dword [ebp - 0x3cc4]
inc edi
add edi, eax
mov dword [ebp - 0x3cbc], edi
jmp 0x45e550
mov eax, dword [ebp - 0x3cc0]
mov esi, dword [ebp - 0x3cdc]
mov edx, dword [ebp - 0x3cc4]
mov ecx, dword [ebp - 0x3cb8]
mov eax, dword [ebp + eax - 0x247c]
mov dword [ebp - 0x3cb8], ecx
mov dword [eax + esi*4], edx
mov edi, dword [ebp - 0x3cbc]
mov eax, 0xc
mov ecx, 1
inc esi
add dword [ebp - 0x3cb8], ecx
add edx, eax
mov eax, dword [ebp - 0x3c04]
mov dword [ebp - 0x3cdc], esi
mov dword [ebp - 0x3cc4], edx
cmp esi, dword [ebp - 0x3cd0]
jl 0x45e422
mov ebx, dword [ebp - 0x3cb8]
mov ecx, dword [ebp - 0x3cc0]
mov dword [ebp - 0x3cb8], ebx
mov edx, dword [ebp - 0x3cd4]
sub ecx, 0x1c
dec edx
mov dword [ebp - 0x3cc0], ecx
mov dword [ebp - 0x3cd4], edx
test edx, edx
jns 0x45e2f4
mov esi, dword [ebp - 0x3cb4]
cmp esi, 1
jne 0x45e615
cmp ebx, esi
jne 0x45e615
lea ecx, [ebp - 0x810]
call fcn.0045eea0
mov edi, eax
test edi, edi
je 0x45e605
push dword [ebp - 0x3cd8]
mov edx, edi
mov ecx, esi
push dword [ebp - 0x3ce0]
call fcn.0045d560
add esp, 8
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x2c]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x45e809
mov edi, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov esi, 0xfffffffe
jmp 0x45e809
lea ecx, [ebp - 0x3cac]
call fcn.00478670
mov eax, dword [ebp - 0x3cd8]
xor ecx, ecx
mov edi, dword [ebp - 0x3ce0]
mov edx, 0x10
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c8c], eax
mov eax, ebx
mul edx
mov dword [ebp - 0x3c94], ebx
mov dword [ebp - 0x3c90], edi
seto cl
mov byte [ebp - 0x3cb0], 1
neg ecx
or ecx, eax
push ecx
call fcn.00489180
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.00489180
add esp, 4
mov dword [ebp - 0x3c78], eax
lea ecx, [ebp - 0x3c6c]
call fcn.00478670
mov eax, dword [ebp - 0x3cd8]
mov byte [ebp - 4], 5
push 0x10
mov dword [ebp - 0x3c54], 1
mov dword [ebp - 0x3c50], edi
mov dword [ebp - 0x3c4c], eax
mov byte [ebp - 0x3c70], 1
call fcn.00489180
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.00489180
add esp, 4
mov dword [ebp - 0x3c38], eax
xor edx, edx
mov byte [ebp - 4], 6
test ebx, ebx
jle 0x45e720
lea ecx, [ebp - 0x2938]
mov dword [ecx - 4], edx
lea edi, [ebp - 0x3cb0]
inc edx
mov dword [ecx], edi
lea ecx, [ecx + 0xc]
cmp edx, ebx
jl 0x45e706
nop dword [eax]
lea ecx, [ebp - 0x3c70]
mov dword [ebp - 0x2dec], 0
xor edi, edi
mov dword [ebp - 0x2de8], ecx
test esi, esi
jle 0x45e7b8
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 0x45e990
push 0
push 0
call fcn.0049d37f
add esp, 0x18
mov dword [esi + 4], eax
test eax, eax
jne 0x45e786
call ebx
inc edi
add esi, 0x1c
cmp edi, dword [ebp - 0x3cb4]
jl 0x45e750
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 0x45e7a0
mov eax, dword [ebp - 0x3c38]
mov esi, dword [ebp - 0x3c20]
push eax
call fcn.00488f7d
add esp, 4
push dword [ebp - 0x3c3c]
call fcn.00488f7d
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.00488f7d
add esp, 4
push dword [ebp - 0x3c7c]
call fcn.00488f7d
add esp, 4
lea eax, [ebp - 0x3cac]
push eax
call edi
push 0x45e900
push 0x64
push 0x1c
lea eax, [ebp - 0x3c00]
mov byte [ebp - 4], 1
push eax
call fcn.004893e8
push 0x45e890
push 0x64
push 0x1c
lea eax, [ebp - 0x2490]
mov byte [ebp - 4], 0
push eax
call fcn.004893e8
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.00488f09
mov esp, ebp
pop ebp
ret