Function at 0x100d4730
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10144040]
xor eax, esp
mov dword [esp + 0xd4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [edx + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xe0]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
mov dword [eax + 0xc], edx
movzx esi, word [ecx + 6]
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x100d479d
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100d4785
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x100d47c8
nop dword [eax + eax]
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100d47b0
and ecx, 0xf0000000
cmp ecx, 0x60000000
jne 0x100d4995
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x14]
push edx
call fcn.100d4240
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub esi, dword [eax]
mov dword [eax + 0x94], 0xffffffff
call fcn.10004626
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x94], 0xffffffff
je 0x100d4851
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push dword [eax + 0x18]
mov dword [esp + 0x1c], 0xfffffffc
push dword [esp + 0x10]
call fcn.1009dc90
add esp, 0xc
mov dword [eax + 4], 0xfffffffd
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add esi, eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
jmp 0x100d4864
mov eax, dword [esp + 0x10]
movzx ecx, dx
shl ecx, 4
add ecx, eax
mov edx, dword [ecx]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x100d4860
cmp eax, 4
jne 0x100d488c
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x100d4933
mov dword [esp + 0x10], 1
cmp eax, 1
jne 0x100d48c5
cmp byte [esp + 0x29], 0
jne 0x100d48be
push dword [ecx + 4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
add eax, 8
push eax
call fcn.100e0d20
add esp, 0xc
mov eax, 1
jmp 0x100d4933
mov eax, edx
and eax, 0xf4000000
cmp eax, 0x34000000
jne 0x100d48f9
cmp byte [esp + 0x29], 0
jne 0x100d48f2
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
jmp 0x100d4933
cmp eax, 0x4000000
je 0x100d490e
and edx, 0xf8000000
cmp edx, 0x38000000
jne 0x100d4914
lea eax, [esp + 0x30]
jmp 0x100d4918
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
sub eax, 8
push eax
push 0
push ecx
push dword [esp + 0x1c]
call fcn.100cec60
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
add edi, eax
cmp dword [esp + 0x24], 0
je 0x100d495e
mov eax, dword [esi]
test eax, 0x30000
jne 0x100d495e
or eax, 0x30000
mov dword [esi], eax
mov eax, dword [edx + 8]
and dword [eax + 0x214], 0xffffffef
test edi, edi
jle 0x100d497d
mov ecx, dword [edx + 8]
dec edi
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x18]
jb 0x100d4979
mov ecx, edx
call fcn.100999b0
mov edx, dword [esp + 8]
test edi, edi
jg 0x100d4962
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1007c329
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.1007c329
mov esp, ebp
pop ebp
ret