Function at 0x10cae79
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x10de03c]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x54]
mov ebx, dword [esi + 0x398]
mov dword [ebp - 4], eax
xor eax, eax
mov ax, word [ebx]
cmp word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], esi
jae 0x10caec5
push eax
push esi
call fcn.010ca9c0
test ax, ax
jne 0x10cb0ce
mov ebx, dword [esi + 0x398]
lea eax, [ebx + 0x24]
mov dword [ebp - 0x10], eax
movzx eax, word [ebx]
add eax, ebx
mov dword [esi + 0x398], eax
mov ax, word [ebx]
sub word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], ax
lea eax, [ebp - 0x70]
push eax
push 8
push dword [edi + 0x60]
call fcn.0108d47a
mov eax, dword [edi + 0x74]
mov dword [ebp - 0x70], eax
mov ax, word [ebx + 6]
mov word [ebp - 0x4a], ax
xor eax, eax
mov al, byte [ebx + 8]
and eax, 1
mov word [ebp - 0x60], ax
xor eax, eax
mov al, byte [ebx + 8]
and eax, 4
mov word [ebp - 0x42], ax
mov al, byte [ebx + 0x20]
mov byte [ebp - 0x6c], al
mov al, byte [ebx + 0x21]
and dword [ebp - 0x48], 0
and word [ebp - 0x44], 0
mov byte [ebp - 0x6b], al
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x68], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x64], eax
movzx ax, byte [ebx + 0x22]
mov word [ebp - 0x4c], ax
cmp byte [esi + 0x3b4], 1
mov eax, dword [ebp - 0x10]
jne 0x10caf88
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x20], ecx
and ecx, 0xffff7ff9
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x14]
and ecx, 2
shl ecx, 0xf
or dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x14]
and ecx, 4
shl ecx, 0xf
or dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x14]
and ecx, 0x8000
shl ecx, 3
or dword [ebp - 0x5c], ecx
jmp 0x10caf91
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x10]
cmp byte [esi + 0x3b4], 1
push 0
lea edi, [ebp - 0xc]
jne 0x10cafa4
lea esi, [eax + 5]
jmp 0x10cafaa
mov esi, dword [ebp - 0x10]
add esi, 5
lea eax, [ebp - 0xc]
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x80]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c67f
mov esi, dword [ebp - 0x10]
lea edi, [ebp - 0xc]
mov eax, edi
push 0
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xb0]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c67f
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edi, eax
push 0
add esi, 0xa
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0xa0]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c67f
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edi, eax
push 0
add esi, 0xf
push eax
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x90]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0109c67f
mov esi, dword [ebp - 0x1c]
cmp byte [esi + 0x3b4], 1
jne 0x10cb02c
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x1a]
add ecx, ebx
mov dword [ebp - 0x40], ecx
mov ax, word [eax + 0x18]
mov word [ebp - 0x3c], ax
jmp 0x10cb096
cmp dword [esi + 0x388], 0
jne 0x10cb05d
push 1
push 0x800
call dword [sym.imp.msvcrt.dll_calloc]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x388], eax
jne 0x10cb054
mov ax, 0xfdfc
jmp 0x10cb0ce
mov word [esi + reloc.ADVAPI32.dll_RegDeleteValueW], 0x800
mov esi, dword [esi + 0x388]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x40], esi
xor esi, esi
mov si, word [eax + 0x18]
test si, si
je 0x10cb091
movzx eax, word [eax + 0x1a]
xor ecx, ecx
mov cl, byte [ebx + 0x22]
add eax, ebx
push ecx
push ecx
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0109b9c0
jmp 0x10cb026
and word [ebp - 0x3c], 0
lea eax, [ebp - 0x80]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x90]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax + 0x1c]
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x104]
xor ax, ax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01075aef
leave
ret 4