Function at 0x58ea90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x6848ac
mov eax, dword fs:[0]
push eax
sub esp, 0x568
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x560], eax
push ebx
push esi
push edi
mov eax, dword [0x9c48d0]
xor eax, esp
push eax
lea eax, [esp + 0x578]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [edi + 0x30]
mov dword [esp + 0x14], edi
mov esi, 1
mov edi, edi
mov eax, dword [ebx + 0x14]
shr eax, 1
add eax, 0x8000
push eax
push 0
mov ecx, ebx
call fcn.005e08b0
add esi, esi
or esi, eax
cmp esi, 0x1000000
jl 0x58eae0
lea eax, [esi - 0x1000000]
xor esi, esi
mov dword [edi + 0x18], eax
cmp eax, esi
jne 0x58eb16
xor eax, eax
jmp 0x58f0ee
cmp eax, 0x400000
jle 0x58eb5b
push esi
push esi
push 0xe4
push str..extlibdjvuBSByteStream.cpp
push 0x690c58
lea ecx, [esp + 0x68]
call fcn.005bb2d0
push eax
mov dword [esp + 0x584], esi
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x580], 0xffffffff
call fcn.005bb350
mov eax, dword [edi + 0x18]
cmp dword [edi + 0x14], eax
jge 0x58eb76
mov dword [edi + 0x14], eax
cmp dword [edi + 0x24], esi
je 0x58eb7b
push 1
push esi
lea ecx, [edi + 0x28]
call fcn.005c10e0
cmp dword [edi + 0x24], esi
jne 0x58eb89
mov eax, dword [edi + 0x14]
push 1
push eax
lea ecx, [edi + 0x28]
call fcn.005c10e0
mov ecx, dword [ebx + 0x14]
shr ecx, 1
add ecx, 0x8000
push ecx
push esi
mov ecx, ebx
mov dword [esp + 0x2c], esi
call fcn.005e08b0
test eax, eax
je 0x58ebcd
mov edx, dword [ebx + 0x14]
shr edx, 1
add edx, 0x8000
push edx
push esi
mov ecx, ebx
mov dword [esp + 0x2c], 1
call fcn.005e08b0
test eax, eax
je 0x58ebcd
mov dword [esp + 0x24], 2
xor eax, eax
mov ecx, 0x40
mov esi, 0x690b58
lea edi, [esp + 0x46c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x14]
xor edi, edi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], 4
mov eax, 3
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x18], edi
jle 0x58ef4a
add esi, 0x34
mov dword [esp + 0x30], esi
mov dword [esp + 0x18], 2
cmp eax, 2
jge 0x58ec32
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x30]
movzx edx, byte [esi + eax]
lea ecx, [esi + eax]
mov eax, dword [ebx + edx*4 + 0x2c]
add eax, dword [ebx + 0x14]
cmp eax, dword [ebx + 0x1c]
ja 0x58ec58
mov dword [ebx + 0x14], eax
movzx eax, byte [ecx]
and eax, 1
jmp 0x58ec61
push eax
push ecx
mov ecx, ebx
call fcn.005e0760
test eax, eax
je 0x58ec7a
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
mov cl, byte [esp + 0x46c]
xor eax, eax
jmp 0x58ee58
mov edx, dword [esp + 0x18]
movzx eax, byte [esi + edx + 3]
mov eax, dword [ebx + eax*4 + 0x2c]
add eax, dword [ebx + 0x14]
lea ecx, [esi + edx + 3]
cmp eax, dword [ebx + 0x1c]
ja 0x58ec9e
mov dword [ebx + 0x14], eax
movzx eax, byte [ecx]
and eax, 1
jmp 0x58eca7
push eax
push ecx
mov ecx, ebx
call fcn.005e0760
test eax, eax
je 0x58ecc3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
mov cl, byte [esp + 0x46d]
mov eax, 1
jmp 0x58ee58
movzx edx, byte [esi + 6]
mov eax, dword [ebx + edx*4 + 0x2c]
add eax, dword [ebx + 0x14]
add esi, 6
cmp eax, dword [ebx + 0x1c]
ja 0x58ece1
mov dword [ebx + 0x14], eax
movzx eax, byte [esi]
and eax, 1
jmp 0x58ecea
push eax
push esi
mov ecx, ebx
call fcn.005e0760
test eax, eax
je 0x58ed07
inc esi
push esi
mov ecx, 1
mov esi, ebx
call fcn.0058e6c0
add esp, 4
add eax, 2
jmp 0x58ee4a
movzx edx, byte [esi + 2]
mov eax, dword [ebx + edx*4 + 0x2c]
add eax, dword [ebx + 0x14]
add esi, 2
cmp eax, dword [ebx + 0x1c]
ja 0x58ed25
mov dword [ebx + 0x14], eax
movzx eax, byte [esi]
and eax, 1
jmp 0x58ed2e
push eax
push esi
mov ecx, ebx
call fcn.005e0760
test eax, eax
je 0x58ed4b
inc esi
push esi
mov ecx, 2
mov esi, ebx
call fcn.0058e6c0
add esp, 4
add eax, 4
jmp 0x58ee4a
movzx edx, byte [esi + 4]
mov eax, dword [ebx + edx*4 + 0x2c]
add eax, dword [ebx + 0x14]
add esi, 4
cmp eax, dword [ebx + 0x1c]
ja 0x58ed69
mov dword [ebx + 0x14], eax
movzx eax, byte [esi]
and eax, 1
jmp 0x58ed72
push eax
push esi
mov ecx, ebx
call fcn.005e0760
test eax, eax
je 0x58ed8f
inc esi
push esi
mov ecx, 3
mov esi, ebx
call fcn.0058e6c0
add esp, 4
add eax, 8
jmp 0x58ee4a
add esi, 8
push esi
mov ecx, ebx
call fcn.0058e5c0
test eax, eax
je 0x58edc8
inc esi
push esi
mov ecx, 4
mov esi, ebx
call fcn.0058e6c0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x24]
mov dl, byte [esp + eax + 0x480]
add esp, 4
add eax, 0x10
mov byte [edi + ecx], dl
jmp 0x58ee5b
add esi, 0x10
push esi
mov ecx, ebx
call fcn.0058e5c0
test eax, eax
je 0x58eded
inc esi
push esi
mov ecx, 5
mov esi, ebx
call fcn.0058e6c0
add esp, 4
add eax, 0x20
jmp 0x58ee4a
add esi, 0x20
push esi
mov ecx, ebx
call fcn.0058e5c0
test eax, eax
je 0x58ee23
inc esi
push esi
mov ecx, 6
mov esi, ebx
call fcn.0058e6c0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x24]
mov dl, byte [esp + eax + 0x4b0]
add esp, 4
add eax, 0x40
mov byte [edi + ecx], dl
jmp 0x58ee5b
add esi, 0x40
push esi
mov ecx, ebx
call fcn.0058e5c0
test eax, eax
je 0x58ef10
inc esi
push esi
mov ecx, 7
mov esi, ebx
call fcn.0058e6c0
add esp, 4
sub eax, 0xffffff80
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
mov cl, byte [esp + eax + 0x46c]
mov byte [edi + edx], cl
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov esi, edx
sar esi, cl
add edx, esi
mov dword [esp + 0x28], edx
cmp edx, 0x10000000
jle 0x58ee90
shr dword [esp + 0x54], 0x18
shr dword [esp + 0x58], 0x18
shr dword [esp + 0x5c], 0x18
sar edx, 0x18
shr dword [esp + 0x60], 0x18
mov dword [esp + 0x28], edx
mov ecx, edx
mov dword [esp + 0x18], edx
cmp eax, 4
jge 0x58eea5
mov ecx, dword [esp + eax*4 + 0x54]
add ecx, edx
mov dword [esp + 0x18], ecx
mov esi, eax
cmp eax, 4
jl 0x58eec4
lea esp, [esp]
mov dl, byte [esp + esi + 0x46b]
mov byte [esp + esi + 0x46c], dl
dec esi
cmp esi, 4
jge 0x58eeb0
test esi, esi
jle 0x58eef9
lea edi, [esp + esi*4 + 0x50]
lea esp, [esp]
mov ecx, dword [edi]
cmp dword [esp + 0x18], ecx
jb 0x58eef1
mov dl, byte [esp + esi + 0x46b]
mov byte [esp + esi + 0x46c], dl
mov dword [edi + 4], ecx
dec esi
sub edi, 4
test esi, esi
jg 0x58eed0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x24]
mov dl, byte [edi + edx]
mov byte [esp + esi + 0x46c], dl
mov dword [esp + esi*4 + 0x54], ecx
jmp 0x58ef24
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
mov eax, 0x100
mov byte [edi + edx], 0
mov dword [esp + 0x1c], edi
mov ecx, dword [esp + 0x14]
inc edi
mov dword [esp + 0x2c], edi
cmp edi, dword [ecx + 0x18]
jl 0x58ec21
cmp dword [esp + 0x1c], 1
jl 0x58ef48
mov edx, dword [esp + 0x1c]
mov eax, ecx
cmp edx, dword [eax + 0x18]
jl 0x58ef90
mov esi, ecx
push 0
push 0
push 0x168
push str..extlibdjvuBSByteStream.cpp
push 0x690c58
lea ecx, [esp + 0x68]
call fcn.005bb2d0
push eax
mov dword [esp + 0x584], 1
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x54]
mov dword [esp + 0x580], 0xffffffff
call fcn.005bb350
jmp 0x58ef92
mov esi, eax
mov eax, dword [esi + 0x14]
push 4
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x40]
call fcn.005c1060
mov edx, dword [esi + 0x18]
mov eax, dword [esp + 0x20]
add edx, edx
add edx, edx
push edx
push 0
push eax
mov dword [esp + 0x58c], 2
call fcn.0065b340
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x28]
add esp, 0xc
xor ecx, ecx
test edi, edi
jle 0x58f00f
nop
mov edx, dword [esi + 0x24]
movzx eax, byte [ecx + edx]
mov edi, dword [esp + eax*4 + 0x6c]
lea edx, [esp + eax*4 + 0x6c]
mov ebx, edi
and ebx, 0xffffff
shl eax, 0x18
or eax, ebx
mov ebx, dword [esp + 0x20]
inc edi
mov dword [ebx + ecx*4], eax
mov dword [edx], edi
mov edi, dword [esp + 0x1c]
inc ecx
cmp ecx, edi
jl 0x58efe0
lea ecx, [edi + 1]
cmp ecx, dword [esi + 0x18]
jge 0x58f050
jmp 0x58f020
mov eax, dword [esi + 0x24]
movzx eax, byte [ecx + eax]
mov edi, dword [esp + eax*4 + 0x6c]
lea edx, [esp + eax*4 + 0x6c]
mov ebx, edi
and ebx, 0xffffff
shl eax, 0x18
or eax, ebx
mov ebx, dword [esp + 0x20]
mov dword [ebx + ecx*4], eax
inc edi
inc ecx
mov dword [edx], edi
cmp ecx, dword [esi + 0x18]
jl 0x58f020
mov edi, dword [esp + 0x1c]
mov ecx, 1
xor eax, eax
mov edx, dword [esp + eax*4 + 0x6c]
mov dword [esp + eax*4 + 0x6c], ecx
inc eax
add ecx, edx
cmp eax, 0x100
jl 0x58f057
mov ecx, dword [esi + 0x18]
dec ecx
xor eax, eax
test ecx, ecx
jle 0x58f093
mov edx, dword [esp + 0x20]
mov eax, dword [edx + eax*4]
mov ebx, dword [esi + 0x24]
mov edx, eax
shr edx, 0x18
and eax, 0xffffff
add eax, dword [esp + edx*4 + 0x6c]
dec ecx
mov byte [ecx + ebx], dl
test ecx, ecx
jg 0x58f073
cmp eax, edi
je 0x58f0d5
push 0
push 0
push 0x192
push str..extlibdjvuBSByteStream.cpp
push 0x690c58
lea ecx, [esp + 0x50]
call fcn.005bb2d0
push eax
mov byte [esp + 0x584], 3
call fcn.005bb4a0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x580], 2
call fcn.005bb350
mov esi, dword [esi + 0x18]
lea ecx, [esp + 0x34]
mov dword [esp + 0x580], 0xffffffff
call fcn.005c10a0
mov eax, esi
mov ecx, dword [esp + 0x578]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x560]
xor ecx, esp
call fcn.0065865c
mov esp, ebp
pop ebp
ret