Function at 0x4addbb
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x573654
call fcn.00566548
sub esp, 0x64
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [edi]
mov dword [ecx], eax
cmp eax, 0x454c4946
je 0x4adde4
call fcn.004acdde
jmp 0x4ae078
push ebx
movzx ebx, word [edi + 4]
push esi
movzx esi, word [edi + 6]
test bl, 1
jne 0x4ae074
mov ecx, dword [ebp + 0xc]
lea edx, [ebx + esi*2]
xor eax, eax
inc eax
shl eax, cl
sub eax, 2
cmp edx, eax
ja 0x4ae074
test esi, esi
je 0x4ae074
lea eax, [esi - 1]
cmp eax, dword [ebp + 0x10]
jne 0x4ae074
cmp ebx, 0x30
jb 0x4ade36
mov eax, dword [edi + 0x2c]
cmp eax, dword [ebp + 0x14]
je 0x4ade36
test eax, eax
jne 0x4ae074
movzx eax, word [ebx + edi]
xor edx, edx
inc edx
mov dword [ebp + 0x14], eax
cmp esi, edx
jbe 0x4ade77
lea eax, [edi + 2]
add eax, ebx
mov dword [ebp + 8], eax
mov ebx, edx
shl ebx, cl
mov ecx, dword [ebp + 0x14]
cmp word [ebx + edi - 2], cx
mov ecx, dword [ebp + 0xc]
jne 0x4ae074
mov ax, word [eax]
inc edx
mov word [ebx + edi - 2], ax
mov eax, dword [ebp + 8]
add eax, 2
mov dword [ebp + 8], eax
cmp edx, esi
jb 0x4ade4c
mov esi, dword [ebp - 0x10]
mov ax, word [edi + 0x10]
mov word [esi + 4], ax
mov ax, word [edi + 0x16]
movzx ebx, word [edi + 0x14]
mov word [esi + 6], ax
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x24]
mov dword [ebp + 0xc], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp + 8], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0xc], edx
mov edx, dword [ebp + 0x10]
shl edx, cl
mov dword [esi + 8], eax
cmp ebx, edx
jae 0x4ae074
mov ecx, dword [ebp + 0xc]
mov eax, ecx
or eax, ebx
test al, 7
jne 0x4ae074
cmp ecx, edx
ja 0x4ae074
cmp dword [ebp + 8], edx
jne 0x4ae074
cmp ebx, ecx
jae 0x4ae074
xor edx, edx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], edx
sub ecx, ebx
mov dword [ebp - 4], edx
push ecx
lea eax, [ebx + edi]
mov dword [ebp + 0x10], ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.004adab2
test eax, eax
je 0x4ae05c
cmp dword [ebp + 0x10], eax
jb 0x4ae05c
add ebx, eax
mov eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
je 0x4ae087
sub eax, 0x10
je 0x4ae010
sub eax, 0x20
je 0x4adfbf
sub eax, 0x50
je 0x4adfb2
sub eax, 0x40
je 0x4adf5b
mov esi, dword [ebp + 0x18]
test esi, esi
je 0x4ae022
mov ecx, esi
call fcn.00403988
mov ecx, esi
lea eax, [ebp - 0x70]
push eax
call fcn.004ab3f7
jmp 0x4ae022
add esi, 0x68
lea eax, [ebp - 0x60]
cmp eax, esi
je 0x4ae022
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x60]
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ecx
cmp eax, dword [esi + 4]
je 0x4adfa0
mov ecx, esi
call fcn.0040547c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4ae022
push eax
call fcn.00566515
pop ecx
mov ecx, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
jmp 0x4adfa4
test eax, eax
je 0x4ae022
push eax
push ecx
push dword [esi]
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x4ae022
lea ecx, [esi + 0x18]
call fcn.00403988
lea ecx, [esi + 0x18]
jmp 0x4adf4d
xor eax, eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push dword [ebp - 0x60]
call fcn.004adbd6
test al, al
je 0x4ae04d
lea ecx, [esi + 0x24]
call fcn.00403988
lea eax, [ebp - 0x28]
push eax
lea ecx, [esi + 0x24]
call fcn.004ab43d
cmp dword [ebp - 0x20], 0
je 0x4ae022
push dword [ebp - 0x20]
call fcn.0056651e
pop ecx
jmp 0x4ae022
push dword [ebp - 0x5c]
lea ecx, [esi + 0x40]
push dword [ebp - 0x60]
call fcn.004ae0aa
test al, al
je 0x4ae05c
push dword [ebp - 0x60]
or dword [ebp - 4], 0xffffffff
call fcn.0056651e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x4ae03e
push dword [ebp - 0x68]
call fcn.0056651e
pop ecx
mov ecx, dword [ebp + 0xc]
cmp ebx, ecx
jae 0x4ae074
mov esi, dword [ebp - 0x10]
jmp 0x4adedb
cmp dword [ebp - 0x20], 0
je 0x4ae05c
push dword [ebp - 0x20]
call fcn.0056651e
pop ecx
push dword [ebp - 0x60]
call fcn.0056651e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x4ae074
push dword [ebp - 0x68]
call fcn.0056651e
pop ecx
xor al, al
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
leave
ret 0x14
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jne 0x4ae05c
push dword [ebp - 0x60]
call fcn.0056651e
cmp dword [ebp - 0x68], 0
pop ecx
je 0x4ae0a6
push dword [ebp - 0x68]
call fcn.0056651e
pop ecx
mov al, 1
jmp 0x4ae076