Function at 0x4caad0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov edi, dword [ebp + 0x14]
lea ecx, [esi + 0xa0]
mov dword [ecx - 4], esp
xor eax, eax
dec eax
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0x41f420
mov edx, dword fs:[0]
mov dword [ecx], edx
mov ebx, dword [ebp + 0x10]
mov dword fs:[0], ecx
mov ecx, edi
sub ecx, ebx
sar ecx, 2
imul ecx, ecx, 0xaaaaaaab
mov dword [esi + 0x90], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x80], xmm0
movdqa xmmword [esi + 0x70], xmm0
movdqa xmmword [esi + 0x60], xmm0
movdqa xmmword [esi + 0x50], xmm0
movdqa xmmword [esi + 0x40], xmm0
movdqa xmmword [esi + 0x30], xmm0
mov dword [esi + 0x18], 0
cmp ecx, 0x65
mov dword [esi + 0x14], ecx
jb 0x4cab7d
push ecx
call fcn.00468190
add esp, 4
mov dword [esi + 0x10], eax
mov dword [esi + 8], eax
test eax, eax
jne 0x4cab8a
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], eax
call fcn.004da220
lea eax, [esi + 0x30]
mov dword [esi + 0x10], eax
mov dword [esi + 8], 0
mov ecx, dword [ebp + 0x14]
cmp ebx, ecx
je 0x4cabce
mov dword [esi + 0x18], 0
mov edi, ebx
mov ebx, dword [esi + 0x10]
cmp byte [edi + 0xb], 0
js 0x4cabbe
mov ecx, edi
call fcn.00462b50
mov ecx, dword [ebp + 0x14]
test eax, eax
je 0x4cabc3
mov byte [ebx], 1
add edi, 0xc
inc ebx
cmp edi, ecx
jne 0x4cab9d
jmp 0x4cabce
mov eax, dword [edi + 4]
jmp 0x4cabad
mov byte [ebx], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x4cabb4
mov dword [esi + 0xa8], 0
xor edi, edi
mov dword [esi + 0x1c], edi
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c4a50
mov ebx, dword [ebp + 0x10]
test al, al
jne 0x4cae20
cmp dword [esi + 0x14], 0
je 0x4cae20
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4cadaf
movzx eax, word [eax]
mov word [esi + 6], ax
cmp byte [ebp + 0x20], 0
jne 0x4cac66
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebx]
mov edi, dword [eax + 0x1c]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, edi
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
movzx eax, word [esi + 6]
mov ecx, ebx
push eax
call edi
mov ebx, dword [ebp + 0x10]
mov word [esi + 6], ax
mov edi, dword [esi + 0x1c]
lea edx, [edi + 1]
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x10]
mov ecx, ebx
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], ecx
cmp ecx, dword [ebp + 0x14]
je 0x4cad37
cmp byte [eax], 1
je 0x4cac95
mov ecx, dword [esi + 0x28]
add ecx, 0xc
inc eax
jmp 0x4cac7b
mov dword [esi + 0x20], eax
mov ecx, dword [esi + 0x28]
push edi
call fcn.004d4d70
movzx edi, word [eax]
cmp byte [ebp + 0x20], 0
jne 0x4cace2
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
mov ebx, dword [eax + 0x1c]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
movzx eax, di
mov ecx, dword [ebp + 0x18]
push eax
call ebx
mov ebx, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 0x20]
cmp word [esi + 6], di
mov edx, dword [esi + 0x24]
jne 0x4cad1c
mov ecx, dword [esi + 0x28]
cmp byte [ecx + 0xb], 0
mov edi, dword [esi + 0x1c]
js 0x4cad32
call fcn.00462b50
mov edx, dword [esi + 0x24]
mov cl, 1
mov dword [esi + 0x2c], ecx
cmp eax, edx
jne 0x4cad2a
mov eax, dword [esi + 0x20]
mov byte [eax], 2
dec dword [esi + 0x14]
inc dword [esi + 0x18]
jmp 0x4cac8c
mov byte [eax], 0
dec dword [esi + 0x14]
mov edi, dword [esi + 0x1c]
jmp 0x4cac8c
mov eax, dword [esi + 0x20]
jmp 0x4cac8c
mov eax, dword [ecx + 4]
jmp 0x4cad02
mov edi, edx
test byte [esi + 0x2c], 1
je 0x4cabda
mov eax, dword [ebp + 8]
mov edi, dword [eax]
mov eax, dword [edi + 0xc]
cmp eax, dword [edi + 0x10]
je 0x4caded
add eax, 2
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
add eax, edx
mov edx, dword [esi + 0x24]
mov edi, edx
cmp eax, 2
jb 0x4cabda
mov edi, edx
cmp ebx, dword [ebp + 0x14]
je 0x4cabda
mov edi, ebx
mov ebx, dword [esi + 0x10]
cmp byte [ebx], 2
jne 0x4cad9f
cmp byte [edi + 0xb], 0
js 0x4cadaa
mov ecx, edi
call fcn.00462b50
mov edx, dword [esi + 0x24]
cmp eax, edx
je 0x4cad9f
mov byte [ebx], 0
dec dword [esi + 0x18]
add edi, 0xc
inc ebx
cmp edi, dword [ebp + 0x14]
jne 0x4cad80
jmp 0x4cade6
mov eax, dword [edi + 4]
jmp 0x4cad95
mov eax, dword [edi]
mov ebx, dword [eax + 0x20]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ebx, dword [ebp + 0x10]
mov word [esi + 6], ax
jmp 0x4cac26
mov edi, edx
jmp 0x4cabda
mov eax, dword [edi]
mov ebx, dword [eax + 0x24]
mov dword [esi + 0xa8], 0xffffffff
mov ecx, ebx
call dword [section..00cfg]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0xa8], 0
mov ecx, edi
call ebx
mov ebx, dword [ebp + 0x10]
jmp 0x4cad5a
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
call fcn.004c4a50
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
test al, al
mov ebx, dword [ebp + 0x1c]
je 0x4cae42
or byte [ebx], 2
cmp edx, ecx
mov eax, dword [esi + 8]
mov edi, dword [esi + 0x10]
je 0x4cae59
cmp byte [edi], 2
je 0x4cae83
add edx, 0xc
inc edi
cmp edx, ecx
jne 0x4cae4c
or byte [ebx], 4
test eax, eax
je 0x4cae6d
push eax
mov edi, ecx
call fcn.004681e0
mov ecx, edi
add esp, 4
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, edx
jmp 0x4cae5c