Function at 0x100999a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 8], edx
mov edx, ecx
mov ecx, dword [ebp - 8]
push ebx
push esi
mov eax, dword [edx + 0x10]
push edi
mov dword [ebp - 4], edx
movzx ebx, byte [eax + 0x4c]
mov eax, ebx
and ebx, 0x18
xor eax, 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ecx], eax
je 0x10099d3f
cmp eax, dword [ebp + 8]
jge 0x10099d3f
mov esi, dword [ecx]
mov edx, dword [ebp - 0x10]
mov al, byte [esi + 5]
test dl, al
mov edx, dword [ebp - 4]
je 0x10099d20
mov eax, dword [esi]
mov dword [ecx], eax
movzx eax, byte [esi + 4]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x10099a0d.11
movzx eax, byte [eax + 0x10099d80]
jmp dword [eax*4 + 0x10099d58]
mov ebx, dword [esi + 0x14]
mov edi, dword [edx + 0x10]
push 0
shl ebx, 2
push ebx
push dword [esi + 0x34]
mov eax, dword [edi]
push dword [edi + 4]
call eax
sub dword [edi + 0xc], ebx
mov ebx, dword [esi + 0x1c]
mov edi, dword [ebp - 4]
push 0
shl ebx, 2
push ebx
mov edi, dword [edi + 0x10]
push dword [esi + 0x38]
push dword [edi + 4]
mov eax, dword [edi]
call eax
sub dword [edi + 0xc], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [esi + 0x10]
push 0
shl ebx, 4
mov edi, dword [eax + 0x10]
push ebx
push dword [esi + 0x30]
push dword [edi + 4]
mov eax, dword [edi]
call eax
sub dword [edi + 0xc], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [esi + 0x18]
push 0
push ebx
mov edi, dword [eax + 0x10]
push dword [esi + 0x40]
push dword [edi + 4]
mov eax, dword [edi]
call eax
sub dword [edi + 0xc], ebx
add esp, 0x40
mov eax, dword [ebp - 4]
mov ebx, dword [esi + 0x24]
shl ebx, 3
push 0
mov edi, dword [eax + 0x10]
push ebx
push dword [esi + 0x44]
push dword [edi + 4]
mov eax, dword [edi]
call eax
sub dword [edi + 0xc], ebx
mov eax, dword [esi + 0x20]
push 0
lea ebx, [eax + eax*2]
mov eax, dword [ebp - 4]
shl ebx, 2
push ebx
push dword [esi + 0x48]
mov edi, dword [eax + 0x10]
push dword [edi + 4]
mov eax, dword [edi]
call eax
sub dword [edi + 0xc], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [esi + 0xc]
push 0
shl ebx, 3
mov edi, dword [eax + 0x10]
push ebx
push dword [esi + 0x3c]
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov eax, dword [ebp - 4]
sub dword [edi + 0xc], ebx
push 0
push 0x54
mov edi, dword [eax + 0x10]
mov eax, dword [edi]
push esi
push dword [edi + 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x40
add dword [edi + 0xc], 0xffffffac
jmp case.0x10099a0d.11
lea edi, [esi + 0x10]
cmp dword [esi + 8], edi
je 0x10099b14
mov ecx, dword [esi + 0x14]
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x10099b14
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
mov edi, dword [edx + 0x10]
push 0
push 0x20
push esi
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
add dword [edi + 0xc], 0xffffffe0
jmp case.0x10099a0d.11
movzx eax, byte [esi + 6]
mov edi, dword [edx + 0x10]
push 0
lea ebx, [eax*4 + 0x10]
mov eax, dword [edi]
push ebx
push esi
push dword [edi + 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub dword [edi + 0xc], ebx
jmp case.0x10099a0d.11
movzx ebx, byte [esi + 6]
mov edi, dword [edx + 0x10]
inc ebx
push 0
shl ebx, 4
push ebx
mov eax, dword [edi]
push esi
push dword [edi + 4]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub dword [edi + 0xc], ebx
jmp case.0x10099a0d.11
cmp dword [esi + 0x14], 0
je 0x10099bac
mov cl, byte [esi + 7]
mov eax, 1
mov edi, dword [edx + 0x10]
shl eax, cl
push 0
lea ebx, [eax + eax*2]
mov eax, dword [edi]
shl ebx, 3
push ebx
push dword [esi + 0x10]
push dword [edi + 4]
call eax
mov edx, dword [ebp - 4]
add esp, 0x10
sub dword [edi + 0xc], ebx
cmp byte [esi + 5], 0
jge 0x10099be1
mov ecx, dword [esi + 8]
lea eax, [ecx - 1]
test ecx, eax
je 0x10099be1
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov ebx, ecx
shr ebx, 0x10
or ebx, ecx
inc ebx
jmp 0x10099be4
mov ebx, dword [esi + 8]
mov edi, dword [edx + 0x10]
push 0
shl ebx, 4
push ebx
push dword [esi + 0xc]
mov eax, dword [edi]
push dword [edi + 4]
call eax
mov eax, dword [ebp - 4]
sub dword [edi + 0xc], ebx
push 0
push 0x20
mov edi, dword [eax + 0x10]
push esi
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x20
add dword [edi + 0xc], 0xffffffe0
jmp case.0x10099a0d.11
mov edx, dword [esi + 0x20]
lea eax, [esi - 4]
push 0xffffffffffffffff
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.10098480
add esp, 4
cmp dword [esi + 0x20], 0
je 0x10099c5f
lea eax, [esi + 0x34]
mov ecx, esi
mov dword [esi + 0x14], eax
call fcn.100aae90
mov ebx, dword [esi + 0x64]
mov edi, dword [esi + 0x10]
push 0
shl ebx, 4
push ebx
push dword [esi + 0x20]
mov eax, dword [edi]
push dword [edi + 4]
call eax
add esp, 0x10
sub dword [edi + 0xc], ebx
mov eax, dword [ebp - 4]
push 0
push 0x78
push dword [ebp - 0x14]
mov esi, dword [eax + 0x10]
push dword [esi + 4]
mov eax, dword [esi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
add dword [esi + 0xc], 0xffffff88
jmp case.0x10099a0d.11
movzx eax, word [esi + 6]
test ax, ax
jne 0x10099c92
mov eax, 0x10
jmp 0x10099c98
shl eax, 4
add eax, 0x18
mov ebx, dword [esi + 8]
mov edi, dword [edx + 0x10]
add ebx, eax
push 0
push ebx
push esi
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub dword [edi + 0xc], ebx
jmp case.0x10099a0d.11
mov edi, dword [edx + 0x10]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
dec ecx
and ecx, dword [esi + 8]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
cmp eax, esi
je 0x10099cd9
nop dword [eax]
lea ecx, [eax + 0xc]
mov eax, dword [ecx]
cmp eax, esi
jne 0x10099cd0
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
dec dword [edi + 0x1c]
movzx ebx, byte [esi + 7]
mov edi, dword [edx + 0x10]
add ebx, 0x11
push 0
push ebx
push esi
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub dword [edi + 0xc], ebx
jmp case.0x10099a0d.11
mov ebx, dword [esi + 0xc]
mov edi, dword [edx + 0x10]
add ebx, 0x11
push 0
push ebx
push esi
push dword [edi + 4]
mov eax, dword [edi]
call eax
mov ecx, dword [ebp - 8]
add esp, 0x10
sub dword [edi + 0xc], ebx
jmp case.0x10099a0d.11
and al, 0xc0
mov ecx, esi
or al, bl
mov dword [ebp - 8], ecx
mov byte [esi + 5], al
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x18]
inc eax
cmp dword [ecx], 0
mov dword [ebp - 0xc], eax
jne 0x100999d6
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10099d48
mov dword [edx], eax
xor eax, eax
cmp dword [ecx], eax
pop edi
cmove ecx, eax
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret