Function at 0x10cadb3
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x10de03c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebx + 0x54]
mov esi, dword [edi + 0x398]
mov dword [ebp - 4], eax
xor eax, eax
mov ax, word [esi]
cmp word [edi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov dword [ebp - 0x14], ebx
jae 0x10cadfc
push eax
push edi
call fcn.010cab4e
test ax, ax
jne 0x10caff3
mov esi, dword [edi + 0x398]
movzx eax, word [esi]
add eax, esi
mov dword [edi + 0x398], eax
mov ax, word [esi]
sub word [edi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
lea eax, [ebp - 0x5c]
push eax
push 8
push dword [ebx + 0x60]
call fcn.0108d608
mov eax, dword [ebx + 0x74]
mov dword [ebp - 0x5c], eax
mov ax, word [esi + 6]
mov word [ebp - 0x36], ax
xor eax, eax
mov al, byte [esi + 8]
xor ecx, ecx
and eax, 1
mov word [ebp - 0x4c], ax
xor eax, eax
mov al, byte [esi + 8]
and eax, 4
mov word [ebp - 0x2e], ax
mov al, byte [esi + 0x20]
mov byte [ebp - 0x58], al
mov al, byte [esi + 0x21]
mov byte [ebp - 0x57], al
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x30], cx
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x50], eax
movzx ax, byte [esi + 0x22]
mov word [ebp - 0x38], ax
mov edx, dword [esi + 2]
mov eax, 0x1011bb4
cmp edx, dword [eax]
jne 0x10caeca
lea eax, [esi + 0x24]
mov edx, dword [eax + 5]
mov dword [ebp - 0x48], edx
mov byte [ebp - 0x45], cl
or byte [ebp - 0x45], 1
movzx edx, word [eax + 0xb]
add edx, esi
push ecx
mov dword [ebp - 0x2c], edx
mov dx, word [eax + 9]
push eax
lea eax, [ebp - 0x6c]
push eax
mov word [ebp - 0x28], dx
call fcn.0109c80d
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
xor eax, eax
lea edi, [ebp - 0x7c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
jmp 0x10cafdc
mov cl, byte [edi + 0x3b4]
cmp cl, 1
jne 0x10caedd
mov eax, dword [ebp - 0x10]
lea ebx, [esi + 0x24]
jmp 0x10caee6
mov ebx, dword [ebp - 0x14]
lea eax, [esi + 0x24]
mov dword [ebp - 0x10], eax
cmp cl, 1
jne 0x10caf0f
mov ecx, dword [ebx + 0x14]
and ecx, 0xfffffff9
mov dword [ebp - 0x48], ecx
mov edx, dword [ebx + 0x14]
and edx, 2
shl edx, 0xf
or ecx, edx
mov dword [ebp - 0x48], ecx
mov edx, dword [ebx + 0x14]
and edx, 4
shl edx, 0xf
or ecx, edx
jmp 0x10caf12
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x48], ecx
cmp byte [edi + 0x3b4], 1
push 0
lea edi, [ebp - 0xc]
jne 0x10caf4b
movzx eax, word [ebx + 0x1a]
add eax, esi
mov dword [ebp - 0x2c], eax
mov ax, word [ebx + 0x18]
mov word [ebp - 0x28], ax
lea esi, [ebx + 5]
lea eax, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xac]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c80d
jmp 0x10caf74
movzx ecx, word [eax + 0x1a]
add ecx, esi
mov dword [ebp - 0x2c], ecx
mov cx, word [eax + 0x18]
lea esi, [eax + 5]
mov word [ebp - 0x28], cx
lea eax, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0xac]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c80d
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edi, eax
push 0
mov esi, ebx
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x9c]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c80d
lea eax, [ebp - 0xc]
mov edi, eax
push 0
lea esi, [ebx + 0xa]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x6c]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c80d
lea eax, [ebp - 0xc]
mov edi, eax
push 0
lea esi, [ebx + 0xf]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x8c]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c80d
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0xac]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x8c]
mov ebx, dword [ebx + 0x60]
lea ecx, [ebp - 0x5c]
push ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x1c]
push ebx
call dword [eax + reloc.KERNEL32.dll_SetErrorMode]
xor ax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075bbb
leave
ret 4