Function at 0x410fe8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
mov eax, 0x3cec
call fcn.0043d7f0
lea eax, [esp + 0x24e0]
mov dword [esp + 0x3c], eax
mov dword [esp + 8], 0x800
mov eax, dword [esp + 0x3d04]
mov dword [esp + 4], eax
lea ebx, [esp + 0x34e0]
mov dword [esp], ebx
call fcn.0040e146
mov dword [esp + 0xc], 0x64
lea eax, [esp + 0x2350]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2b
mov dword [esp], ebx
call fcn.0040e170
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2330]
mov dword [esp], eax
call fcn.00401584
mov edx, dword [esp + 0x3d00]
mov dword [esp + 0x2320], edx
mov ecx, dword [esp + 0x3d08]
mov dword [esp + 0x2324], ecx
mov ebx, dword [esp + 0x3d0c]
mov dword [esp + 0x2328], ebx
mov dword [esp + 0x232c], 0
lea edx, [esp + 0x1830]
mov eax, 0x63
cmp eax, 0xffffffff
je 0x4110ac
mov dword [edx + 4], 0
add edx, 0x1c
dec eax
jmp 0x41109a
lea esi, [esp + 0xd40]
mov edi, 0x63
cmp edi, 0xffffffff
je 0x411118
mov dword [esi], 0x45627c
mov dword [esi + 4], 0x456294
lea eax, [esi + 0x10]
mov dword [esi + 0x10], 0
lea ebx, [esi + 0x14]
mov dword [esi + 0x14], 0
mov byte [esi + 0x18], 0
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.004014d8
mov dword [esp + 8], 1
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.004014d8
add esi, 0x1c
dec edi
jmp 0x4110b8
lea edx, [esp + 0x890]
mov eax, 0x63
cmp eax, 0xffffffff
je 0x411135
mov dword [edx], 0x4560cc
add edx, 0xc
dec eax
jmp 0x411124
lea edx, [esp + 0x3e0]
mov eax, 0x63
cmp eax, 0xffffffff
je 0x411152
mov dword [edx], 0x45611c
add edx, 0xc
dec eax
jmp 0x411141
mov dword [esp + 0x34], 1
mov dword [esp + 0x30], 1
lea eax, [esp + 0x250]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0xc0]
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x38]
dec esi
js 0x411754
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.NumOutStreams
mov eax, dword [esp + esi*4 + 0x2350]
mov dword [esp], eax
call fcn.00412270
mov dword [esp + 0x24], eax
test eax, eax
jg 0x411232
lea ebx, [esp + 0x1830]
lea esi, [esp + 0xd40]
cmp esi, ebx
je 0x4111f4
sub ebx, 0x1c
mov dword [ebx], 0x45627c
mov dword [ebx + 4], 0x456294
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0044b8b0
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b8b0
jmp 0x4111c8
lea ebx, [esp + 0x2320]
lea esi, [esp + 0x1830]
cmp esi, ebx
je 0x411216
sub ebx, 0x1c
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0044adf4
jmp 0x411202
lea eax, [esp + 0x2330]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
mov eax, 0xfffffffe
jmp 0x411aa0
cmp dword [esp + 0x3d00], 0
jne 0x4114cc
lea eax, [esi*8]
sub eax, esi
lea edx, [eax*4]
lea ecx, [esp + 0x3ce0]
lea eax, [edx + ecx]
mov ebx, dword [esp + 0x2c]
mov dword [eax - 0x249c], ebx
mov dword [eax - 0x24a4], 1
add ebx, 4
mov dword [esp + 0x2c], ebx
mov ecx, dword [eax - 0x249c]
test esi, esi
jle 0x411295
lea eax, [esp + edx + 0xd40]
mov edx, 0
cmp eax, 0x1c
je 0x41129c
lea edx, [eax - 0x18]
jmp 0x41129c
lea edx, [esp + 0x890]
mov dword [ecx], edx
lea eax, [esi*8]
sub eax, esi
shl eax, 2
lea ecx, [esp + 0x3ce0]
lea edx, [eax + ecx]
mov ebx, dword [esp + 0x28]
mov dword [edx - 0x2498], ebx
mov ecx, dword [esp + 0x24]
mov dword [edx - 0x24a0], ecx
lea ebx, [ebx + ecx*4]
mov dword [esp + 0x28], ebx
mov ecx, dword [edx - 0x2498]
mov edx, dword [esp + 0x38]
dec edx
lea eax, [esp + eax + 0xd40]
cmp edx, esi
jg 0x4112ec
lea eax, [esp + 0x3e0]
mov dword [ecx], eax
mov ebx, 1
cmp ebx, dword [esp + 0x24]
jge 0x41174d
lea ebp, [esp + 0xd40]
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str.GetOutStreamCompressor
mov eax, dword [esp + esi*4 + 0x2350]
mov dword [esp], eax
call fcn.00412270
test eax, eax
jns 0x4113ae
lea ebx, [esp + 0x1830]
lea esi, [esp + 0xd40]
cmp esi, ebx
je 0x411370
sub ebx, 0x1c
mov dword [ebx], 0x45627c
mov dword [ebx + 4], 0x456294
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0044b8b0
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b8b0
jmp 0x411344
lea ebx, [esp + 0x2320]
lea esi, [esp + 0x1830]
cmp esi, ebx
je 0x411392
sub ebx, 0x1c
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0044adf4
jmp 0x41137e
lea eax, [esp + 0x2330]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
mov eax, 0xfffffffe
jmp 0x411aa0
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je 0x411490
lea eax, [esi*8]
sub eax, esi
lea edx, [ebx*4]
add edx, dword [esp + eax*4 + 0x1848]
mov eax, dword [esp + 0x38]
shl eax, 3
sub eax, dword [esp + 0x38]
shl eax, 2
lea ecx, [ebp + eax]
mov dword [edx], ecx
lea edx, [esp + 0x3ce0]
add eax, edx
mov edx, dword [esp + 0x2c]
mov dword [eax - 0x249c], edx
mov dword [eax - 0x24a4], 1
add edx, 4
mov dword [esp + 0x2c], edx
mov eax, dword [eax - 0x249c]
mov edx, 0
test ecx, ecx
je 0x41141c
lea edx, [ecx + 4]
mov dword [eax], edx
mov eax, dword [esp + 0x38]
shl eax, 3
sub eax, dword [esp + 0x38]
lea eax, [esp + eax*4 + 0x3ce0]
mov ecx, dword [esp + 0x28]
mov dword [eax - 0x2498], ecx
mov dword [eax - 0x24a0], 1
add ecx, 4
mov dword [esp + 0x28], ecx
mov edx, dword [eax - 0x2498]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + ecx*2]
lea eax, [esp + eax*4 + 0x3e0]
inc ecx
mov dword [esp + 0x30], ecx
mov dword [edx], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov dword [esp + eax*4 + 0x2350], edx
inc eax
mov dword [esp + 0x38], eax
mov edi, edx
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
add edx, ecx
mov dword [esp + 0x3c], edx
jmp 0x4114bc
lea eax, [esi*8]
sub eax, esi
lea edx, [ebx*4]
add edx, dword [esp + eax*4 + 0x1848]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + ecx*2]
lea eax, [esp + eax*4 + 0x3e0]
inc ecx
mov dword [esp + 0x30], ecx
mov dword [edx], eax
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x411304
jmp 0x41174d
lea edx, [esi*8]
sub edx, esi
shl edx, 2
lea ebx, [esp + 0x3ce0]
lea eax, [edx + ebx]
mov ecx, dword [esp + 0x28]
mov dword [eax - 0x2498], ecx
mov dword [eax - 0x24a0], 1
add ecx, 4
mov dword [esp + 0x28], ecx
mov ecx, dword [eax - 0x2498]
lea eax, [esp + edx + 0xd24]
test esi, esi
jg 0x411515
lea eax, [esp + 0x3e0]
mov dword [ecx], eax
lea eax, [esi*8]
sub eax, esi
lea edx, [eax*4]
lea ebx, [esp + 0x3ce0]
lea eax, [edx + ebx]
mov ecx, dword [esp + 0x2c]
mov dword [eax - 0x249c], ecx
mov ebx, dword [esp + 0x24]
mov dword [eax - 0x24a4], ebx
lea ecx, [ecx + ebx*4]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax - 0x249c]
mov eax, dword [esp + 0x38]
dec eax
cmp eax, esi
jle 0x411570
lea eax, [esp + edx + 0xd40]
mov edx, 0
test eax, eax
je 0x411577
lea edx, [eax + 4]
jmp 0x411577
lea edx, [esp + 0x890]
mov dword [ecx], edx
mov ebp, 1
cmp ebp, dword [esp + 0x24]
jge 0x41174d
mov eax, dword [esp + 0x3c]
mov byte [eax], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebp
mov dword [esp + 4], str.GetOutStreamCompressor
mov eax, dword [esp + esi*4 + 0x2350]
mov dword [esp], eax
call fcn.00412270
test eax, eax
jns 0x411632
lea ebx, [esp + 0x1830]
lea esi, [esp + 0xd40]
cmp esi, ebx
je 0x4115f4
sub ebx, 0x1c
mov dword [ebx], 0x45627c
mov dword [ebx + 4], 0x456294
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0044b8b0
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b8b0
jmp 0x4115c8
lea ebx, [esp + 0x2320]
lea esi, [esp + 0x1830]
cmp esi, ebx
je 0x411616
sub ebx, 0x1c
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0044adf4
jmp 0x411602
lea eax, [esp + 0x2330]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
mov eax, 0xfffffffe
jmp 0x411aa0
mov edx, dword [esp + 0x3c]
cmp byte [edx], 0
je 0x411716
lea eax, [esi*8]
sub eax, esi
lea edx, [ebp*4]
add edx, dword [esp + eax*4 + 0x1844]
mov eax, dword [esp + 0x38]
shl eax, 3
sub eax, dword [esp + 0x38]
lea eax, [esp + eax*4 + 0xd40]
mov ecx, 0
test eax, eax
je 0x411674
lea ecx, [eax + 4]
mov dword [edx], ecx
mov eax, dword [esp + 0x38]
shl eax, 3
sub eax, dword [esp + 0x38]
shl eax, 2
lea ecx, [esp + 0x3ce0]
lea edx, [eax + ecx]
lea ebx, [edx - 0x24a0]
mov ecx, dword [esp + 0x28]
mov dword [edx - 0x2498], ecx
mov dword [edx - 0x24a0], 1
add ecx, 4
mov dword [esp + 0x28], ecx
mov ecx, dword [ebx + 8]
lea eax, [esp + eax + 0xd40]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx - 0x249c], eax
mov dword [edx - 0x24a4], 1
add eax, 4
mov dword [esp + 0x2c], eax
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x34]
lea eax, [ecx + ecx*2]
lea eax, [esp + eax*4 + 0x890]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [edx], eax
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov dword [esp + ebx*4 + 0x2350], eax
inc ebx
mov dword [esp + 0x38], ebx
mov edi, eax
cld
mov ecx, 0xffffffff
mov al, 0
repne scasb al, byte es:[edi]
not ecx
add dword [esp + 0x3c], ecx
jmp 0x411742
lea eax, [esi*8]
sub eax, esi
lea edx, [ebp*4]
add edx, dword [esp + eax*4 + 0x1844]
mov ecx, dword [esp + 0x34]
lea eax, [ecx + ecx*2]
lea eax, [esp + eax*4 + 0x890]
inc ecx
mov dword [esp + 0x34], ecx
mov dword [edx], eax
inc ebp
cmp ebp, dword [esp + 0x24]
jl 0x411588
dec esi
jns 0x411183
cmp dword [esp + 0x38], 1
sete dl
cmp dword [esp + 0x34], 1
sete al
test al, dl
je 0x41181e
cmp dword [esp + 0x30], 1
jne 0x41181e
mov ebx, dword [esp + 0x3d0c]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x3d08]
mov dword [esp + 8], eax
lea eax, [esp + 0x34e0]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x3d00]
mov dword [esp], edx
call fcn.0041069c
mov edi, eax
lea ebx, [esp + 0x1830]
lea esi, [esp + 0xd40]
cmp esi, ebx
je 0x4117e3
sub ebx, 0x1c
mov dword [ebx], 0x45627c
mov dword [ebx + 4], 0x456294
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0044b8b0
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b8b0
jmp 0x4117b7
lea ebx, [esp + 0x2320]
lea esi, [esp + 0x1830]
cmp esi, ebx
je 0x411805
sub ebx, 0x1c
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0044adf4
jmp 0x4117f1
lea eax, [esp + 0x2330]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
mov eax, edi
jmp 0x411aa0
lea eax, [esp + 0x84]
mov dword [esp], eax
call fcn.00401584
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x9c], ecx
mov ebx, dword [esp + 0x3d08]
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x3d0c]
mov dword [esp + 0xa4], eax
mov byte [esp + 0x80], 1
mov eax, ecx
shl eax, 4
mov dword [esp], eax
call fcn.0043ab50
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x9c]
shl eax, 4
mov dword [esp], eax
call fcn.0043ab50
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x44]
mov dword [esp], eax
call fcn.00401584
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], ebx
mov ecx, dword [esp + 0x3d0c]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x40], 1
mov eax, edx
shl eax, 4
mov dword [esp], eax
call fcn.0043ab50
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x5c]
shl eax, 4
mov dword [esp], eax
call fcn.0043ab50
mov dword [esp + 0x78], eax
mov edx, 0
cmp edx, dword [esp + 0x34]
jge 0x411901
lea ebx, [esp + 0x890]
lea ecx, [esp + 0x80]
lea eax, [edx + edx*2]
lea eax, [ebx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
inc edx
cmp edx, dword [esp + 0x34]
jl 0x4118ee
mov edx, 0
cmp edx, dword [esp + 0x30]
jge 0x41192a
lea ebx, [esp + 0x3e0]
lea ecx, [esp + 0x40]
lea eax, [edx + edx*2]
lea eax, [ebx + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
inc edx
cmp edx, dword [esp + 0x30]
jl 0x411917
mov ebx, 0
cmp ebx, dword [esp + 0x38]
jge 0x41198a
lea edx, [ebx*8]
sub edx, ebx
shl edx, 2
lea eax, [esp + 0x3ce0]
lea ecx, [edx + eax]
lea eax, [esp + 0x2320]
mov dword [ecx - 0x24b0], eax
mov eax, dword [esp + ebx*4 + 0x2350]
mov dword [ecx - 0x24a8], eax
lea eax, [esp + edx + 0x1830]
lea edx, [eax + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x411aac
mov dword [esp], edx
call fcn.0040138a
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x411935
mov ebx, 0
cmp ebx, dword [esp + 0x38]
jge 0x4119b4
lea eax, [ebx*8]
sub eax, ebx
mov eax, dword [esp + eax*4 + 0x1834]
mov dword [esp], eax
call fcn.0040136c
inc ebx
cmp ebx, dword [esp + 0x38]
jl 0x411995
mov edi, dword [esp + 0x232c]
lea ebx, [esp + 0x40]
cmp dword [esp + 0x78], 0
je 0x4119d2
mov eax, dword [esp + 0x78]
mov dword [esp], eax
call fcn.0043ab40
cmp dword [ebx + 0x34], 0
je 0x4119e3
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call fcn.0043ab40
lea eax, [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
lea ebx, [esp + 0x80]
cmp dword [esp + 0xb8], 0
je 0x411a11
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
call fcn.0043ab40
cmp dword [ebx + 0x34], 0
je 0x411a22
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call fcn.0043ab40
lea eax, [ebx + 4]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
lea ebx, [esp + 0x1830]
lea esi, [esp + 0xd40]
cmp esi, ebx
je 0x411a6a
sub ebx, 0x1c
mov dword [ebx], 0x45627c
mov dword [ebx + 4], 0x456294
lea eax, [ebx + 0x14]
mov dword [esp], eax
call fcn.0044b8b0
lea eax, [ebx + 0x10]
mov dword [esp], eax
call fcn.0044b8b0
jmp 0x411a3e
lea ebx, [esp + 0x2320]
lea esi, [esp + 0x1830]
cmp esi, ebx
je 0x411a8c
sub ebx, 0x1c
lea eax, [ebx + 4]
mov dword [esp], eax
call fcn.0044adf4
jmp 0x411a78
lea eax, [esp + 0x2330]
mov dword [esp], eax
call sub.KERNEL32.dll_DeleteCriticalSection
sub esp, 4
mov eax, edi
add esp, 0x3cec
pop ebx
pop esi
pop edi
pop ebp
ret