Function at 0x100a7fe2
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push 0x14
pop edx
cmp esi, edx
jae 0x100a7ff7
xor eax, eax
jmp 0x100a81b3
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov ax, word [edi]
mov word [ecx], ax
mov ax, word [edi + 2]
mov word [ecx + 2], ax
mov ax, word [edi + 4]
mov word [ecx + 4], ax
mov ax, word [edi + 6]
mov word [ecx + 6], ax
movzx eax, word [ecx]
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x1c], ebx
cmp eax, 2
je 0x100a8161
cmp eax, 9
je 0x100a8131
cmp eax, 1
jne 0x100a806e
cmp esi, 0x20
jb case.0x100a80ee.8
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebx
movzx eax, word [edi + 0x18]
cdq
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
movzx eax, word [edi + 0x1a]
push 0x20
mov dword [ecx + 0xc], eax
pop eax
jmp 0x100a81b1
mov dword [ebp + 0xc], 8
cmp ax, word [ebp + 0xc]
jne 0x100a80db
push 0x28
pop edx
cmp esi, edx
jb case.0x100a80ee.8
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], ebx
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebx
movzx eax, word [edi + 0x20]
mov dword [ebp + 0xc], eax
movzx eax, word [edi + 0x22]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x100a812a
lea eax, [edx + 0xc]
cmp eax, esi
ja case.0x100a80ee.8
mov eax, dword [edx + edi + 8]
add edx, 0xd
add edx, eax
cmp edx, esi
ja case.0x100a80ee.8
cmp eax, 0x400
ja case.0x100a80ee.8
inc ebx
cmp ebx, ecx
jb 0x100a80ad
jmp 0x100a812a
add eax, 0xfffffffd
cmp eax, 0xb
ja case.0x100a80ee.8
movzx eax, byte [eax + 0x100a81ca]
jmp dword [eax*4 + 0x100a81ba]
cmp esi, 0x18
jb case.0x100a80ee.8
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x10], eax
lea edx, [eax + 0x18]
mov dword [ecx + 0x14], ebx
cmp esi, edx
jb case.0x100a80ee.8
cmp eax, 0x40000000
jbe case.0x100a80ee.6
jmp case.0x100a80ee.8
push 0x18
pop edx
cmp esi, edx
jb case.0x100a80ee.8
movzx eax, word [ecx]
cmp ax, word [ebp + 0xc]
jb 0x100a812a
add edx, 4
cmp esi, edx
jb case.0x100a80ee.8
mov eax, edx
jmp 0x100a81b1
push 0x38
pop eax
mov dword [ebp + 0xc], eax
cmp esi, eax
jb case.0x100a80ee.8
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ecx + 0x1c], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0x14], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x30]
mov dword [ecx + 0xc], eax
jmp 0x100a818d
push 0x20
pop eax
mov dword [ebp + 0xc], eax
cmp esi, eax
jae 0x100a816f
xor eax, eax
jmp 0x100a81b1
mov eax, dword [edi + 0x10]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebx
mov eax, dword [edi + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [edi + 0x18]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x1c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], ebx
push dword [ebp + 0x10]
call fcn.100a624d
mov ecx, eax
shld edx, ecx, 2
shl ecx, 2
add ecx, dword [ebp + 0xc]
adc edx, ebx
cmp edx, ebx
ja 0x100a81ad
jb 0x100a81af
cmp ecx, esi
jbe 0x100a81af
mov ecx, ebx
mov eax, ecx
pop edi
pop ebx
pop esi
pop ebp
ret 0xc