Function at 0x5bc850
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x67ed53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea ecx, [esi + 8]
call fcn.0061e33a
xor ebx, ebx
lea edi, [esi + 0x18]
mov ecx, 0x18
xor eax, eax
mov dword [esi], sym.CDViewer.exe_const_CLosslessCompression::vftable
mov dword [esi + 4], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0x10b4], ebx
mov dword [esi + 0x10c8], ebx
mov dword [esi + 0x10c4], ebx
mov dword [esi + 0xa8], ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x28], ebx
cmp eax, 0x10
jne 0x5bc8da
mov dword [esi + 0x10d8], 0xf
jmp 0x5bc8f1
cmp eax, 0x18
jne 0x5bc8eb
mov dword [esi + 0x10d8], 8
jmp 0x5bc8f1
mov dword [esi + 0x10d8], eax
fld qword [0x69e340]
fild dword [esi + 0x10d8]
call fcn.005e2020
call fcn.005e1f50
mov ebp, eax
mov dword [esi + 0x10d4], ebp
mov eax, dword [0x6ed544]
mov dword [esp + 0x10], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp ebp, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_HeapSize]
mov byte [esp + 0x28], 1
jge 0x5bc9ba
push 0
push 0
push str.Alloc1D:_Size_is_negative._Cant_allocate_memory
call fcn.0062dd90
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00619871
mov ecx, dword [esp + 0x38]
lea eax, [ecx + ecx]
shr eax, 3
cmp ecx, 0x18
mov dword [esi + 0x10d0], eax
jne 0x5bc97c
add eax, 7
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x5bc974
dec edx
or edx, 0xfffffff8
inc edx
sub eax, edx
mov dword [esi + 0x10d0], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [0x6ed544]
imul eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
shl eax, 2
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x28], 2
jge 0x5bca57
push 0
push 0
push str.Alloc1D:_Size_is_negative._Cant_allocate_memory
call fcn.0062dd90
jmp 0x5bcac3
lea ecx, [ebp*4]
push ecx
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push 0
mov dword [esp + 0x1c], eax
call edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5bca27
cmp eax, ebp
jl 0x5bca27
mov dword [esi + 0xa8], ecx
mov edx, dword [0x6f2528]
inc edx
mov dword [0x6f2528], edx
mov edx, dword [esi + 0xa8]
push edx
push 0
call edi
push eax
call ebx
mov edx, dword [0x6f2530]
xor ecx, ecx
add edx, eax
mov eax, dword [0x6f2534]
adc eax, ecx
mov dword [0x6f2530], edx
mov dword [0x6f2534], eax
jmp 0x5bc93f
lea eax, [esp + 0x10]
push str.Alloc1D:_Cannot_allocate_sufficient_memory__nTerminate_application_
push eax
call fcn.0060da8c
mov ecx, dword [esp + 0x18]
add esp, 8
push 0
push 4
push ecx
call fcn.0062dd90
cmp eax, 6
jne 0x5bc93f
push 0
call fcn.005e246f
lea edx, [eax*4]
push edx
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebp, eax
push ebp
push 0
call edi
push eax
call ebx
test ebp, ebp
je 0x5bcb06
cmp eax, dword [esp + 0x14]
jl 0x5bcb06
mov dword [esi + 0x98], ebp
mov edx, dword [0x6f2528]
inc edx
mov dword [0x6f2528], edx
mov eax, dword [esi + 0x98]
push eax
push 0
call edi
push eax
call ebx
mov edx, dword [0x6f2530]
xor ecx, ecx
add edx, eax
mov eax, dword [0x6f2534]
adc eax, ecx
mov dword [0x6f2530], edx
mov dword [0x6f2534], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00619871
mov ebp, dword [esi + 0x10d0]
mov eax, dword [0x6ed544]
imul ebp, dword [esp + 0x30]
imul ebp, dword [esp + 0x34]
mov dword [esp + 0x10], eax
test ebp, ebp
mov byte [esp + 0x28], 3
jge 0x5bcb32
push 0
push 0
push str.Alloc1D:_Size_is_negative._Cant_allocate_memory
call fcn.0062dd90
jmp 0x5bcbd0
lea ecx, [esp + 0x10]
push str.Alloc1D:_Cannot_allocate_sufficient_memory__nTerminate_application_
push ecx
call fcn.0060da8c
mov edx, dword [esp + 0x18]
add esp, 8
push 0
push 4
push edx
call fcn.0062dd90
cmp eax, 6
jne 0x5bcac3
push 0
call fcn.005e246f
push ebp
push 8
call edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
push 0
mov dword [esp + 0x1c], eax
call edi
push eax
call ebx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x5bcba4
cmp eax, ebp
jl 0x5bcba4
mov dword [esi + 0x10cc], ecx
mov ecx, dword [0x6f2528]
inc ecx
mov dword [0x6f2528], ecx
mov ecx, dword [esi + 0x10cc]
push ecx
push 0
call edi
push eax
call ebx
mov edx, dword [0x6f2530]
xor edi, edi
xor ecx, ecx
add edx, eax
mov eax, dword [0x6f2534]
mov byte [esp + 0x28], cl
adc eax, ecx
lea ecx, [esp + 0x10]
mov dword [0x6f2530], edx
mov dword [0x6f2534], eax
call fcn.00619871
jmp 0x5bcbe0
lea edx, [esp + 0x10]
push str.Alloc1D:_Cannot_allocate_sufficient_memory__nTerminate_application_
push edx
call fcn.0060da8c
mov eax, dword [esp + 0x18]
add esp, 8
push 0
push 4
push eax
call fcn.0062dd90
cmp eax, 6
jne 0x5bcbd0
push 0
call fcn.005e246f
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call fcn.00619871
xor edi, edi
cmp dword [esi + 0x98], edi
jne 0x5bcbf4
push edi
push edi
push str.LosslessCompression___InitMCUTable___Not_enough_memory_for_mcuTable
call fcn.0062dd90
cmp dword [esi + 0x10cc], edi
jne 0x5bcc08
push edi
push edi
push str.LosslessCompression___InitMCUTable___Not_enough_memory_for_buffer
call fcn.0062dd90
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, edi
jle 0x5bcc31
mov edx, dword [esi + 0x10d0]
mov ebp, dword [esi + 0x10cc]
imul edx, eax
mov ebx, dword [esi + 0x98]
add edx, ebp
mov dword [ebx + eax*4], edx
inc eax
cmp eax, ecx
jl 0x5bcc12
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 0x10d8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0x1c], ecx
add eax, 0xfffffff8
mov dword [esi + 0x20], edx
cmp eax, 0x10
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x94], 7
ja case.0x5bcc70.11
xor ecx, ecx
mov cl, byte [eax + 0x5bce44]
jmp dword [ecx*4 + 0x5bce34]
mov ebp, 1
mov word [esi + 0x28], bp
jmp 0x5bcc95
mov word [esi + 0x28], 1
jmp 0x5bcc90
mov word [esi + 0x28], 3
mov ebp, 1
xor eax, eax
lea ecx, [esi + 0x78]
inc eax
mov dword [ecx], eax
mov edx, dword [esi + 0x94]
add ecx, 4
cmp eax, edx
jl 0x5bcc9a
movsx eax, word [esi + 0x28]
lea ebx, [esi + 0x10b8]
push edi
lea edx, [eax + eax*4]
shl edx, 1
push edx
push ebx
call fcn.00401c99
mov eax, dword [ebx]
add esp, 0xc
xor ecx, ecx
cmp word [esi + 0x28], di
mov dword [esi + 0x24], eax
jle 0x5bccff
mov edx, dword [esi + 0x24]
movsx eax, cx
lea eax, [eax + eax*4]
shl eax, 1
mov word [eax + edx], cx
mov edx, dword [esi + 0x24]
mov word [eax + edx + 2], cx
mov edx, dword [esi + 0x24]
inc ecx
mov word [eax + edx + 4], bp
mov edx, dword [esi + 0x24]
mov word [eax + edx + 6], bp
cmp cx, word [esi + 0x28]
jl 0x5bccd1
mov ax, word [esi + 0x28]
xor ecx, ecx
cmp ax, di
mov word [esi + 0x3c], ax
jle 0x5bcd25
mov ebx, dword [esi + 0x24]
movsx eax, cx
inc ecx
lea edx, [eax + eax*4]
lea edx, [ebx + edx*2]
mov dword [esi + eax*4 + 0x2c], edx
cmp cx, word [esi + 0x3c]
jl 0x5bcd0e
mov cx, word [esi + 0x3c]
cmp cx, bp
jne 0x5bcd34
mov word [esi + 0x3e], di
jmp 0x5bcd63
cmp cx, 4
jle 0x5bcd4d
push edi
push edi
push str.Too_many_components_for_interleaved_scan
call fcn.0062dd90
push 0xffffffffffffffff
call fcn.005e246f
xor eax, eax
cmp cx, di
jle 0x5bcd63
movsx ecx, ax
mov word [esi + ecx*2 + 0x3e], ax
inc eax
cmp ax, word [esi + 0x3c]
jl 0x5bcd54
mov eax, dword [esi + 0x10d4]
mov edx, dword [esi + 0x6c]
xor ecx, ecx
cmp eax, edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0x10b4], edi
mov dword [esi + 0x70], edx
mov word [esi + 0x74], di
jle 0x5bcdad
mov eax, ecx
mov edx, ebp
sar eax, 1
je 0x5bcd98
inc edx
sar eax, 1
jne 0x5bcd93
mov eax, dword [esi + 0xa8]
inc ecx
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esi + 0x10d4]
cmp ecx, eax
jl 0x5bcd8b
xor eax, eax
cmp word [esi + 0x3c], di
jle 0x5bcdca
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
inc eax
add ecx, 4
mov word [edx + 8], di
movsx edx, word [esi + 0x3c]
cmp eax, edx
jl 0x5bcdb8
mov ecx, esi
call sym.CDViewer.exe_private:_void___thiscall_CLosslessCompression::LoadStdHuffTables_void_
cmp word [esi + 0x3c], di
jle 0x5bcdf8
lea ebx, [esi + 0x2c]
mov eax, dword [ebx]
movsx ecx, word [eax + 8]
mov edx, dword [esi + ecx*4 + 0x54]
mov ecx, esi
push edx
call sym.CDViewer.exe_private:_void___thiscall_CLosslessCompression::FixHuffTbl_struct_HuffmanTable__
movsx eax, word [esi + 0x3c]
inc edi
add ebx, 4
cmp edi, eax
jl 0x5bcdda
cmp dword [esi + 0x94], ebp
jle 0x5bce0c
mov dword [esi + 0x64], 2
mov dword [esi + 4], ebp
jmp 0x5bce1d
mov ecx, dword [esi + 0x78]
mov dword [esi + 4], ebp
mov dword [esi + 0x64], ecx
jmp 0x5bce1d
mov word [esi + 0x28], 0xffff
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc