Function at 0x10133620
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov ebx, dword [ebp + 0x18]
mov dword [esp + 0x30], ebx
mov esi, dword [ebx + 4]
mov edi, dword [ebx]
test esi, esi
jne 0x1013364f
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
movzx ecx, byte [edi]
inc edi
shl ecx, 8
mov dword [esp + 0x1c], ecx
sub esi, 1
jne 0x10133679
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [edi]
sub ecx, 2
add ecx, eax
dec esi
inc edi
test ecx, ecx
jle 0x10133976
nop dword [eax + eax]
dec ecx
mov dword [esp + 0x1c], ecx
test esi, esi
jne 0x101336af
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov eax, dword [ebp]
dec esi
movzx ecx, byte [edi]
inc edi
mov edx, ecx
mov dword [esp + 0x2c], edi
and ecx, 0xf
shr edx, 4
mov dword [eax + 0x14], 0x53
mov eax, dword [ebp]
push 1
push ebp
mov dword [esp + 0x2c], edx
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov dword [esp + 0x28], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x28]
add esp, 8
cmp ecx, 4
jb 0x10133714
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0x20
mov eax, dword [ebp]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x24]
add esp, 4
lea ecx, [ecx + 0x24]
lea eax, [ecx*4]
mov ecx, dword [eax + ebp]
add eax, ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
test ecx, ecx
jne 0x10133753
mov eax, dword [ebp + 4]
push 0x82
push ecx
push ebp
mov eax, dword [eax]
call eax
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov byte [ecx + 0x80], 0
mov dword [eax], ecx
cmp dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
je 0x1013378f
cmp eax, 0x80
jge 0x101337bc
movaps xmm0, xmmword [0x10282c40]
movups xmmword [ecx], xmm0
sar eax, 1
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x70], xmm0
jmp 0x101337c1
cmp eax, 0x40
jge 0x101337bc
movaps xmm0, xmmword [0x10282c40]
movups xmmword [ecx], xmm0
movups xmmword [ecx + 0x10], xmm0
movups xmmword [ecx + 0x20], xmm0
movups xmmword [ecx + 0x30], xmm0
movups xmmword [ecx + 0x40], xmm0
movups xmmword [ecx + 0x50], xmm0
movups xmmword [ecx + 0x60], xmm0
movups xmmword [ecx + 0x70], xmm0
jmp 0x101337c1
mov eax, 0x40
mov dword [esp + 0x18], eax
add eax, 0xfffffffc
cmp eax, 0x2d
ja case.0x101337d4.5
movzx eax, byte [eax + 0x101339c4]
jmp dword [eax*4 + 0x101339a8]
mov dword [esp + 0x14], 0x10259510
jmp 0x1013381f
mov dword [esp + 0x14], 0x102592a0
jmp 0x1013381f
mov dword [esp + 0x14], 0x102593e0
jmp 0x1013381f
mov dword [esp + 0x14], 0x10259460
jmp 0x1013381f
mov dword [esp + 0x14], 0x10259310
jmp 0x1013381f
mov dword [esp + 0x14], 0x10259560
jmp 0x1013381f
mov dword [esp + 0x14], 0x10259160
xor edx, edx
mov dword [esp + 0x20], edx
cmp dword [esp + 0x18], edx
jle 0x101338e3
nop
cmp dword [esp + 0x24], 0
je 0x10133892
test esi, esi
jne 0x10133851
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [edi]
inc edi
mov byte [esp + 0x13], al
sub esi, 1
jne 0x10133877
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x20]
dec esi
movzx ecx, al
mov eax, 0x100
imul ecx, eax
movzx eax, byte [edi]
add cx, ax
movzx eax, cx
jmp 0x101338b4
test esi, esi
jne 0x101338b0
mov eax, dword [ebx + 0xc]
push ebp
call eax
add esp, 4
test al, al
je 0x1013399c
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
mov edx, dword [esp + 0x20]
movzx eax, byte [edi]
dec esi
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edi
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x20], edx
mov word [ecx + eax*2], bx
mov ebx, dword [esp + 0x30]
cmp edx, dword [esp + 0x18]
jl 0x10133830
mov eax, dword [ebp]
cmp dword [eax + 0x68], 2
jl 0x10133956
lea ebx, [ecx + 4]
mov edi, 8
mov ecx, dword [ebp]
movzx eax, word [ebx - 4]
push 2
push ebp
mov dword [ecx + 0x18], eax
movzx eax, word [ebx - 2]
mov dword [ecx + 0x1c], eax
movzx eax, word [ebx]
mov dword [ecx + 0x20], eax
movzx eax, word [ebx + 2]
mov dword [ecx + 0x24], eax
movzx eax, word [ebx + 4]
mov dword [ecx + 0x28], eax
movzx eax, word [ebx + 6]
mov dword [ecx + 0x2c], eax
movzx eax, word [ebx + 8]
mov dword [ecx + 0x30], eax
movzx eax, word [ebx + 0xa]
mov dword [ecx + 0x34], eax
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x5f
mov eax, dword [ebp]
mov eax, dword [eax + 4]
call eax
add esp, 8
lea ebx, [ebx + 0x10]
sub edi, 1
jne 0x101338f4
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
mov ecx, eax
sub ecx, dword [esp + 0x18]
cmp dword [esp + 0x24], 0
cmove ecx, eax
test ecx, ecx
jg 0x10133690
test ecx, ecx
je 0x1013398d
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xc
mov eax, dword [ebp]
mov eax, dword [eax]
call eax
add esp, 4
mov dword [ebx], edi
mov al, 1
pop edi
mov dword [ebx + 4], esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x24
ret