Function at 0x100311c7
Capabilities:
Enumerate pe sections

Disassembly:
push 0x10
mov eax, 0x1004b9ae
call fcn.1004a52d
mov ecx, dword [0x10115084]
xor ebx, ebx
cmp dword [ecx + 0xc], ebx
je 0x100311ee
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x5c], ebx
lea edx, [edi + 0x60]
jmp 0x100311fa
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x6c], ebx
lea edx, [edi + 0x70]
movzx eax, word [esi + 0x14]
lea eax, [eax + esi + 0x18]
movzx esi, word [esi + 6]
je 0x100313e5
cmp dword [edx + 4], ebx
je 0x100313e5
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
mov dword [ebp + 0xc], ebx
cmp esi, ebx
jbe 0x100313e5
mov edi, dword [eax + 0xc]
cmp edx, edi
jb 0x1003123c
mov edx, dword [eax + 8]
add edx, edi
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x14]
jb 0x1003124c
inc dword [ebp + 0xc]
add eax, 0x28
cmp dword [ebp + 0xc], esi
jb 0x10031225
jmp 0x100313e5
mov esi, dword [eax + 0x14]
sub esi, edi
add esi, dword [ecx]
add esi, edx
cmp dword [esi + 0x14], ebx
je 0x1003136f
mov eax, dword [esi + 0x1c]
cmp eax, ebx
je 0x1003136f
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.1001b643
mov ecx, dword [0x10116d54]
mov eax, dword [esi + 0x14]
mov dword [0x10116d58], eax
cmp ecx, ebx
jne 0x100312b0
push 0x10
call fcn.10042e16
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x100312a2
push 0x18
call fcn.1003e047
jmp 0x100312a4
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [0x10116d54], ecx
push dword [0x10116d58]
call fcn.1003e087
mov dword [eax], ebx
xor edi, edi
cmp dword [esi + 0x14], ebx
jbe 0x10031369
mov ecx, dword [0x10115084]
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0x10]
push dword [eax]
call fcn.1001b643
mov ecx, dword [0x10116d54]
push edi
call fcn.1003e087
mov dword [eax], ebx
mov ecx, dword [0x10115084]
cmp dword [ecx + 0xc], ebx
je 0x10031303
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 2]
mov edx, dword [ebp + 0x10]
sub eax, dword [edx + 0x1c]
jmp 0x1003132b
mov edx, dword [ebp + 0x14]
mov eax, 0x200
cmp word [edx + 4], ax
mov edx, dword [ebp + 0xc]
jne 0x1003131c
mov eax, dword [edx + 8]
mov edx, dword [edx + 0xc]
jmp 0x10031322
mov eax, dword [edx + 2]
mov edx, dword [edx + 6]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0x18]
sub eax, dword [edx + 0x18]
lea edx, [ebp - 0x14]
push edx
push eax
call fcn.1001b643
test eax, eax
je 0x1003134c
mov ecx, dword [0x10116d54]
push edi
call fcn.1003e087
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov ecx, dword [0x10116d54]
push edi
call fcn.1003e087
mov dword [eax + 4], ebx
add dword [ebp - 0x10], 4
inc edi
cmp edi, dword [esi + 0x14]
jb 0x100312c8
mov ecx, dword [0x10115084]
cmp dword [esi + 0x18], ebx
je 0x100313dd
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x100313dd
cmp dword [esi + 0x24], ebx
je 0x100313dd
lea edx, [ebp + 0x10]
push edx
push eax
call fcn.1001b643
mov ecx, dword [0x10115084]
lea eax, [ebp + 0x14]
push eax
push dword [esi + 0x24]
call fcn.1001b643
xor edi, edi
cmp dword [esi + 0x14], ebx
jbe 0x100313dd
mov ecx, dword [0x10115084]
lea eax, [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call fcn.1001b643
mov eax, dword [ebp + 0x14]
movzx eax, word [eax]
mov ecx, dword [0x10116d54]
push eax
call fcn.1003e087
mov ecx, dword [ebp + 0x18]
mov dword [eax + 4], ecx
add dword [ebp + 0x10], 4
add dword [ebp + 0x14], 2
inc edi
cmp edi, dword [esi + 0x14]
jb 0x100313a3
mov eax, dword [esi + 0x10]
mov dword [0x10116d5c], eax
call fcn.1004a605
ret 0x14