Function at 0x53ca70
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 4], esi
movzx eax, word [eax + 6]
push eax
call fcn.00479f2b
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
je 0x53cd71
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push edi
mov dword [ebp - 0x10], ecx
add ecx, dword [ebx + 0xc]
mov ebx, dword [ecx]
mov eax, ebx
mov edi, dword [ecx + 4]
or eax, edi
jne 0x53cabb
mov eax, dword [ecx + 8]
or eax, dword [ecx + 0xc]
je 0x53cd5d
mov eax, dword [ebp + 0xc]
push ebx
movzx eax, word [eax + 6]
cdq
push edx
push eax
push edi
push ebx
call fcn.0058be20
mov dword [ebp - 0x24], ebx
pop ebx
mov ebx, dword [ebp + 8]
mov esi, ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov dword [ebp - 0xc], esi
mov eax, dword [ebx + 0x18]
push 1
push edi
adc eax, edx
mov dword [ebp - 0x24], edx
push eax
push ecx
call fcn.004faf40
add esp, 0x14
test eax, eax
je 0x53cd44
mov eax, dword [ebx + 0xc]
add edi, esi
mov ecx, dword [ebp - 0x10]
push 0x1fc
lea esi, [edi + 4]
mov edx, dword [ecx + eax]
mov eax, dword [ecx + eax + 4]
push esi
push 0xf597a6cf
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
call fcn.00560490
add esp, 0xc
cmp eax, dword [edi]
jne 0x53cd3d
mov ecx, str._LVM2_x_5A_r0N_
mov edx, 0xc
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x53cd3d
add esi, 4
add ecx, 4
sub edx, 4
jae 0x53cb41
cmp dword [edi + 0x14], 1
ja 0x53cd3d
mov eax, dword [ebp - 0x14]
cmp dword [edi + 0x18], eax
jne 0x53cd3d
mov eax, dword [ebp - 0x18]
cmp dword [edi + 0x1c], eax
jne 0x53cd3d
mov eax, dword [ebp + 0xc]
movzx esi, word [eax + 6]
mov eax, esi
sub eax, dword [ebp - 0xc]
sub eax, 0x28
cmp eax, 0x48
jb 0x53cba9
xor edx, edx
lea eax, [edi + 0x28]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
jne 0x53cba0
mov ecx, dword [eax + 8]
or ecx, dword [eax + 0xc]
je 0x53cbb3
inc edx
add eax, 0x18
cmp edx, 3
jb 0x53cb91
mov esi, 0x5e
jmp 0x53cd49
cmp edx, 3
jae 0x53cba9
test byte [edi + 0x3c], 1
jne 0x53cd36
push ebx
mov eax, esi
cdq
push edx
push eax
push dword [edi + 0x2c]
push dword [edi + 0x28]
call fcn.0058be20
mov dword [ebp - 0x18], ebx
pop ebx
mov ebx, dword [ebp + 8]
mov esi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
push 0x70
movups xmmword [ebp - 0x38], xmm0
mov ecx, dword [ebx + 0x14]
add ecx, eax
mov eax, dword [ebx + 0x18]
adc eax, edx
add dword [ebp - 0x20], ecx
adc eax, dword [ebp - 0x24]
mov dword [ebp - 0x24], eax
call fcn.005cc863
mov ecx, eax
add esp, 4
mov dword [ebp - 0x38], ecx
test ecx, ecx
je 0x53cd18
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
push 0x70
push eax
push ecx
mov dword [ebp - 0x34], 0x70
call fcn.005c9900
mov eax, dword [ebp + 0xc]
movzx eax, word [eax + 6]
add esi, eax
neg eax
add esi, dword [edi + 0x30]
and esi, eax
push esi
call fcn.005cc863
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x30], edi
test edi, edi
je 0x53cd07
mov eax, dword [ebp + 0xc]
xor edx, edx
push eax
mov dword [ebp - 0x2c], esi
movzx ecx, word [eax + 6]
mov eax, esi
div ecx
push eax
push edi
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call fcn.004faf40
add esp, 0x14
test eax, eax
je 0x53cd0c
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
add eax, edi
push dword [esi + 0x30]
push eax
push edi
call fcn.005c9380
mov eax, dword [esi + 0x30]
mov byte [edi + eax], 0
mov esi, dword [esi + 0x30]
inc esi
push esi
push edi
call fcn.005d1eeb
add esp, 0x14
test eax, eax
je 0x53ccab
mov edi, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov eax, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
inc eax
mov esi, edx
cmp esi, eax
jae 0x53cce5
mov ecx, dword [ebx + 0x2c]
nop dword [eax + eax]
add esi, ecx
cmp esi, eax
jb 0x53ccc0
cmp esi, edx
jbe 0x53cce5
mov eax, esi
shl eax, 4
push eax
push dword [ebx + 0x20]
call fcn.005d1eeb
add esp, 8
test eax, eax
je 0x53cd07
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], esi
mov eax, dword [ebx + 0x28]
movups xmm0, xmmword [ebp - 0x38]
shl eax, 4
add eax, dword [ebx + 0x20]
movups xmmword [eax], xmm0
inc dword [ebx + 0x28]
xorps xmm0, xmm0
movups xmmword [ebp - 0x38], xmm0
mov edi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
jmp 0x53cd22
mov ecx, dword [ebp - 0x38]
jmp 0x53cd1b
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 4], 0x62
jmp 0x53cd22
mov edi, dword [ebp - 0x30]
mov dword [ebp - 4], 2
push ecx
call fcn.005d1ed0
push edi
call fcn.005d1ed0
mov esi, dword [ebp - 4]
add esp, 8
jmp 0x53cd4c
mov esi, 0x56
jmp 0x53cd49
mov esi, 0xd
jmp 0x53cd49
mov esi, 0x62
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
test esi, esi
je 0x53caa1
push dword [ebp - 8]
call fcn.0058bb5f
add esp, 4
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 2
pop esi
mov esp, ebp
pop ebp
ret