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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x645a2e
push eax
mov dword fs:[0], esp
sub esp, 0x2c
fld1
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc]
cmp dword [esi + 8], 0
fstp qword [esi + 0xf0]
mov word [esi + 0xe9], 0x101
sete al
mov byte [esi + 0x15d], 0
mov edx, dword [ecx]
movzx eax, al
push eax
call dword [edx + 0x20]
mov ecx, dword [esi + 0xc]
lea ebx, [esi + 0x70]
push 1
push 1
push 1
push ebx
push 0
push 0
push str.Sprofile
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x78]
push 1
push 1
push 1
push eax
push 0
push 0
push str.Scomponents
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x94]
push 1
push 1
push 1
push eax
push 0
push 0
push str.Ssize
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x98]
push 1
push 1
push 1
push eax
push 1
push 0
push str.Ssize
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x8c]
push 1
push 1
push 1
push eax
push 0
push 0
push str.Sorigin
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x90]
push 1
push 1
push 1
push eax
push 1
push 0
push str.Sorigin
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xa4]
push 1
push 1
push 1
push eax
push 0
push 0
push str.Stiles
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xa8]
push 1
push 1
push 1
push eax
push 1
push 0
push str.Stiles
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x9c]
push 1
push 1
push 1
push eax
push 0
push 0
push str.Stile_origin
call fcn.005bb810
test al, al
je 0x5ca07d
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0xa0]
push 1
push 1
push 1
push eax
push 1
push 0
push str.Stile_origin
call fcn.005bb810
mov eax, dword [ebx]
neg eax
sbb eax, eax
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x90]
sub dword [esi + 0x98], eax
mov eax, dword [esi + 0x8c]
sub dword [esi + 0x94], eax
cmp dword [esi + 0x94], 0
jle 0x5ca0eb
cmp dword [esi + 0x98], 0
jle 0x5ca0eb
mov ecx, dword [esi + 0xa0]
mov edx, dword [esi + 0x90]
cmp ecx, edx
jg 0x5ca0eb
mov edi, dword [esi + 0x9c]
mov ebx, dword [esi + 0x8c]
cmp edi, ebx
jg 0x5ca0eb
mov eax, dword [esi + 0xa8]
add eax, ecx
cmp eax, edx
jle 0x5ca0eb
mov eax, dword [esi + 0xa4]
add eax, edi
cmp eax, ebx
jg 0x5ca11e
push 0x1a
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 0
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov edi, dword [esi + 0x78]
cmp edi, 0x4000
jle 0x5ca162
push 0x6110804
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 1
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov edi, dword [esi + 0x78]
xor ecx, ecx
mov eax, edi
mov edx, 0x60
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5ca1a7
mov ecx, eax
test edi, edi
je 0x5ca1a9
lea ebx, [ebx]
mov dword [ecx], 0
lea ecx, [ecx + 0x60]
mov dword [ecx - 0x5c], 0
sub edi, 1
jne 0x5ca190
jmp 0x5ca1a9
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x108], eax
cmp dword [esi + 0x78], ebx
jle 0x5ca307
xor eax, eax
mov dword [ebp - 0x10], eax
nop
mov edi, dword [esi + 0x108]
mov ecx, dword [esi + 0xc]
add edi, eax
push 1
push 1
push 1
lea eax, [edi + 0x10]
push eax
push 0
push ebx
push str.Sprecision
call fcn.005bb810
test al, al
jne 0x5ca219
push 0x1b
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 2
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov ecx, dword [esi + 0xc]
lea eax, [edi + 0x14]
push 1
push 1
push 1
push eax
push 0
push ebx
push str.Ssigned
call fcn.005bbdb0
test al, al
jne 0x5ca26a
push 0x1c
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 3
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov ecx, dword [esi + 0xc]
push 1
push 1
push 1
push edi
push 0
push ebx
push str.Ssampling
call fcn.005bb810
test al, al
je 0x5ca2a3
mov ecx, dword [esi + 0xc]
lea eax, [edi + 4]
push 1
push 1
push 1
push eax
push 1
push ebx
push str.Ssampling
call fcn.005bb810
test al, al
jne 0x5ca2d6
push 0x1d
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 4
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
fldz
xor eax, eax
fst dword [edi + 0xc]
fstp dword [edi + 8]
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], edi
mov byte [edi + eax + 0x36], al
mov byte [edi + eax + 0x15], al
inc eax
cmp eax, 0x20
jle 0x5ca2e6
mov eax, dword [ebp - 0x10]
inc ebx
add eax, 0x60
mov dword [ebp - 0x10], eax
cmp ebx, dword [esi + 0x78]
jl 0x5ca1c0
mov eax, dword [esi + 0x94]
sub eax, dword [esi + 0x9c]
add eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x118], 0
mov dword [esi + 0x114], 0
test eax, eax
jg 0x5ca33e
cdq
idiv ecx
mov ecx, eax
jmp 0x5ca345
dec eax
cdq
idiv ecx
lea ecx, [eax + 1]
mov eax, dword [esi + 0x98]
sub eax, dword [esi + 0xa0]
add eax, dword [esi + 0x90]
mov edi, dword [esi + 0xa8]
mov dword [esi + 0xac], ecx
test eax, eax
jg 0x5ca36e
cdq
idiv edi
mov edi, eax
jmp 0x5ca375
dec eax
cdq
idiv edi
lea edi, [eax + 1]
mov dword [esi + 0xb0], edi
imul edi, ecx
cmp edi, 0xffff
jg 0x5ca38a
test edi, edi
jns 0x5ca3bd
push 0x1e
push str.E_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0a70
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
mov dword [ebp - 4], 5
call dword [eax + 8]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.005b0cb0
mov eax, dword [esi + 0xac]
xor ecx, ecx
mov dword [esi + 0xbc], eax
mov edx, 0xc
mov eax, dword [esi + 0xb0]
mov dword [esi + 0xc0], eax
mov eax, edi
mul edx
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004b28b8
lea ecx, [edi + edi*2]
mov dword [esi + 0x110], eax
shl ecx, 2
push ecx
push 0
push eax
call fcn.004b40a0
mov eax, dword [esi + 0x70]
add esp, 0x10
test eax, eax
jne 0x5ca516
cmp dword [esi + 0xa8], 0x80
jne 0x5ca43c
cmp dword [esi + 0xa4], 0x80
je 0x5ca46d
cmp edi, 1
jle 0x5ca46d
push 9
push str.W_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0bd0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x24]
push 0x6b02f0
call dword [eax + 8]
lea ecx, [ebp - 0x24]
jmp 0x5ca5b0
cmp dword [esi + 0xa0], 0
jne 0x5ca4fb
cmp dword [esi + 0x9c], 0
jne 0x5ca4fb
cmp dword [esi + 0x90], 0
jne 0x5ca4fb
cmp dword [esi + 0x8c], 0
jne 0x5ca4fb
mov ebx, dword [esi + 0x78]
xor edx, edx
test ebx, ebx
jle 0x5ca5c3
mov eax, dword [esi + 0x108]
mov ecx, dword [eax + 4]
cmp ecx, 1
je 0x5ca4ba
cmp ecx, 2
je 0x5ca4ba
cmp ecx, 4
jne 0x5ca4d8
mov ecx, dword [eax]
cmp ecx, 1
je 0x5ca4cb
cmp ecx, 2
je 0x5ca4cb
cmp ecx, 4
jne 0x5ca4d8
inc edx
add eax, 0x60
cmp edx, ebx
jl 0x5ca4a8
jmp 0x5ca5c3
cmp edx, ebx
jge 0x5ca5c3
push 0xb
push str.W_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0bd0
mov dword [ebp - 4], 8
jmp 0x5ca457
push 0xa
push str.W_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0bd0
mov dword [ebp - 4], 7
jmp 0x5ca457
cmp eax, 1
jne 0x5ca5c3
cmp edi, eax
jle 0x5ca5c3
mov eax, dword [esi + 0xa4]
cmp dword [esi + 0xa8], eax
je 0x5ca550
push 0xc
push str.W_codestream.cpp_
lea ecx, [ebp - 0x24]
call fcn.005b0bd0
mov dword [ebp - 4], 9
jmp 0x5ca457
mov ebx, dword [esi + 0x78]
xor edx, edx
test ebx, ebx
jle 0x5ca5c3
mov ecx, dword [esi + 0x108]
nop
mov eax, dword [ecx + 4]
shl eax, 0xa
cmp dword [esi + 0xa8], eax
jg 0x5ca585
mov eax, dword [ecx]
shl eax, 0xa
cmp dword [esi + 0xa4], eax
jg 0x5ca585
inc edx
add ecx, 0x60
cmp edx, ebx
jl 0x5ca560
jmp 0x5ca5c3
cmp edx, ebx
jge 0x5ca5c3
push 0xd
push str.W_codestream.cpp_
lea ecx, [ebp - 0x38]
call fcn.005b0bd0
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x38]
push 0x6b02f0
mov dword [ebp - 4], 0xa
call dword [eax + 8]
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x70], 2
call fcn.005b0d10
push 0x70
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x5ca5e4
mov ecx, eax
call fcn.005b1a70
jmp 0x5ca5e6
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x5ca61f
mov ecx, eax
call fcn.005b1950
jmp 0x5ca621
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x5ca65a
mov ecx, eax
call fcn.005b19f0
jmp 0x5ca65c
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xe
test eax, eax
je 0x5ca695
mov ecx, eax
call fcn.005b1360
jmp 0x5ca697
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xf
test eax, eax
je 0x5ca6d0
mov ecx, eax
call fcn.005b1420
jmp 0x5ca6d2
xor eax, eax
push dword [esi + 0x78]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x10
test eax, eax
je 0x5ca70c
mov ecx, eax
call fcn.005b16c0
jmp 0x5ca70e
xor eax, eax
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x11
test eax, eax
je 0x5ca748
mov ecx, eax
call fcn.005b12d0
jmp 0x5ca74a
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x5ca783
mov ecx, eax
call fcn.005b1c70
jmp 0x5ca785
xor eax, eax
push dword [esi + 0x78]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x5ca7bf
mov ecx, eax
call fcn.005b1d90
jmp 0x5ca7c1
xor eax, eax
push dword [esi + 0x78]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x14
test eax, eax
je 0x5ca7fb
mov ecx, eax
call fcn.005b1c00
jmp 0x5ca7fd
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x15
test eax, eax
je 0x5ca836
mov ecx, eax
call fcn.005b1b60
jmp 0x5ca838
xor eax, eax
push 0
push edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x58
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x16
test eax, eax
je 0x5ca871
mov ecx, eax
call fcn.005b1650
jmp 0x5ca873
xor eax, eax
push 0
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [esi + 0xc]
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.005bc390
push 0x40
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5ca90e
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
jmp 0x5ca910
xor eax, eax
push 0x20
mov dword [esi + 0x18], eax
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5ca94e
mov ecx, dword [esi + 0x18]
mov dword [eax], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], ecx
jmp 0x5ca950
xor eax, eax
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x18]
push 0x80
inc dword [eax + 0x38]
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x17
test eax, eax
je 0x5ca97d
mov ecx, eax
call fcn.005ef5f0
jmp 0x5ca97f
xor eax, eax
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x5ca9d6
mov ecx, dword [ecx + 0x21c]
mov eax, dword [ecx]
call dword [eax + 8]
test al, 2
je 0x5ca9cf
push 0x10
call fcn.004b2888
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
je 0x5ca9ca
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax], 0
mov byte [eax + 0xc], 0
jmp 0x5ca9cc
xor eax, eax
mov dword [esi + 0x24], eax
mov ecx, esi
call fcn.005d33f0
cmp dword [esi + 0x10c], 0
jne 0x5ca9e6
mov ecx, esi
call fcn.005caa80
mov eax, dword [esi + 0x8c]
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x90]
mov dword [esi + 0xdc], eax
mov eax, dword [esi + 0x94]
mov dword [esi + 0xe0], eax
mov eax, dword [esi + 0x98]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x78]
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0x64
mov dword [esi + 0xcc], 0xffff
mov dword [esi + 0x7c], eax
mov dword [esi + 0xd0], 1
mov byte [esi + 0x15c], 0
mov dword [esi + 0x20], 0
call fcn.005a99bc
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [esi + 0x18c], eax
mov byte [esi + 0xe8], 0
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret