Function at 0x100a00c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x20]
push esi
mov esi, dword [ebp + 0x18]
mov ebx, dword [esi + 4]
test ebx, ebx
push edi
mov edi, dword [esi]
mov dword [esp + 0x10], esi
jne 0x100a00ec
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [esi]
mov ebx, dword [esi + 4]
xor eax, eax
mov ah, byte [edi]
dec ebx
inc edi
test ebx, ebx
mov dword [esp + 0x28], eax
jne 0x100a010f
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov eax, dword [esp + 0x28]
movzx ecx, byte [edi]
add eax, ecx
dec ebx
sub eax, 2
inc edi
test eax, eax
mov dword [esp + 0x28], eax
jle 0x100a02c7
test ebx, ebx
jne 0x100a013a
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [esi]
mov ebx, dword [esi + 4]
movzx esi, byte [edi]
mov eax, dword [ebp]
mov ecx, esi
sar ecx, 4
mov dword [eax + 0x14], 0x51
push 1
and esi, 0xf
mov dword [eax + 0x18], esi
dec ebx
push ebp
inc edi
mov dword [esp + 0x24], ecx
mov dword [eax + 0x1c], ecx
call dword [eax + 4]
cmp esi, 4
jl 0x100a0176
mov eax, dword [ebp]
mov dword [eax + 0x14], 0x1f
push ebp
mov dword [eax + 0x18], esi
call dword [eax]
mov eax, dword [ebp + esi*4 + 0xa8]
test eax, eax
jne 0x100a018e
push ebp
call fcn.100b7b20
mov dword [ebp + esi*4 + 0xa8], eax
mov edx, dword [ebp + esi*4 + 0xa8]
mov esi, 0x101b4c48
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a01f1
test ebx, ebx
mov esi, dword [esp + 0x10]
jne 0x100a01c3
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [esi]
mov ebx, dword [esi + 4]
xor eax, eax
mov ah, byte [edi]
dec ebx
inc edi
test ebx, ebx
mov dword [esp + 0x14], eax
jne 0x100a01e2
push ebp
call dword [esi + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [esi]
mov ebx, dword [esi + 4]
movzx ecx, byte [edi]
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edx, ecx
jmp 0x100a020d
test ebx, ebx
jne 0x100a020a
mov ebx, dword [esp + 0x10]
push ebp
call dword [ebx + 0xc]
test eax, eax
je 0x100a02ea
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
movzx edx, byte [edi]
mov ecx, dword [esi]
mov eax, dword [esp + 0x20]
dec ebx
add esi, 4
inc edi
cmp esi, 0x101b4d48
mov dword [esp + 0x14], edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x18], esi
jl 0x100a01a2
mov ecx, dword [ebp]
cmp dword [ecx + 0x68], 2
jl 0x100a0299
lea esi, [eax + 4]
mov dword [esp + 0x18], 8
movzx edx, word [esi - 4]
mov eax, dword [ebp]
mov dword [eax + 0x18], edx
movzx ecx, word [esi - 2]
mov dword [eax + 0x1c], ecx
movzx edx, word [esi]
mov dword [eax + 0x20], edx
movzx ecx, word [esi + 2]
mov dword [eax + 0x24], ecx
movzx edx, word [esi + 4]
mov dword [eax + 0x28], edx
movzx ecx, word [esi + 6]
mov dword [eax + 0x2c], ecx
movzx edx, word [esi + 8]
mov dword [eax + 0x30], edx
movzx ecx, word [esi + 0xa]
push 2
mov dword [eax + 0x34], ecx
push ebp
mov dword [eax + 0x14], 0x5d
call dword [eax + 4]
mov eax, dword [esp + 0x18]
add esi, 0x10
dec eax
mov dword [esp + 0x18], eax
jne 0x100a0244
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
sub ecx, 0x41
test eax, eax
mov dword [esp + 0x28], ecx
je 0x100a02b5
mov eax, ecx
sub eax, 0x40
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
mov esi, dword [esp + 0x10]
jg 0x100a0125
test eax, eax
je 0x100a02d6
mov eax, dword [ebp]
push ebp
mov dword [eax + 0x14], 0xb
call dword [eax]
mov dword [esi], edi
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 4