Function at 0x100c4650
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x10132018]
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 0x100c46bd
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x100c46a5
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x100c46e8
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 0x100c46d0
and ecx, 0xf0000000
cmp ecx, 0x60000000
jne 0x100c48b5
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.100c4160
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 0x100c4771
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.1008dbb0
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 0x100c4784
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 0x100c4780
cmp eax, 4
jne 0x100c47ac
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x100c4853
mov dword [esp + 0x10], 1
cmp eax, 1
jne 0x100c47e5
cmp byte [esp + 0x29], 0
jne 0x100c47de
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.100d08f0
add esp, 0xc
mov eax, 1
jmp 0x100c4853
mov eax, edx
and eax, 0xf4000000
cmp eax, 0x34000000
jne 0x100c4819
cmp byte [esp + 0x29], 0
jne 0x100c4812
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 0x100c4853
cmp eax, 0x4000000
je 0x100c482e
and edx, 0xf8000000
cmp edx, 0x38000000
jne 0x100c4834
lea eax, [esp + 0x30]
jmp 0x100c4838
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.100beb80
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
add edi, eax
cmp dword [esp + 0x24], 0
je 0x100c487e
mov eax, dword [esi]
test eax, 0x30000
jne 0x100c487e
or eax, 0x30000
mov dword [esi], eax
mov eax, dword [edx + 8]
and dword [eax + 0x214], 0xffffffef
test edi, edi
jle 0x100c489d
mov ecx, dword [edx + 8]
dec edi
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x18]
jb 0x100c4899
mov ecx, edx
call fcn.100898c0
mov edx, dword [esp + 8]
test edi, edi
jg 0x100c4882
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.10082d8f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.10082d8f
mov esp, ebp
pop ebp
ret