Function at 0x5dbce0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov ebp, dword [esp + 0x38]
push esi
mov esi, ebx
sar esi, 1
sar ebp, 1
and eax, 0x7f
dec eax
cmp eax, 0x7d
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], ebp
ja case.0x5dbd14.4
movzx eax, byte [eax + 0x5dc390]
jmp dword [eax*4 + 0x5dc370]
mov eax, 1
jmp 0x5dbd57
mov eax, 4
jmp 0x5dbd57
mov eax, 3
jmp 0x5dbd57
mov eax, 2
jmp 0x5dbd57
mov eax, 5
jmp 0x5dbd57
mov eax, 6
jmp 0x5dbd57
push str.warning:_mipmapping_paletted_shape__results_probably_wont_be_very_good_n
call fcn.005d78d0
add esp, 4
mov eax, 7
test bl, 1
push edi
mov edi, ebx
mov dword [esp + 0x14], edi
je 0x5dbd6a
lea edi, [ebx + 1]
mov dword [esp + 0x14], edi
dec eax
cmp eax, 6
ja case.default.0x5dbd74
jmp dword [eax*4 + 0x5dc410]
test ebp, ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jle case.default.0x5dbd74
mov esi, ebp
lea ecx, [ecx]
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x5dbda3
mov dl, byte [eax]
add eax, 2
mov byte [ecx], dl
inc ecx
dec ebp
jne 0x5dbd98
add eax, edi
dec esi
jne 0x5dbd90
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebp, ebp
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
jle case.default.0x5dbd74
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x5dbe10
mov ecx, dword [esp + 0x10]
mov ebp, 1
lea eax, [esi + ebx]
sub ebp, ebx
mov dword [esp + 0x40], ecx
movzx ecx, byte [eax + 1]
movzx edx, byte [eax + ebp]
add edx, ecx
movzx ecx, byte [esi]
add edx, ecx
movzx ecx, byte [eax]
add edx, ecx
mov ecx, dword [esp + 0x3c]
sar edx, 2
mov byte [ecx], dl
add esi, 2
add eax, 2
inc ecx
mov dword [esp + 0x3c], ecx
dec dword [esp + 0x40]
jne 0x5dbde2
mov eax, dword [esp + 0x38]
add esi, edi
dec eax
mov dword [esp + 0x38], eax
jne 0x5dbdc8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
sar edi, 1
test ebp, ebp
jle case.default.0x5dbd74
mov dword [esp + 0x38], ebp
jmp 0x5dbe40
mov ebp, dword [esp + 0x10]
test ebp, ebp
jle 0x5dbeb8
dec ebp
shr ebp, 1
inc ebp
lea esp, [esp]
mov al, byte [ecx]
mov dl, al
and al, 0xf
mov byte [esp + 0x41], al
mov al, byte [ecx + edi]
mov bl, al
shr bl, 4
and al, 0xf
add al, bl
add al, byte [esp + 0x41]
mov bl, byte [ecx + edi + 1]
shr dl, 4
add al, dl
mov dl, byte [ecx + 1]
shl al, 2
and al, 0xf0
inc ecx
mov byte [esp + 0x3c], al
mov al, dl
and dl, 0xf
mov byte [esp + 0x41], dl
mov dl, bl
and bl, 0xf
shr dl, 4
movzx ebx, bl
movzx edx, dl
add ebx, edx
movzx edx, byte [esp + 0x41]
shr al, 4
add ebx, edx
movzx eax, al
add ebx, eax
mov al, byte [esp + 0x3c]
sar ebx, 2
or bl, al
inc ecx
mov byte [esi], bl
inc esi
dec ebp
jne 0x5dbe50
mov eax, dword [esp + 0x38]
add ecx, edi
dec eax
mov dword [esp + 0x38], eax
jne 0x5dbe40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebp, ebp
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], esi
mov dword [esp + 0x14], ecx
jle case.default.0x5dbd74
lea edx, [edi + edi]
mov dword [esp + 0x38], edx
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x5dbff4
mov dword [esp + 0x18], eax
mov cx, word [esi + ebx*2 + 2]
mov dx, word [esi + 2]
xor eax, eax
mov ax, word [esi + ebx*2]
movzx esi, word [esi]
mov dword [esp + 0x3c], esi
shr esi, 0xa
and esi, 0x1f
mov edi, eax
shr edi, 0xa
and edi, 0x1f
mov ebp, ecx
shr ebp, 0xa
and ebp, 0x1f
add edi, ebp
add edi, esi
xor ebp, ebp
mov esi, edx
shr esi, 0xa
and esi, 0x1f
add edi, esi
xor esi, esi
mov si, ax
shr si, 0xf
mov bp, cx
shr bp, 0xf
shl edi, 8
add esi, ebp
xor ebp, ebp
mov bp, word [esp + 0x3c]
shr bp, 0xf
add esi, ebp
xor ebp, ebp
mov bp, dx
shr bp, 0xf
add esi, ebp
shl esi, 0xd
and esi, 0x83ff
or edi, esi
mov esi, eax
shr esi, 5
mov ebp, ecx
shr ebp, 5
and ebp, 0x1f
and esi, 0x1f
add esi, ebp
mov ebp, dword [esp + 0x3c]
shr ebp, 5
and ebp, 0x1f
add esi, ebp
and eax, 0x1f
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x3c]
mov ebp, edx
shr ebp, 5
and ebp, 0x1f
add esi, ebp
and edi, 0xfc1f
shl esi, 3
and ecx, 0x1f
add eax, ecx
or edi, esi
mov esi, dword [esp + 0x40]
and edx, 0x1f
add eax, edx
sar eax, 2
and edi, 0xffe0
or edi, eax
mov eax, dword [esp + 0x14]
mov word [eax], di
add eax, 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
add esi, 4
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], eax
jne 0x5dbf04
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x1c]
add esi, ecx
dec eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x1c], eax
jne 0x5dbef4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebp, ebp
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
jle case.default.0x5dbd74
lea edx, [edi*4]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebp
test esi, esi
jle 0x5dc0e9
mov edx, esi
mov edi, edi
movzx edi, byte [eax + ebx*4 + 6]
movzx esi, byte [eax + ebx*4 + 2]
add esi, edi
movzx edi, byte [eax + 6]
movzx ebp, byte [eax + ebx*4 + 3]
add esi, edi
movzx edi, byte [eax + 2]
add esi, edi
movzx edi, byte [eax + ebx*4 + 7]
add edi, ebp
movzx ebp, byte [eax + 7]
add edi, ebp
movzx ebp, byte [eax + 3]
add edi, ebp
movzx ebp, byte [eax + ebx*4 + 5]
shl edi, 0x16
and edi, 0xff00ffff
shl esi, 0xe
or esi, edi
movzx edi, byte [eax + ebx*4 + 1]
add edi, ebp
movzx ebp, byte [eax + 5]
add edi, ebp
movzx ebp, byte [eax + 1]
add edi, ebp
mov ebp, dword [eax + ebx*4 + 4]
shl edi, 6
and esi, 0xffff00ff
or esi, edi
mov edi, dword [eax + ebx*4]
and ebp, 0xff
and edi, 0xff
add edi, ebp
mov ebp, dword [eax + 4]
and ebp, 0xff
add edi, ebp
mov ebp, dword [eax]
and ebp, 0xff
add edi, ebp
and esi, 0xffffff00
shr edi, 2
or esi, edi
mov dword [ecx], esi
add eax, 8
add ecx, 4
dec edx
jne 0x5dc040
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
add eax, edi
dec edx
mov dword [esp + 0x3c], edx
jne 0x5dc034
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
test ebp, ebp
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
jle case.0x5dbd74.4
mov dword [esp + 0x20], ebp
mov edi, edi
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x5dc244
mov dword [esp + 0x18], eax
mov ax, word [esi + ebx*2]
mov dx, word [esi + 2]
xor ecx, ecx
mov cx, word [esi + ebx*2 + 2]
mov word [esp + 0x40], dx
mov dx, word [esi]
mov word [esp + 0x3c], dx
xor edx, edx
mov dl, ah
xor ebp, ebp
mov dword [esp + 0x38], ecx
movzx ecx, ch
and ecx, 0xf
and edx, 0xf
add edx, ecx
xor ecx, ecx
mov cl, byte [esp + 0x3d]
mov dword [esp + 0x24], ebx
xor ebx, ebx
mov bl, al
xor edi, edi
mov di, ax
shr bl, 4
and ecx, 0xf
add edx, ecx
xor ecx, ecx
mov cl, byte [esp + 0x41]
shr di, 0xc
and eax, 0xf
and ebx, 0xf
add esi, 4
and ecx, 0xf
add edx, ecx
mov ecx, dword [esp + 0x38]
mov bp, cx
shr cl, 4
shr bp, 0xc
shl edx, 6
and ecx, 0xf
add ebx, ecx
xor ecx, ecx
mov cl, byte [esp + 0x3c]
add edi, ebp
shr cl, 4
xor ebp, ebp
mov bp, word [esp + 0x3c]
shr bp, 0xc
and ecx, 0xf
add ebx, ecx
xor ecx, ecx
mov cl, byte [esp + 0x40]
add edi, ebp
xor ebp, ebp
mov bp, word [esp + 0x40]
shr cl, 4
shr bp, 0xc
and ecx, 0xf
add ebx, ecx
add edi, ebp
shl edi, 0xa
and edi, 0xf0ff
or edx, edi
and edx, 0xff0f
shl ebx, 2
mov ecx, ebx
or edx, ecx
mov ecx, dword [esp + 0x38]
and ecx, 0xf
add eax, ecx
mov ecx, dword [esp + 0x3c]
and ecx, 0xf
add eax, ecx
mov ecx, dword [esp + 0x40]
and ecx, 0xf
add eax, ecx
sar eax, 2
and edx, 0xfff0
or edx, eax
mov eax, dword [esp + 0x1c]
mov word [eax], dx
add eax, 2
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
dec dword [esp + 0x18]
jne 0x5dc130
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
lea eax, [edi + edi]
add esi, eax
dec dword [esp + 0x20]
jne 0x5dc120
test ebp, ebp
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x20], edx
jle case.default.0x5dbd74
lea eax, [edi + edi]
mov dword [esp + 0x38], eax
mov dword [esp + 0x18], ebp
jmp 0x5dc280
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x5dc34d
mov dword [esp + 0x1c], eax
mov cx, word [esi + ebx*2 + 2]
mov dx, word [esi + 2]
xor eax, eax
mov ax, word [esi + ebx*2]
movzx esi, word [esi]
mov dword [esp + 0x40], esi
shr esi, 5
and esi, 0x3f
mov edi, eax
shr edi, 5
and edi, 0x3f
mov ebp, ecx
shr ebp, 5
and ebp, 0x3f
add edi, ebp
add edi, esi
xor ebp, ebp
mov esi, edx
shr esi, 5
and esi, 0x3f
add edi, esi
xor esi, esi
mov si, ax
shr si, 0xb
mov bp, cx
shr bp, 0xb
and eax, 0x1f
and ecx, 0x1f
add eax, ecx
mov ecx, dword [esp + 0x40]
shl edi, 3
and ecx, 0x1f
add esi, ebp
xor ebp, ebp
mov bp, word [esp + 0x40]
shr bp, 0xb
add eax, ecx
add esi, ebp
xor ebp, ebp
mov bp, dx
shr bp, 0xb
and edx, 0x1f
add eax, edx
sar eax, 2
add esi, ebp
shl esi, 9
and esi, 0xf81f
or edi, esi
mov esi, dword [esp + 0x3c]
and edi, 0xffe0
or edi, eax
mov eax, dword [esp + 0x20]
mov word [eax], di
add eax, 2
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
add esi, 4
dec eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x1c], eax
jne 0x5dc290
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
add esi, ecx
dec eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
jne 0x5dc280
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret