Function at 0x100d31b4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
cmp dword [ebp + 0x14], 0
jne 0x100d31c7
xor eax, eax
jmp 0x100d33be
mov eax, dword [ebp + 0xc]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x20]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x14]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x10], eax
push 4
push 0x3000
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
shl eax, 2
push eax
push 0
call fcn.100d4224
add esp, 0x10
mov dword [ebp - 0x1c], eax
and dword [ebp - 4], 0
jmp 0x100d321f
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
je 0x100d3274
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x100d323f
jmp 0x100d3218
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
push eax
push 0x40
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax + 8]
push dword [ebp - 0x28]
call fcn.100d4244
add esp, 0x10
jmp 0x100d3218
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x2c]
jae 0x100d3349
mov eax, dword [ebp + 0xc]
add eax, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
sub eax, 8
shr eax, 1
mov dword [ebp - 0x30], eax
and dword [ebp - 8], 0
jmp 0x100d32a4
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x30]
je 0x100d3338
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
test eax, eax
jne 0x100d32c0
jmp 0x100d329d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
push eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
push eax
push dword [ebp - 0x10]
call fcn.100d3150
add esp, 0xc
test eax, eax
je 0x100d32ee
jmp 0x100d329d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
and eax, 0xfff
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
add ecx, eax
add ecx, dword [ebp + 8]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
sar eax, 0xc
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
je 0x100d3326
jmp 0x100d3333
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
add eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
jmp 0x100d329d
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
jmp 0x100d3274
and dword [ebp - 0xc], 0
jmp 0x100d3356
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xc], eax
je 0x100d33aa
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + eax + 0x24]
and eax, 0x10000000
je 0x100d3376
jmp 0x100d334f
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov dword [ebp - 0x38], edx
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
push dword [ecx + eax*4]
imul eax, dword [ebp - 0xc], 0x28
mov ecx, dword [ebp - 0x10]
push dword [ecx + eax + 8]
push dword [ebp - 0x38]
call fcn.100d4244
add esp, 0x10
jmp 0x100d334f
push 0x8000
push 0
push dword [ebp - 0x1c]
call fcn.100d4264
add esp, 0xc
xor eax, eax
leave
ret