Function at 0x4ca11c
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 0x5e00
call fcn.00614da0
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, dword [esp + 0x5e18]
xor ebp, ebp
mov eax, dword [esi + 0x14]
push edi
dec eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x18]
dec eax
cmp ebx, 0x3e7
mov dword [esp + 0x2c], eax
jle 0x4ca157
mov dword [esp + 0x5e1c], 0x3e7
mov ebx, dword [esp + 0x5e1c]
cmp ebx, ebp
jle 0x4ca16d
lea edi, [esp + 0x50]
push edi
mov ecx, esi
call fcn.004c6ca0
add edi, 0x18
dec ebx
jne 0x4ca15f
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004c6ca0
mov ecx, dword [esp + 0x5e24]
mov edx, dword [esp + 0x5e28]
push ecx
lea eax, [esp + 0x3c]
push edx
push eax
mov ecx, esi
call fcn.004c9fe0
fild dword [esp + 0x5e14]
fidiv dword [esp + 0x5e1c]
fsqrt
call fcn.0061318c
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, 2
jge 0x4ca1bb
mov ebx, 2
mov eax, dword [esp + 0x5e1c]
test eax, eax
jle 0x4ca2ee
lea edi, [esp + 0x50]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, esi
call fcn.004c6d80
test eax, eax
je 0x4ca2ee
mov edx, dword [esi + 0x2c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [edx + eax*4]
cmp byte [edx + ecx], 0
jne 0x4ca2e1
mov edx, dword [esp + 0x5e20]
push edx
mov edx, dword [esp + 0x5e28]
push edx
mov edx, dword [esp + 0x5e30]
push edx
push eax
push ecx
mov ecx, esi
call fcn.004c9ca0
test al, al
je 0x4ca2e1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push ebx
push eax
push ecx
mov ecx, esi
call fcn.004ca090
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + ecx*4]
mov cl, byte [esp + 0x5e18]
shl eax, 5
mov byte [edx + eax + 6], cl
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4ca27f
mov edx, dword [esp + 0x14]
push 0
push 0
dec eax
push edx
push eax
push edi
mov ecx, esi
call fcn.004c6cf0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jle 0x4ca29e
push 0
dec ecx
push 0
push ecx
push eax
push edi
mov ecx, esi
call fcn.004c6cf0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
dec edx
cmp eax, edx
jge 0x4ca2bd
push 0
push 0
inc eax
push ecx
push eax
push edi
mov ecx, esi
call fcn.004c6cf0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x18]
dec edx
cmp ecx, edx
jge 0x4ca2d4
push 0
inc ecx
push 0
push ecx
push eax
push edi
mov ecx, esi
call fcn.004c6cf0
mov edx, dword [esp + 0x20]
inc edx
inc ebp
mov dword [esp + 0x20], edx
add edi, 0x18
cmp ebp, dword [esp + 0x5e1c]
jl 0x4ca1ce
mov eax, dword [esp + 0x5e1c]
mov byte [esp + 0x1b], 1
test eax, eax
jle 0x4ca5c4
lea ebx, [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x5e14]
cmp eax, ecx
jge 0x4ca587
lea ecx, [esp + 0x30]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
push ebx
mov ecx, esi
call fcn.004c6d80
test eax, eax
je 0x4ca587
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x2c]
mov byte [esp + 0x1b], 0
mov eax, dword [edx + ecx*4]
lea edi, [ecx*4]
mov ecx, dword [esp + 0x10]
lea ebp, [eax + ecx]
call fcn.006131bd
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
shl ecx, 2
imul ecx
add edx, ecx
xor ecx, ecx
mov cl, byte [ebp]
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp ecx, edx
jg 0x4ca583
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x10]
mov ebp, dword [esp + 0x5e24]
mov ecx, eax
mov edi, dword [edx + edi]
mov edx, dword [esp + 0x5e28]
shl ecx, 5
add edi, ecx
mov ecx, dword [esp + 0x5e20]
push ebp
push edx
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
mov eax, dword [esp + 0x5e2c]
mov ecx, esi
push eax
call fcn.004c9d60
xor ecx, ecx
and eax, 0xff
mov cl, byte [edi + 6]
cmp ecx, ebp
jne 0x4ca587
test eax, eax
jle 0x4ca587
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004c9fc0
mov dl, byte [esp + 0x5e18]
fstp dword [esp + 0x24]
mov byte [edi + 6], dl
mov eax, dword [esp + 0x10]
test eax, eax
jle 0x4ca458
xor eax, eax
mov al, byte [edi - 0x1a]
cmp eax, ebp
jne 0x4ca45f
call fcn.006131bd
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
shl ecx, 2
imul ecx
add edx, ecx
mov eax, dword [esp + 0x10]
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
fild dword [esp + 0x20]
dec eax
mov ecx, esi
fadd dword [esp + 0x28]
fstp dword [esp]
push 0
push edx
push eax
push ebx
call fcn.004c6cf0
jmp 0x4ca45f
mov ebp, dword [esp + 0x5e24]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
cmp ecx, eax
jge 0x4ca4ba
xor edx, edx
mov dl, byte [edi + 0x26]
cmp edx, ebp
jne 0x4ca4ba
call fcn.006131bd
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
shl ecx, 2
imul ecx
add edx, ecx
push ecx
sar edx, 0xe
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 0x1f
add edx, eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
inc edx
fadd dword [esp + 0x28]
fstp dword [esp]
push 0
push ecx
push edx
push ebx
mov ecx, esi
call fcn.004c6cf0
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x4ca51b
mov eax, dword [esi + 0x14]
mov ecx, edi
shl eax, 5
sub ecx, eax
xor edx, edx
mov dl, byte [ecx + 6]
cmp edx, ebp
jne 0x4ca51b
call fcn.006131bd
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
shl ecx, 2
imul ecx
add edx, ecx
push ecx
sar edx, 0xe
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 0x1f
add edx, eax
dec ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
fadd dword [esp + 0x28]
fstp dword [esp]
push 0
push ecx
push edx
push ebx
mov ecx, esi
call fcn.004c6cf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jge 0x4ca57d
mov ecx, dword [esi + 0x14]
xor edx, edx
shl ecx, 5
mov dl, byte [ecx + edi + 6]
cmp edx, ebp
jne 0x4ca57d
call fcn.006131bd
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x80010003
shl ecx, 2
imul ecx
add edx, ecx
push ecx
sar edx, 0xe
mov eax, edx
mov ecx, dword [esp + 0x18]
shr eax, 0x1f
add edx, eax
inc ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x14]
fild dword [esp + 0x20]
fadd dword [esp + 0x28]
fstp dword [esp]
push 0
push ecx
push edx
push ebx
mov ecx, esi
call fcn.004c6cf0
inc dword [esp + 0x20]
jmp 0x4ca587
mov byte [ebp], 0x65
mov eax, dword [esp + 0x28]
add ebx, 0x18
dec eax
mov dword [esp + 0x28], eax
jne 0x4ca30a
mov al, byte [esp + 0x1b]
test al, al
je 0x4ca2ee
mov eax, dword [esp + 0x5e1c]
test eax, eax
jle 0x4ca5c4
lea edi, [esp + 0x50]
mov ebx, eax
push edi
mov ecx, esi
call fcn.004c6cd0
add edi, 0x18
dec ebx
jne 0x4ca5b6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x5e00
ret 0x18